• Home
  • Raw
  • Download

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 with ignore key
644 * image. Comparison fails if any pixels exceed the given threshold value.
660 * \param threshold Maximum allowed difference
664 …onst ConstPixelBufferAccess& result, const Vec4& ignorekey, const Vec4& threshold, CompareLogMode … in floatThresholdCompare() argument
690 bool isOk = boolAll(lessThanEqual(diff, threshold)); in floatThresholdCompare()
700 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare()
713 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in floatThresholdCompare()
735 * \brief Per-pixel threshold-based comparison
738 * color. Comparison fails if any pixels exceed the given threshold value.
751 * \param threshold Maximum allowed difference
755 …onst Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … in floatThresholdCompare() argument
775 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in floatThresholdCompare()
784 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare()
796 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << ", re… in floatThresholdCompare()
817 * \brief Per-pixel threshold-based comparison
820 * image. Comparison fails if any pixels exceed the given threshold value.
833 * \param threshold Maximum allowed difference
838 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in intThresholdCompare() argument
847 const U64Vec4 threshold64 = threshold.cast<deUint64>(); in intThresholdCompare()
893 … "Image comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in intThresholdCompare()
915 * \brief Per-pixel depth/stencil threshold-based comparison
918 * image. Comparison fails if any pixels exceed the given threshold value.
931 * \param threshold Maximum allowed depth difference (stencil must be exact)
935 …ferAccess& reference, const ConstPixelBufferAccess& result, const float threshold, CompareLogMode … in dsThresholdCompare() argument
963 isOk = diff <= threshold; in dsThresholdCompare()
982 bool compareOk = (maxDiff <= threshold) && allStencilOk; in dsThresholdCompare()
988 if (maxDiff > threshold) in dsThresholdCompare()
989 … "Depth comparison failed: max difference = " << maxDiff << ", threshold = " << threshold << TestL… in dsThresholdCompare()
1017 * \brief Per-pixel threshold-based deviation-ignoring comparison
1020 * image. Comparison fails if there is no pixel matching the given threshold
1038 * \param threshold Maximum allowed difference
1045 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in intThresholdPositionDeviationCompare() argument
1052 …s = findNumPositionDeviationFailingPixels(errorMask, reference, result, threshold, maxPositionDevi… in intThresholdPositionDeviationCompare()
1071 << "\tcolor threshold = " << threshold in intThresholdPositionDeviationCompare()
1094 * \brief Per-pixel threshold-based deviation-ignoring comparison
1098 * threshold value in the search volume. Comparison fails if the number of
1116 * \param threshold Maximum allowed difference
1124 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in intThresholdPositionDeviationErrorThresholdCompare() argument
1131 …s = findNumPositionDeviationFailingPixels(errorMask, reference, result, threshold, maxPositionDevi… in intThresholdPositionDeviationErrorThresholdCompare()
1150 << "\tcolor threshold = " << threshold in intThresholdPositionDeviationErrorThresholdCompare()
1174 * \brief Per-pixel threshold-based comparison
1177 * image. Comparison fails if any pixels exceed the given threshold value.
1187 * \param threshold Maximum allowed difference
1191 …geSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode … in pixelThresholdCompare() argument
1193 … imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold.toIVec().cast<de… in pixelThresholdCompare()
1210 * \param threshold Maximum local difference
1214 …fferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode … in bilinearCompare() argument
1217 bool isOk = bilinearCompare(reference, result, errorMask, threshold); in bilinearCompare()
1227 …log << TestLog::Message << "Image comparison failed, threshold = " << threshold << TestLog::EndMes… in bilinearCompare()