/external/skia/tools/ |
H A D | skdiff_html.h | 15 const int colorThreshold,
|
H A D | skdiff_utils.h | 49 const int colorThreshold,
|
H A D | skdiff_image.cpp | 22 const int colorThreshold, 72 create_and_write_diff_image(drp, dmp, colorThreshold, outputDir, outputFilename); 123 int colorThreshold = 0; local 205 colorThreshold = atoi(argv[++i]); 330 create_diff_images(diffProc, colorThreshold, baseFile, comparisonFile, outputDir, outputFile, 21 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 | 122 const int colorThreshold, 136 compute_diff(drp, dmp, colorThreshold); 120 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 | 378 const int colorThreshold, 501 create_and_write_diff_image(drp, dmp, colorThreshold, 618 int colorThreshold = 0; local 732 colorThreshold = atoi(argv[++i]); 807 create_diff_images(diffProc, colorThreshold, &differences, 823 print_diff_page(summary.fNumMatches, colorThreshold, differences, 377 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 | 357 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 681 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); 870 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); 1023 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)
|
H A D | es3fTextureMipmapTests.cpp | 401 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 720 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderTarget().getPixelFormat())-2, IVec4(0))); 908 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); 1061 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); 1348 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 1562 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 1877 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_context.getRenderTarget().getPixelFormat())-2, IVec4(0))); 2194 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0)));
|
H A D | es3fDrawTests.cpp | 778 const int colorThreshold = 20; local 790 if (de::abs(pixel.getGreen() - 255) > colorThreshold) 794 if (de::abs(pixel.getBlue() - 0) > colorThreshold)
|
/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/modules/gles2/stress/ |
H A D | es2sSpecialFloatTests.cpp | 319 const int colorThreshold = 10; local 323 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || 324 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || 325 colorDiff.z() > formatThreshold.getBlue() + colorThreshold)
|
/external/deqp/modules/glshared/ |
H A D | glsTextureTestUtil.cpp | 1749 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 1854 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2047 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2221 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2388 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2497 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 2694 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) 3178 lookupPrec.colorThreshold = precision.colorThreshold; 3214 lookupPrec.colorThreshold [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fVertexAttributeBindingTests.cpp | 82 const int colorThreshold = 20; local 96 if (de::abs(pixel.getGreen() - 255) > colorThreshold) 100 if (de::abs(pixel.getBlue() - 0) > colorThreshold)
|