/external/libyuv/files/unit_test/ |
D | planar_test.cc | 135 int max_diff = 0; in TestAttenuateI() local 139 if (abs_diff > max_diff) { in TestAttenuateI() 140 max_diff = abs_diff; in TestAttenuateI() 146 return max_diff; in TestAttenuateI() 150 int max_diff = TestAttenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() local 153 EXPECT_LE(max_diff, 2); in TEST_F() 157 int max_diff = in TEST_F() local 160 EXPECT_LE(max_diff, 2); in TEST_F() 164 int max_diff = in TEST_F() local 167 EXPECT_LE(max_diff, 2); in TEST_F() [all …]
|
D | scale_test.cc | 111 int max_diff = 0; in TestFilter() local 116 if (abs_diff > max_diff) { in TestFilter() 117 max_diff = abs_diff; in TestFilter() 126 if (abs_diff > max_diff) { in TestFilter() 127 max_diff = abs_diff; in TestFilter() 131 if (abs_diff > max_diff) { in TestFilter() 132 max_diff = abs_diff; in TestFilter() 147 return max_diff; in TestFilter() 239 int max_diff = 0; in TestFilter_16() local 244 if (abs_diff > max_diff) { in TestFilter_16() [all …]
|
D | scale_argb_test.cc | 99 int max_diff = 0; in ARGBTestFilter() local 104 if (abs_diff > max_diff) { in ARGBTestFilter() 105 max_diff = abs_diff; in ARGBTestFilter() 113 return max_diff; in ARGBTestFilter() 212 int max_diff = 0; in ARGBClipTestFilter() local 217 if (abs_diff > max_diff) { in ARGBClipTestFilter() 218 max_diff = abs_diff; in ARGBClipTestFilter() 226 return max_diff; in ARGBClipTestFilter() 234 #define TEST_FACTOR1(name, filter, nom, denom, max_diff) \ argument 241 EXPECT_LE(diff, max_diff); \ [all …]
|
D | convert_test.cc | 90 int max_diff = 0; \ 95 if (abs_diff > max_diff) { \ 96 max_diff = abs_diff; \ 100 EXPECT_EQ(0, max_diff); \ 107 if (abs_diff > max_diff) { \ 108 max_diff = abs_diff; \ 112 EXPECT_LE(max_diff, 3); \ 119 if (abs_diff > max_diff) { \ 120 max_diff = abs_diff; \ 124 EXPECT_LE(max_diff, 3); \ [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/loop-idiom/ |
D | pmpy-infinite-loop.ll | 16 %max_diff.0300 = phi i16 [ %max_diff.1, %for.body309 ], [ 0, %entry ] 48 %conv370 = sext i16 %max_diff.0300 to i32 50 %max_diff.1 = select i1 %cmp371, i16 %conv364, i16 %max_diff.0300 58 %max_diff.1.lcssa = phi i16 [ %max_diff.1, %for.body309 ] 59 %cmp407 = icmp sgt i16 %max_diff.1.lcssa, 4
|
/external/ltp/testcases/kernel/sched/tool/ |
D | time-schedule.c | 104 signed long max_diff = -1000000000; in main() local 240 if (diff > max_diff) in main() 241 max_diff = diff; in main() 256 median = compute_median(diffs, max_diff); in main() 264 (double)max_diff / 20.0, (double)(max_diff - overhead) / 20.0); in main()
|
/external/autotest/client/site_tests/kernel_Ktime/ |
D | kernel_Ktime.py | 168 max_diff = 0 193 if abs(elapsed_diff) > abs(max_diff): 194 max_diff = elapsed_diff 217 logging.info('max_diff %f', max_diff)
|
/external/adhd/cras/src/dsp/tests/ |
D | dsp_util_test.c | 78 int max_diff; in TestRounding() local 120 max_diff = 0; in TestRounding() 123 if (d > max_diff) { in TestRounding() 124 max_diff = d; in TestRounding() 128 max_diff, in, in * 32768.0f, out_shorts_c[0], out_shorts_opt[0], in TestRounding() 130 max_diff == 0 ? "PASS" : (out_shorts_opt[0] == expected ? in TestRounding()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | logsoftmax_quantized_test.cc | 118 const int max_diff = diff.back(); in CheckOutputData() local 125 ASSERT_TRUE(std::abs(min_diff) == 0 && std::abs(max_diff) == 0) in CheckOutputData() 128 << ", std::abs(max_diff)=" << std::abs(max_diff); in CheckOutputData() 135 std::abs(max_diff) <= 1) in CheckOutputData() 140 << ", max_diff=" << max_diff; in CheckOutputData()
|
D | softmax_quantized_test.cc | 81 const int max_diff = diff.back(); in CheckOutputData() local 88 ASSERT_TRUE(std::abs(min_diff) == 0 && std::abs(max_diff) == 0); in CheckOutputData() 95 std::abs(max_diff) <= 1); in CheckOutputData()
|
D | depthwiseconv_quantized_test.cc | 361 const int max_diff = diff.back(); in TestOneDepthwiseConvWithGivenOutputShift() local 389 EXPECT_LE(std::abs(max_diff), diff_mean_tolerance); in TestOneDepthwiseConvWithGivenOutputShift() 394 std::abs(max_diff) <= diff_mean_tolerance) in TestOneDepthwiseConvWithGivenOutputShift()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_instance_norm_test.cc | 116 Eigen::Tensor<float, 0, Eigen::RowMajor> max_diff = in Expect() local 120 EXPECT_LE(max_diff(), 0.1); in Expect() 121 LOG(INFO) << "max diff " << max_diff(); in Expect()
|
/external/tensorflow/tensorflow/lite/testing/kernel_test/ |
D | diff_analyzer.cc | 106 float max_diff = in WriteReport() local 108 output_file << l2_error << "," << max_diff << "\n"; in WriteReport()
|
/external/libvpx/libvpx/test/ |
D | fdct8x8_test.cc | 172 const int max_diff = kSignBiasMaxDiff255; in RunSignBiasCheck() local 173 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 175 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck() 203 const int max_diff = kSignBiasMaxDiff15; in RunSignBiasCheck() local 204 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 206 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck()
|
/external/webp/src/enc/ |
D | predictor_enc.c | 190 int max_quantization, int max_diff, in NearLossless() argument 196 if (max_diff <= 2) { in NearLossless() 200 while (quantization >= max_diff) { in NearLossless()
|
/external/python/cpython2/Lib/unittest/ |
D | case.py | 728 max_diff = self.maxDiff 729 if max_diff is None or len(diff) <= max_diff:
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_firstpass.c | 565 int max_diff = 0; in fp_estimate_point_noise() local 580 max_diff = VPXMAX(max_diff, diff); in fp_estimate_point_noise() 590 if (max_diff < FP_MAX_DN_THRESH) in fp_estimate_point_noise() 606 int max_diff = 0; in fp_highbd_estimate_point_noise() local 623 max_diff = VPXMAX(max_diff, diff); in fp_highbd_estimate_point_noise() 633 if (max_diff < FP_MAX_DN_THRESH) in fp_highbd_estimate_point_noise()
|
D | vp9_encoder.c | 4507 int max_diff = 0; local 4515 max_diff = VPXMAX(max_diff, abs((int)*src_ptr - (int)tmp_ptr[j])); 4521 if (max_diff > (strength + (strength >> 1))) { 4552 int max_diff = 0; local 4560 max_diff = VPXMAX(max_diff, abs((int)src_ptr - (int)tmp_ptr[j])); 4566 if (max_diff > (strength + (strength >> 1))) {
|
/external/autotest/server/site_tests/audiovideo_AVSync/ |
D | audiovideo_AVSync.py | 108 max_diff=[max(diff), 'seconds'],
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 1030 max_diff = self.maxDiff 1031 if max_diff is None or len(diff) <= max_diff:
|
/external/webp/src/mux/ |
D | anim_encode.c | 409 const double max_diff = 31 * (1 - val) + 1 * val; in QualityToMaxDiff() local 410 return (int)(max_diff + 0.5); in QualityToMaxDiff()
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeARM_32.c | 59 #define MAX_DIFFERENCE(max_diff) \ argument 60 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | layers_test.py | 2630 max_diff = np.max(np.abs(images_gradients_value - new_images_gradients)) 2631 self.assertGreaterEqual(max_diff, 0.0) 2632 self.assertLess(max_diff, 5e-5)
|
/external/webp/ |
D | README | 535 -max_diff <int> ..... maximum allowed difference per channel
|