mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-10 01:07:31 +09:00
update libaom to rev 5bdd95475e07ac8641114cb139105b8d734a1b60 (without moz.build and aom_ports/aom_once.h)
This commit is contained in:
parent
402c27b560
commit
fb515ea77b
177 changed files with 21088 additions and 11681 deletions
11
third_party/aom/test/edge_detect_test.cc
vendored
11
third_party/aom/test/edge_detect_test.cc
vendored
|
|
@ -185,8 +185,9 @@ TEST_P(EdgeDetectBrightnessTest, DetectUniformBrightness) {
|
|||
const bool high_bd = GET_PARAM(3);
|
||||
const int bd = GET_PARAM(4);
|
||||
|
||||
ASSERT_EQ(0, av1_edge_exists(input_, stride_8tap(width), width, height,
|
||||
high_bd, bd));
|
||||
ASSERT_EQ(
|
||||
0, av1_edge_exists(input_, stride_8tap(width), width, height, high_bd, bd)
|
||||
.magnitude);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(ImageBrightnessTests, EdgeDetectBrightnessTest,
|
||||
|
|
@ -245,9 +246,11 @@ TEST_P(EdgeDetectImageTest, BlackWhite) {
|
|||
free(orig);
|
||||
// Value should be between 556 and 560.
|
||||
ASSERT_LE(556, av1_edge_exists(padded, stride_8tap(width), width, height,
|
||||
high_bd, bd));
|
||||
high_bd, bd)
|
||||
.magnitude);
|
||||
ASSERT_GE(560, av1_edge_exists(padded, stride_8tap(width), width, height,
|
||||
high_bd, bd));
|
||||
high_bd, bd)
|
||||
.magnitude);
|
||||
|
||||
free_pad_8tap(padded, width, high_bd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue