/external/libyuv/files/unit_test/ |
D | scale_test.cc | 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() [all …]
|
D | scale_argb_test.cc | 87 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 …]
|
D | planar_test.cc | 64 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 …]
|
D | rotate_argb_test.cc | 83 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/chromium_org/third_party/libyuv/unit_test/ |
D | planar_test.cc | 141 int max_diff = 0; in TestAttenuateI() local 146 if (abs_diff > max_diff) { in TestAttenuateI() 147 max_diff = abs_diff; in TestAttenuateI() 153 return max_diff; in TestAttenuateI() 157 int max_diff = TestAttenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() local 159 EXPECT_LE(max_diff, 2); in TEST_F() 163 int max_diff = TestAttenuateI(benchmark_width_, benchmark_height_, in TEST_F() local 165 EXPECT_LE(max_diff, 2); in TEST_F() 169 int max_diff = TestAttenuateI(benchmark_width_, benchmark_height_, in TEST_F() local 171 EXPECT_LE(max_diff, 2); in TEST_F() [all …]
|
D | scale_test.cc | 95 int max_diff = 0; in TestFilter() local 100 if (abs_diff > max_diff) { in TestFilter() 101 max_diff = abs_diff; in TestFilter() 110 if (abs_diff > max_diff) { in TestFilter() 111 max_diff = abs_diff; in TestFilter() 115 if (abs_diff > max_diff) { in TestFilter() 116 max_diff = abs_diff; in TestFilter() 132 return max_diff; in TestFilter() 220 int max_diff = 0; in TestFilter_16() local 225 if (abs_diff > max_diff) { in TestFilter_16() [all …]
|
D | scale_argb_test.cc | 82 int max_diff = 0; in ARGBTestFilter() local 87 if (abs_diff > max_diff) { in ARGBTestFilter() 88 max_diff = abs_diff; in ARGBTestFilter() 96 return max_diff; in ARGBTestFilter() 181 int max_diff = 0; in ARGBClipTestFilter() local 186 if (abs_diff > max_diff) { in ARGBClipTestFilter() 187 max_diff = abs_diff; in ARGBClipTestFilter() 195 return max_diff; in ARGBClipTestFilter() 198 #define TEST_FACTOR1(name, filter, hfactor, vfactor, max_diff) \ argument 204 EXPECT_LE(diff, max_diff); \ [all …]
|
D | convert_test.cc | 110 int max_diff = 0; \ 116 if (abs_diff > max_diff) { \ 117 max_diff = abs_diff; \ 121 EXPECT_EQ(0, max_diff); \ 129 if (abs_diff > max_diff) { \ 130 max_diff = abs_diff; \ 134 EXPECT_LE(max_diff, 3); \ 142 if (abs_diff > max_diff) { \ 143 max_diff = abs_diff; \ 147 EXPECT_LE(max_diff, 3); \ [all …]
|
/external/libvpx/libvpx/test/ |
D | fdct8x8_test.cc | 84 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/chromium_org/third_party/libvpx/source/libvpx/test/ |
D | fdct8x8_test.cc | 136 const int max_diff = 1125; in RunSignBiasCheck() local 137 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 139 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck() 165 const int max_diff = 10000; in RunSignBiasCheck() local 166 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 168 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck()
|
/external/chromium_org/cc/trees/ |
D | layer_sorter.cc | 162 float max_diff = in CheckOverlap() local 174 *weight = std::abs(max_diff); in CheckOverlap() 178 if (max_diff <= 0.f) in CheckOverlap()
|
/external/lldb/test/unittest2/ |
D | case.py | 648 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/qemu/audio/ |
D | audio.c | 1211 double min_diff = 1e6, max_diff = -1e6; in audio_timer() 1217 if (diffs[nn] > max_diff) max_diff = diffs[nn]; in audio_timer() 1222 min_diff, max_diff, all_diff, num_diffs); in audio_timer()
|
/external/pcre/dist/sljit/ |
D | sljitNativeARM_32.c | 54 #define MAX_DIFFERENCE(max_diff) \ argument 55 (((max_diff) / (sljit_si)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
|