/third_party/skia/src/gpu/vk/ |
H A D | GrVkSamplerYcbcrConversion.cpp | 20 if (info.fXChromaOffset == VK_CHROMA_LOCATION_MIDPOINT || in Create() 21 info.fYChromaOffset == VK_CHROMA_LOCATION_MIDPOINT) { in Create()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_android.c | 533 p->suggestedXChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in get_ahb_buffer_format_properties() 534 p->suggestedYChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in get_ahb_buffer_format_properties() 609 p->suggestedXChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in get_ahb_buffer_format_properties2() 610 p->suggestedYChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in get_ahb_buffer_format_properties2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrFilteringTests.cpp | 205 VK_CHROMA_LOCATION_MIDPOINT, in createYCbCrConversion() 206 VK_CHROMA_LOCATION_MIDPOINT, in createYCbCrConversion() 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()
|
H A D | vktYCbCrImageQueryTests.cpp | 389 VK_CHROMA_LOCATION_MIDPOINT, in testImageQuery() 390 VK_CHROMA_LOCATION_MIDPOINT, in testImageQuery() 572 VK_CHROMA_LOCATION_MIDPOINT, in testImageQueryLod() 573 VK_CHROMA_LOCATION_MIDPOINT, in testImageQueryLod()
|
H A D | vktYCbCrFormatTests.cpp | 346 VK_CHROMA_LOCATION_MIDPOINT, in testFormat() 347 VK_CHROMA_LOCATION_MIDPOINT, in testFormat()
|
H A D | vktYCbCrViewTests.cpp | 552 VK_CHROMA_LOCATION_MIDPOINT, in testPlaneView() 553 VK_CHROMA_LOCATION_MIDPOINT, in testPlaneView()
|
H A D | vktYCbCrConversionTests.cpp | 710 if (isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in checkSupport() 716 if (isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in checkSupport() 866 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minMidpointBound, maxMidpointBound, uvBound, ijBound); in textureConversionTest() 1345 { "midpoint", vk::VK_CHROMA_LOCATION_MIDPOINT }
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrFilteringTests.cpp | 205 VK_CHROMA_LOCATION_MIDPOINT, in createYCbCrConversion() 206 VK_CHROMA_LOCATION_MIDPOINT, in createYCbCrConversion() 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()
|
H A D | vktYCbCrImageQueryTests.cpp | 389 VK_CHROMA_LOCATION_MIDPOINT, in testImageQuery() 390 VK_CHROMA_LOCATION_MIDPOINT, in testImageQuery() 572 VK_CHROMA_LOCATION_MIDPOINT, in testImageQueryLod() 573 VK_CHROMA_LOCATION_MIDPOINT, in testImageQueryLod()
|
H A D | vktYCbCrFormatTests.cpp | 346 VK_CHROMA_LOCATION_MIDPOINT, in testFormat() 347 VK_CHROMA_LOCATION_MIDPOINT, in testFormat()
|
H A D | vktYCbCrViewTests.cpp | 504 VK_CHROMA_LOCATION_MIDPOINT, in testPlaneView() 505 VK_CHROMA_LOCATION_MIDPOINT, in testPlaneView()
|
H A D | vktYCbCrConversionTests.cpp | 650 if (isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in checkSupport() 656 if (isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in checkSupport() 793 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minMidpointBound, maxMidpointBound, uvBound, ijBound); in textureConversionTest() 1272 { "midpoint", vk::VK_CHROMA_LOCATION_MIDPOINT }
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_android.c | 250 p->suggestedXChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in get_ahw_buffer_format_properties2() 251 p->suggestedYChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in get_ahw_buffer_format_properties2()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
H A D | vktObjectRefreshTests.cpp | 179 vk::VK_CHROMA_LOCATION_MIDPOINT, // VkChromaLocation xChromaOffset; in refreshObjects() member in vkt::sc::__anon28621::vk 180 vk::VK_CHROMA_LOCATION_MIDPOINT, // VkChromaLocation yChromaOffset; in refreshObjects() member in vkt::sc::__anon28621::vk
|
H A D | vktDeviceObjectReservationTests.cpp | 810 VK_CHROMA_LOCATION_MIDPOINT, // xChromaOffset in createSamplerYcbcrConversions() 811 VK_CHROMA_LOCATION_MIDPOINT, // yChromaOffset in createSamplerYcbcrConversions()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktObjectRefreshTests.cpp | 179 vk::VK_CHROMA_LOCATION_MIDPOINT, // VkChromaLocation xChromaOffset; in refreshObjects() member in vkt::sc::__anon29800::vk 180 vk::VK_CHROMA_LOCATION_MIDPOINT, // VkChromaLocation yChromaOffset; in refreshObjects() member in vkt::sc::__anon29800::vk
|
H A D | vktDeviceObjectReservationTests.cpp | 809 VK_CHROMA_LOCATION_MIDPOINT, // xChromaOffset in createSamplerYcbcrConversions() 810 VK_CHROMA_LOCATION_MIDPOINT, // yChromaOffset in createSamplerYcbcrConversions()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 193 if (ycbcr::isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in validateFormatSupport() 199 if (ycbcr::isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in validateFormatSupport() 1068 ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, texCoords, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, config.colorModel, config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, relaxedYcbcrMinBounds, relaxedYcbcrMaxBounds, uvBounds, ijBounds); in generateYCbCrImage() 1336 { "midpoint", vk::VK_CHROMA_LOCATION_MIDPOINT } in createYCbCrConversionTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 193 if (ycbcr::isXChromaSubsampled(config.format) && (config.xChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in validateFormatSupport() 199 if (ycbcr::isYChromaSubsampled(config.format) && (config.yChromaOffset == vk::VK_CHROMA_LOCATION_MIDPOINT) && ((features & vk::VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT) == 0)) in validateFormatSupport() 1068 ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, texCoords, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, config.colorModel, config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, relaxedYcbcrMinBounds, relaxedYcbcrMaxBounds, uvBounds, ijBounds); in generateYCbCrImage() 1336 { "midpoint", vk::VK_CHROMA_LOCATION_MIDPOINT } in createYCbCrConversionTests()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/ |
H A D | DmaBufImageSiblingVkLinux.cpp | 227 : VK_CHROMA_LOCATION_MIDPOINT; in GetChromaLocation()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_android.c | 984 .suggestedXChromaOffset = VK_CHROMA_LOCATION_MIDPOINT, in vn_android_get_ahb_format_properties() 985 .suggestedYChromaOffset = VK_CHROMA_LOCATION_MIDPOINT, in vn_android_get_ahb_format_properties()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_image.c | 237 STATIC_ASSERT((unsigned)VK_CHROMA_LOCATION_MIDPOINT == (unsigned)FDL_CHROMA_LOCATION_MIDPOINT); in tu_image_view_init()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_resource.c | 808 sycci.xChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in resource_object_create() 809 sycci.yChromaOffset = VK_CHROMA_LOCATION_MIDPOINT; in resource_object_create()
|
/third_party/skia/include/third_party/vulkan/vulkan/ |
H A D | vulkan_core.h | 4406 VK_CHROMA_LOCATION_MIDPOINT = 1, enumerator 4408 VK_CHROMA_LOCATION_MIDPOINT_KHR = VK_CHROMA_LOCATION_MIDPOINT,
|
/third_party/mesa3d/include/vulkan/ |
H A D | vulkan_core.h | 4763 VK_CHROMA_LOCATION_MIDPOINT = 1, enumerator 4765 VK_CHROMA_LOCATION_MIDPOINT_KHR = VK_CHROMA_LOCATION_MIDPOINT,
|