C Specification
When a video session parameters object is
created with the codec operation
VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR
, the
VkVideoSessionParametersCreateInfoKHR::pNext
chain must include
a VkVideoDecodeH264SessionParametersCreateInfoKHR
structure specifying
the capacity and initial contents of the object.
The VkVideoDecodeH264SessionParametersCreateInfoKHR
structure is
defined as:
// Provided by VK_KHR_video_decode_h264
typedef struct VkVideoDecodeH264SessionParametersCreateInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t maxStdSPSCount;
uint32_t maxStdPPSCount;
const VkVideoDecodeH264SessionParametersAddInfoKHR* pParametersAddInfo;
} VkVideoDecodeH264SessionParametersCreateInfoKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
maxStdSPSCount
is the maximum number of H.264 SPS entries the createdVkVideoSessionParametersKHR
can contain. -
maxStdPPSCount
is the maximum number of H.264 PPS entries the createdVkVideoSessionParametersKHR
can contain. -
pParametersAddInfo
isNULL
or a pointer to a VkVideoDecodeH264SessionParametersAddInfoKHR structure specifying H.264 parameters to add upon object creation.
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.