Structures

VkVideoEncodeProfileRgbConversionInfoVALVE

Structure describing video encode RGB conversion for a video profile

A video profile supporting video encode R′G′B′ conversion is specified by an pVideoProfile→videoCodecOperation specifying an encode operation and including a VkVideoEncodeProfileRgbConversionInfoVALVE structure in the pNext chain of the VkVideoProfileInfoKHR structure and enabling performEncodeRgbConversion.

The VkVideoEncodeProfileRgbConversionInfoVALVE structure is defined as:

typedef struct VkVideoEncodeProfileRgbConversionInfoVALVE {
    VkStructureType sType;
    const void* pNext;
    VkBool32 performEncodeRgbConversion;
} VkVideoEncodeProfileRgbConversionInfoVALVE;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • performEncodeRgbConversion is a boolean value indicating whether video encode R′G′B′ conversion will be used for the encode operation.

Valid Usage (Implicit)

VUID-VkVideoEncodeProfileRgbConversionInfoVALVE-sType-sType

sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_PROFILE_RGB_CONVERSION_INFO_VALVE