Structures

VkVideoEncodeSessionRgbConversionCreateInfoVALVE

Structure specifying video encode RGB conversion parameters for a video session

The VkVideoEncodeSessionRgbConversionCreateInfoVALVE structure is defined as:

typedef struct VkVideoEncodeSessionRgbConversionCreateInfoVALVE {
    VkStructureType sType;
    const void* pNext;
    VkVideoEncodeRgbModelConversionFlagBitsVALVE rgbModel;
    VkVideoEncodeRgbRangeCompressionFlagBitsVALVE rgbRange;
    VkVideoEncodeRgbChromaOffsetFlagBitsVALVE xChromaOffset;
    VkVideoEncodeRgbChromaOffsetFlagBitsVALVE yChromaOffset;
} VkVideoEncodeSessionRgbConversionCreateInfoVALVE;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • rgbModel is the used R′G′B′ model conversion for the R′G′B′ conversion.
  • rgbRange is the used R′G′B′ range compression for the R′G′B′ conversion.
  • xChromaOffset describes the output location of downsampled chroma components in the x dimension for the R′G′B′ conversion.
  • yChromaOffset describes the output location of downsampled chroma components in the y dimension for the R′G′B′ conversion.

Valid Usage

VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbModel-10930

rgbModel must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::rgbModels as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with VkVideoEncodeRgbConversionCapabilitiesVALVE in the pNext chain of VkVideoCapabilitiesKHR with the given pVideoProfile

VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbRange-10931

rgbRange must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::rgbRanges as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with VkVideoEncodeRgbConversionCapabilitiesVALVE in the pNext chain of VkVideoCapabilitiesKHR with the given pVideoProfile

VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-xChromaOffset-10932

xChromaOffset must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::xChromaOffsets as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with VkVideoEncodeRgbConversionCapabilitiesVALVE in the pNext chain of VkVideoCapabilitiesKHR with the given pVideoProfile

VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-yChromaOffset-10933

yChromaOffset must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::yChromaOffsets as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with VkVideoEncodeRgbConversionCapabilitiesVALVE in the pNext chain of VkVideoCapabilitiesKHR with the given pVideoProfile