Lines Matching full:threshold
91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument
125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
201 * metric is usually <0.01. Thus good threshold values are in range 0.02 to
213 * \param threshold Error metric threshold (good values are 0.02-0.05)
217 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument
222 bool isOk = difference <= threshold; in fuzzyCompare()
236 …< "Image comparison failed: difference = " << difference << ", threshold = " << threshold << TestL… in fuzzyCompare()
270 * metric is usually <0.01. Thus good threshold values are in range 0.02 to
282 * \param threshold Error metric threshold (good values are 0.02-0.05)
286 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … in fuzzyCompare() argument
288 …re(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold, logMode); in fuzzyCompare()
466 * \brief Per-pixel threshold-based comparison
469 * image. Comparison fails if any pixels exceed the given threshold value.
484 * \param threshold Maximum allowed difference
488 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in floatUlpThresholdCompare() argument
510 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in floatUlpThresholdCompare()
519 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatUlpThresholdCompare()
532 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in floatUlpThresholdCompare()
554 * \brief Per-pixel threshold-based comparison
557 * image. Comparison fails if any pixels exceed the given threshold value.
570 * \param threshold Maximum allowed difference
574 …ferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … in floatThresholdCompare() argument
597 bool isOk = boolAll(lessThanEqual(diff, threshold)); in floatThresholdCompare()
606 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare()
619 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in floatThresholdCompare()
641 * \brief Per-pixel threshold-based comparison
644 * color. Comparison fails if any pixels exceed the given threshold value.
657 * \param threshold Maximum allowed difference
661 …onst Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … in floatThresholdCompare() argument
681 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in floatThresholdCompare()
690 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare()
702 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << ", re… in floatThresholdCompare()
723 * \brief Per-pixel threshold-based comparison
726 * image. Comparison fails if any pixels exceed the given threshold value.
739 * \param threshold Maximum allowed difference
743 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in intThresholdCompare() argument
766 bool isOk = boolAll(lessThanEqual(diff, threshold)); in intThresholdCompare()
775 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in intThresholdCompare()
788 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in intThresholdCompare()
810 * \brief Per-pixel depth/stencil threshold-based comparison
813 * image. Comparison fails if any pixels exceed the given threshold value.
826 * \param threshold Maximum allowed depth difference (stencil must be exact)
830 …ferAccess& reference, const ConstPixelBufferAccess& result, const float threshold, CompareLogMode … in dsThresholdCompare() argument
858 isOk = diff <= threshold; in dsThresholdCompare()
877 bool compareOk = (maxDiff <= threshold) && allStencilOk; in dsThresholdCompare()
883 if (maxDiff > threshold) in dsThresholdCompare()
884 … "Depth comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in dsThresholdCompare()
912 * \brief Per-pixel threshold-based deviation-ignoring comparison
915 * image. Comparison fails if there is no pixel matching the given threshold
933 * \param threshold Maximum allowed difference
940 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in intThresholdPositionDeviationCompare() argument
947 …s = findNumPositionDeviationFailingPixels(errorMask, reference, result, threshold, maxPositionDevi… in intThresholdPositionDeviationCompare()
966 << "\tcolor threshold = " << threshold in intThresholdPositionDeviationCompare()
989 * \brief Per-pixel threshold-based deviation-ignoring comparison
993 * threshold value in the search volume. Comparison fails if the number of
1011 * \param threshold Maximum allowed difference
1019 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in intThresholdPositionDeviationErrorThresholdCompare() argument
1026 …s = findNumPositionDeviationFailingPixels(errorMask, reference, result, threshold, maxPositionDevi… in intThresholdPositionDeviationErrorThresholdCompare()
1045 << "\tcolor threshold = " << threshold in intThresholdPositionDeviationErrorThresholdCompare()
1069 * \brief Per-pixel threshold-based comparison
1072 * image. Comparison fails if any pixels exceed the given threshold value.
1082 * \param threshold Maximum allowed difference
1086 …geSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode … in pixelThresholdCompare() argument
1088 … imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold.toIVec().cast<de… in pixelThresholdCompare()
1105 * \param threshold Maximum local difference
1109 …fferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode … in bilinearCompare() argument
1112 bool isOk = bilinearCompare(reference, result, errorMask, threshold); in bilinearCompare()
1122 …log << TestLog::Message << "Image comparison failed, threshold = " << threshold << TestLog::EndMes… in bilinearCompare()