Structures
VkVideoEncodeH264SessionParametersGetInfoKHR
Structure specifying parameters for retrieving encoded H.264 parameter set data
The VkVideoEncodeH264SessionParametersGetInfoKHR structure is defined
as:
typedef struct VkVideoEncodeH264SessionParametersGetInfoKHR {
VkStructureType sType;
const void* pNext;
VkBool32 writeStdSPS;
VkBool32 writeStdPPS;
uint32_t stdSPSId;
uint32_t stdPPSId;
} VkVideoEncodeH264SessionParametersGetInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.writeStdSPSindicates whether the encoded H.264 sequence parameter set identified bystdSPSIdis requested to be retrieved.writeStdPPSindicates whether the encoded H.264 picture parameter set identified by the pair constructed fromstdSPSIdandstdPPSIdis requested to be retrieved.stdSPSIdspecifies the H.264 sequence parameter set ID used to identify the retrieved H.264 sequence and/or picture parameter set(s).stdPPSIdspecifies the H.264 picture parameter set ID used to identify the retrieved H.264 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.264 sequence parameter set identified by
stdSPSId, ifwriteStdSPSisVK_TRUE. - The H.264 picture parameter set identified by the
pair constructed from
stdSPSIdandstdPPSId, ifwriteStdPPSisVK_TRUE.
Valid Usage
VUID-VkVideoEncodeH264SessionParametersGetInfoKHR-writeStdSPS-08279
At least one of writeStdSPS and writeStdPPS must be
VK_TRUE
Valid Usage (Implicit)
VUID-VkVideoEncodeH264SessionParametersGetInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR