Lines Matching refs:max_diff
135 int max_diff = 0; in TestAttenuateI() local
139 if (abs_diff > max_diff) { in TestAttenuateI()
140 max_diff = abs_diff; in TestAttenuateI()
146 return max_diff; in TestAttenuateI()
150 int max_diff = TestAttenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
153 EXPECT_LE(max_diff, 2); in TEST_F()
157 int max_diff = in TEST_F() local
160 EXPECT_LE(max_diff, 2); in TEST_F()
164 int max_diff = in TEST_F() local
167 EXPECT_LE(max_diff, 2); in TEST_F()
171 int max_diff = in TEST_F() local
174 EXPECT_LE(max_diff, 2); in TEST_F()
208 int max_diff = 0; in TestUnattenuateI() local
212 if (abs_diff > max_diff) { in TestUnattenuateI()
213 max_diff = abs_diff; in TestUnattenuateI()
219 return max_diff; in TestUnattenuateI()
223 int max_diff = TestUnattenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
226 EXPECT_LE(max_diff, 2); in TEST_F()
230 int max_diff = TestUnattenuateI(benchmark_width_, benchmark_height_, in TEST_F() local
233 EXPECT_LE(max_diff, 2); in TEST_F()
237 int max_diff = TestUnattenuateI(benchmark_width_, benchmark_height_, in TEST_F() local
240 EXPECT_LE(max_diff, 2); in TEST_F()
244 int max_diff = TestUnattenuateI(benchmark_width_, benchmark_height_, in TEST_F() local
247 EXPECT_LE(max_diff, 2); in TEST_F()
1086 int max_diff = 0; in TestBlend() local
1090 if (abs_diff > max_diff) { in TestBlend()
1091 max_diff = abs_diff; in TestBlend()
1098 return max_diff; in TestBlend()
1102 int max_diff = in TEST_F() local
1105 EXPECT_LE(max_diff, 1); in TEST_F()
1109 int max_diff = in TEST_F() local
1112 EXPECT_LE(max_diff, 1); in TEST_F()
1116 int max_diff = in TEST_F() local
1119 EXPECT_LE(max_diff, 1); in TEST_F()
1123 int max_diff = in TEST_F() local
1126 EXPECT_LE(max_diff, 1); in TEST_F()
1431 int max_diff = 0; in TestMultiply() local
1435 if (abs_diff > max_diff) { in TestMultiply()
1436 max_diff = abs_diff; in TestMultiply()
1443 return max_diff; in TestMultiply()
1447 int max_diff = TestMultiply(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
1450 EXPECT_LE(max_diff, 1); in TEST_F()
1454 int max_diff = in TEST_F() local
1457 EXPECT_LE(max_diff, 1); in TEST_F()
1461 int max_diff = in TEST_F() local
1464 EXPECT_LE(max_diff, 1); in TEST_F()
1468 int max_diff = in TEST_F() local
1471 EXPECT_LE(max_diff, 1); in TEST_F()
1505 int max_diff = 0; in TestAdd() local
1509 if (abs_diff > max_diff) { in TestAdd()
1510 max_diff = abs_diff; in TestAdd()
1517 return max_diff; in TestAdd()
1521 int max_diff = in TEST_F() local
1524 EXPECT_LE(max_diff, 1); in TEST_F()
1528 int max_diff = in TEST_F() local
1531 EXPECT_LE(max_diff, 1); in TEST_F()
1535 int max_diff = in TEST_F() local
1538 EXPECT_LE(max_diff, 1); in TEST_F()
1542 int max_diff = in TEST_F() local
1545 EXPECT_LE(max_diff, 1); in TEST_F()
1579 int max_diff = 0; in TestSubtract() local
1583 if (abs_diff > max_diff) { in TestSubtract()
1584 max_diff = abs_diff; in TestSubtract()
1591 return max_diff; in TestSubtract()
1595 int max_diff = TestSubtract(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
1598 EXPECT_LE(max_diff, 1); in TEST_F()
1602 int max_diff = in TEST_F() local
1605 EXPECT_LE(max_diff, 1); in TEST_F()
1609 int max_diff = in TEST_F() local
1612 EXPECT_LE(max_diff, 1); in TEST_F()
1616 int max_diff = in TEST_F() local
1619 EXPECT_LE(max_diff, 1); in TEST_F()
1652 int max_diff = 0; in TestSobel() local
1656 if (abs_diff > max_diff) { in TestSobel()
1657 max_diff = abs_diff; in TestSobel()
1663 return max_diff; in TestSobel()
1667 int max_diff = in TEST_F() local
1670 EXPECT_EQ(0, max_diff); in TEST_F()
1674 int max_diff = in TEST_F() local
1677 EXPECT_EQ(0, max_diff); in TEST_F()
1681 int max_diff = in TEST_F() local
1684 EXPECT_EQ(0, max_diff); in TEST_F()
1688 int max_diff = in TEST_F() local
1691 EXPECT_EQ(0, max_diff); in TEST_F()
1726 int max_diff = 0; in TestSobelToPlane() local
1730 if (abs_diff > max_diff) { in TestSobelToPlane()
1731 max_diff = abs_diff; in TestSobelToPlane()
1737 return max_diff; in TestSobelToPlane()
1741 int max_diff = TestSobelToPlane(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
1744 EXPECT_EQ(0, max_diff); in TEST_F()
1748 int max_diff = TestSobelToPlane(benchmark_width_, benchmark_height_, in TEST_F() local
1751 EXPECT_EQ(0, max_diff); in TEST_F()
1755 int max_diff = TestSobelToPlane(benchmark_width_, benchmark_height_, in TEST_F() local
1758 EXPECT_EQ(0, max_diff); in TEST_F()
1762 int max_diff = TestSobelToPlane(benchmark_width_, benchmark_height_, in TEST_F() local
1765 EXPECT_EQ(0, max_diff); in TEST_F()
1798 int max_diff = 0; in TestSobelXY() local
1802 if (abs_diff > max_diff) { in TestSobelXY()
1803 max_diff = abs_diff; in TestSobelXY()
1809 return max_diff; in TestSobelXY()
1813 int max_diff = TestSobelXY(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
1816 EXPECT_EQ(0, max_diff); in TEST_F()
1820 int max_diff = in TEST_F() local
1823 EXPECT_EQ(0, max_diff); in TEST_F()
1827 int max_diff = in TEST_F() local
1830 EXPECT_EQ(0, max_diff); in TEST_F()
1834 int max_diff = in TEST_F() local
1837 EXPECT_EQ(0, max_diff); in TEST_F()
1874 int max_diff = 0; in TestBlur() local
1878 if (abs_diff > max_diff) { in TestBlur()
1879 max_diff = abs_diff; in TestBlur()
1886 return max_diff; in TestBlur()
1891 int max_diff = in TEST_F() local
1894 EXPECT_LE(max_diff, 1); in TEST_F()
1898 int max_diff = in TEST_F() local
1901 EXPECT_LE(max_diff, 1); in TEST_F()
1905 int max_diff = in TEST_F() local
1908 EXPECT_LE(max_diff, 1); in TEST_F()
1912 int max_diff = in TEST_F() local
1915 EXPECT_LE(max_diff, 1); in TEST_F()
1920 int max_diff = in TEST_F() local
1923 EXPECT_LE(max_diff, 1); in TEST_F()
1927 int max_diff = in TEST_F() local
1930 EXPECT_LE(max_diff, 1); in TEST_F()
1934 int max_diff = in TEST_F() local
1937 EXPECT_LE(max_diff, 1); in TEST_F()
1941 int max_diff = in TEST_F() local
1944 EXPECT_LE(max_diff, 1); in TEST_F()
2072 int max_diff = 0; in TestHalfFloatPlane() local
2076 if (abs_diff > max_diff) { in TestHalfFloatPlane()
2077 max_diff = abs_diff; in TestHalfFloatPlane()
2082 return max_diff; in TestHalfFloatPlane()
2365 int max_diff = 0; in TestARGBRect() local
2369 if (abs_diff > max_diff) { in TestARGBRect()
2370 max_diff = abs_diff; in TestARGBRect()
2375 return max_diff; in TestARGBRect()
2379 int max_diff = TestARGBRect(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
2382 EXPECT_EQ(0, max_diff); in TEST_F()
2386 int max_diff = in TEST_F() local
2389 EXPECT_EQ(0, max_diff); in TEST_F()
2393 int max_diff = in TEST_F() local
2396 EXPECT_EQ(0, max_diff); in TEST_F()
2400 int max_diff = in TEST_F() local
2403 EXPECT_EQ(0, max_diff); in TEST_F()
2407 int max_diff = TestARGBRect(benchmark_width_ - 1, benchmark_height_, in TEST_F() local
2410 EXPECT_EQ(0, max_diff); in TEST_F()
2414 int max_diff = in TEST_F() local
2417 EXPECT_EQ(0, max_diff); in TEST_F()
2421 int max_diff = in TEST_F() local
2424 EXPECT_EQ(0, max_diff); in TEST_F()
2428 int max_diff = in TEST_F() local
2431 EXPECT_EQ(0, max_diff); in TEST_F()