/external/skia/tools/skdiff/ |
H A D | skdiff_html.h | 15 const int colorThreshold,
|
H A D | skdiff_utils.h | 48 const int colorThreshold,
|
H A D | skdiff_image.cpp | 19 const int colorThreshold, 69 create_and_write_diff_image(drp, dmp, colorThreshold, outputDir, outputFilename); 119 int colorThreshold = 0; local 201 colorThreshold = atoi(argv[++i]); 326 create_diff_images(diffProc, colorThreshold, baseFile, comparisonFile, outputDir, outputFile, 18 create_diff_images(DiffMetricProc dmp, const int colorThreshold, const SkString& baseFile, const SkString& comparisonFile, const SkString& outputDir, const SkString& outputFilename, DiffRecord* drp) argument
|
H A D | skdiff_html.cpp | 30 const int colorThreshold, 59 if (colorThreshold == 0) { 63 stream->writeDecAsText(colorThreshold); 225 const int colorThreshold, 283 print_table_header(&outputStream, matchCount, colorThreshold, differences, 28 print_table_header(SkFILEWStream* stream, const int matchCount, const int colorThreshold, const RecordArray& differences, const SkString &baseDir, const SkString &comparisonDir, bool doOutputDate = false) argument 224 print_diff_page(const int matchCount, const int colorThreshold, const RecordArray& differences, const SkString& baseDir, const SkString& comparisonDir, const SkString& outputDir) argument
|
H A D | skdiff.cpp | 158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { argument 205 if (!colors_match_thresholded(c0, c1, colorThreshold)) {
|
H A D | skdiff_utils.cpp | 134 const int colorThreshold, 148 compute_diff(drp, dmp, colorThreshold); 132 create_and_write_diff_image(DiffRecord* drp, DiffMetricProc dmp, const int colorThreshold, const SkString& outputDir, const SkString& filename) argument
|
H A D | skdiff.h | 270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
|
H A D | skdiff_main.cpp | 377 const int colorThreshold, 503 create_and_write_diff_image(drp, dmp, colorThreshold, 619 int colorThreshold = 0; local 733 colorThreshold = atoi(argv[++i]); 808 create_diff_images(diffProc, colorThreshold, &differences, 824 print_diff_page(summary.fNumMatches, colorThreshold, differences, 376 create_diff_images(DiffMetricProc dmp, const int colorThreshold, RecordArray* differences, const SkString& baseDir, const SkString& comparisonDir, const SkString& outputDir, const StringArray& matchSubstrings, const StringArray& nomatchSubstrings, bool recurseIntoSubdirs, bool getBounds, bool verbose, DiffSummary* summary) argument
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 236 RGBA colorThreshold = pixelFormat.getColorThreshold(); local 244 colorThreshold.setRed(colorThreshold.getRed() + 1); 245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); 246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); 247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); [all...] |
H A D | es2fPrerequisiteTests.cpp | 234 RGBA colorThreshold = pixelFormat.getColorThreshold(); local 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
|
H A D | es2fDefaultVertexAttributeTests.cpp | 426 const tcu::RGBA colorThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() * resultThreshold; local 434 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLog::EndMessage; 441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || 442 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || 443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue())
|
H A D | es2fPolygonOffsetTests.cpp | 97 const int colorThreshold = 128; local 99 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0)
|
H A D | es2fTextureMipmapTests.cpp | 358 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 682 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); 871 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); 1024 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fColorClearTest.cpp | 236 RGBA colorThreshold = pixelFormat.getColorThreshold(); local 244 colorThreshold.setRed(colorThreshold.getRed() + 1); 245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); 246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); 247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); 258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); [all...] |
H A D | es3fPrerequisiteTests.cpp | 234 RGBA colorThreshold = pixelFormat.getColorThreshold(); local 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
|
H A D | es3fDefaultVertexAttributeTests.cpp | 503 const tcu::RGBA colorThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() * resultThreshold; local 511 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLog::EndMessage; 518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || 519 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || 520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue())
|
H A D | es3fPolygonOffsetTests.cpp | 100 const int colorThreshold = 128; local 102 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0)
|
/external/deqp/framework/common/ |
H A D | tcuTexLookupVerifier.hpp | 47 Vec4 colorThreshold; //!< Threshold for match. member in struct:tcu::LookupPrecision 53 , colorThreshold (0.0f) 63 UVec4 colorThreshold; //!< Threshold for match. member in struct:tcu::IntLookupPrecision 69 , colorThreshold (0)
|
H A D | tcuTexLookupVerifier.cpp | 80 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); 85 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logicalNot(prec.colorMask))); 90 return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec.colorMask))); 142 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); 146 const Vec4 stepCount = d / prec.colorThreshold; 156 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); 164 const Vec4 stepCount = maxD / prec.colorThreshold; 173 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); 175 const Vec4 stepCount = 1.0f / prec.colorThreshold; 184 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec [all...] |
/external/deqp/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 76 const int colorThreshold = 20; local 90 if (de::abs(pixel.getGreen() - 255) > colorThreshold) 94 if (de::abs(pixel.getBlue() - 0) > colorThreshold)
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationGeometryPassthroughTests.cpp | 602 const tcu::UVec4 colorThreshold (8, 8, 8, 255); 614 log, "ImageCompare", "Image comparison", image0, image1, colorThreshold, positionDeviation, ignoreOutOfBounds, tcu::COMPARE_LOG_RESULT);
|
/external/deqp/external/vulkancts/modules/vulkan/clipping/ |
H A D | vktClippingTests.cpp | 697 int countPixels (const tcu::ConstPixelBufferAccess pixels, const IVec2& regionOffset, const IVec2& regionSize, const Vec4& color, const Vec4& colorThreshold) argument 699 const Vec4 minColor = color - colorThreshold; 700 const Vec4 maxColor = color + colorThreshold; 718 int countPixels (const tcu::ConstPixelBufferAccess pixels, const Vec4& color, const Vec4& colorThreshold) argument 720 return countPixels(pixels, IVec2(), IVec2(pixels.getWidth(), pixels.getHeight()), color, colorThreshold);
|
/external/deqp/framework/opengl/ |
H A D | gluTextureTestUtil.cpp | 1278 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 1383 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 1576 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 1750 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 1917 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2026 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2223 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2707 lookupPrec.colorThreshold = precision.colorThreshold; 2743 lookupPrec.colorThreshold [all...] |
H A D | gluTextureTestUtil.hpp | 368 tcu::Vec4 colorThreshold; //!< Threshold for color value comparison. member in struct:glu::TextureTestUtil::GenMipmapPrecision
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 343 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 581 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat)-2, tcu::IVec4(0))); 857 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 1040 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 1301 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat)-2, IVec4(0))); 1565 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0)));
|