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 VkVideoProfileKHR* pVideoProfile;
VkFormat pictureFormat;
VkExtent2D maxCodedExtent;
VkFormat referencePicturesFormat;
uint32_t maxReferencePicturesSlotsCount;
uint32_t maxReferencePicturesActiveCount;
const VkExtensionProperties* pStdHeaderVersion;
} VkVideoSessionCreateInfoKHR;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
queueFamilyIndexis the queue family of the created video session. -
flagsis a bitmask of VkVideoSessionCreateFlagBitsKHR specifying creation flags. -
pVideoProfileis a pointer to a VkVideoProfileKHR structure. -
pictureFormatis the format of the image views representing decoded Output or encoded Input pictures. -
maxCodedExtentis the maximum width and height of the coded pictures that this instance will be able to support. -
referencePicturesFormatis the format of the DPB image views representing the Reference Pictures. -
maxReferencePicturesSlotsCountis the maximum number of DPB Slots that can be activated with associated Video Picture Resources for the created video session. -
maxReferencePicturesActiveCountis the maximum number of active DPB Slots that can be used as Dpb or Reconstructed Reference Pictures within a single decode or encode operation for the created video session. -
pStdHeaderVersionis a pointer to a VkExtensionProperties structure requesting the Video Std header version to use forcodecOperationinpVideoProfile.
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.