VkVideoDecodeH264SessionParametersAddInfoKHR
The VkVideoDecodeH264SessionParametersAddInfoKHR structure is defined
as:
typedef struct VkVideoDecodeH264SessionParametersAddInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t stdSPSCount;
const StdVideoH264SequenceParameterSet* pStdSPSs;
uint32_t stdPPSCount;
const StdVideoH264PictureParameterSet* pStdPPSs;
} VkVideoDecodeH264SessionParametersAddInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.stdSPSCountis the number of elements in thepStdSPSsarray.pStdSPSsis a pointer to an array ofStdVideoH264SequenceParameterSetstructures describing the H.264 SPS entries to add.stdPPSCountis the number of elements in thepStdPPSsarray.pStdPPSsis a pointer to an array ofStdVideoH264PictureParameterSetstructures describing the H.264 PPS entries to add.
This structure can be specified in the following places:
- In the
pParametersAddInfomember of the VkVideoDecodeH264SessionParametersCreateInfoKHR structure specified in thepNextchain of VkVideoSessionParametersCreateInfoKHR used to create a video session parameters object. In this case, if the video codec operation the video session parameters object is created with isVK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then it defines the set of initial parameters to add to the created object (see Creating Video Session Parameters). - In the
pNextchain of VkVideoSessionParametersUpdateInfoKHR. In this case, if the video codec operation the video session parameters object to be updated was created with isVK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR, then it defines the set of parameters to add to it (see Updating Video Session Parameters).
Valid Usage
VUID-VkVideoDecodeH264SessionParametersAddInfoKHR-None-04825
The seq_parameter_set_id member of each
StdVideoH264SequenceParameterSet structure specified in the
elements of pStdSPSs must be unique within pStdSPSs
VUID-VkVideoDecodeH264SessionParametersAddInfoKHR-None-04826
The pair constructed from the seq_parameter_set_id and
pic_parameter_set_id members of each
StdVideoH264PictureParameterSet structure specified in the elements
of pStdPPSs must be unique within pStdPPSs
Valid Usage (Implicit)
VUID-VkVideoDecodeH264SessionParametersAddInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR
VUID-VkVideoDecodeH264SessionParametersAddInfoKHR-pStdSPSs-parameter
If stdSPSCount is not 0, pStdSPSs must be a valid pointer to an array of stdSPSCount StdVideoH264SequenceParameterSet values
VUID-VkVideoDecodeH264SessionParametersAddInfoKHR-pStdPPSs-parameter
If stdPPSCount is not 0, pStdPPSs must be a valid pointer to an array of stdPPSCount StdVideoH264PictureParameterSet values