Structures
VkVideoFormatPropertiesKHR
Structure enumerating the video image formats
The VkVideoFormatPropertiesKHR structure is defined as:
typedef struct VkVideoFormatPropertiesKHR {
VkStructureType sType;
void* pNext;
VkFormat format;
VkComponentMapping componentMapping;
VkImageCreateFlags imageCreateFlags;
VkImageType imageType;
VkImageTiling imageTiling;
VkImageUsageFlags imageUsageFlags;
} VkVideoFormatPropertiesKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.formatis a VkFormat that specifies the format that can be used with the specified video profiles and image usages.componentMappingdefines the color channel order used for the format.formatalong withcomponentMappingdescribe how the color channels are ordered when producing video decoder output or are expected to be ordered in video encoder input, when applicable. If theformatreported does not require component swizzling then all members ofcomponentMappingwill be set toVK_COMPONENT_SWIZZLE_IDENTITY.imageCreateFlagsis a bitmask of VkImageCreateFlagBits specifying the supported image creation flags for the format.imageTypeis a VkImageType that specifies the image type the format can be used with.imageTilingis a VkImageTiling that specifies the image tiling the format can be used with.imageUsageFlagsis a bitmask of VkImageUsageFlagBits specifying the supported image usage flags for the format.
Valid Usage (Implicit)
VUID-VkVideoFormatPropertiesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR
VUID-VkVideoFormatPropertiesKHR-pNext-pNext
Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkVideoFormatAV1QuantizationMapPropertiesKHR, VkVideoFormatH265QuantizationMapPropertiesKHR, or VkVideoFormatQuantizationMapPropertiesKHR
VUID-VkVideoFormatPropertiesKHR-sType-unique
The sType value of each structure in the pNext chain must be unique