VkVideoEncodeH265SessionParametersAddInfoKHR
The VkVideoEncodeH265SessionParametersAddInfoKHR structure is defined
as:
typedef struct VkVideoEncodeH265SessionParametersAddInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t stdVPSCount;
const StdVideoH265VideoParameterSet* pStdVPSs;
uint32_t stdSPSCount;
const StdVideoH265SequenceParameterSet* pStdSPSs;
uint32_t stdPPSCount;
const StdVideoH265PictureParameterSet* pStdPPSs;
} VkVideoEncodeH265SessionParametersAddInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.stdVPSCountis the number of elements in thepStdVPSsarray.pStdVPSsis a pointer to an array ofStdVideoH265VideoParameterSetstructures describing the H.265 VPS entries to add.stdSPSCountis the number of elements in thepStdSPSsarray.pStdSPSsis a pointer to an array ofStdVideoH265SequenceParameterSetstructures describing the H.265 SPS entries to add.stdPPSCountis the number of elements in thepStdPPSsarray.pStdPPSsis a pointer to an array ofStdVideoH265PictureParameterSetstructures describing the H.265 PPS entries to add.
This structure can be specified in the following places:
- In the
pParametersAddInfomember of the VkVideoEncodeH265SessionParametersCreateInfoKHR 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_ENCODE_H265_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_ENCODE_H265_BIT_KHR, then it defines the set of parameters to add to it (see Updating Video Session Parameters).
Valid Usage (Implicit)
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-pStdVPSs-parameter
If stdVPSCount is not 0, and pStdVPSs is not NULL, pStdVPSs must be a valid pointer to an array of stdVPSCount StdVideoH265VideoParameterSet values
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-pStdSPSs-parameter
If stdSPSCount is not 0, and pStdSPSs is not NULL, pStdSPSs must be a valid pointer to an array of stdSPSCount StdVideoH265SequenceParameterSet values
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-pStdPPSs-parameter
If stdPPSCount is not 0, and pStdPPSs is not NULL, pStdPPSs must be a valid pointer to an array of stdPPSCount StdVideoH265PictureParameterSet values
Valid Usage
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-None-06438
The vps_video_parameter_set_id member of each
StdVideoH265VideoParameterSet structure specified in the elements
of pStdVPSs must be unique within pStdVPSs
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-None-06439
The pair constructed from the sps_video_parameter_set_id and
sps_seq_parameter_set_id members of each
StdVideoH265SequenceParameterSet structure specified in the
elements of pStdSPSs must be unique within pStdSPSs
VUID-VkVideoEncodeH265SessionParametersAddInfoKHR-None-06440
The triplet constructed from the sps_video_parameter_set_id,
pps_seq_parameter_set_id, and pps_pic_parameter_set_id
members of each StdVideoH265PictureParameterSet structure specified
in the elements of pStdPPSs must be unique within pStdPPSs