/external/deqp/framework/common/ |
H A D | tcuBilinearImageCompare.cpp | 127 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 D | tcuRGBA.hpp | 137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) function in namespace:tcu
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderHelperInvocationTests.cpp | 394 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 D | es31fAdvancedBlendTests.cpp | 549 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 D | es31fLayoutBindingTests.cpp | 537 const tcu::RGBA compareThreshold = tcu::RGBA(de::clamp(2 * surfaceThreshold.getRed(), 0, 255), local 557 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Render result", "Result verification", reference, result, compareThreshold, tcu::COMPARE_LOG_RESULT);
|
/external/deqp/modules/glshared/ |
H A D | glsDrawTest.cpp | 3521 static inline bool colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3& compareThreshold) argument 3528 return tcu::compareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshold.y(), compareThreshold.z(), 0), TCU_RGBA_RGB_MASK); 3532 static bool pixelNeighborhoodContainsColor (const tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) argument 3542 if (colorsEqual(color, targetCmpPixel, compareThreshold)) 3567 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 3593 const bool directMatch = colorsEqual(refPixel, screenPixel, compareThreshold); 3594 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.) 3595 const bool isOkScreenPixel = directMatch || pixelNeighborhoodContainsColor(reference, x, y, screenPixel, compareThreshold); // referenc 3662 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 D | glsVertexArrayTests.cpp | 1849 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/modules/gles3/functional/ |
H A D | es3fFramebufferBlitTests.cpp | 195 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 D | es3fPrerequisiteTests.cpp | 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
|
H A D | es3fBlendTests.cpp | 327 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 D | es3fShaderFragDataTests.cpp | 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold);
|
H A D | es3fMultisampleTests.cpp | 136 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 D | es3fPolygonOffsetTests.cpp | 80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) function in namespace:deqp::gles3::Functional::__anon4167 120 if (compareThreshold(cRef, cTest, threshold)) 136 if (compareThreshold(cRef, cTest, threshold))
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fPrerequisiteTests.cpp | 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
|
H A D | es2fShaderFragDataTests.cpp | 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold);
|
H A D | es2fBlendTests.cpp | 272 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 D | es2fMultisampleTests.cpp | 134 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 D | es2fPolygonOffsetTests.cpp | 77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) function in namespace:deqp::gles2::Functional::__anon4021 117 if (compareThreshold(cRef, cTest, threshold)) 133 if (compareThreshold(cRef, cTest, threshold))
|
/external/deqp/modules/egl/ |
H A D | teglImageFormatTests.cpp | 460 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 D | vktSpvAsmInstructionTests.cpp | 5313 if (!tcu::compareThreshold(upperLeft, instance.outputColors[0], threshold)) 5317 if (!tcu::compareThreshold(upperRight, instance.outputColors[1], threshold)) 5321 if (!tcu::compareThreshold(lowerLeft, instance.outputColors[2], threshold)) 5325 if (!tcu::compareThreshold(lowerRight, instance.outputColors[3], threshold))
|