Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/tools/skdiff/
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_main.cpp377 const int colorThreshold, in create_diff_images() argument
504 create_and_write_diff_image(drp, dmp, colorThreshold, in create_diff_images()
621 int colorThreshold = 0; in main() local
740 colorThreshold = atoi(argv[++i]); in main()
815 create_diff_images(diffProc, colorThreshold, ignoreColorSpace, &differences, in main()
831 print_diff_page(summary.fNumMatches, colorThreshold, differences, in main()
Dskdiff_html.h15 const int colorThreshold,
Dskdiff.cpp158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff() argument
203 if (!colors_match_thresholded(c0, c1, colorThreshold)) { in compute_diff()
Dskdiff_utils.cpp144 const int colorThreshold, in create_and_write_diff_image() argument
158 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
Dskdiff_utils.h49 const int colorThreshold,
/third_party/skia/tools/skdiff/
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()
226 const int colorThreshold, in print_diff_page() argument
284 print_table_header(&outputStream, matchCount, colorThreshold, differences, in print_diff_page()
Dskdiff_main.cpp362 const int colorThreshold, in create_diff_images() argument
489 create_and_write_diff_image(&drp, dmp, colorThreshold, in create_diff_images()
603 int colorThreshold = 0; in main() local
721 colorThreshold = atoi(argv[++i]); in main()
796 create_diff_images(diffProc, colorThreshold, ignoreColorSpace, &differences, in main()
811 print_diff_page(summary.fNumMatches, colorThreshold, differences, in main()
Dskdiff_html.h15 const int colorThreshold,
Dskdiff.cpp158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff() argument
203 if (!colors_match_thresholded(c0, c1, colorThreshold)) { in compute_diff()
Dskdiff_utils.cpp144 const int colorThreshold, in create_and_write_diff_image() argument
158 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
Dskdiff_utils.h49 const int colorThreshold,
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp265 …const tcu::PixelFormat &pixelFormat, const tcu::RGBA& colorThreshold, float coordThreshold, const … in validateTexture() argument
308 if (compareColor(reference_color, rendered_color, colorThreshold, diff)) in validateTexture()
343 …n failed: max difference = " << maxDiff << ", color threshold = " << colorThreshold.toIVec().cast<… in validateTexture()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureCompressedFormatTests.cpp265 …const tcu::PixelFormat &pixelFormat, const tcu::RGBA& colorThreshold, float coordThreshold, const … in validateTexture() argument
308 if (compareColor(reference_color, rendered_color, colorThreshold, diff)) in validateTexture()
343 …n failed: max difference = " << maxDiff << ", color threshold = " << colorThreshold.toIVec().cast<… in validateTexture()

123