VkVideoEncodeSessionRgbConversionCreateInfoVALVE
The VkVideoEncodeSessionRgbConversionCreateInfoVALVE structure is
defined as:
typedef struct VkVideoEncodeSessionRgbConversionCreateInfoVALVE {
VkStructureType sType;
const void* pNext;
VkVideoEncodeRgbModelConversionFlagBitsVALVE rgbModel;
VkVideoEncodeRgbRangeCompressionFlagBitsVALVE rgbRange;
VkVideoEncodeRgbChromaOffsetFlagBitsVALVE xChromaOffset;
VkVideoEncodeRgbChromaOffsetFlagBitsVALVE yChromaOffset;
} VkVideoEncodeSessionRgbConversionCreateInfoVALVE;
pub struct VideoEncodeSessionRgbConversionCreateInfoVALVE {
s_type: vk::StructureType,
p_next: *const c_void,
rgb_model: vk::VideoEncodeRgbModelConversionFlagBitsVALVE,
rgb_range: vk::VideoEncodeRgbRangeCompressionFlagBitsVALVE,
x_chroma_offset: vk::VideoEncodeRgbChromaOffsetFlagBitsVALVE,
y_chroma_offset: vk::VideoEncodeRgbChromaOffsetFlagBitsVALVE,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.rgbModelis the used R′G′B′ model conversion for the R′G′B′ conversion.rgbRangeis the used R′G′B′ range compression for the R′G′B′ conversion.xChromaOffsetdescribes the output location of downsampled chroma components in the x dimension for the R′G′B′ conversion.yChromaOffsetdescribes 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
Valid Usage (Implicit)
VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_RGB_CONVERSION_CREATE_INFO_VALVE
VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbModel-parameter
rgbModel must be a valid VkVideoEncodeRgbModelConversionFlagBitsVALVE value
VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbRange-parameter
rgbRange must be a valid VkVideoEncodeRgbRangeCompressionFlagBitsVALVE value
VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-xChromaOffset-parameter
xChromaOffset must be a valid VkVideoEncodeRgbChromaOffsetFlagBitsVALVE value
VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-yChromaOffset-parameter
yChromaOffset must be a valid VkVideoEncodeRgbChromaOffsetFlagBitsVALVE value