/external/libyuv/files/unit_test/ |
D | planar_test.cc | 139 int max_diff = 0; in TestAttenuateI() local 143 if (abs_diff > max_diff) { in TestAttenuateI() 144 max_diff = abs_diff; in TestAttenuateI() 150 return max_diff; in TestAttenuateI() 154 int max_diff = TestAttenuateI(benchmark_width_ - 1, benchmark_height_, in TEST_F() local 157 EXPECT_LE(max_diff, 2); in TEST_F() 161 int max_diff = in TEST_F() local 164 EXPECT_LE(max_diff, 2); in TEST_F() 168 int max_diff = in TEST_F() local 171 EXPECT_LE(max_diff, 2); in TEST_F() [all …]
|
D | scale_test.cc | 103 int max_diff = 0; in I420TestFilter() local 108 if (abs_diff > max_diff) { in I420TestFilter() 109 max_diff = abs_diff; in I420TestFilter() 118 if (abs_diff > max_diff) { in I420TestFilter() 119 max_diff = abs_diff; in I420TestFilter() 123 if (abs_diff > max_diff) { in I420TestFilter() 124 max_diff = abs_diff; in I420TestFilter() 139 return max_diff; in I420TestFilter() 225 int max_diff = 0; in I420TestFilter_16() local 228 if (abs_diff > max_diff) { in I420TestFilter_16() [all …]
|
D | scale_argb_test.cc | 100 int max_diff = 0; in ARGBTestFilter() local 105 if (abs_diff > max_diff) { in ARGBTestFilter() 106 max_diff = abs_diff; in ARGBTestFilter() 114 return max_diff; in ARGBTestFilter() 213 int max_diff = 0; in ARGBClipTestFilter() local 218 if (abs_diff > max_diff) { in ARGBClipTestFilter() 219 max_diff = abs_diff; in ARGBClipTestFilter() 227 return max_diff; in ARGBClipTestFilter() 235 #define TEST_FACTOR1(name, filter, nom, denom, max_diff) \ argument 242 EXPECT_LE(diff, max_diff); \ [all …]
|
D | convert_test.cc | 219 int max_diff = 0; \ 224 if (abs_diff > max_diff) { \ 225 max_diff = abs_diff; \ 229 EXPECT_EQ(0, max_diff); \ 236 if (abs_diff > max_diff) { \ 237 max_diff = abs_diff; \ 241 EXPECT_LE(max_diff, 3); \ 248 if (abs_diff > max_diff) { \ 249 max_diff = abs_diff; \ 253 EXPECT_LE(max_diff, 3); \ [all …]
|
/external/llvm-project/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/tensorflow/tensorflow/lite/kernels/ |
D | numeric_verify.cc | 174 auto max_diff = op_data->tolerance * op_context.input->params.scale; in Eval() local 181 if (diff > max_diff) { in Eval() 188 max_diff, op_data->tolerance); in Eval() 209 double max_diff = 0.0; in Eval() local 211 [mean, &max_diff](double x) { in Eval() 212 max_diff = std::max(max_diff, std::abs(x)); in Eval() 221 mean, max_diff, op_context.input->params.scale, in Eval()
|
/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/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/adhd/cras/src/dsp/tests/ |
D | dsp_util_test.c | 79 int max_diff; in TestRounding() local 121 max_diff = 0; in TestRounding() 124 if (d > max_diff) { in TestRounding() 125 max_diff = d; in TestRounding() 129 max_diff, in, in * 32768.0f, out_shorts_c[0], out_shorts_opt[0], in TestRounding() 131 max_diff == 0 ? "PASS" : 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 | 82 const int max_diff = diff.back(); in CheckOutputData() local 90 ASSERT_EQ(std::abs(max_diff), 0); in CheckOutputData() 100 ASSERT_LE(std::abs(max_diff), 1); in CheckOutputData()
|
D | depthwiseconv_per_channel_quantized_test.cc | 159 const int max_diff = diff.back(); in CompareRoundingResults() local 181 EXPECT_LE(std::abs(max_diff), diff_mean_tolerance); in CompareRoundingResults() 186 std::abs(max_diff) <= diff_mean_tolerance); in CompareRoundingResults()
|
D | tensor_utils_test.cc | 44 int max_diff = 0; in CompareRoundingResults() local 49 max_diff = std::max(max_diff, diff); in CompareRoundingResults() 52 EXPECT_LE(max_diff, max_element_tolerance); in CompareRoundingResults()
|
D | depthwiseconv_quantized_test.cc | 686 const int max_diff = diff.back(); in TestOneDepthwiseConvWithGivenOutputShift() local 714 EXPECT_LE(std::abs(max_diff), diff_mean_tolerance); in TestOneDepthwiseConvWithGivenOutputShift() 719 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/rust/crates/rayon-core/src/scope/ |
D | test.rs | 155 let mut max_diff = Mutex::new(0); in linear_stack_growth() localVariable 157 scope(|s| the_final_countdown(s, &bottom_of_stack, &max_diff, 5)); in linear_stack_growth() 158 let diff_when_5 = *max_diff.get_mut().unwrap() as f64; in linear_stack_growth() 160 scope(|s| the_final_countdown(s, &bottom_of_stack, &max_diff, 500)); in linear_stack_growth() 161 let diff_when_500 = *max_diff.get_mut().unwrap() as f64; in linear_stack_growth()
|
/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/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/ |
D | case.py | 703 msg=None, seq_type=None, max_diff=80 * 8): argument 809 max_diff = self.maxDiff 810 if max_diff is None or len(diff) <= max_diff:
|
/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/autotest/server/site_tests/audiovideo_AVSync/ |
D | audiovideo_AVSync.py | 108 max_diff=[max(diff), 'seconds'],
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 1022 max_diff = self.maxDiff 1023 if max_diff is None or len(diff) <= max_diff:
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_firstpass.c | 566 int max_diff = 0; in fp_estimate_point_noise() local 581 max_diff = VPXMAX(max_diff, diff); in fp_estimate_point_noise() 591 if (max_diff < FP_MAX_DN_THRESH) in fp_estimate_point_noise() 607 int max_diff = 0; in fp_highbd_estimate_point_noise() local 624 max_diff = VPXMAX(max_diff, diff); in fp_highbd_estimate_point_noise() 634 if (max_diff < FP_MAX_DN_THRESH) in fp_highbd_estimate_point_noise()
|
/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()
|