C Specification
The VkVideoFormatPropertiesKHR output structure for vkGetPhysicalDeviceVideoFormatPropertiesKHR is defined as:
// Provided by VK_KHR_video_queue
typedef struct VkVideoFormatPropertiesKHR {
VkStructureType sType;
void* pNext;
VkFormat format;
} VkVideoFormatPropertiesKHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
format
is one of the supported formats reported by the implementation.
Description
If the pVideoProfiles
provided in input structure
pVideoFormatInfo
are not supported,
VK_ERROR_FORMAT_NOT_SUPPORTED
is returned.
If the implementation requires an opaque video decode or encode DPB, then
when querying with the corresponding video decode or encode DPB image usage
in imageUsage
, only one image format is returned:
VK_FORMAT_UNDEFINED
.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.