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;
} VkVideoSessionCreateInfoKHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
queueFamilyIndex
is the queue family of the created video session. -
flags
is the creation flags defined in VkVideoSessionCreateFlagBitsKHR -
pVideoProfile
is a pointer to an instance of VkVideoProfileKHR. -
pictureFormat
is the format of the image views representing decoded Output or encoded Input pictures. -
maxCodedExtent
is the maximum width and height of the coded pictures that this instance will be able to support. -
referencePicturesFormat
is the format of the Dpb image views representing the Reference Pictures. -
maxReferencePicturesSlotsCount
is the maximum number of Dpb slots that can be activated with associated Video Picture Resources for the created video session. -
maxReferencePicturesActiveCount
is 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.
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.