Class VkVideoEncodeH264SessionParametersAddInfoEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH264SessionParametersAddInfoEXT>
org.lwjgl.vulkan.VkVideoEncodeH264SessionParametersAddInfoEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkVideoEncodeH264SessionParametersAddInfoEXT extends org.lwjgl.system.Struct<VkVideoEncodeH264SessionParametersAddInfoEXT> implements org.lwjgl.system.NativeResource
Structure specifies H.264 encoder parameter set information.
Valid Usage
  • The values of stdSPSCount and stdPPSCount must be less than or equal to the values of maxStdSPSCount and maxStdPPSCount, respectively
  • When the maxStdSPSCount number of parameters of type StdVideoH264SequenceParameterSet in the Video Session Parameters object is reached, no additional parameters of that type can be added to the object. ERROR_TOO_MANY_OBJECTS will be returned if an attempt is made to add additional data to this object at this point
  • When the maxStdPPSCount number of parameters of type StdVideoH264PictureParameterSet in the Video Session Parameters object is reached, no additional parameters of that type can be added to the object. ERROR_TOO_MANY_OBJECTS will be returned if an attempt is made to add additional data to this object at this point
  • 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, SPS-PPS IDs
  • Parameter entries that already exist in Video Session Parameters object with a particular SPS-PPS IDs cannot be replaced nor updated
  • When creating a new object using a Video Session Parameters as a template, the array’s parameters with the same SPS-PPS IDs as the ones from the template take precedence
  • SPS/PPS parameters must comply with the limits specified in VkVideoSessionCreateInfoKHR during Video Session creation
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_EXT
  • If stdSPSCount is not 0, and pStdSPSs is not NULL, pStdSPSs must be a valid pointer to an array of stdSPSCount StdVideoH264SequenceParameterSet values
  • If stdPPSCount is not 0, and pStdPPSs is not NULL, pStdPPSs must be a valid pointer to an array of stdPPSCount StdVideoH264PictureParameterSet values
See Also

VkVideoEncodeH264SessionParametersCreateInfoEXT

Layout


 struct VkVideoEncodeH264SessionParametersAddInfoEXT {
     VkStructureType sType();
     void const * pNext();
     uint32_t stdSPSCount();
     StdVideoH264SequenceParameterSet const * pStdSPSs();
     uint32_t stdPPSCount();
     StdVideoH264PictureParameterSet const * pStdPPSs();
 }