VkVideoEncodeH265SessionParametersCreateInfoEXT(3)

# VkVideoEncodeH265SessionParametersCreateInfoEXT(3) Manual Page

## Name

VkVideoEncodeH265SessionParametersCreateInfoEXT - Structure specifies H.265 encoder parameter set info

Loading… please wait.

## C Specification

The `VkVideoEncodeH265SessionParametersCreateInfoEXT` structure is defined as:

    // Provided by VK_EXT_video_encode_h265
    typedef struct VkVideoEncodeH265SessionParametersCreateInfoEXT {
        VkStructureType                                        sType;
        const void*                                            pNext;
        uint32_t                                               maxStdVPSCount;
        uint32_t                                               maxStdSPSCount;
        uint32_t                                               maxStdPPSCount;
        const VkVideoEncodeH265SessionParametersAddInfoEXT*    pParametersAddInfo;
    } VkVideoEncodeH265SessionParametersCreateInfoEXT;

## Members

- `sType` is the type of this structure.

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

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

- `maxStdSPSCount` is the maximum number of entries of type `StdVideoH265SequenceParameterSet` within `VkVideoSessionParametersKHR`.

- `maxStdPPSCount` is the maximum number of entries of type `StdVideoH265PictureParameterSet` within `VkVideoSessionParametersKHR`.

- `pParametersAddInfo` is `NULL` or a pointer to a VkVideoEncodeH265SessionParametersAddInfoEXT structure specifying the video session parameters to add upon creation of this object.

## Description

When a VkVideoSessionParametersKHR object contains `maxStdVPSCount` `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 `maxStdSPSCount` `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 `maxStdPPSCount` `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.

Valid Usage (Implicit)

- VUID-VkVideoEncodeH265SessionParametersCreateInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_EXT`

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

## See Also

VK_EXT_video_encode_h265, VkStructureType, VkVideoEncodeH265SessionParametersAddInfoEXT

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