Lines Matching refs:TestLog
217 bool fuzzyCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const ConstPix… in fuzzyCompare()
236 …log << TestLog::Message << "Image comparison failed: difference = " << difference << ", threshold … in fuzzyCompare()
238 log << TestLog::ImageSet(imageSetName, imageSetDesc) in fuzzyCompare()
239 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in fuzzyCompare()
240 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in fuzzyCompare()
241 << TestLog::Image("ErrorMask", "Error mask", errorMask) in fuzzyCompare()
242 << TestLog::EndImageSet; in fuzzyCompare()
249 log << TestLog::ImageSet(imageSetName, imageSetDesc) in fuzzyCompare()
250 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in fuzzyCompare()
251 << TestLog::EndImageSet; in fuzzyCompare()
286 bool fuzzyCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Surface&… in fuzzyCompare()
335 int measurePixelDiffAccuracy (TestLog& log, const char* imageSetName, const char* imageSetDesc, con… in measurePixelDiffAccuracy()
351 log << TestLog::ImageSet(imageSetName, imageSetDesc) in measurePixelDiffAccuracy()
352 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in measurePixelDiffAccuracy()
353 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in measurePixelDiffAccuracy()
354 << TestLog::Image("DiffMask", "Difference", diffMask) in measurePixelDiffAccuracy()
355 << TestLog::EndImageSet; in measurePixelDiffAccuracy()
362 log << TestLog::ImageSet(imageSetName, imageSetDesc) in measurePixelDiffAccuracy()
363 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in measurePixelDiffAccuracy()
364 << TestLog::EndImageSet; in measurePixelDiffAccuracy()
368 log << TestLog::Integer("DiffSum", "Squared difference sum", "", QP_KEY_TAG_NONE, squaredSum) in measurePixelDiffAccuracy()
369 << TestLog::Integer("Score", "Score", "", QP_KEY_TAG_QUALITY, score); in measurePixelDiffAccuracy()
391 int measurePixelDiffAccuracy (TestLog& log, const char* imageSetName, const char* imageSetDesc, con… in measurePixelDiffAccuracy()
488 bool floatUlpThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, co… in floatUlpThresholdCompare()
528 …log << TestLog::Message << "Result and reference images are normalized with formula p * " << pixel… in floatUlpThresholdCompare()
532 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in floatUlpThresholdCompare()
534 log << TestLog::ImageSet(imageSetName, imageSetDesc) in floatUlpThresholdCompare()
535 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in floatUlpThresholdCompare()
536 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in floatUlpThresholdCompare()
537 << TestLog::Image("ErrorMask", "Error mask", errorMask) in floatUlpThresholdCompare()
538 << TestLog::EndImageSet; in floatUlpThresholdCompare()
545 log << TestLog::ImageSet(imageSetName, imageSetDesc) in floatUlpThresholdCompare()
546 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in floatUlpThresholdCompare()
547 << TestLog::EndImageSet; in floatUlpThresholdCompare()
574 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const… in floatThresholdCompare()
615 …log << TestLog::Message << "Result and reference images are normalized with formula p * " << pixel… in floatThresholdCompare()
619 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in floatThresholdCompare()
621 log << TestLog::ImageSet(imageSetName, imageSetDesc) in floatThresholdCompare()
622 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in floatThresholdCompare()
623 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in floatThresholdCompare()
624 << TestLog::Image("ErrorMask", "Error mask", errorMask) in floatThresholdCompare()
625 << TestLog::EndImageSet; in floatThresholdCompare()
632 log << TestLog::ImageSet(imageSetName, imageSetDesc) in floatThresholdCompare()
633 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in floatThresholdCompare()
634 << TestLog::EndImageSet; in floatThresholdCompare()
661 bool floatThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const… in floatThresholdCompare()
698 …log << TestLog::Message << "Result image is normalized with formula p * " << pixelScale << " + " <… in floatThresholdCompare()
702 …TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold = " <<… in floatThresholdCompare()
704 log << TestLog::ImageSet(imageSetName, imageSetDesc) in floatThresholdCompare()
705 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in floatThresholdCompare()
706 << TestLog::Image("ErrorMask", "Error mask", errorMask) in floatThresholdCompare()
707 << TestLog::EndImageSet; in floatThresholdCompare()
714 log << TestLog::ImageSet(imageSetName, imageSetDesc) in floatThresholdCompare()
715 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in floatThresholdCompare()
716 << TestLog::EndImageSet; in floatThresholdCompare()
743 bool intThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const C… in intThresholdCompare()
784 …log << TestLog::Message << "Result and reference images are normalized with formula p * " << pixel… in intThresholdCompare()
788 …log << TestLog::Message << "Image comparison failed: max difference = " << maxDiff << ", threshold… in intThresholdCompare()
790 log << TestLog::ImageSet(imageSetName, imageSetDesc) in intThresholdCompare()
791 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in intThresholdCompare()
792 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in intThresholdCompare()
793 << TestLog::Image("ErrorMask", "Error mask", errorMask) in intThresholdCompare()
794 << TestLog::EndImageSet; in intThresholdCompare()
801 log << TestLog::ImageSet(imageSetName, imageSetDesc) in intThresholdCompare()
802 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in intThresholdCompare()
803 << TestLog::EndImageSet; in intThresholdCompare()
838 bool intThresholdPositionDeviationCompare (TestLog& log, const char* imageSetName, const char* imag… in intThresholdPositionDeviationCompare()
857 …log << TestLog::Message << "Result and reference images are normalized with formula p * " << pixel… in intThresholdPositionDeviationCompare()
861 log << TestLog::Message in intThresholdPositionDeviationCompare()
865 << TestLog::EndMessage; in intThresholdPositionDeviationCompare()
867 log << TestLog::ImageSet(imageSetName, imageSetDesc) in intThresholdPositionDeviationCompare()
868 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in intThresholdPositionDeviationCompare()
869 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in intThresholdPositionDeviationCompare()
870 << TestLog::Image("ErrorMask", "Error mask", errorMask) in intThresholdPositionDeviationCompare()
871 << TestLog::EndImageSet; in intThresholdPositionDeviationCompare()
878 log << TestLog::ImageSet(imageSetName, imageSetDesc) in intThresholdPositionDeviationCompare()
879 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in intThresholdPositionDeviationCompare()
880 << TestLog::EndImageSet; in intThresholdPositionDeviationCompare()
917 bool intThresholdPositionDeviationErrorThresholdCompare (TestLog& log, const char* imageSetName, co… in intThresholdPositionDeviationErrorThresholdCompare()
936 …log << TestLog::Message << "Result and reference images are normalized with formula p * " << pixel… in intThresholdPositionDeviationErrorThresholdCompare()
940 log << TestLog::Message in intThresholdPositionDeviationErrorThresholdCompare()
944 << TestLog::EndMessage; in intThresholdPositionDeviationErrorThresholdCompare()
945 …log << TestLog::Message << "Number of failing pixels = " << numFailingPixels << ", max allowed = "… in intThresholdPositionDeviationErrorThresholdCompare()
947 log << TestLog::ImageSet(imageSetName, imageSetDesc) in intThresholdPositionDeviationErrorThresholdCompare()
948 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in intThresholdPositionDeviationErrorThresholdCompare()
949 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in intThresholdPositionDeviationErrorThresholdCompare()
950 << TestLog::Image("ErrorMask", "Error mask", errorMask) in intThresholdPositionDeviationErrorThresholdCompare()
951 << TestLog::EndImageSet; in intThresholdPositionDeviationErrorThresholdCompare()
958 log << TestLog::ImageSet(imageSetName, imageSetDesc) in intThresholdPositionDeviationErrorThresholdCompare()
959 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in intThresholdPositionDeviationErrorThresholdCompare()
960 << TestLog::EndImageSet; in intThresholdPositionDeviationErrorThresholdCompare()
984 bool pixelThresholdCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const… in pixelThresholdCompare()
1007 bool bilinearCompare (TestLog& log, const char* imageSetName, const char* imageSetDesc, const Const… in bilinearCompare()
1020 …log << TestLog::Message << "Image comparison failed, threshold = " << threshold << TestLog::EndMes… in bilinearCompare()
1022 log << TestLog::ImageSet(imageSetName, imageSetDesc) in bilinearCompare()
1023 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in bilinearCompare()
1024 << TestLog::Image("Reference", "Reference", reference, pixelScale, pixelBias) in bilinearCompare()
1025 << TestLog::Image("ErrorMask", "Error mask", errorMask) in bilinearCompare()
1026 << TestLog::EndImageSet; in bilinearCompare()
1033 log << TestLog::ImageSet(imageSetName, imageSetDesc) in bilinearCompare()
1034 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in bilinearCompare()
1035 << TestLog::EndImageSet; in bilinearCompare()