/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrFilteringTests.cpp | 404 std::vector<tcu::Vec4> minBound; in iterate() local 408 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, VK_FILTER_LINEAR, VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY, VK_SAMPLER_YCBCR_RANGE_ITU_FULL, m_chromaFiltering, VK_CHROMA_LOCATION_MIDPOINT, VK_CHROMA_LOCATION_MIDPOINT, componentMapping, explicitReconstruction, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, minBound, maxBound, uvBound, ijBound); in iterate() 425 minImage.setPixel(minBound[ndx], x, y); in iterate() 446 bool fail = tcu::boolAny(tcu::lessThan(resValue, minBound[ndx])) || tcu::boolAny(tcu::greaterThan(resValue, maxBound[ndx])); in iterate() 451 log << TestLog::Message << " Min : " << minBound[ndx] << TestLog::EndMessage; in iterate() 453 log << TestLog::Message << " Threshold: " << (maxBound[ndx] - minBound[ndx]) << TestLog::EndMessage; in iterate()
|
H A D | vktYCbCrConversionTests.cpp | 855 vector<Vec4> minBound; in textureConversionTest() local 862 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, config.xChromaOffset, config.yChromaOffset, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minBound, maxBound, uvBound, ijBound); in textureConversionTest() 869 minBounds.push_back (minBound); in textureConversionTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrFilteringTests.cpp | 404 std::vector<tcu::Vec4> minBound; in iterate() local 408 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, VK_FILTER_LINEAR, VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY, VK_SAMPLER_YCBCR_RANGE_ITU_FULL, m_chromaFiltering, VK_CHROMA_LOCATION_MIDPOINT, VK_CHROMA_LOCATION_MIDPOINT, componentMapping, explicitReconstruction, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, minBound, maxBound, uvBound, ijBound); in iterate() 425 minImage.setPixel(minBound[ndx], x, y); in iterate() 446 bool fail = tcu::boolAny(tcu::lessThan(resValue, minBound[ndx])) || tcu::boolAny(tcu::greaterThan(resValue, maxBound[ndx])); in iterate() 451 log << TestLog::Message << " Min : " << minBound[ndx] << TestLog::EndMessage; in iterate() 453 log << TestLog::Message << " Threshold: " << (maxBound[ndx] - minBound[ndx]) << TestLog::EndMessage; in iterate()
|
H A D | vktYCbCrConversionTests.cpp | 782 vector<Vec4> minBound; in textureConversionTest() local 789 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, config.xChromaOffset, config.yChromaOffset, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minBound, maxBound, uvBound, ijBound); in textureConversionTest() 796 minBounds.push_back (minBound); in textureConversionTest()
|
/third_party/vk-gl-cts/modules/internal/ |
H A D | ditImageCompareTests.cpp | 55 FuzzyComparisonMetricCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const float minBound, const float maxBound) in FuzzyComparisonMetricCase() argument 59 , m_minBound (minBound) in FuzzyComparisonMetricCase()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 60 tcu::Vec4 minBound; member 507 log << tcu::TestLog::Message << (ndx + 1) << refData[ndx].coord << ": [" << refData[ndx].minBound << ", " << refData[ndx].maxBound << "]" << tcu::TestLog::EndMessage; in validateImage() 1247 data.minBound = ycbcrMinBounds[ndx]; in conversionTest() 1254 colorData.minBound = tcu::Vec4(0.0f, 0.9f, 0.0f, 1.0f); in conversionTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 60 tcu::Vec4 minBound; member 507 log << tcu::TestLog::Message << (ndx + 1) << refData[ndx].coord << ": [" << refData[ndx].minBound << ", " << refData[ndx].maxBound << "]" << tcu::TestLog::EndMessage; in validateImage() 1247 data.minBound = ycbcrMinBounds[ndx]; in conversionTest() 1254 colorData.minBound = tcu::Vec4(0.0f, 0.9f, 0.0f, 1.0f); in conversionTest()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTexCompareVerifier.cpp | 287 const float minBound = canBeFalse ? 0.0f : 1.0f; 290 return de::inRange(result, minBound-resErr, maxBound+resErr); 420 const float minBound = canBeFalse ? 0.0f : 1.0f; 423 return de::inRange(result, minBound-resErr, maxBound+resErr);
|