C Specification
The VkVideoCapabilitiesKHR structure is defined as:
// Provided by VK_KHR_video_queue
typedef struct VkVideoCapabilitiesKHR {
VkStructureType sType;
void* pNext;
VkVideoCapabilityFlagsKHR flags;
VkDeviceSize minBitstreamBufferOffsetAlignment;
VkDeviceSize minBitstreamBufferSizeAlignment;
VkExtent2D pictureAccessGranularity;
VkExtent2D minCodedExtent;
VkExtent2D maxCodedExtent;
uint32_t maxDpbSlots;
uint32_t maxActiveReferencePictures;
VkExtensionProperties stdHeaderVersion;
} VkVideoCapabilitiesKHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
flags
is a bitmask of VkVideoCapabilityFlagBitsKHR specifying capability flags. -
minBitstreamBufferOffsetAlignment
is the minimum alignment for the input or output bitstream buffer offset. -
minBitstreamBufferSizeAlignment
is the minimum alignment for the input or output bitstream buffer size -
pictureAccessGranularity
is the granularity at which image access to video picture resources happen. -
minCodedExtent
is the minimum width and height of the decoded or encoded video. -
maxCodedExtent
is the maximum width and height of the decoded or encoded video. -
maxDpbSlots
is the maximum number of DPB Slots supported by the implementation for a single video session instance. -
maxActiveReferencePictures
is the maximum slots that can be used as Reference Pictures with a single decode or encode operation. -
stdHeaderVersion
is a VkExtensionProperties structure reporting the Video Std header version supported for thecodecOperation
requested invkGetPhysicalDeviceVideoCapabilitiesKHR
::pVideoProfile
.
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.