Home
last modified time | relevance | path

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

/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.cpp168 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
223 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
230 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
286 const deUint32 maxDiff = 1; // Rounding error. in iterate() local
330 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
338 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
391 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate() local
446 if (diff0 > maxDiff || diff1 > maxDiff) in iterate()
453 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff in iterate()
509 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.cpp463 IVec4 maxDiff; in iterate() local
464 …deredFrame, threshold, blockSize, curNumNonDummyBlocks, firstFailedBlockCoord, errorMask, maxDiff); in iterate()
480 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in iterate()
/external/deqp/framework/common/
DtcuImageCompare.cpp495 UVec4 maxDiff (0, 0, 0, 0); in floatUlpThresholdCompare() local
512 maxDiff = max(maxDiff, diff); in floatUlpThresholdCompare()
519 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatUlpThresholdCompare()
532 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in floatUlpThresholdCompare()
581 Vec4 maxDiff (0.0f, 0.0f, 0.0f, 0.0f); in floatThresholdCompare() local
599 maxDiff = max(maxDiff, diff); in floatThresholdCompare()
606 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare()
619 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in floatThresholdCompare()
669 Vec4 maxDiff (0.0f, 0.0f, 0.0f, 0.0f); in floatThresholdCompare() local
683 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/skia/gm/
Dshapes_as_paths.cpp39 int maxDiffX = 0, maxDiffY = 0, maxDiff = 0; in draw_diff() local
54 if (diff > maxDiff) { in draw_diff()
57 maxDiff = diff; in draw_diff()
66 outline.setColor(maxDiff == 0 ? 0xFF007F00 : 0xFF7F0000); in draw_diff()
68 if (maxDiff > 0) { in draw_diff()
/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/python/cpython2/Lib/unittest/test/
Dtest_case.py595 self.assertEqual(self.maxDiff, 80*8)
603 self.maxDiff = len(diff)//2
613 self.maxDiff = len(diff) * 2
623 self.maxDiff = None
634 self.maxDiff = 1
639 self.maxDiff = None
643 self.maxDiff = 4
675 self.maxDiff = None
918 self.maxDiff = None
/external/autotest/scheduler/
Ddrone_utility_unittest.py91 self.maxDiff = None
119 self.maxDiff = None
/external/autotest/server/hosts/
Dcros_repair_unittest.py110 maxDiff = None variable in CrosRepairUnittests
/external/python/cpython2/Lib/test/
Dtest__osx_support.py20 self.maxDiff = None
Dtest_tools.py62 self.maxDiff = None
Dtest_cgi.py282 self.maxDiff = None
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp1483 Vec4 maxDiff (0.0f); in iterate() local
1521 maxDiff = tcu::max(maxDiff, diff); in iterate()
1532 …rage values by more than " << threshold << " max per component diff " << maxDiff << TestLog::EndMe… in iterate()
/external/python/cpython2/Lib/unittest/
Dcase.py168 maxDiff = 80*8 variable in TestCase
727 max_diff = self.maxDiff
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver_unittest.py120 self.maxDiff = None
/external/v8/tools/unittests/
Drun_perf_test.py108 self.maxDiff = None
/external/aac/libAACenc/src/
Dadj_thr.cpp2434 const FIXP_DBL maxDiff = FL2FXCONST_DBL(0.25f); in FDKaacEnc_calcPeCorrectionLowBitRes() local
2466 diff = (scaling<=0) ? FDKmax( FDKmin (diff>>(-scaling), maxDiff>>1), -maxDiff>>1) in FDKaacEnc_calcPeCorrectionLowBitRes()
2467 … : FDKmax( FDKmin (diff, maxDiff>>(1+scaling)), -maxDiff>>(1+scaling)) << scaling; in FDKaacEnc_calcPeCorrectionLowBitRes()
/external/autotest/client/common_lib/
Dtest_unittest.py588 self.maxDiff = None
/external/autotest/server/cros/dynamic_suite/
Dsuite_unittest.py60 self.maxDiff = None
/external/python/cpython2/Doc/library/
Dunittest.rst1234 .. attribute:: maxDiff
1243 Setting ``maxDiff`` to ``None`` means that there is no maximum length of