Structures
VkVideoEncodeRgbConversionCapabilitiesVALVE
Structure describing video encode rgb conversion capabilities for a video profile
When calling vkGetPhysicalDeviceVideoCapabilitiesKHR with
pVideoProfile→videoCodecOperation specifying an encode operation, the
VkVideoEncodeRgbConversionCapabilitiesVALVE structure can be included
in the pNext chain of the VkVideoCapabilitiesKHR structure to
retrieve capabilities specific to video encode R′G′B′ conversion.
The VkVideoEncodeRgbConversionCapabilitiesVALVE structure is defined
as:
typedef struct VkVideoEncodeRgbConversionCapabilitiesVALVE {
VkStructureType sType;
void* pNext;
VkVideoEncodeRgbModelConversionFlagsVALVE rgbModels;
VkVideoEncodeRgbRangeCompressionFlagsVALVE rgbRanges;
VkVideoEncodeRgbChromaOffsetFlagsVALVE xChromaOffsets;
VkVideoEncodeRgbChromaOffsetFlagsVALVE yChromaOffsets;
} VkVideoEncodeRgbConversionCapabilitiesVALVE;
pub struct VideoEncodeRgbConversionCapabilitiesVALVE {
s_type: vk::StructureType,
p_next: *mut c_void,
rgb_models: vk::VideoEncodeRgbModelConversionFlagsVALVE,
rgb_ranges: vk::VideoEncodeRgbRangeCompressionFlagsVALVE,
x_chroma_offsets: vk::VideoEncodeRgbChromaOffsetFlagsVALVE,
y_chroma_offsets: vk::VideoEncodeRgbChromaOffsetFlagsVALVE,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.rgbModelsis a bitmask of VkVideoEncodeRgbModelConversionFlagBitsVALVE describing supported model conversions for video encode R′G′B′ conversion.rgbRangesis a bitmask of VkVideoEncodeRgbRangeCompressionFlagBitsVALVE describing supported range compressions for video encode R′G′B′ conversion.xChromaOffsetsis a bitmask of VkVideoEncodeRgbChromaOffsetFlagBitsVALVE describing supported offsets of the output location of the downsampled chroma component on the X axis for video encode R′G′B′ conversion.yChromaOffsetsis a bitmask of VkVideoEncodeRgbChromaOffsetFlagBitsVALVE describing supported offsets of the output location of the downsampled chroma component on the Y axis for video encode R′G′B′ conversion.
Valid Usage (Implicit)
VUID-VkVideoEncodeRgbConversionCapabilitiesVALVE-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_RGB_CONVERSION_CAPABILITIES_VALVE