VkVideoCapabilitiesKHR
The VkVideoCapabilitiesKHR structure is defined as:
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;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis a bitmask of VkVideoCapabilityFlagBitsKHR specifying capability flags.minBitstreamBufferOffsetAlignmentis the minimum alignment for bitstream buffer offsets.minBitstreamBufferSizeAlignmentis the minimum alignment for bitstream buffer range sizes.pictureAccessGranularityis the granularity at which image access to video picture resources happen.minCodedExtentis the minimum width and height of the coded frames.maxCodedExtentis the maximum width and height of the coded frames.maxDpbSlotsis the maximum number of DPB slots supported by a single video session.maxActiveReferencePicturesis the maximum number of active reference pictures a single video coding operation can use.-
stdHeaderVersionis a VkExtensionProperties structure reporting the Video Std header name and version supported for the video profile.
It is common for video compression standards to allow using all reference
pictures associated with active DPB slots as active reference pictures,
hence for video decode profiles the values returned in maxDpbSlots and
maxActiveReferencePictures are often equal.
Similarly, in case of video decode profiles supporting field pictures the
value of maxActiveReferencePictures often equals
maxDpbSlots × 2.
Valid Usage (Implicit)
VUID-VkVideoCapabilitiesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR
VUID-VkVideoCapabilitiesKHR-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 VkVideoDecodeAV1CapabilitiesKHR, VkVideoDecodeCapabilitiesKHR, VkVideoDecodeH264CapabilitiesKHR, VkVideoDecodeH265CapabilitiesKHR, VkVideoEncodeAV1CapabilitiesKHR, VkVideoEncodeAV1QuantizationMapCapabilitiesKHR, VkVideoEncodeCapabilitiesKHR, VkVideoEncodeH264CapabilitiesKHR, VkVideoEncodeH264QuantizationMapCapabilitiesKHR, VkVideoEncodeH265CapabilitiesKHR, VkVideoEncodeH265QuantizationMapCapabilitiesKHR, or VkVideoEncodeQuantizationMapCapabilitiesKHR
VUID-VkVideoCapabilitiesKHR-sType-unique
The sType value of each structure in the pNext chain must be unique