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                                               maxVpsStdCount;
    uint32_t                                               maxSpsStdCount;
    uint32_t                                               maxPpsStdCount;
    const VkVideoEncodeH265SessionParametersAddInfoEXT*    pParametersAddInfo;
} VkVideoEncodeH265SessionParametersCreateInfoEXT;

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 entries of type StdVideoH265SequenceParameterSet within VkVideoSessionParametersKHR.

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

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

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