VkVideoDecodeAV1SessionParametersCreateInfoKHR
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:
typedef struct VkVideoDecodeAV1SessionParametersCreateInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoAV1SequenceHeader* pStdSequenceHeader;
} VkVideoDecodeAV1SessionParametersCreateInfoKHR;
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.
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.
Valid Usage (Implicit)
VUID-VkVideoDecodeAV1SessionParametersCreateInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR
VUID-VkVideoDecodeAV1SessionParametersCreateInfoKHR-pStdSequenceHeader-parameter
pStdSequenceHeader
must be a valid pointer to a valid StdVideoAV1SequenceHeader
value