VkVideoEncodeH265SessionParametersAddInfoEXT(3)

# VkVideoEncodeH265SessionParametersAddInfoEXT(3) Manual Page

## Name

VkVideoEncodeH265SessionParametersAddInfoEXT - Structure specifies H.265 encoder parameter set info

Loading… please wait.

## C Specification

The `VkVideoEncodeH265SessionParametersAddInfoEXT` structure is defined as:

    // Provided by VK_EXT_video_encode_h265
    typedef struct VkVideoEncodeH265SessionParametersAddInfoEXT {
        VkStructureType                            sType;
        const void*                                pNext;
        uint32_t                                   stdVPSCount;
        const StdVideoH265VideoParameterSet*       pStdVPSs;
        uint32_t                                   stdSPSCount;
        const StdVideoH265SequenceParameterSet*    pStdSPSs;
        uint32_t                                   stdPPSCount;
        const StdVideoH265PictureParameterSet*     pStdPPSs;
    } VkVideoEncodeH265SessionParametersAddInfoEXT;

## Members

- `sType` is a VkStructureType value identifying this structure.

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

- `stdVPSCount` is the number of VPS elements in `pStdVPSs`.

- `pStdVPSs` is a pointer to an array of `stdVPSCount` `StdVideoH265VideoParameterSet` structures representing H.265 video parameter sets.

- `stdSPSCount` is the number of SPS elements in `pStdSPSs`.

- `pStdSPSs` is a pointer to an array of `stdSPSCount` `StdVideoH265SequenceParameterSet` structures representing H.265 sequence parameter sets.

- `stdPPSCount` is the number of PPS elements in `pStdPPSs`.

- `pStdPPSs` is a pointer to an array of `stdPPSCount` `StdVideoH265PictureParameterSet` structures representing H.265 picture parameter sets.

## Description

Valid Usage (Implicit)

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT`

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pStdVPSs-parameter
  If `pStdVPSs` is not `NULL`, `pStdVPSs` must be a valid pointer to an array of `stdVPSCount` `StdVideoH265VideoParameterSet` values

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pStdSPSs-parameter
  If `pStdSPSs` is not `NULL`, `pStdSPSs` must be a valid pointer to an array of `stdSPSCount` `StdVideoH265SequenceParameterSet` values

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pStdPPSs-parameter
  If `pStdPPSs` is not `NULL`, `pStdPPSs` must be a valid pointer to an array of `stdPPSCount` `StdVideoH265PictureParameterSet` values

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-stdVPSCount-arraylength
  `stdVPSCount` must be greater than `0`

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-stdSPSCount-arraylength
  `stdSPSCount` must be greater than `0`

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-stdPPSCount-arraylength
  `stdPPSCount` must be greater than `0`

Valid Usage

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-stdVPSCount-06438
  The values of `stdVPSCount`, `stdSPSCount` and `stdPPSCount` must be less than or equal to the values of VkVideoEncodeH265SessionParametersCreateInfoEXT::`maxStdVPSCount`, VkVideoEncodeH265SessionParametersCreateInfoEXT:`maxStdSPSCount`, and VkVideoEncodeH265SessionParametersCreateInfoEXT:`maxStdPPSCount`, respectively

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pStdVPSs-06439
  Each `StdVideoH265VideoParameterSet` entry in `pStdVPSs` must have a unique H.265 VPS ID

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pStdSPSs-06440
  Each `StdVideoH265SequenceParameterSet` entry in `pStdSPSs` must have a unique H.265 VPS-SPS ID pair

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pStdPPSs-06441
  Each `StdVideoH265PictureParameterSet` entry in `pStdPPSs` must have a unique H.265 VPS-SPS-PPS ID tuple

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-None-06442
  Each entry to be added must have a unique, to the rest of the parameter array entries and the existing parameters in the Video Session Parameters Object that is being updated, VPS-SPS-PPS IDs

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-None-06443
  Parameter entries that already exist in Video Session Parameters object with a particular VPS-SPS-PPS IDs must not be replaced nor updated

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-None-06444
  When creating a new object using a Video Session Parameters as a template, the array’s parameters with the same VPS-SPS-PPS IDs as the ones from the template take precedence

- VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-None-06445
  VPS/SPS/PPS parameters must comply with the limits specified in VkVideoSessionCreateInfoKHR during Video Session creation

## See Also

VK_EXT_video_encode_h265, VkStructureType, VkVideoEncodeH265SessionParametersCreateInfoEXT

## 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-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0