VkVideoEncodeRgbRangeCompressionFlagBitsVALVE(3)

Name

VkVideoEncodeRgbRangeCompressionFlagBitsVALVE - Range compression operation to perform for encode rgb conversion

C Specification

The video encode R′G′B′ range compression to be applied to color component values of the encode input picture before video coding is defined by the rgbRange member of the VkVideoEncodeSessionRgbConversionCreateInfoVALVE structure.

The VkVideoEncodeRgbRangeCompressionFlagBitsVALVE enum describes whether color components are encoded using the full range of numerical values or whether values are reserved for headroom and foot room:

// Provided by VK_VALVE_video_encode_rgb_conversion
typedef enum VkVideoEncodeRgbRangeCompressionFlagBitsVALVE {
    VK_VIDEO_ENCODE_RGB_RANGE_COMPRESSION_FULL_RANGE_BIT_VALVE = 0x00000001,
    VK_VIDEO_ENCODE_RGB_RANGE_COMPRESSION_NARROW_RANGE_BIT_VALVE = 0x00000002,
} VkVideoEncodeRgbRangeCompressionFlagBitsVALVE;

Description

Video encode R′G′B′ range compression transformations have the inverse definition of the sampler Y′CBCR range expansion transformations.

Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.