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