Class VkVideoEncodeH264SessionParametersAddInfoEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkVideoEncodeH264SessionParametersAddInfoEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifies H.264 encoder parameter set information.
    Valid Usage
    • The values of spsStdCount and ppsStdCount must be less than or equal to the values of maxSpsStdCount and maxPpsStdCount, respectively
    • When the maxSpsStdCount 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 maxPpsStdCount 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 pSpsStd is not NULL, pSpsStd must be a valid pointer to an array of spsStdCount StdVideoH264SequenceParameterSet values
    • If pPpsStd is not NULL, pPpsStd must be a valid pointer to an array of ppsStdCount StdVideoH264PictureParameterSet values
    • spsStdCount must be greater than 0
    • ppsStdCount must be greater than 0
    See Also

    VkVideoEncodeH264SessionParametersCreateInfoEXT

    Layout

    
     struct VkVideoEncodeH264SessionParametersAddInfoEXT {
         VkStructureType sType();
         void const * pNext();
         uint32_t spsStdCount();
         StdVideoH264SequenceParameterSet const * pSpsStd();
         uint32_t ppsStdCount();
         StdVideoH264PictureParameterSet const * pPpsStd();
     }