C Specification

// Provided by VK_EXT_video_decode_h265
typedef struct VkVideoDecodeH265SessionParametersAddInfoEXT {
    VkStructureType                            sType;
    const void*                                pNext;
    uint32_t                                   spsStdCount;
    const StdVideoH265SequenceParameterSet*    pSpsStd;
    uint32_t                                   ppsStdCount;
    const StdVideoH265PictureParameterSet*     pPpsStd;
} VkVideoDecodeH265SessionParametersAddInfoEXT;

Members

Valid Usage
  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-vpsStdCount-04829
    The values of vpsStdCount, spsStdCount and ppsStdCount must be less than or equal to the values of maxVpsStdCount, maxSpsStdCount and maxPpsStdCount, respectively.

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-maxVpsStdCount-04830
    When the maxVpsStdCount 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-maxSpsStdCount-04831
    When the maxSpsStdCount 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-maxPpsStdCount-04832
    When the maxPpsStdCount 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.

Description

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

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-pSpsStd-parameter
    If pSpsStd is not NULL, pSpsStd must be a valid pointer to an array of spsStdCount StdVideoH265SequenceParameterSet values

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-pPpsStd-parameter
    If pPpsStd is not NULL, pPpsStd must be a valid pointer to an array of ppsStdCount StdVideoH265PictureParameterSet values

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-spsStdCount-arraylength
    spsStdCount must be greater than 0

  • VUID-VkVideoDecodeH265SessionParametersAddInfoEXT-ppsStdCount-arraylength
    ppsStdCount must be greater than 0

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

SPDX-License-Identifier: CC-BY-4.0