Searched defs:maxDiff (Results 1 - 7 of 7) sorted by relevance

/external/deqp/modules/gles3/functional/
H A Des3fShaderPackingFunctionTests.cpp162 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
218 if (diff0 > maxDiff || diff1 > maxDiff)
225 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff
262 const deUint32 maxDiff = 1; // Rounding error. local
307 if (diff0 > maxDiff || diff1 > maxDiff)
315 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff
353 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
409 if (diff0 > maxDiff || diff
453 const deUint32 maxDiff = 1; // Rounding error. local
540 const int maxDiff = 0; // Values can be represented exactly in mediump. local
646 const int maxDiff = 0; // All bits must be accurate. local
[all...]
H A Des3fASTCDecompressionCases.cpp463 IVec4 maxDiff; local
464 const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, curNumNonDummyBlocks, firstFailedBlockCoord, errorMask, maxDiff);
480 log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestLog::EndMessage
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp168 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
223 if (diff0 > maxDiff || diff1 > maxDiff)
230 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff
286 const deUint32 maxDiff = 1; // Rounding error. local
330 if (diff0 > maxDiff || diff1 > maxDiff)
338 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff
391 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
446 if (diff0 > maxDiff || diff
509 const deUint32 maxDiff = 1; // Rounding error. local
612 const int maxDiff = 0; // Values can be represented exactly in mediump. local
733 const int maxDiff = 0; // All bits must be accurate. local
862 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
990 const deUint32 maxDiff = 1; // Rounding error. local
1105 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
1233 const deUint32 maxDiff = 1; // Rounding error. local
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderPackingFunctionTests.cpp166 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
222 if (diff0 > maxDiff || diff1 > maxDiff)
229 << "\n diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff
266 const deUint32 maxDiff = 1; // Rounding error. local
311 if (diff0 > maxDiff || diff1 > maxDiff)
319 << "\n ULP diffs = (" << diff0 << ", " << diff1 << "), max diff = " << maxDiff
357 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
413 if (diff0 > maxDiff || diff
457 const deUint32 maxDiff = 1; // Rounding error. local
544 const int maxDiff = 0; // Values can be represented exactly in mediump. local
650 const int maxDiff = 0; // All bits must be accurate. local
764 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
874 const deUint32 maxDiff = 1; // Rounding error. local
973 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. local
1083 const deUint32 maxDiff = 1; // Rounding error. local
[all...]
/external/sonic/
H A DSonic.java522 int minDiff = 1, maxDiff = 0;
539 if(diff*worstPeriod > maxDiff*period) {
540 maxDiff = diff;
545 retMaxDiff = maxDiff/worstPeriod;
554 int maxDiff,
561 if(maxDiff > minDiff*3) {
587 Integer maxDiff = new Integer(0);
595 period = findPitchPeriodInRange(samples, position, minPeriod, maxPeriod, minDiff, maxDiff);
599 maxPeriod/skip, minDiff, maxDiff);
611 period = findPitchPeriodInRange(samples, position, minP, maxP, minDiff, maxDiff);
551 prevPeriodBetter( int period, int minDiff, int maxDiff, boolean preferNewPeriod) argument
[all...]
H A Dsonic.c619 unsigned long diff, minDiff = 1, maxDiff = 0; local
639 if(diff*worstPeriod > maxDiff*period) {
640 maxDiff = diff;
645 *retMaxDiff = maxDiff/worstPeriod;
655 int maxDiff,
662 if(maxDiff > minDiff*3) {
690 int minDiff, maxDiff, retPeriod; local
698 period = findPitchPeriodInRange(samples, minPeriod, maxPeriod, &minDiff, &maxDiff);
702 maxPeriod/skip, &minDiff, &maxDiff);
715 &minDiff, &maxDiff);
651 prevPeriodBetter( sonicStream stream, int period, int minDiff, int maxDiff, int preferNewPeriod) argument
[all...]
/external/aac/libAACenc/src/
H A Dadj_thr.cpp2434 const FIXP_DBL maxDiff = FL2FXCONST_DBL(0.25f); local
2455 * diff = max ( min ( diff, maxDiff, -maxDiff)) / 2
2466 diff = (scaling<=0) ? FDKmax( FDKmin (diff>>(-scaling), maxDiff>>1), -maxDiff>>1)
2467 : FDKmax( FDKmin (diff, maxDiff>>(1+scaling)), -maxDiff>>(1+scaling)) << scaling;

Completed in 234 milliseconds