VkVideoDecodeH265SessionParametersCreateInfoEXT(3)

# VkVideoDecodeH265SessionParametersCreateInfoEXT(3) Manual Page

## Name

VkVideoDecodeH265SessionParametersCreateInfoEXT - Structure specifies H.265 decoder parameter set information

Loading… please wait.

## C Specification

The `VkVideoDecodeH265SessionParametersCreateInfoEXT` structure is defined as:

    // Provided by VK_EXT_video_decode_h265
    typedef struct VkVideoDecodeH265SessionParametersCreateInfoEXT {
        VkStructureType                                        sType;
        const void*                                            pNext;
        uint32_t                                               maxVpsStdCount;
        uint32_t                                               maxSpsStdCount;
        uint32_t                                               maxPpsStdCount;
        const VkVideoDecodeH265SessionParametersAddInfoEXT*    pParametersAddInfo;
    } VkVideoDecodeH265SessionParametersCreateInfoEXT;

## Members

- `sType` is the type of this structure.

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

- `maxVpsStdCount` is the maximum number of entries of type `StdVideoH265VideoParameterSet` within `VkVideoSessionParametersKHR`.

- `maxSpsStdCount` is the maximum number of SPS parameters that the `VkVideoSessionParametersKHR` can contain.

- `maxPpsStdCount` is the maximum number of PPS parameters that the `VkVideoSessionParametersKHR` can contain.

- `pParametersAddInfo` is `NULL` or a pointer to a VkVideoDecodeH265SessionParametersAddInfoEXT structure specifying H.265 parameters to add upon object creation.

## Description

When a VkVideoSessionParametersKHR object contains `maxVpsStdCount` `StdVideoH265VideoParameterSet` entries, no additional `StdVideoH265VideoParameterSet` entries can be added to it, and `VK_ERROR_TOO_MANY_OBJECTS` will be returned if an attempt is made to add these entries. When a VkVideoSessionParametersKHR object contains `maxSpsStdCount` `StdVideoH265SequenceParameterSet` entries, no additional `StdVideoH265SequenceParameterSet` entries can be added to it, and `VK_ERROR_TOO_MANY_OBJECTS` will be returned if an attempt is made to add these entries. When a VkVideoSessionParametersKHR object contains `maxPpsStdCount` `StdVideoH265PictureParameterSet` entries, no additional `StdVideoH265PictureParameterSet` entries can be added to it, and `VK_ERROR_TOO_MANY_OBJECTS` will be returned if an attempt is made to add these entries.

The provided H.265 VPS/SPS/PPS parameters must be within the limits specified during decoder creation for the decoder specified in `VkVideoSessionParametersCreateInfoKHR`.

Valid Usage (Implicit)

- VUID-VkVideoDecodeH265SessionParametersCreateInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT`

- VUID-VkVideoDecodeH265SessionParametersCreateInfoEXT-pParametersAddInfo-parameter
  If `pParametersAddInfo` is not `NULL`, `pParametersAddInfo` must be a valid pointer to a valid VkVideoDecodeH265SessionParametersAddInfoEXT structure

## See Also

VK_EXT_video_decode_h265, VkStructureType, VkVideoDecodeH265SessionParametersAddInfoEXT

## 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