C Specification

The VkVideoEncodeH265SessionParametersAddInfoEXT structure is defined as:

// Provided by VK_EXT_video_encode_h265
typedef struct VkVideoEncodeH265SessionParametersAddInfoEXT {
    VkStructureType                            sType;
    const void*                                pNext;
    uint32_t                                   vpsStdCount;
    const StdVideoH265VideoParameterSet*       pVpsStd;
    uint32_t                                   spsStdCount;
    const StdVideoH265SequenceParameterSet*    pSpsStd;
    uint32_t                                   ppsStdCount;
    const StdVideoH265PictureParameterSet*     pPpsStd;
} VkVideoEncodeH265SessionParametersAddInfoEXT;


  • sType is the type of this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • vpsStdCount is the number of VPS elements in pVpsStd.

  • pVpsStd is a pointer to an array of vpsStdCount StdVideoH265VideoParameterSet structures representing H.265 video parameter sets.

  • spsStdCount is the number of SPS elements in pSpsStd.

  • pSpsStd is a pointer to an array of spsStdCount StdVideoH265SequenceParameterSet structures representing H.265 sequence parameter sets.

  • ppsStdCount is the number of PPS elements in pPpsStd.

  • pPpsStd is a pointer to an array of ppsStdCount StdVideoH265PictureParameterSet structures representing H.265 picture parameter sets.


Valid Usage (Implicit)
  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-sType-sType

  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pVpsStd-parameter
    If pVpsStd is not NULL, pVpsStd must be a valid pointer to an array of vpsStdCount StdVideoH265VideoParameterSet values

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

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

  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-vpsStdCount-arraylength
    vpsStdCount must be greater than 0

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

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

Valid Usage
  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-vpsStdCount-06438
    The values of vpsStdCount, spsStdCount and ppsStdCount must be less than or equal to the values of VkVideoEncodeH265SessionParametersCreateInfoEXT::maxVpsStdCount, VkVideoEncodeH265SessionParametersCreateInfoEXT:maxSpsStdCount, and VkVideoEncodeH265SessionParametersCreateInfoEXT:maxPpsStdCount, respectively

  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pVpsStd-06439
    Each StdVideoH265VideoParameterSet entry in pVpsStd must have a unique H.265 VPS ID

  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pSpsStd-06440
    Each StdVideoH265SequenceParameterSet entry in pSpsStd must have a unique H.265 VPS-SPS ID pair

  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-pPpsStd-06441
    Each StdVideoH265PictureParameterSet entry in pPpsStd must have a unique H.265 VPS-SPS-PPS ID tuple

  • VUID-VkVideoEncodeH265SessionParametersAddInfoEXT-None-06442
    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-VkVideoEncodeH265SessionParametersAddInfoEXT-None-06443
    Parameter entries that already exist in Video Session Parameters object with a particular VPS-SPS-PPS IDs must not be replaced nor updated

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

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