Home | History | Annotate | Download | only in functional

Lines Matching refs:threshold

148 		// Use pixel-threshold compare for rect cases since 1px off will mean failure.
149 tcu::RGBA threshold = TestCase::m_context.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(7,7,7,7);
150 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference, result, threshold, tcu::COMPARE_LOG_RESULT);
189 const tcu::RGBA threshold = TestCase::m_context.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(7,7,7,7);
195 const bool signConfig = tcu::compareThreshold(baseColor, cellColorA, threshold);
220 const bool isValidColor = tcu::compareThreshold(color, cellColorA, threshold) || tcu::compareThreshold(color, cellColorB, threshold);
249 if (tcu::compareThreshold(color, cellColorA, threshold))
251 else if (tcu::compareThreshold(color, cellColorB, threshold))
260 if (tcu::compareThreshold(color, cellColorA, threshold))
262 else if (tcu::compareThreshold(color, cellColorB, threshold))
274 const bool resultSign = tcu::compareThreshold(cellColorA, color, threshold);
432 tcu::RGBA threshold;
436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat);
443 threshold = tcu::max(srcMaxDiff, dstMaxDiff);
446 m_testCtx.getLog() << tcu::TestLog::Message << "threshold = " << threshold << tcu::TestLog::EndMessage;
447 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference, result, threshold, tcu::COMPARE_LOG_RESULT);
685 const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_format), tcu::RGBA(12, 12, 12, 12)));
687 m_testCtx.getLog() << TestLog::Message << "Comparing images, threshold: " << threshold << TestLog::EndMessage;
689 return tcu::bilinearCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference.getAccess(), result.getAccess(), threshold, tcu::COMPARE_LOG_RESULT);