Home
last modified time | relevance | path

Searched refs:compareThreshold (Results 1 – 25 of 26) sorted by relevance

12

/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8()
128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8()
129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8()
130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8()
131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8()
132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8()
133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8()
134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8()
135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8()
183 … if (compareThreshold(resPix, bilinearSampleRGBA8(reference, (deUint32)u, (deUint32)v), threshold)) in comparePixelRGBA8()
DtcuRGBA.hpp137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) in compareThreshold() function
/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp394 const bool isBg = tcu::compareThreshold(resPix, bgRef, threshold); in verifyHelperInvocationValue()
395 const bool isFg = tcu::compareThreshold(resPix, fgRef, threshold); in verifyHelperInvocationValue()
560 if (tcu::compareThreshold(color, neighborColor, threshold)) in hasNeighborWithColor()
585 const bool isBg = tcu::compareThreshold(resPix, bgRef, isBgThreshold); in verifyHelperInvocationDerivate()
586 const bool isFg = tcu::compareThreshold(resPix, fgRef, isFgThreshold); in verifyHelperInvocationDerivate()
Des31fAdvancedBlendTests.cpp565 …const UVec4 compareThreshold = (useFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local
571 … tcu::RGBA(compareThreshold[0], compareThreshold[1], compareThreshold[2], compareThreshold[3]), in iterate()
Des31fLayoutBindingTests.cpp646 const tcu::RGBA compareThreshold = tcu::RGBA(de::clamp(2 * surfaceThreshold.getRed(), 0, 255), in drawAndVerifyResult() local
666 …etLog(), "Render result", "Result verification", reference, result, compareThreshold, tcu::COMPARE… in drawAndVerifyResult()
/external/deqp/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp195 const bool signConfig = tcu::compareThreshold(baseColor, cellColorA, threshold); in compare()
220 …const bool isValidColor = tcu::compareThreshold(color, cellColorA, threshold) || tcu::compareThres… in compare()
249 if (tcu::compareThreshold(color, cellColorA, threshold)) in compare()
251 else if (tcu::compareThreshold(color, cellColorB, threshold)) in compare()
260 if (tcu::compareThreshold(color, cellColorA, threshold)) in compare()
262 else if (tcu::compareThreshold(color, cellColorB, threshold)) in compare()
274 const bool resultSign = tcu::compareThreshold(cellColorA, color, threshold); in compare()
Des3fPrerequisiteTests.cpp245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
Des3fBlendTests.cpp327 …UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local
332 compareThreshold, tcu::COMPARE_LOG_RESULT); in iterate()
Des3fShaderFragDataTests.cpp94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
Des3fPolygonOffsetTests.cpp80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) in compareThreshold() function
120 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
136 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
Des3fFboMultisampleTests.cpp332 TCU_CHECK(compareThreshold(color, tcu::RGBA::green(), threshold)); in test()
Des3fMultisampleTests.cpp136 …if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs f… in isPixelRegionUnicolored()
163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors()
608 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3))) in iterate()
/external/deqp/modules/glshared/
DglsDrawTest.cpp3454 … colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3& compareThreshold) in colorsEqual() argument
3461 …pareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshold.y(), compareT… in colorsEqual()
3465 …nst tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) in pixelNeighborhoodContainsColor() argument
3475 if (colorsEqual(color, targetCmpPixel, compareThreshold)) in pixelNeighborhoodContainsColor()
3500 …::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, const tcu::I… in edgeRelaxedImageCompare() argument
3526 const bool directMatch = colorsEqual(refPixel, screenPixel, compareThreshold); in edgeRelaxedImageCompare()
3527 …rectMatch || pixelNeighborhoodContainsColor(result, x, y, refPixel, compareThreshold); // screen… in edgeRelaxedImageCompare()
3528 …tch || pixelNeighborhoodContainsColor(reference, x, y, screenPixel, compareThreshold); // referenc… in edgeRelaxedImageCompare()
3575 …son failed. Color threshold = (" << compareThreshold.x() << ", " << compareThreshold.y() << ", " <… in edgeRelaxedImageCompare()
3595 …::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, int maxAllow… in intersectionRelaxedLineImageCompare() argument
[all …]
DglsVertexArrayTests.cpp1849 …bool refThin = (!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::co… in compare()
1850 …(!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(ref… in compare()
1851 …bool screenThin = (!tcu::compareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && … in compare()
1852 …(!tcu::compareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThresho… in compare()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayETC2Support.cpp352 const float compareThreshold = 0.05f; in isRenderedImageValid() local
354 compareThreshold, tcu::COMPARE_LOG_RESULT); in isRenderedImageValid()
/external/deqp/modules/gles2/functional/
Des2fShaderFragDataTests.cpp76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
Des2fPrerequisiteTests.cpp245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
Des2fBlendTests.cpp272 …UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec()… in iterate() local
275 …parison Result", referenceImg.getAccess(), renderedImg.getAccess(), compareThreshold, tcu::COMPARE… in iterate()
Des2fPolygonOffsetTests.cpp77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) in compareThreshold() function
117 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
133 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
Des2fMultisampleTests.cpp134 …if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs f… in isPixelRegionUnicolored()
161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors()
450 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3))) in iterate()
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedBlending.cpp395 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
DesextcDrawBuffersIndexedColorMasks.cpp431 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
/external/deqp/modules/egl/
DteglImageFormatTests.cpp463 …const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large threshol… in invokeGLES2() local
576 …"Result from rendering with depth buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE… in invokeGLES2()
590 …const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large threshol… in invokeGLES2() local
694 …esult from rendering with stencil buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE… in invokeGLES2()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp4442 if (!tcu::compareThreshold(upperLeft, instance.outputColors[0], threshold)) in runAndVerifyDefaultPipeline()
4446 if (!tcu::compareThreshold(upperRight, instance.outputColors[1], threshold)) in runAndVerifyDefaultPipeline()
4450 if (!tcu::compareThreshold(lowerLeft, instance.outputColors[2], threshold)) in runAndVerifyDefaultPipeline()
4454 if (!tcu::compareThreshold(lowerRight, instance.outputColors[3], threshold)) in runAndVerifyDefaultPipeline()
/external/deqp/external/openglcts/modules/common/
DglcBlendEquationAdvancedTests.cpp735 bool firstOk = tcu::compareThreshold(ref, res, threshold); in iterate()
1076 bool pixelOk = tcu::compareThreshold(ref, res, threshold); in iterate()

12