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

12

/external/deqp/framework/common/
H A DtcuBilinearImageCompare.cpp127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) ||
128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) ||
129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) ||
130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) ||
131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) ||
132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) ||
133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) ||
134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) ||
135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold))
183 if (compareThreshold(resPi
[all...]
H A DtcuRGBA.hpp137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) function in namespace:tcu
/external/deqp/modules/gles31/functional/
H A Des31fShaderHelperInvocationTests.cpp394 const bool isBg = tcu::compareThreshold(resPix, bgRef, threshold);
395 const bool isFg = tcu::compareThreshold(resPix, fgRef, threshold);
560 if (tcu::compareThreshold(color, neighborColor, threshold))
585 const bool isBg = tcu::compareThreshold(resPix, bgRef, isBgThreshold);
586 const bool isFg = tcu::compareThreshold(resPix, fgRef, isFgThreshold);
H A Des31fAdvancedBlendTests.cpp549 const UVec4 compareThreshold = (useFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint() local
555 tcu::RGBA(compareThreshold[0], compareThreshold[1], compareThreshold[2], compareThreshold[3]),
H A Des31fLayoutBindingTests.cpp634 const tcu::RGBA compareThreshold = tcu::RGBA(de::clamp(2 * surfaceThreshold.getRed(), 0, 255), local
654 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Render result", "Result verification", reference, result, compareThreshold, tcu::COMPARE_LOG_RESULT);
/external/deqp/modules/glshared/
H A DglsDrawTest.cpp3453 static inline bool colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3& compareThreshold) argument
3460 return tcu::compareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshold.y(), compareThreshold.z(), 0), TCU_RGBA_RGB_MASK);
3464 static bool pixelNeighborhoodContainsColor (const tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) argument
3474 if (colorsEqual(color, targetCmpPixel, compareThreshold))
3499 static bool edgeRelaxedImageCompare (tcu::TestLog& log, const char* imageSetName, const char* imageSetDesc, const tcu::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, const tcu::IVec3& renderTargetThreshold, int maxAllowedInvalidPixels) argument
3525 const bool directMatch = colorsEqual(refPixel, screenPixel, compareThreshold);
3526 const bool isOkReferencePixel = directMatch || pixelNeighborhoodContainsColor(result, x, y, refPixel, compareThreshold); // screen image has a matching pixel nearby (~= If something is drawn on reference, it must be drawn to screen too.)
3527 const bool isOkScreenPixel = directMatch || pixelNeighborhoodContainsColor(reference, x, y, screenPixel, compareThreshold); // referenc
3594 intersectionRelaxedLineImageCompare(tcu::TestLog& log, const char* imageSetName, const char* imageSetDesc, const tcu::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, int maxAllowedInvalidPixels) argument
[all...]
H A DglsVertexArrayTests.cpp1849 bool refThin = (!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(refPixel, ref.getPixel(x+1, y ), threshold)) ||
1850 (!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(refPixel, ref.getPixel(x , y+1), threshold));
1851 bool screenThin = (!tcu::compareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(screenPixel, screen.getPixel(x+1, y ), threshold)) ||
1852 (!tcu::compareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThreshold(screenPixel, screen.getPixel(x , y+1), threshold));
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayETC2Support.cpp352 const float compareThreshold = 0.05f; local
354 compareThreshold, tcu::COMPARE_LOG_RESULT);
/external/deqp/modules/gles3/functional/
H A Des3fFramebufferBlitTests.cpp195 const bool signConfig = tcu::compareThreshold(baseColor, cellColorA, threshold);
220 const bool isValidColor = tcu::compareThreshold(color, cellColorA, threshold) || tcu::compareThreshold(color, cellColorB, threshold);
249 if (tcu::compareThreshold(color, cellColorA, threshold))
251 else if (tcu::compareThreshold(color, cellColorB, threshold))
260 if (tcu::compareThreshold(color, cellColorA, threshold))
262 else if (tcu::compareThreshold(color, cellColorB, threshold))
274 const bool resultSign = tcu::compareThreshold(cellColorA, color, threshold);
H A Des3fPrerequisiteTests.cpp245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
H A Des3fBlendTests.cpp327 UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint() local
332 compareThreshold, tcu::COMPARE_LOG_RESULT);
H A Des3fShaderFragDataTests.cpp76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold);
H A Des3fFboMultisampleTests.cpp332 TCU_CHECK(compareThreshold(color, tcu::RGBA::green(), threshold));
H A Des3fMultisampleTests.cpp136 if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs from already-detected color inside same region - region not unicolored.
163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3)))
608 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3)))
H A Des3fPolygonOffsetTests.cpp80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) function in namespace:deqp::gles3::Functional::__anon5100
120 if (compareThreshold(cRef, cTest, threshold))
136 if (compareThreshold(cRef, cTest, threshold))
/external/deqp/modules/gles2/functional/
H A Des2fPrerequisiteTests.cpp245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
H A Des2fShaderFragDataTests.cpp76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold);
H A Des2fBlendTests.cpp272 UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec().asUint() local
275 bool comparePass = tcu::intThresholdCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison Result", referenceImg.getAccess(), renderedImg.getAccess(), compareThreshold, tcu::COMPARE_LOG_RESULT);
H A Des2fMultisampleTests.cpp134 if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs from already-detected color inside same region - region not unicolored.
161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3)))
450 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3)))
H A Des2fPolygonOffsetTests.cpp77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) function in namespace:deqp::gles2::Functional::__anon4954
117 if (compareThreshold(cRef, cTest, threshold))
133 if (compareThreshold(cRef, cTest, threshold))
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedBlending.cpp395 if (!tcu::compareThreshold(pixel, expectedColor, epsilon))
H A DesextcDrawBuffersIndexedColorMasks.cpp431 if (!tcu::compareThreshold(pixel, expectedColor, epsilon))
/external/deqp/modules/egl/
H A DteglImageFormatTests.cpp460 const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large thresholds are ok
573 return tcu::pixelThresholdCompare(log, "Depth buffer rendering result", "Result from rendering with depth buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE_LOG_RESULT);
587 const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large thresholds are ok
691 return tcu::pixelThresholdCompare(log, "StencilResult", "Result from rendering with stencil buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE_LOG_RESULT);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmGraphicsShaderTestUtil.cpp3537 if (!tcu::compareThreshold(upperLeft, instance.outputColors[0], threshold))
3541 if (!tcu::compareThreshold(upperRight, instance.outputColors[1], threshold))
3545 if (!tcu::compareThreshold(lowerLeft, instance.outputColors[2], threshold))
3549 if (!tcu::compareThreshold(lowerRight, instance.outputColors[3], threshold))
/external/deqp/external/openglcts/modules/common/
H A DglcBlendEquationAdvancedTests.cpp735 bool firstOk = tcu::compareThreshold(ref, res, threshold);
1011 bool pixelOk = tcu::compareThreshold(ref, res, threshold);

Completed in 743 milliseconds

12