C Specification

The VkVideoDecodeH265SessionParametersAddInfoEXT structure is defined as:

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

Members

  • sType is the type of 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 the pStdSPSs. Its value must be less than or equal to the value of maxStdSPSCount.

  • pStdSPSs is a pointer to an array of StdVideoH265SequenceParameterSet structures representing H.265 sequence parameter sets. Each element of the array must have a unique H.265 VPS-SPS ID pair.

  • stdPPSCount is the number of PPS provided in pStdPPSs. Its value must be less than or equal to the value of maxStdPPSCount.

  • pStdPPSs is a pointer to an array of StdVideoH265PictureParameterSet structures representing H.265 picture parameter sets. Each element of the array entry must have a unique H.265 VPS-SPS-PPS ID tuple.

Description

Valid Usage
  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-stdVPSCount-04829
    The values of stdVPSCount, stdSPSCount and stdPPSCount must be less than or equal to the values of maxStdVPSCount, maxStdSPSCount and maxStdPPSCount, respectively

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-maxStdVPSCount-04830
    When the maxStdVPSCount number of parameters of type StdVideoH265VideoParameterSet in the Video Session Parameters object is reached, no additional parameters of that type can be added to the object. VK_ERROR_TOO_MANY_OBJECTS will be returned if an attempt is made to add additional data to this object at this point

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-maxStdSPSCount-04831
    When the maxStdSPSCount number of parameters of type StdVideoH265SequenceParameterSet in the Video Session Parameters object is reached, no additional parameters of that type can be added to the object. VK_ERROR_TOO_MANY_OBJECTS will be returned if an attempt is made to add additional data to this object at this point

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-maxStdPPSCount-04832
    When the maxStdPPSCount number of parameters of type StdVideoH265PictureParameterSet in the Video Session Parameters object is reached, no additional parameters of that type can be added to the object. VK_ERROR_TOO_MANY_OBJECTS will be returned if an attempt is made to add additional data to this object at this point

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-None-04833
    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-VkVideoDecodeH265SessionParametersAddInfoEXT-None-04834
    Parameter entries that already exist in Video Session Parameters object with a particular VPS-SPS-PPS IDs cannot be replaced nor updated

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-None-04835
    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-VkVideoDecodeH265SessionParametersAddInfoEXT-None-04836
    VPS/SPS/PPS parameters must comply with the limits specified in VkVideoSessionCreateInfoKHR during Video Session creation

Valid Usage (Implicit)
  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-pStdVPSs-parameter
    If stdVPSCount is not 0, pStdVPSs must be a valid pointer to an array of stdVPSCount StdVideoH265VideoParameterSet values

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-pStdSPSs-parameter
    If stdSPSCount is not 0, pStdSPSs must be a valid pointer to an array of stdSPSCount StdVideoH265SequenceParameterSet values

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-pStdPPSs-parameter
    If stdPPSCount is not 0, pStdPPSs must be a valid pointer to an array of stdPPSCount StdVideoH265PictureParameterSet values

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