VkVideoEncodeAV1SessionParametersCreateInfoKHR
When a video session parameters object is
created with the codec operation
VK_VIDEO_CODEC_OPERATION_ENCODE_AV1_BIT_KHR, the
VkVideoSessionParametersCreateInfoKHR::pNext chain must include
a VkVideoEncodeAV1SessionParametersCreateInfoKHR structure specifying
the contents of the object.
The VkVideoEncodeAV1SessionParametersCreateInfoKHR structure is
defined as:
typedef struct VkVideoEncodeAV1SessionParametersCreateInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoAV1SequenceHeader* pStdSequenceHeader;
const StdVideoEncodeAV1DecoderModelInfo* pStdDecoderModelInfo;
uint32_t stdOperatingPointCount;
const StdVideoEncodeAV1OperatingPointInfo* pStdOperatingPoints;
} VkVideoEncodeAV1SessionParametersCreateInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.pStdSequenceHeaderis a pointer to aStdVideoAV1SequenceHeaderstructure describing parameters of the AV1 sequence header entry to store in the created object.pStdDecoderModelInfoisNULLor a pointer to aStdVideoEncodeAV1DecoderModelInfostructure specifying the AV1 decoder model information to store in the created object.stdOperatingPointCountis the number of elements in thepStdOperatingPointsarray.pStdOperatingPointsisNULLor a pointer to an array ofstdOperatingPointCountnumber ofStdVideoEncodeAV1OperatingPointInfostructures specifying the AV1 operating point information to store in the created object. Each element i specifies the parameter values corresponding to element i of the syntax elements defined in section 6.4 of the AV1 Specification.
Valid Usage
VUID-VkVideoEncodeAV1SessionParametersCreateInfoKHR-pStdSequenceHeader-10288
pStdSequenceHeader→flags.film_grain_params_present must be zero
Valid Usage (Implicit)
VUID-VkVideoEncodeAV1SessionParametersCreateInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR
VUID-VkVideoEncodeAV1SessionParametersCreateInfoKHR-pStdSequenceHeader-parameter
pStdSequenceHeader must be a valid pointer to a valid StdVideoAV1SequenceHeader value
VUID-VkVideoEncodeAV1SessionParametersCreateInfoKHR-pStdDecoderModelInfo-parameter
If pStdDecoderModelInfo is not NULL, pStdDecoderModelInfo must be a valid pointer to a valid StdVideoEncodeAV1DecoderModelInfo value
VUID-VkVideoEncodeAV1SessionParametersCreateInfoKHR-pStdOperatingPoints-parameter
If stdOperatingPointCount is not 0, and pStdOperatingPoints is not NULL, pStdOperatingPoints must be a valid pointer to an array of stdOperatingPointCount StdVideoEncodeAV1OperatingPointInfo values