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

12

/external/skia/tools/skdiff/
H A Dskdiff_html.h15 const int colorThreshold,
H A Dskdiff_utils.h48 const int colorThreshold,
H A Dskdiff_image.cpp19 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 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.cpp134 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 Dskdiff.h270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
H A Dskdiff_main.cpp377 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 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.cpp358 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 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)
/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/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationGeometryPassthroughTests.cpp602 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 DvktClippingTests.cpp697 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 DgluTextureTestUtil.cpp1278 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 DgluTextureTestUtil.hpp368 tcu::Vec4 colorThreshold; //!< Threshold for color value comparison. member in struct:glu::TextureTestUtil::GenMipmapPrecision
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktTextureMipmapTests.cpp343 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)));

Completed in 1267 milliseconds

12