C Specification
When a video session parameters object is
created with the codec operation
VK_VIDEO_CODEC_OPERATION_DECODE_AV1_BIT_KHR
, the
VkVideoSessionParametersCreateInfoKHR::pNext
chain must include
a VkVideoDecodeAV1SessionParametersCreateInfoKHR
structure specifying
the contents of the object.
The VkVideoDecodeAV1SessionParametersCreateInfoKHR
structure is
defined as:
// Provided by VK_KHR_video_decode_av1
typedef struct VkVideoDecodeAV1SessionParametersCreateInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoAV1SequenceHeader* pStdSequenceHeader;
} VkVideoDecodeAV1SessionParametersCreateInfoKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
pStdSequenceHeader
is a pointer to aStdVideoAV1SequenceHeader
structure describing the AV1 sequence header entry to store in the created object.
Description
Note
As AV1 video session parameters objects will only ever contain a single AV1 sequence header, this has to be specified at object creation time and such video session parameters objects cannot be updated using the vkUpdateVideoSessionParametersKHR command. When a new AV1 sequence header is decoded from the input video bitstream the application needs to create a new video session parameters object to store it. |
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.