Class StdVideoDecodeH265PictureInfo

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

    public class StdVideoDecodeH265PictureInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource

    Layout

    
     struct StdVideoDecodeH265PictureInfo {
         uint8_t vps_video_parameter_set_id;
         uint8_t sps_seq_parameter_set_id;
         uint8_t pps_pic_parameter_set_id;
         uint8_t num_short_term_ref_pic_sets;
         int32_t PicOrderCntVal;
         uint16_t NumBitsForSTRefPicSetInSlice();
         uint8_t NumDeltaPocsOfRefRpsIdx();
         uint8_t RefPicSetStCurrBefore()[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
         uint8_t RefPicSetStCurrAfter()[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
         uint8_t RefPicSetLtCurr()[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
         StdVideoDecodeH265PictureInfoFlags flags;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • VPS_VIDEO_PARAMETER_SET_ID, SPS_SEQ_PARAMETER_SET_ID, PPS_PIC_PARAMETER_SET_ID, NUM_SHORT_TERM_REF_PIC_SETS, PICORDERCNTVAL, NUMBITSFORSTREFPICSETINSLICE, NUMDELTAPOCSOFREFRPSIDX, REFPICSETSTCURRBEFORE, REFPICSETSTCURRAFTER, REFPICSETLTCURR, FLAGS

        The struct member offsets.
    • Constructor Detail

      • StdVideoDecodeH265PictureInfo

        public StdVideoDecodeH265PictureInfo​(java.nio.ByteBuffer container)
        Creates a StdVideoDecodeH265PictureInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • vps_video_parameter_set_id

        public byte vps_video_parameter_set_id()
        Returns:
        the value of the vps_video_parameter_set_id field.
      • sps_seq_parameter_set_id

        public byte sps_seq_parameter_set_id()
        Returns:
        the value of the sps_seq_parameter_set_id field.
      • pps_pic_parameter_set_id

        public byte pps_pic_parameter_set_id()
        Returns:
        the value of the pps_pic_parameter_set_id field.
      • num_short_term_ref_pic_sets

        public byte num_short_term_ref_pic_sets()
        Returns:
        the value of the num_short_term_ref_pic_sets field.
      • PicOrderCntVal

        public int PicOrderCntVal()
        Returns:
        the value of the PicOrderCntVal field.
      • NumBitsForSTRefPicSetInSlice

        public short NumBitsForSTRefPicSetInSlice()
        number of bits used in st_ref_pic_set() when short_term_ref_pic_set_sps_flag is 0; otherwise set to 0
      • NumDeltaPocsOfRefRpsIdx

        public byte NumDeltaPocsOfRefRpsIdx()
        numDeltaPocs[ RefRpsIdx ] when short_term_ref_pic_set_sps_flag = 1, otherwise 0
      • RefPicSetStCurrBefore, RefPicSetStCurrAfter, RefPicSetLtCurr

        public java.nio.ByteBuffer RefPicSetStCurrBefore()
        
        public byte RefPicSetStCurrBefore​(int index)
        
        public java.nio.ByteBuffer RefPicSetStCurrAfter()
        
        public byte RefPicSetStCurrAfter​(int index)
        
        public java.nio.ByteBuffer RefPicSetLtCurr()
        
        public byte RefPicSetLtCurr​(int index)
        
        slotIndex as used in VkVideoReferenceSlotKHR structures representing pReferenceSlots in VkVideoDecodeInfoKHR, 0xff for invalid slotIndex
      • vps_video_parameter_set_id

        public StdVideoDecodeH265PictureInfo vps_video_parameter_set_id​(byte value)
        Sets the specified value to the vps_video_parameter_set_id field.
      • sps_seq_parameter_set_id

        public StdVideoDecodeH265PictureInfo sps_seq_parameter_set_id​(byte value)
        Sets the specified value to the sps_seq_parameter_set_id field.
      • pps_pic_parameter_set_id

        public StdVideoDecodeH265PictureInfo pps_pic_parameter_set_id​(byte value)
        Sets the specified value to the pps_pic_parameter_set_id field.
      • num_short_term_ref_pic_sets

        public StdVideoDecodeH265PictureInfo num_short_term_ref_pic_sets​(byte value)
        Sets the specified value to the num_short_term_ref_pic_sets field.
      • set

        public StdVideoDecodeH265PictureInfo set​(byte vps_video_parameter_set_id,
                                                 byte sps_seq_parameter_set_id,
                                                 byte pps_pic_parameter_set_id,
                                                 byte num_short_term_ref_pic_sets,
                                                 int PicOrderCntVal,
                                                 short NumBitsForSTRefPicSetInSlice,
                                                 byte NumDeltaPocsOfRefRpsIdx,
                                                 java.nio.ByteBuffer RefPicSetStCurrBefore,
                                                 java.nio.ByteBuffer RefPicSetStCurrAfter,
                                                 java.nio.ByteBuffer RefPicSetLtCurr,
                                                 StdVideoDecodeH265PictureInfoFlags flags)
        Initializes this struct with the specified values.
      • malloc

        public static StdVideoDecodeH265PictureInfo malloc()
        Returns a new StdVideoDecodeH265PictureInfo instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static StdVideoDecodeH265PictureInfo calloc()
        Returns a new StdVideoDecodeH265PictureInfo instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static StdVideoDecodeH265PictureInfo create​(long address)
        Returns a new StdVideoDecodeH265PictureInfo instance for the specified memory address.
      • malloc

        public static StdVideoDecodeH265PictureInfo malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoDecodeH265PictureInfo instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static StdVideoDecodeH265PictureInfo calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoDecodeH265PictureInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • nvps_video_parameter_set_id

        public static byte nvps_video_parameter_set_id​(long struct)
        Unsafe version of vps_video_parameter_set_id().
      • nsps_seq_parameter_set_id

        public static byte nsps_seq_parameter_set_id​(long struct)
        Unsafe version of sps_seq_parameter_set_id().
      • npps_pic_parameter_set_id

        public static byte npps_pic_parameter_set_id​(long struct)
        Unsafe version of pps_pic_parameter_set_id().
      • nnum_short_term_ref_pic_sets

        public static byte nnum_short_term_ref_pic_sets​(long struct)
      • nPicOrderCntVal

        public static int nPicOrderCntVal​(long struct)
        Unsafe version of PicOrderCntVal().
      • nNumBitsForSTRefPicSetInSlice

        public static short nNumBitsForSTRefPicSetInSlice​(long struct)
      • nNumDeltaPocsOfRefRpsIdx

        public static byte nNumDeltaPocsOfRefRpsIdx​(long struct)
        Unsafe version of NumDeltaPocsOfRefRpsIdx().
      • nRefPicSetStCurrBefore

        public static java.nio.ByteBuffer nRefPicSetStCurrBefore​(long struct)
        Unsafe version of RefPicSetStCurrBefore().
      • nRefPicSetStCurrBefore

        public static byte nRefPicSetStCurrBefore​(long struct,
                                                  int index)
        Unsafe version of RefPicSetStCurrBefore.
      • nRefPicSetStCurrAfter

        public static java.nio.ByteBuffer nRefPicSetStCurrAfter​(long struct)
        Unsafe version of RefPicSetStCurrAfter().
      • nRefPicSetStCurrAfter

        public static byte nRefPicSetStCurrAfter​(long struct,
                                                 int index)
        Unsafe version of RefPicSetStCurrAfter.
      • nRefPicSetLtCurr

        public static java.nio.ByteBuffer nRefPicSetLtCurr​(long struct)
        Unsafe version of RefPicSetLtCurr().
      • nRefPicSetLtCurr

        public static byte nRefPicSetLtCurr​(long struct,
                                            int index)
        Unsafe version of RefPicSetLtCurr.
      • nvps_video_parameter_set_id

        public static void nvps_video_parameter_set_id​(long struct,
                                                       byte value)
        Unsafe version of vps_video_parameter_set_id.
      • nsps_seq_parameter_set_id

        public static void nsps_seq_parameter_set_id​(long struct,
                                                     byte value)
        Unsafe version of sps_seq_parameter_set_id.
      • npps_pic_parameter_set_id

        public static void npps_pic_parameter_set_id​(long struct,
                                                     byte value)
        Unsafe version of pps_pic_parameter_set_id.
      • nnum_short_term_ref_pic_sets

        public static void nnum_short_term_ref_pic_sets​(long struct,
                                                        byte value)
        Unsafe version of num_short_term_ref_pic_sets.
      • nPicOrderCntVal

        public static void nPicOrderCntVal​(long struct,
                                           int value)
        Unsafe version of PicOrderCntVal.
      • nNumBitsForSTRefPicSetInSlice

        public static void nNumBitsForSTRefPicSetInSlice​(long struct,
                                                         short value)
        Unsafe version of NumBitsForSTRefPicSetInSlice.
      • nNumDeltaPocsOfRefRpsIdx

        public static void nNumDeltaPocsOfRefRpsIdx​(long struct,
                                                    byte value)
        Unsafe version of NumDeltaPocsOfRefRpsIdx.
      • nRefPicSetStCurrBefore

        public static void nRefPicSetStCurrBefore​(long struct,
                                                  java.nio.ByteBuffer value)
        Unsafe version of RefPicSetStCurrBefore.
      • nRefPicSetStCurrBefore

        public static void nRefPicSetStCurrBefore​(long struct,
                                                  int index,
                                                  byte value)
        Unsafe version of RefPicSetStCurrBefore.
      • nRefPicSetStCurrAfter

        public static void nRefPicSetStCurrAfter​(long struct,
                                                 java.nio.ByteBuffer value)
        Unsafe version of RefPicSetStCurrAfter.
      • nRefPicSetStCurrAfter

        public static void nRefPicSetStCurrAfter​(long struct,
                                                 int index,
                                                 byte value)
        Unsafe version of RefPicSetStCurrAfter.
      • nRefPicSetLtCurr

        public static void nRefPicSetLtCurr​(long struct,
                                            java.nio.ByteBuffer value)
        Unsafe version of RefPicSetLtCurr.
      • nRefPicSetLtCurr

        public static void nRefPicSetLtCurr​(long struct,
                                            int index,
                                            byte value)
        Unsafe version of RefPicSetLtCurr.