Searched refs:colorThreshold (Results 1 - 25 of 36) sorted by relevance

12

/external/skia/tools/
H A Dskdiff_html.h15 const int colorThreshold,
H A Dskdiff_utils.h49 const int colorThreshold,
H A Dskdiff_image.cpp22 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 Dskdiff_html.cpp30 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 Dskdiff.cpp158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { argument
205 if (!colors_match_thresholded(c0, c1, colorThreshold)) {
H A Dskdiff_utils.cpp122 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 Dskdiff.h270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
H A Dskdiff_main.cpp378 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 Des2fColorClearTest.cpp236 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 Des2fPrerequisiteTests.cpp234 RGBA colorThreshold = pixelFormat.getColorThreshold(); local
245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
H A Des2fDefaultVertexAttributeTests.cpp426 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 Des2fPolygonOffsetTests.cpp97 const int colorThreshold = 128; local
99 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0)
H A Des2fTextureMipmapTests.cpp357 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 Des3fColorClearTest.cpp236 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 Des3fPrerequisiteTests.cpp234 RGBA colorThreshold = pixelFormat.getColorThreshold(); local
245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold);
H A Des3fDefaultVertexAttributeTests.cpp503 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 Des3fPolygonOffsetTests.cpp100 const int colorThreshold = 128; local
102 const tcu::IVec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAlpha() > 0 ? colorThreshold : 0)
H A Des3fTextureMipmapTests.cpp401 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 Des3fDrawTests.cpp778 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 DtcuTexLookupVerifier.hpp47 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 DtcuTexLookupVerifier.cpp80 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 Des31sVertexAttributeBindingTests.cpp76 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 Des2sSpecialFloatTests.cpp319 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 DglsTextureTestUtil.cpp1749 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 Des31fVertexAttributeBindingTests.cpp82 const int colorThreshold = 20; local
96 if (de::abs(pixel.getGreen() - 255) > colorThreshold)
100 if (de::abs(pixel.getBlue() - 0) > colorThreshold)

Completed in 839 milliseconds

12