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;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.writeStdVPS
indicates whether the encoded H.265 video parameter set identified bystdVPSId
is requested to be retrieved.writeStdSPS
indicates whether the encoded H.265 sequence parameter set identified by the pair constructed fromstdVPSId
andstdSPSId
is requested to be retrieved.writeStdPPS
indicates whether the encoded H.265 picture parameter set identified by the triplet constructed fromstdVPSId
,stdSPSId
, andstdPPSId
is requested to be retrieved.stdVPSId
specifies the H.265 video parameter set ID used to identify the retrieved H.265 video, sequence, and/or picture parameter set(s).stdSPSId
specifies the H.265 sequence parameter set ID used to identify the retrieved H.265 sequence and/or picture parameter set(s) whenwriteStdSPS
and/orwriteStdPPS
isVK_TRUE
.stdPPSId
specifies the H.265 picture parameter set ID used to identify the retrieved H.265 picture parameter set whenwriteStdPPS
isVK_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
, ifwriteStdVPS
isVK_TRUE
. - The H.265 sequence parameter set identified by the
pair constructed from
stdVPSId
andstdSPSId
, ifwriteStdSPS
isVK_TRUE
. - The H.265 picture parameter set identified by the
triplet constructed from
stdVPSId
,stdSPSId
, andstdPPSId
, ifwriteStdPPS
isVK_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