VkVideoEncodeH265EmitPictureParametersInfoEXT(3)

# VkVideoEncodeH265EmitPictureParametersInfoEXT(3) Manual Page

## Name

VkVideoEncodeH265EmitPictureParametersInfoEXT - Structure specifies H.265 encode VPS NALU insertion parameters

Loading… please wait.

## C Specification

The VkVideoEncodeH265EmitPictureParametersInfoEXT structure is defined as:

    // Provided by VK_EXT_video_encode_h265
    typedef struct VkVideoEncodeH265EmitPictureParametersInfoEXT {
        VkStructureType    sType;
        const void*        pNext;
        uint8_t            vpsId;
        uint8_t            spsId;
        VkBool32           emitVpsEnable;
        VkBool32           emitSpsEnable;
        uint32_t           ppsIdEntryCount;
        const uint8_t*     ppsIdEntries;
    } VkVideoEncodeH265EmitPictureParametersInfoEXT;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `vpsId` is the H.265 VPS ID for the H.265 VPS to insert in the bitstream. The VPS ID must match the VPS provided in `vpsStd` of VkVideoEncodeH265SessionParametersCreateInfoEXT. This is retrieved from the VkVideoSessionParametersKHR object provided in VkVideoBeginCodingInfoKHR.

- `spsId` is the H.265 SPS ID for the H.265 SPS to insert in the bitstream. The SPS ID must match one of the IDs of the SPS(s) provided in `pStdSPSs` of VkVideoEncodeH265SessionParametersCreateInfoEXT to identify the SPS parameter set to insert in the bitstream. This is retrieved from the VkVideoSessionParametersKHR object provided in VkVideoBeginCodingInfoKHR.

- `emitVpsEnable` enables the emitting of the VPS structure with id of `vpsId`.

- `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 the H.265 PPS IDs for the H.265 PPS to insert in the bitstream. The PPS IDs must match one of the IDs of the PPS(s) provided in `pStdPPSs` of VkVideoEncodeH265SessionParametersCreateInfoEXT 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-VkVideoEncodeH265EmitPictureParametersInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_EMIT_PICTURE_PARAMETERS_INFO_EXT`

- VUID-VkVideoEncodeH265EmitPictureParametersInfoEXT-ppsIdEntries-parameter
  If `ppsIdEntryCount` is not `0`, `ppsIdEntries` must be a valid pointer to an array of `ppsIdEntryCount` `uint8_t` values

## See Also

VK_EXT_video_encode_h265, `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.

## Copyright

Copyright 2014-2022 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0