C Specification
The VkVideoSessionCreateInfoKHR structure is defined as:
// Provided by VK_KHR_video_queue
typedef struct VkVideoSessionCreateInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t queueFamilyIndex;
VkVideoSessionCreateFlagsKHR flags;
const VkVideoProfileInfoKHR* pVideoProfile;
VkFormat pictureFormat;
VkExtent2D maxCodedExtent;
VkFormat referencePictureFormat;
uint32_t maxDpbSlots;
uint32_t maxActiveReferencePictures;
const VkExtensionProperties* pStdHeaderVersion;
} VkVideoSessionCreateInfoKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
queueFamilyIndexis the index of the queue family the created video session will be used with. -
flagsis a bitmask of VkVideoSessionCreateFlagBitsKHR specifying creation flags. -
pVideoProfileis a pointer to a VkVideoProfileInfoKHR structure specifying the video profile the created video session will be used with. -
pictureFormatis the image format the created video session will be used with. IfpVideoProfile->videoCodecOperationspecifies a decode operation, thenpictureFormatis the image format of decode output pictures usable with the created video session. IfpVideoProfile->videoCodecOperationspecifies an encode operation, thenpictureFormatis the image format of encode input pictures usable with the created video session. -
maxCodedExtentis the maximum width and height of the coded frames the created video session will be used with. -
referencePictureFormatis the image format of reference pictures stored in the DPB the created video session will be used with. -
maxDpbSlotsis the maximum number of DPB Slots that can be used with the created video session. -
maxActiveReferencePicturesis the maximum number of active reference pictures that can be used in a single video coding operation using the created video session. -
pStdHeaderVersionis a pointer to a VkExtensionProperties structure requesting the Video Std header version to use for thevideoCodecOperationspecified inpVideoProfile.
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.