C Specification
The VkVideoEncodeH264EmitPictureParametersEXT
structure is defined as:
// Provided by VK_EXT_video_encode_h264
typedef struct VkVideoEncodeH264EmitPictureParametersEXT {
VkStructureType sType;
const void* pNext;
uint8_t spsId;
VkBool32 emitSpsEnable;
uint32_t ppsIdEntryCount;
const uint8_t* ppsIdEntries;
} VkVideoEncodeH264EmitPictureParametersEXT;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
spsId
is the H.264 SPS ID for the H.264 SPS to insert in the bitstream. The SPS ID must match the SPS provided inspsStd
of VkVideoEncodeH264SessionParametersCreateInfoEXT. This is retrieved from the VkVideoSessionParametersKHR object provided in VkVideoBeginCodingInfoKHR. -
emitSpsEnable
enables the emitting of the SPS structure with id ofspsId
. -
ppsIdEntryCount
is the number of entries in theppsIdEntries
. If this parameter is0
then no pps entries are going to be emitted in the bitstream. -
ppsIdEntries
is a pointer to an array of H.264 PPS IDs for the H.264 PPS to insert in the bitstream. The PPS IDs must match one of the IDs of the PPS(s) provided inpPpsStd
of VkVideoEncodeH264SessionParametersCreateInfoEXT to identify the PPS parameter set to insert in the bitstream. This is retrieved from the VkVideoSessionParametersKHR object provided in VkVideoBeginCodingInfoKHR.
See Also
VK_EXT_video_encode_h264, VkBool32
, VkStructureType
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.