C Specification

The structure VkVideoEncodeH264EmitPictureParametersEXT 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 is NULL 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 in spsStd of VkVideoEncodeH264SessionParametersCreateInfoEXT. This is retrieved from the VkVideoSessionParametersKHR object provided in VkVideoBeginCodingInfoKHR.

  • emitSpsEnable enables the emitting of the SPS structure with id of spsId.

  • ppsIdEntryCount is the number of entries in the ppsIdEntries. If this parameter is "0" 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 in pPpsStd of VkVideoEncodeH264SessionParametersCreateInfoEXT to identify the PPS parameter set to insert in the bitstream. This is retrieved from the VkVideoSessionParametersKHR object provided in VkVideoBeginCodingInfoKHR.

Description

Valid Usage (Implicit)
  • VUID-VkVideoEncodeH264EmitPictureParametersEXT-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_EMIT_PICTURE_PARAMETERS_EXT

  • VUID-VkVideoEncodeH264EmitPictureParametersEXT-ppsIdEntries-parameter
    ppsIdEntries must be a valid pointer to an array of ppsIdEntryCount uint8_t values

  • VUID-VkVideoEncodeH264EmitPictureParametersEXT-ppsIdEntryCount-arraylength
    ppsIdEntryCount must be greater than 0

See Also

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.

Copyright 2014-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0