/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/autotest/client/site_tests/kernel_Ktime/ |
D | kernel_Ktime.py | 164 max_diff = 0 189 if abs(elapsed_diff) > abs(max_diff): 190 max_diff = elapsed_diff 213 logging.info('max_diff %f', max_diff)
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | statistics.py | 102 max_diff = 0 117 max_diff = max( 118 float(count_closed_increment) * inv_sample_count - length + max_diff, 124 max_local_discrepancy = max(max_diff, -min_diff, max_local_discrepancy)
|
/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() 202 const int max_diff = kSignBiasMaxDiff15; in RunSignBiasCheck() local 203 EXPECT_LT(diff, max_diff << (bit_depth_ - 8)) in RunSignBiasCheck() 205 << 1. * max_diff / count_test_block * 100 << "%" in RunSignBiasCheck()
|
/external/opencv3/modules/calib3d/test/ |
D | test_homography.cpp | 89 float max_diff, max_2diff; member in CV_HomographyTest 105 CV_HomographyTest::CV_HomographyTest() : max_diff(1e-2f), max_2diff(2e-2f) in CV_HomographyTest() 123 return diff <= max_diff; in check_matrix_diff() 166 cout << "Maximum allowed difference: " << max_diff << endl; cout << endl; in print_information_2() 205 cout << "Maxumum allowed difference: " << max_diff << endl; cout << endl; in print_information_5() 459 … if (cv::norm(dst_res_3d, dst_mat_3d, NORM_TYPE[l]) - cv::norm(noise_2d, NORM_TYPE[l]) > max_diff) in run()
|
/external/opencv3/modules/core/test/ |
D | test_eigen.cpp | 94 void print_information(const size_t norm_idx, const cv::Mat& src, double diff, double max_diff); 211 …genTest::print_information(const size_t norm_idx, const cv::Mat& src, double diff, double max_diff) in print_information() argument 224 cout << "Maximum allowed difference: " << max_diff << endl; cout << endl; in print_information()
|
D | test_io.cpp | 215 double max_diff = 0; in run() local 222 …cvtest::cmpEps( cv::cvarrToMat(&stub1), cv::cvarrToMat(&_test_stub1), &max_diff, 0, &pt, true) < 0… in run() 252 …cvtest::cmpEps( cv::cvarrToMat(&stub1), cv::cvarrToMat(&_test_stub1), &max_diff, 0, &pt, true) < 0… in run() 270 …cvtest::cmpEps( cv::cvarrToMat(&stub1), cv::cvarrToMat(&_test_stub1), &max_diff, 0, &pt, true) < 0… in run()
|
/external/opencv3/modules/ts/include/opencv2/ |
D | ts.hpp | 142 CV_EXPORTS int cmpEps( const Mat& data, const Mat& refdata, double* max_diff,
|
/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))
|