HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Core11.Enums.SamplerYcbcrRange

  • 1 type
  • Packagevulkan-3.27
  • Exports3
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceSamplerYcbcrRange.hs
newtypenewtype SamplerYcbcrRange
#

VkSamplerYcbcrRange - Range of encoded values in a color space

Description

  • SAMPLER_YCBCR_RANGE_ITU_FULL specifies that the full range of the encoded values are valid and interpreted according to the ITU “full range” quantization rules.

  • SAMPLER_YCBCR_RANGE_ITU_NARROW specifies that headroom and foot room are reserved in the numerical range of encoded values, and the remaining values are expanded according to the ITU “narrow range” quantization rules.

The formulae for these conversions is described in the Sampler Y′CBCR Range Expansion section of the Image Operations chapter.

No range modification takes place if ycbcrModel is SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY; the ycbcrRange field of SamplerYcbcrConversionCreateInfo is ignored in this case.

See Also

VK_KHR_sampler_ycbcr_conversion, VK_VERSION_1_1, AndroidHardwareBufferFormatProperties2ANDROID, AndroidHardwareBufferFormatPropertiesANDROID, BufferCollectionPropertiesFUCHSIA, VkNativeBufferFormatPropertiesOHOS, SamplerYcbcrConversionCreateInfo, ScreenBufferFormatPropertiesQNX

Instances6Eq, Ord, Read, Show, Storable, Zero