VkVideoEncodeRgbModelConversionFlagBitsVALVE(3)

Name

VkVideoEncodeRgbModelConversionFlagBitsVALVE - Color model conversions for encode RGB conversion

C Specification

The range-compressed values are converted between color models, according to the color model conversion specified in the rgbModel member of the VkVideoEncodeSessionRgbConversionCreateInfoVALVE structure.

VkVideoEncodeRgbModelConversionFlagBitsVALVE defines the conversion from the encode input picture's color model to the encode color model.

// Provided by VK_VALVE_video_encode_rgb_conversion
typedef enum VkVideoEncodeRgbModelConversionFlagBitsVALVE {
    VK_VIDEO_ENCODE_RGB_MODEL_CONVERSION_RGB_IDENTITY_BIT_VALVE = 0x00000001,
    VK_VIDEO_ENCODE_RGB_MODEL_CONVERSION_YCBCR_IDENTITY_BIT_VALVE = 0x00000002,
    VK_VIDEO_ENCODE_RGB_MODEL_CONVERSION_YCBCR_709_BIT_VALVE = 0x00000004,
    VK_VIDEO_ENCODE_RGB_MODEL_CONVERSION_YCBCR_601_BIT_VALVE = 0x00000008,
    VK_VIDEO_ENCODE_RGB_MODEL_CONVERSION_YCBCR_2020_BIT_VALVE = 0x00000010,
} VkVideoEncodeRgbModelConversionFlagBitsVALVE;

Description

Video encode R′G′B′ model conversion transformations have the inverse definition of sampler Y′CBCR model conversion transformations.

The video encode R′G′B′ model conversion step does not apply any transfer function, only converting from R′G′B′ to Y′CBCR using the primaries of the specified rgbModel color model.

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.