Home
last modified time | relevance | path

Searched refs:maxDiff (Results 1 – 25 of 31) sorted by relevance

12

/external/opencv3/modules/java/android_test/src/org/opencv/test/android/
DUtilsTest.java37 double maxDiff = Core.norm(m16, m32, Core.NORM_INF); in testBitmapToMat() local
38 Log.d("Bmp->Mat", "bmp16->Mat vs bmp32->Mat diff = " + maxDiff); in testBitmapToMat()
40 assertTrue(maxDiff <= 8 /* 8 == 2^8 / 2^5 */); in testBitmapToMat()
69 double maxDiff; in testMatToBitmap() local
81 maxDiff = Core.norm(imgRGBA, m16, Core.NORM_INF); in testMatToBitmap()
82 Log.d("RGBA->bmp16->RGBA", "maxDiff = " + maxDiff); in testMatToBitmap()
83 assertTrue(maxDiff <= 8 /* 8 == 2^8 / 2^5 */); in testMatToBitmap()
87 maxDiff = Core.norm(imgRGBA, m32, Core.NORM_INF); in testMatToBitmap()
88 Log.d("RGBA->bmp32->RGBA", "maxDiff = " + maxDiff); in testMatToBitmap()
89 assertTrue(maxDiff == 0); in testMatToBitmap()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp166 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
222 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
229 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
266 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
311 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
319 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
357 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
413 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
420 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
457 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp180 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
235 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
242 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
299 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
343 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
351 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
405 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
460 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
467 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
524 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp162 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
218 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
225 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
262 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
307 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
315 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
353 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
409 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
416 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
453 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
[all …]
Des3fColorClearTest.cpp239 RGBA maxDiff(0, 0, 0, 0); in iterate() local
263 maxDiff = max(maxDiff, diff); in iterate()
274 …m_testCtx.getLog() << tcu::TestLog::Message << "Image comparison failed, max diff = " << maxDiff <… in iterate()
Des3fASTCDecompressionCases.cpp460 IVec4 maxDiff; in iterate() local
461 …deredFrame, threshold, blockSize, curNumNonDummyBlocks, firstFailedBlockCoord, errorMask, maxDiff); in iterate()
477 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in iterate()
/external/deqp/framework/common/
DtcuImageCompare.cpp494 UVec4 maxDiff (0, 0, 0, 0); in floatUlpThresholdCompare() local
511 maxDiff = max(maxDiff, diff); in floatUlpThresholdCompare()
518 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatUlpThresholdCompare()
531 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in floatUlpThresholdCompare()
580 Vec4 maxDiff (0.0f, 0.0f, 0.0f, 0.0f); in floatThresholdCompare() local
598 maxDiff = max(maxDiff, diff); in floatThresholdCompare()
605 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare()
618 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in floatThresholdCompare()
668 Vec4 maxDiff (0.0f, 0.0f, 0.0f, 0.0f); in floatThresholdCompare() local
682 maxDiff = max(maxDiff, diff); in floatThresholdCompare()
[all …]
/external/sonic/
DSonic.java522 int minDiff = 1, maxDiff = 0; in findPitchPeriodInRange() local
539 if(diff*worstPeriod > maxDiff*period) { in findPitchPeriodInRange()
540 maxDiff = diff; in findPitchPeriodInRange()
545 retMaxDiff = maxDiff/worstPeriod; in findPitchPeriodInRange()
554 int maxDiff, in prevPeriodBetter() argument
561 if(maxDiff > minDiff*3) { in prevPeriodBetter()
587 Integer maxDiff = new Integer(0); in findPitchPeriod() local
595 … period = findPitchPeriodInRange(samples, position, minPeriod, maxPeriod, minDiff, maxDiff); in findPitchPeriod()
599 maxPeriod/skip, minDiff, maxDiff); in findPitchPeriod()
611 … period = findPitchPeriodInRange(samples, position, minP, maxP, minDiff, maxDiff); in findPitchPeriod()
[all …]
Dsonic.c619 unsigned long diff, minDiff = 1, maxDiff = 0; in findPitchPeriodInRange() local
639 if(diff*worstPeriod > maxDiff*period) { in findPitchPeriodInRange()
640 maxDiff = diff; in findPitchPeriodInRange()
645 *retMaxDiff = maxDiff/worstPeriod; in findPitchPeriodInRange()
655 int maxDiff, in prevPeriodBetter() argument
662 if(maxDiff > minDiff*3) { in prevPeriodBetter()
690 int minDiff, maxDiff, retPeriod; in findPitchPeriod() local
698 period = findPitchPeriodInRange(samples, minPeriod, maxPeriod, &minDiff, &maxDiff); in findPitchPeriod()
702 maxPeriod/skip, &minDiff, &maxDiff); in findPitchPeriod()
715 &minDiff, &maxDiff); in findPitchPeriod()
[all …]
/external/chromium-trace/catapult/third_party/typ/typ/tests/
Djson_results_test.py21 maxDiff = 4096 variable in TestMakeUploadRequest
63 maxDiff = 2048 variable in TestMakeFullResults
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/cloudwatch/
Dtest_connection.py161 self.maxDiff = None
180 self.maxDiff = None
194 self.maxDiff = None
/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp239 RGBA maxDiff(0, 0, 0, 0); in iterate() local
263 maxDiff = max(maxDiff, diff); in iterate()
274 …m_testCtx.getLog() << tcu::TestLog::Message << "Image comparison failed, max diff = " << maxDiff <… in iterate()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/
Dtest_batch.py61 maxDiff = None variable in TestBatchObjects
/external/opencv3/modules/calib3d/src/
Dstereosgbm.cpp977 void filterSpecklesImpl(cv::Mat& img, int newVal, int maxSpeckleSize, int maxDiff, cv::Mat& _buf) in filterSpecklesImpl() argument
1030 … p.y < height-1 && !lpp[+width] && dpp[+dstep] != newVal && std::abs(dp - dpp[+dstep]) <= maxDiff ) in filterSpecklesImpl()
1036 … if( p.y > 0 && !lpp[-width] && dpp[-dstep] != newVal && std::abs(dp - dpp[-dstep]) <= maxDiff ) in filterSpecklesImpl()
1042 … if( p.x < width-1 && !lpp[+1] && dpp[+1] != newVal && std::abs(dp - dpp[+1]) <= maxDiff ) in filterSpecklesImpl()
1048 … if( p.x > 0 && !lpp[-1] && dpp[-1] != newVal && std::abs(dp - dpp[-1]) <= maxDiff ) in filterSpecklesImpl()
1083 int newVal = cvRound(_newval), maxDiff = cvRound(_maxDiff); in filterSpeckles() local
1101 … (Ipp8u)newVal, maxSpeckleSize, (Ipp8u)maxDiff, ippiNormL1, buffer); in filterSpeckles()
1104 … (Ipp16s)newVal, maxSpeckleSize, (Ipp16s)maxDiff, ippiNormL1, buffer); in filterSpeckles()
1118 filterSpecklesImpl<uchar>(img, newVal, maxSpeckleSize, maxDiff, _buf); in filterSpeckles()
1120 filterSpecklesImpl<short>(img, newVal, maxSpeckleSize, maxDiff, _buf); in filterSpeckles()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/
D__init__.py9 maxDiff = None variable in AWSMockServiceTestCase
/external/opencv3/modules/java/android_test/src/org/opencv/test/
DOpenCVTestCase.java418 double maxDiff = Core.norm(diff, Core.NORM_INF); in compareMats() local
421 …assertTrue("Max difference between expected and actiual Mats is "+ maxDiff + ", that bigger than "… in compareMats()
424 …assertFalse("Max difference between expected and actiual Mats is "+ maxDiff + ", that less than " … in compareMats()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
Dtest_website.py44 maxDiff = None variable in TestS3WebsiteConfiguration
/external/opencv3/modules/java/pure_test/src/org/opencv/test/
DOpenCVTestCase.java448 double maxDiff = Core.norm(diff, Core.NORM_INF); in compareMats() local
451 …assertTrue("Max difference between expected and actiual Mats is "+ maxDiff + ", that bigger than "… in compareMats()
454 …assertFalse("Max difference between expected and actiual Mats is "+ maxDiff + ", that less than " … in compareMats()
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dhtml_output_formatter_unittest.py49 self.maxDiff = 100000
/external/chromium-trace/catapult/third_party/typ/typ/
Dtest_case.py28 maxDiff = 80 * 66 variable in TestCase
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_networkinterface.py106 maxDiff = None variable in TestNetworkInterfaceCollection
/external/opencv3/modules/java/src/
Dcalib3d+Calib3d.java1007 …public static void filterSpeckles(Mat img, double newVal, int maxSpeckleSize, double maxDiff, Mat … in filterSpeckles() argument
1010 filterSpeckles_0(img.nativeObj, newVal, maxSpeckleSize, maxDiff, buf.nativeObj); in filterSpeckles()
1016 public static void filterSpeckles(Mat img, double newVal, int maxSpeckleSize, double maxDiff) in filterSpeckles() argument
1019 filterSpeckles_1(img.nativeObj, newVal, maxSpeckleSize, maxDiff); in filterSpeckles()
1290 …Speckles_0(long img_nativeObj, double newVal, int maxSpeckleSize, double maxDiff, long buf_nativeO… in filterSpeckles_0() argument
1291 …ative void filterSpeckles_1(long img_nativeObj, double newVal, int maxSpeckleSize, double maxDiff); in filterSpeckles_1() argument
/external/opencv3/modules/core/src/
Dmathfuncs.cpp2041 double maxDiff = 0; in solvePoly() local
2083 maxDiff = 0; in solvePoly()
2095 maxDiff = std::max(maxDiff, cv::abs(num)); in solvePoly()
2097 if( maxDiff <= 0 ) in solvePoly()
2113 return maxDiff; in solvePoly()
/external/v8/tools/unittests/
Drun_perf_test.py104 self.maxDiff = None
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver_unittest.py120 self.maxDiff = None

12