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                                               maxStdVPSCount;
    uint32_t                                               maxStdSPSCount;
    uint32_t                                               maxStdPPSCount;
    const VkVideoDecodeH265SessionParametersAddInfoEXT*    pParametersAddInfo;
} VkVideoDecodeH265SessionParametersCreateInfoEXT;

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 SPS parameters that the VkVideoSessionParametersKHR can contain.

  • maxStdPPSCount 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 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.

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

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

SPDX-License-Identifier: CC-BY-4.0