Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local
244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); in iterate()
246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); in iterate()
258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); in iterate()
274 …ge comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLo… in iterate()
Des2fDefaultVertexAttributeTests.cpp426 …const tcu::RGBA colorThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() … in verifyUnicoloredBuffer() local
434 …g rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLo… in verifyUnicoloredBuffer()
441 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
442 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || in verifyUnicoloredBuffer()
443 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
Des2fPrerequisiteTests.cpp234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local
245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
Des2fPolygonOffsetTests.cpp97 const int colorThreshold = 128; in compareImages() local
99 …Vec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAl… in compareImages()
Des2fTextureMipmapTests.cpp357 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate()
681 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderT… in iterate()
870 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate()
1023 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local
244 colorThreshold.setRed(colorThreshold.getRed() + 1); in iterate()
245 colorThreshold.setGreen(colorThreshold.getGreen() + 1); in iterate()
246 colorThreshold.setBlue(colorThreshold.getBlue() + 1); in iterate()
247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); in iterate()
258 bool isPixelOk = diff.isBelowThreshold(colorThreshold); in iterate()
274 …ge comparison failed, max diff = " << maxDiff << ", threshold = " << colorThreshold << tcu::TestLo… in iterate()
Des3fDefaultVertexAttributeTests.cpp503 …const tcu::RGBA colorThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() … in verifyUnicoloredBuffer() local
511 …g rendered image. Expecting color " << refColor << ", threshold " << colorThreshold << tcu::TestLo… in verifyUnicoloredBuffer()
518 if (de::abs(color.getRed() - refColor.getRed()) > colorThreshold.getRed() || in verifyUnicoloredBuffer()
519 de::abs(color.getGreen() - refColor.getGreen()) > colorThreshold.getGreen() || in verifyUnicoloredBuffer()
520 de::abs(color.getBlue() - refColor.getBlue()) > colorThreshold.getBlue()) in verifyUnicoloredBuffer()
Des3fPrerequisiteTests.cpp234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() local
245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
Des3fPolygonOffsetTests.cpp100 const int colorThreshold = 128; in compareImages() local
102 …Vec4 threshold = tcu::IVec4(colorThreshold, colorThreshold, colorThreshold, formatThreshold.getAl… in compareImages()
Des3fTextureMipmapTests.cpp401 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate()
720 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderT… in iterate()
908 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate()
1061 comparePrec.colorThreshold = tcu::computeFixedPointThreshold(cmpBits); in iterate()
1348 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate()
1562 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate()
1877 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_context.getRenderTar… in iterate()
2194 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate()
Des3fDrawTests.cpp778 const int colorThreshold = 20; in verifyImage() local
797 if (de::abs(pixel.getGreen() - 255) > colorThreshold) in verifyImage()
801 if (de::abs(pixel.getBlue() - 0) > colorThreshold) in verifyImage()
/external/skia/tools/
Dskdiff_html.cpp30 const int colorThreshold, in print_table_header() argument
59 if (colorThreshold == 0) { in print_table_header()
63 stream->writeDecAsText(colorThreshold); in print_table_header()
225 const int colorThreshold, in print_diff_page() argument
283 print_table_header(&outputStream, matchCount, colorThreshold, differences, in print_diff_page()
Dskdiff_image.cpp22 const int colorThreshold, in create_diff_images() argument
72 create_and_write_diff_image(drp, dmp, colorThreshold, outputDir, outputFilename); in create_diff_images()
123 int colorThreshold = 0; in tool_main() local
205 colorThreshold = atoi(argv[++i]); in tool_main()
330 create_diff_images(diffProc, colorThreshold, baseFile, comparisonFile, outputDir, outputFile, in tool_main()
Dskdiff_html.h15 const int colorThreshold,
Dskdiff_main.cpp379 const int colorThreshold, in create_diff_images() argument
502 create_and_write_diff_image(drp, dmp, colorThreshold, in create_diff_images()
619 int colorThreshold = 0; in tool_main() local
733 colorThreshold = atoi(argv[++i]); in tool_main()
808 create_diff_images(diffProc, colorThreshold, &differences, in tool_main()
824 print_diff_page(summary.fNumMatches, colorThreshold, differences, in tool_main()
Dskdiff_utils.h49 const int colorThreshold,
Dskdiff_utils.cpp121 const int colorThreshold, in create_and_write_diff_image() argument
135 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
Dskdiff.cpp158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff() argument
205 if (!colors_match_thresholded(c0, c1, colorThreshold)) { in compute_diff()
Dskdiff.h270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp47 Vec4 colorThreshold; //!< Threshold for match. member
53 , colorThreshold (0.0f) in LookupPrecision()
63 UVec4 colorThreshold; //!< Threshold for match. member
69 , colorThreshold (0) in IntLookupPrecision()
DtcuTexLookupVerifier.cpp80 return boolAll(logicalOr(lessThanEqual(diff, prec.colorThreshold), logicalNot(prec.colorMask))); in isColorValid()
85 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logica… in isColorValid()
90 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result), prec.colorThreshold), logicalNot(prec… in isColorValid()
142 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepFromFloatLine()
146 const Vec4 stepCount = d / prec.colorThreshold; in computeBilinearSearchStepFromFloatLine()
156 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepFromFloatQuad()
164 const Vec4 stepCount = maxD / prec.colorThreshold; in computeBilinearSearchStepFromFloatQuad()
173 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepForUnorm()
175 const Vec4 stepCount = 1.0f / prec.colorThreshold; in computeBilinearSearchStepForUnorm()
184 DE_ASSERT(boolAll(greaterThan(prec.colorThreshold, Vec4(0.0f)))); in computeBilinearSearchStepForSnorm()
[all …]
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp76 const int colorThreshold = 20; in verifyImageYellowGreen() local
90 if (de::abs(pixel.getGreen() - 255) > colorThreshold) in verifyImageYellowGreen()
94 if (de::abs(pixel.getBlue() - 0) > colorThreshold) in verifyImageYellowGreen()
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp1744 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
1849 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
2042 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
2216 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
2383 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
2492 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
2689 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff()
3173 lookupPrec.colorThreshold = precision.colorThreshold; in compareGenMipmapBilinear()
3209 lookupPrec.colorThreshold = precision.colorThreshold; in compareGenMipmapBox()
3291 …const tcu::Vec4 threshold = select(precision.colorThreshold, tcu::Vec4(1.0f), precision.colorMask… in compareGenMipmapResult()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp319 const int colorThreshold = 10; in drawTestPattern() local
323 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern()
324 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern()
325 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp327 const int colorThreshold = 10; in drawTestPattern() local
331 if (colorDiff.x() > formatThreshold.getRed() + colorThreshold || in drawTestPattern()
332 colorDiff.y() > formatThreshold.getGreen() + colorThreshold || in drawTestPattern()
333 colorDiff.z() > formatThreshold.getBlue() + colorThreshold) in drawTestPattern()

12