Lines Matching refs:max_diff

125   int max_diff = 0;  in TestFilter()  local
130 if (abs_diff > max_diff) { in TestFilter()
131 max_diff = abs_diff; in TestFilter()
140 if (abs_diff > max_diff) { in TestFilter()
141 max_diff = abs_diff; in TestFilter()
145 if (abs_diff > max_diff) { in TestFilter()
146 max_diff = abs_diff; in TestFilter()
162 return max_diff; in TestFilter()
172 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
176 EXPECT_LE(max_diff, 1); in TEST_F()
187 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
191 EXPECT_LE(max_diff, 2); // This is the only scale factor with error of 2. in TEST_F()
202 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
206 EXPECT_LE(max_diff, 1); in TEST_F()
217 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
221 EXPECT_LE(max_diff, 1); in TEST_F()
232 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
236 EXPECT_LE(max_diff, 1); in TEST_F()
247 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
251 EXPECT_LE(max_diff, 1); in TEST_F()
262 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
266 EXPECT_LE(max_diff, 1); in TEST_F()
277 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
281 EXPECT_LE(max_diff, 1); in TEST_F()
292 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
296 EXPECT_LE(max_diff, 1); in TEST_F()
307 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
311 EXPECT_LE(max_diff, 1); in TEST_F()
322 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
326 EXPECT_LE(max_diff, 1); in TEST_F()
338 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
342 EXPECT_LE(max_diff, 1); in TEST_F()
353 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
357 EXPECT_LE(max_diff, 1); in TEST_F()
368 int max_diff = TestFilter(src_width, src_height, in TEST_F() local
372 EXPECT_LE(max_diff, 1); in TEST_F()