Structures
VkVideoEncodeH265SessionParametersGetInfoKHR
Structure specifying parameters for retrieving encoded H.265 parameter set data
The VkVideoEncodeH265SessionParametersGetInfoKHR structure is defined
as:
typedef struct VkVideoEncodeH265SessionParametersGetInfoKHR {
VkStructureType sType;
const void* pNext;
VkBool32 writeStdVPS;
VkBool32 writeStdSPS;
VkBool32 writeStdPPS;
uint32_t stdVPSId;
uint32_t stdSPSId;
uint32_t stdPPSId;
} VkVideoEncodeH265SessionParametersGetInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.writeStdVPSindicates whether the encoded H.265 video parameter set identified bystdVPSIdis requested to be retrieved.writeStdSPSindicates whether the encoded H.265 sequence parameter set identified by the pair constructed fromstdVPSIdandstdSPSIdis requested to be retrieved.writeStdPPSindicates whether the encoded H.265 picture parameter set identified by the triplet constructed fromstdVPSId,stdSPSId, andstdPPSIdis requested to be retrieved.stdVPSIdspecifies the H.265 video parameter set ID used to identify the retrieved H.265 video, sequence, and/or picture parameter set(s).stdSPSIdspecifies the H.265 sequence parameter set ID used to identify the retrieved H.265 sequence and/or picture parameter set(s) whenwriteStdSPSand/orwriteStdPPSisVK_TRUE.stdPPSIdspecifies the H.265 picture parameter set ID used to identify the retrieved H.265 picture parameter set whenwriteStdPPSisVK_TRUE.
When this structure is specified in the pNext chain of the
VkVideoEncodeSessionParametersGetInfoKHR structure passed to
vkGetEncodedVideoSessionParametersKHR, the command will write encoded
parameter data to the output buffer in the following order:
- The H.265 video parameter set identified by
stdVPSId, ifwriteStdVPSisVK_TRUE. - The H.265 sequence parameter set identified by the
pair constructed from
stdVPSIdandstdSPSId, ifwriteStdSPSisVK_TRUE. - The H.265 picture parameter set identified by the
triplet constructed from
stdVPSId,stdSPSId, andstdPPSId, ifwriteStdPPSisVK_TRUE.
Valid Usage
VUID-VkVideoEncodeH265SessionParametersGetInfoKHR-writeStdVPS-08290
At least one of writeStdVPS, writeStdSPS, and
writeStdPPS must be VK_TRUE
Valid Usage (Implicit)
VUID-VkVideoEncodeH265SessionParametersGetInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR