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
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
queueFamilyIndex
is the index of the queue family the created video session will be used with. -
flags
is a bitmask of VkVideoSessionCreateFlagBitsKHR specifying creation flags. -
pVideoProfile
is a pointer to a VkVideoProfileInfoKHR structure specifying the video profile the created video session will be used with. -
pictureFormat
is the image format the created video session will be used with. IfpVideoProfile->videoCodecOperation
specifies a decode operation, thenpictureFormat
is the image format of decode output pictures usable with the created video session. IfpVideoProfile->videoCodecOperation
specifies an encode operation, thenpictureFormat
is the image format of encode input pictures usable with the created video session. -
maxCodedExtent
is the maximum width and height of the coded frames the created video session will be used with. -
referencePictureFormat
is the image format of reference pictures stored in the DPB the created video session will be used with. -
maxDpbSlots
is the maximum number of DPB Slots that can be used with the created video session. -
maxActiveReferencePictures
is the maximum number of active reference pictures that can be used in a single video coding operation using the created video session. -
pStdHeaderVersion
is a pointer to a VkExtensionProperties structure requesting the Video Std header version to use for thevideoCodecOperation
specified 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.