Lines Matching refs:nom
284 #define DX(x, nom, denom) static_cast<int>(((Abs(x) / nom + 1) / 2) * nom * 2) argument
285 #define SX(x, nom, denom) static_cast<int>(((x / nom + 1) / 2) * denom * 2) argument
287 #define TEST_FACTOR1(name, filter, nom, denom, max_diff) \ argument
290 SX(benchmark_width_, nom, denom), SX(benchmark_height_, nom, denom), \
291 DX(benchmark_width_, nom, denom), DX(benchmark_height_, nom, denom), \
298 SX(benchmark_width_, nom, denom), SX(benchmark_height_, nom, denom), \
299 DX(benchmark_width_, nom, denom), DX(benchmark_height_, nom, denom), \
306 #define TEST_FACTOR(name, nom, denom, boxdiff) \ argument
307 TEST_FACTOR1(name, None, nom, denom, 0) \
308 TEST_FACTOR1(name, Linear, nom, denom, 3) \
309 TEST_FACTOR1(name, Bilinear, nom, denom, 3) \
310 TEST_FACTOR1(name, Box, nom, denom, boxdiff)