Class StdVideoH264PictureParameterSet

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

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

    Layout

    
     struct StdVideoH264PictureParameterSet {
         uint8_t seq_parameter_set_id;
         uint8_t pic_parameter_set_id;
         uint8_t num_ref_idx_l0_default_active_minus1;
         uint8_t num_ref_idx_l1_default_active_minus1;
         StdVideoH264WeightedBipredIdc weighted_bipred_idc;
         int8_t pic_init_qp_minus26;
         int8_t pic_init_qs_minus26;
         int8_t chroma_qp_index_offset;
         int8_t second_chroma_qp_index_offset;
         StdVideoH264PpsFlags flags;
         StdVideoH264ScalingLists * pScalingLists();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • SEQ_PARAMETER_SET_ID, PIC_PARAMETER_SET_ID, NUM_REF_IDX_L0_DEFAULT_ACTIVE_MINUS1, NUM_REF_IDX_L1_DEFAULT_ACTIVE_MINUS1, WEIGHTED_BIPRED_IDC, PIC_INIT_QP_MINUS26, PIC_INIT_QS_MINUS26, CHROMA_QP_INDEX_OFFSET, SECOND_CHROMA_QP_INDEX_OFFSET, FLAGS, PSCALINGLISTS

        The struct member offsets.
    • Constructor Detail

      • StdVideoH264PictureParameterSet

        public StdVideoH264PictureParameterSet​(java.nio.ByteBuffer container)
        Creates a StdVideoH264PictureParameterSet 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
      • seq_parameter_set_id

        public byte seq_parameter_set_id()
        Returns:
        the value of the seq_parameter_set_id field.
      • pic_parameter_set_id

        public byte pic_parameter_set_id()
        Returns:
        the value of the pic_parameter_set_id field.
      • num_ref_idx_l0_default_active_minus1

        public byte num_ref_idx_l0_default_active_minus1()
        Returns:
        the value of the num_ref_idx_l0_default_active_minus1 field.
      • num_ref_idx_l1_default_active_minus1

        public byte num_ref_idx_l1_default_active_minus1()
        Returns:
        the value of the num_ref_idx_l1_default_active_minus1 field.
      • weighted_bipred_idc

        public int weighted_bipred_idc()
        Returns:
        the value of the weighted_bipred_idc field.
      • pic_init_qp_minus26

        public byte pic_init_qp_minus26()
        Returns:
        the value of the pic_init_qp_minus26 field.
      • pic_init_qs_minus26

        public byte pic_init_qs_minus26()
        Returns:
        the value of the pic_init_qs_minus26 field.
      • chroma_qp_index_offset

        public byte chroma_qp_index_offset()
        Returns:
        the value of the chroma_qp_index_offset field.
      • second_chroma_qp_index_offset

        public byte second_chroma_qp_index_offset()
        Returns:
        the value of the second_chroma_qp_index_offset field.
      • pScalingLists

        public StdVideoH264ScalingLists pScalingLists()
        must be a valid pointer if StdVideoH264PpsFlags::pic_scaling_matrix_present_flag is set
      • seq_parameter_set_id

        public StdVideoH264PictureParameterSet seq_parameter_set_id​(byte value)
        Sets the specified value to the seq_parameter_set_id field.
      • pic_parameter_set_id

        public StdVideoH264PictureParameterSet pic_parameter_set_id​(byte value)
        Sets the specified value to the pic_parameter_set_id field.
      • num_ref_idx_l0_default_active_minus1

        public StdVideoH264PictureParameterSet num_ref_idx_l0_default_active_minus1​(byte value)
        Sets the specified value to the num_ref_idx_l0_default_active_minus1 field.
      • num_ref_idx_l1_default_active_minus1

        public StdVideoH264PictureParameterSet num_ref_idx_l1_default_active_minus1​(byte value)
        Sets the specified value to the num_ref_idx_l1_default_active_minus1 field.
      • weighted_bipred_idc

        public StdVideoH264PictureParameterSet weighted_bipred_idc​(int value)
        Sets the specified value to the weighted_bipred_idc field.
      • pic_init_qp_minus26

        public StdVideoH264PictureParameterSet pic_init_qp_minus26​(byte value)
        Sets the specified value to the pic_init_qp_minus26 field.
      • pic_init_qs_minus26

        public StdVideoH264PictureParameterSet pic_init_qs_minus26​(byte value)
        Sets the specified value to the pic_init_qs_minus26 field.
      • chroma_qp_index_offset

        public StdVideoH264PictureParameterSet chroma_qp_index_offset​(byte value)
        Sets the specified value to the chroma_qp_index_offset field.
      • second_chroma_qp_index_offset

        public StdVideoH264PictureParameterSet second_chroma_qp_index_offset​(byte value)
        Sets the specified value to the second_chroma_qp_index_offset field.
      • set

        public StdVideoH264PictureParameterSet set​(byte seq_parameter_set_id,
                                                   byte pic_parameter_set_id,
                                                   byte num_ref_idx_l0_default_active_minus1,
                                                   byte num_ref_idx_l1_default_active_minus1,
                                                   int weighted_bipred_idc,
                                                   byte pic_init_qp_minus26,
                                                   byte pic_init_qs_minus26,
                                                   byte chroma_qp_index_offset,
                                                   byte second_chroma_qp_index_offset,
                                                   StdVideoH264PpsFlags flags,
                                                   StdVideoH264ScalingLists pScalingLists)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

        public static byte nseq_parameter_set_id​(long struct)
        Unsafe version of seq_parameter_set_id().
      • npic_parameter_set_id

        public static byte npic_parameter_set_id​(long struct)
        Unsafe version of pic_parameter_set_id().
      • nweighted_bipred_idc

        public static int nweighted_bipred_idc​(long struct)
        Unsafe version of weighted_bipred_idc().
      • npic_init_qp_minus26

        public static byte npic_init_qp_minus26​(long struct)
        Unsafe version of pic_init_qp_minus26().
      • npic_init_qs_minus26

        public static byte npic_init_qs_minus26​(long struct)
        Unsafe version of pic_init_qs_minus26().
      • nchroma_qp_index_offset

        public static byte nchroma_qp_index_offset​(long struct)
        Unsafe version of chroma_qp_index_offset().
      • nseq_parameter_set_id

        public static void nseq_parameter_set_id​(long struct,
                                                 byte value)
        Unsafe version of seq_parameter_set_id.
      • npic_parameter_set_id

        public static void npic_parameter_set_id​(long struct,
                                                 byte value)
        Unsafe version of pic_parameter_set_id.
      • nnum_ref_idx_l0_default_active_minus1

        public static void nnum_ref_idx_l0_default_active_minus1​(long struct,
                                                                 byte value)
      • nnum_ref_idx_l1_default_active_minus1

        public static void nnum_ref_idx_l1_default_active_minus1​(long struct,
                                                                 byte value)
      • nweighted_bipred_idc

        public static void nweighted_bipred_idc​(long struct,
                                                int value)
        Unsafe version of weighted_bipred_idc.
      • npic_init_qp_minus26

        public static void npic_init_qp_minus26​(long struct,
                                                byte value)
        Unsafe version of pic_init_qp_minus26.
      • npic_init_qs_minus26

        public static void npic_init_qs_minus26​(long struct,
                                                byte value)
        Unsafe version of pic_init_qs_minus26.
      • nchroma_qp_index_offset

        public static void nchroma_qp_index_offset​(long struct,
                                                   byte value)
        Unsafe version of chroma_qp_index_offset.
      • nsecond_chroma_qp_index_offset

        public static void nsecond_chroma_qp_index_offset​(long struct,
                                                          byte value)
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate