• Home
  • Raw
  • Download

Lines Matching refs:reference

44 void computeScaleAndBias (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& re…  in computeScaleAndBias()  argument
53 estimatePixelValueRange(reference, refMin, refMax); in computeScaleAndBias()
91 …xels (const PixelBufferAccess& errorMask, const ConstPixelBufferAccess& reference, const ConstPixe… in findNumPositionDeviationFailingPixels() argument
95 const int width = reference.getWidth(); in findNumPositionDeviationFailingPixels()
96 const int height = reference.getHeight(); in findNumPositionDeviationFailingPixels()
97 const int depth = reference.getDepth(); in findNumPositionDeviationFailingPixels()
119 const IVec4 refPix = reference.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels()
165 const IVec4 deviatedRefPix = reference.getPixelInt(sx, sy, sz); in findNumPositionDeviationFailingPixels()
217 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in fuzzyCompare() argument
220 …extureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHe… in fuzzyCompare()
221 float difference = fuzzyCompare(params, reference, result, errorMask.getAccess()); in fuzzyCompare()
230 fuzzyCompare(params, reference, result, errorMask.getAccess()); in fuzzyCompare()
232 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in fuzzyCompare()
233 computeScaleAndBias(reference, result, pixelScale, pixelBias); in fuzzyCompare()
240 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in fuzzyCompare()
286 …log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& … in fuzzyCompare() argument
288 …return fuzzyCompare(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), th… in fuzzyCompare()
335 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in measurePixelDiffAccuracy() argument
337 …extureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHe… in measurePixelDiffAccuracy()
339 deInt64 squaredSum = computeSquaredDiffSum(reference, result, diffMask.getAccess(), diffFactor); in measurePixelDiffAccuracy()
348 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in measurePixelDiffAccuracy()
349 computeScaleAndBias(reference, result, pixelScale, pixelBias); in measurePixelDiffAccuracy()
353 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in measurePixelDiffAccuracy()
391 …log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& … in measurePixelDiffAccuracy() argument
393 …return measurePixelDiffAccuracy(log, imageSetName, imageSetDesc, reference.getAccess(), result.get… in measurePixelDiffAccuracy()
488 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in floatUlpThresholdCompare() argument
490 int width = reference.getWidth(); in floatUlpThresholdCompare()
491 int height = reference.getHeight(); in floatUlpThresholdCompare()
492 int depth = reference.getDepth(); in floatUlpThresholdCompare()
507 const Vec4 refPix = reference.getPixel(x, y, z); in floatUlpThresholdCompare()
524 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in floatUlpThresholdCompare()
527 computeScaleAndBias(reference, result, pixelScale, pixelBias); in floatUlpThresholdCompare()
536 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in floatUlpThresholdCompare()
574 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in floatThresholdCompare() argument
576 int width = reference.getWidth(); in floatThresholdCompare()
577 int height = reference.getHeight(); in floatThresholdCompare()
578 int depth = reference.getDepth(); in floatThresholdCompare()
593 Vec4 refPix = reference.getPixel(x, y, z); in floatThresholdCompare()
611 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in floatThresholdCompare()
614 computeScaleAndBias(reference, result, pixelScale, pixelBias); in floatThresholdCompare()
623 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in floatThresholdCompare()
661 …g& log, const char* imageSetName, const char* imageSetDesc, const Vec4& reference, const ConstPixe… in floatThresholdCompare() argument
680 const Vec4 diff = abs(reference - cmpPix); in floatThresholdCompare()
702 … = " << maxDiff << ", threshold = " << threshold << ", reference = " << reference << TestLog::EndM… in floatThresholdCompare()
743 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in intThresholdCompare() argument
745 int width = reference.getWidth(); in intThresholdCompare()
746 int height = reference.getHeight(); in intThresholdCompare()
747 int depth = reference.getDepth(); in intThresholdCompare()
762 IVec4 refPix = reference.getPixelInt(x, y, z); in intThresholdCompare()
780 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in intThresholdCompare()
783 computeScaleAndBias(reference, result, pixelScale, pixelBias); in intThresholdCompare()
792 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in intThresholdCompare()
838 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in intThresholdPositionDeviationCompare() argument
840 const int width = reference.getWidth(); in intThresholdPositionDeviationCompare()
841 const int height = reference.getHeight(); in intThresholdPositionDeviationCompare()
842 const int depth = reference.getDepth(); in intThresholdPositionDeviationCompare()
845 …const int numFailingPixels = findNumPositionDeviationFailingPixels(errorMask, reference, result,… in intThresholdPositionDeviationCompare()
853 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in intThresholdPositionDeviationCompare()
856 computeScaleAndBias(reference, result, pixelScale, pixelBias); in intThresholdPositionDeviationCompare()
869 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in intThresholdPositionDeviationCompare()
917 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in intThresholdPositionDeviationErrorThresholdCompare() argument
919 const int width = reference.getWidth(); in intThresholdPositionDeviationErrorThresholdCompare()
920 const int height = reference.getHeight(); in intThresholdPositionDeviationErrorThresholdCompare()
921 const int depth = reference.getDepth(); in intThresholdPositionDeviationErrorThresholdCompare()
924 …const int numFailingPixels = findNumPositionDeviationFailingPixels(errorMask, reference, result,… in intThresholdPositionDeviationErrorThresholdCompare()
932 …if (tcu::getTextureChannelClass(reference.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_F… in intThresholdPositionDeviationErrorThresholdCompare()
935 computeScaleAndBias(reference, result, pixelScale, pixelBias); in intThresholdPositionDeviationErrorThresholdCompare()
949 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in intThresholdPositionDeviationErrorThresholdCompare()
984 …log, const char* imageSetName, const char* imageSetDesc, const Surface& reference, const Surface& … in pixelThresholdCompare() argument
986 …return intThresholdCompare(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAcces… in pixelThresholdCompare()
1007 …* imageSetName, const char* imageSetDesc, const ConstPixelBufferAccess& reference, const ConstPixe… in bilinearCompare() argument
1009 …extureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHe… in bilinearCompare()
1010 bool isOk = bilinearCompare(reference, result, errorMask, threshold); in bilinearCompare()
1016 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in bilinearCompare()
1017 computeScaleAndBias(reference, result, pixelScale, pixelBias); in bilinearCompare()
1024 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in bilinearCompare()