Home
last modified time | relevance | path

Searched refs:diffMask (Results 1 – 5 of 5) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fClippingTests.cpp150 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius… in compareImages() argument
158 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages()
212 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages()
220 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages()
243 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareBlackNonBlackImages() argument
245 return compareImages(log, test, ref, diffMask, kernelRadius, compareBlackNonBlackPixels); in compareBlackNonBlackImages()
260 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareColoredImages() argument
262 return compareImages(log, test, ref, diffMask, kernelRadius, compareColoredPixels); in compareColoredImages()
569 tcu::Surface diffMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender() local
576 …ackNonBlackImages(log, testSurface.getAccess(), refSurface.getAccess(), diffMask.getAccess(), kern… in testRender()
[all …]
Des3fPolygonOffsetTests.cpp96 …& test, const tcu::ConstPixelBufferAccess& ref, const tcu::PixelBufferAccess& diffMask, int radius) in compareImages() argument
109 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages()
142 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages()
150 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages()
168 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages() local
170 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages()
177 log << TestLog::Image("Difference mask", "Difference mask", diffMask.getAccess()); in verifyImages()
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp147 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius… in compareImages() argument
155 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages()
209 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages()
217 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages()
240 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareBlackNonBlackImages() argument
242 return compareImages(log, test, ref, diffMask, kernelRadius, compareBlackNonBlackPixels); in compareBlackNonBlackImages()
257 …cess& test, const ConstPixelBufferAccess& ref, const PixelBufferAccess& diffMask, int kernelRadius) in compareColoredImages() argument
259 return compareImages(log, test, ref, diffMask, kernelRadius, compareColoredPixels); in compareColoredImages()
566 tcu::Surface diffMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testRender() local
573 …ackNonBlackImages(log, testSurface.getAccess(), refSurface.getAccess(), diffMask.getAccess(), kern… in testRender()
[all …]
Des2fPolygonOffsetTests.cpp93 …& test, const tcu::ConstPixelBufferAccess& ref, const tcu::PixelBufferAccess& diffMask, int radius) in compareImages() argument
106 tcu::clear(diffMask, MASK_COLOR_OK); in compareImages()
139 diffMask.setPixel(MASK_COLOR_DEV, x, y); in compareImages()
147 diffMask.setPixel(MASK_COLOR_FAIL, x, y); in compareImages()
165 tcu::Surface diffMask (testImage.getWidth(), testImage.getHeight()); in verifyImages() local
167 …faultyPixels = compareImages(log, renderCtx, referenceImage, testImage, diffMask.getAccess(), kern… in verifyImages()
174 log << TestLog::Image("Difference mask", "Difference mask", diffMask.getAccess()); in verifyImages()
/external/deqp/framework/common/
DtcuImageCompare.cpp291 …rAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& diffMask, int diffFactor) in computeSquaredDiffSum() argument
294 DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getWidth() == diffMask.getWidth()); in computeSquaredDiffSum()
295 DE_ASSERT(ref.getHeight() == cmp.getHeight() && ref.getHeight() == diffMask.getHeight()); in computeSquaredDiffSum()
309diffMask.setPixel(tcu::RGBA(deClamp32(sum*diffFactor, 0, 255), deClamp32(255-sum*diffFactor, 0, 25… in computeSquaredDiffSum()
337 …TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.ge… in measurePixelDiffAccuracy() local
339 deInt64 squaredSum = computeSquaredDiffSum(reference, result, diffMask.getAccess(), diffFactor); in measurePixelDiffAccuracy()
354 << TestLog::Image("DiffMask", "Difference", diffMask) in measurePixelDiffAccuracy()