Home
last modified time | relevance | path

Searched refs:max_diff (Results 1 – 7 of 7) sorted by relevance

/external/libyuv/files/unit_test/
Dscale_test.cc125 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()
[all …]
Dscale_argb_test.cc87 int max_diff = 0; in ARGBTestFilter() local
92 if (abs_diff > max_diff) { in ARGBTestFilter()
93 max_diff = abs_diff; in ARGBTestFilter()
101 return max_diff; in ARGBTestFilter()
111 int max_diff = ARGBTestFilter(src_width, src_height, in TEST_F() local
115 EXPECT_LE(max_diff, 1); in TEST_F()
126 int max_diff = ARGBTestFilter(src_width, src_height, in TEST_F() local
130 EXPECT_LE(max_diff, 1); in TEST_F()
141 int max_diff = ARGBTestFilter(src_width, src_height, in TEST_F() local
145 EXPECT_LE(max_diff, 1); in TEST_F()
[all …]
Dplanar_test.cc64 int max_diff = 0; \
70 if (abs_diff > max_diff) { \
71 max_diff = abs_diff; \
75 EXPECT_LE(max_diff, 2); \
141 int max_diff = 0; \
147 if (abs_diff > max_diff) { \
148 max_diff = abs_diff; \
152 EXPECT_LE(max_diff, 3); \
198 int max_diff = 0; \
204 if (abs_diff > max_diff) { \
[all …]
Drotate_argb_test.cc83 int max_diff = 0; in ARGBTestRotate() local
88 if (abs_diff > max_diff) in ARGBTestRotate()
89 max_diff = abs_diff; in ARGBTestRotate()
96 return max_diff; in ARGBTestRotate()
/external/libvpx/libvpx/test/
Dfdct8x8_test.cc84 const int max_diff = 1125; in RunSignBiasCheck() local
85 EXPECT_LT(diff, max_diff) in RunSignBiasCheck()
87 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck()
113 const int max_diff = 10000; in RunSignBiasCheck() local
114 EXPECT_LT(diff, max_diff) in RunSignBiasCheck()
116 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck()
/external/lldb/test/unittest2/
Dcase.py648 msg=None, seq_type=None, max_diff=80*8): argument
754 max_diff = self.maxDiff
755 if max_diff is None or len(diff) <= max_diff:
/external/pcre/dist/sljit/
DsljitNativeARM_32.c54 #define MAX_DIFFERENCE(max_diff) \ argument
55 (((max_diff) / (sljit_si)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))