Class StdVideoH264PpsFlags

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

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

    Layout

    
     struct StdVideoH264PpsFlags {
         uint32_t transform_8x8_mode_flag : 1;
         uint32_t redundant_pic_cnt_present_flag : 1;
         uint32_t constrained_intra_pred_flag : 1;
         uint32_t deblocking_filter_control_present_flag : 1;
         uint32_t weighted_bipred_idc_flag : 1;
         uint32_t weighted_pred_flag : 1;
         uint32_t pic_order_present_flag : 1;
         uint32_t entropy_coding_mode_flag : 1;
         uint32_t pic_scaling_matrix_present_flag : 1;
     }
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
      • ALIGNOF

        public static final int ALIGNOF
        The struct alignment in bytes.
      • BITFIELD0

        public static final int BITFIELD0
        The struct member offsets.
    • Constructor Detail

      • StdVideoH264PpsFlags

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

        public boolean transform_8x8_mode_flag()
        Returns:
        the value of the transform_8x8_mode_flag field.
      • redundant_pic_cnt_present_flag

        public boolean redundant_pic_cnt_present_flag()
        Returns:
        the value of the redundant_pic_cnt_present_flag field.
      • constrained_intra_pred_flag

        public boolean constrained_intra_pred_flag()
        Returns:
        the value of the constrained_intra_pred_flag field.
      • deblocking_filter_control_present_flag

        public boolean deblocking_filter_control_present_flag()
        Returns:
        the value of the deblocking_filter_control_present_flag field.
      • weighted_bipred_idc_flag

        public boolean weighted_bipred_idc_flag()
        Returns:
        the value of the weighted_bipred_idc_flag field.
      • weighted_pred_flag

        public boolean weighted_pred_flag()
        Returns:
        the value of the weighted_pred_flag field.
      • pic_order_present_flag

        public boolean pic_order_present_flag()
        Returns:
        the value of the pic_order_present_flag field.
      • entropy_coding_mode_flag

        public boolean entropy_coding_mode_flag()
        Returns:
        the value of the entropy_coding_mode_flag field.
      • pic_scaling_matrix_present_flag

        public boolean pic_scaling_matrix_present_flag()
        Returns:
        the value of the pic_scaling_matrix_present_flag field.
      • transform_8x8_mode_flag

        public StdVideoH264PpsFlags transform_8x8_mode_flag​(boolean value)
        Sets the specified value to the transform_8x8_mode_flag field.
      • redundant_pic_cnt_present_flag

        public StdVideoH264PpsFlags redundant_pic_cnt_present_flag​(boolean value)
        Sets the specified value to the redundant_pic_cnt_present_flag field.
      • constrained_intra_pred_flag

        public StdVideoH264PpsFlags constrained_intra_pred_flag​(boolean value)
        Sets the specified value to the constrained_intra_pred_flag field.
      • deblocking_filter_control_present_flag

        public StdVideoH264PpsFlags deblocking_filter_control_present_flag​(boolean value)
        Sets the specified value to the deblocking_filter_control_present_flag field.
      • weighted_bipred_idc_flag

        public StdVideoH264PpsFlags weighted_bipred_idc_flag​(boolean value)
        Sets the specified value to the weighted_bipred_idc_flag field.
      • weighted_pred_flag

        public StdVideoH264PpsFlags weighted_pred_flag​(boolean value)
        Sets the specified value to the weighted_pred_flag field.
      • pic_order_present_flag

        public StdVideoH264PpsFlags pic_order_present_flag​(boolean value)
        Sets the specified value to the pic_order_present_flag field.
      • entropy_coding_mode_flag

        public StdVideoH264PpsFlags entropy_coding_mode_flag​(boolean value)
        Sets the specified value to the entropy_coding_mode_flag field.
      • pic_scaling_matrix_present_flag

        public StdVideoH264PpsFlags pic_scaling_matrix_present_flag​(boolean value)
        Sets the specified value to the pic_scaling_matrix_present_flag field.
      • set

        public StdVideoH264PpsFlags set​(boolean transform_8x8_mode_flag,
                                        boolean redundant_pic_cnt_present_flag,
                                        boolean constrained_intra_pred_flag,
                                        boolean deblocking_filter_control_present_flag,
                                        boolean weighted_bipred_idc_flag,
                                        boolean weighted_pred_flag,
                                        boolean pic_order_present_flag,
                                        boolean entropy_coding_mode_flag,
                                        boolean pic_scaling_matrix_present_flag)
        Initializes this struct with the specified values.
      • malloc

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

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

        public static StdVideoH264PpsFlags create()
        Returns a new StdVideoH264PpsFlags instance allocated with BufferUtils.
      • create

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

        @Nullable
        public static StdVideoH264PpsFlags createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

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

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

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

        public static StdVideoH264PpsFlags.Buffer calloc​(int capacity,
                                                         org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoH264PpsFlags.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nbitfield0

        public static int nbitfield0​(long struct)
      • ntransform_8x8_mode_flag

        public static int ntransform_8x8_mode_flag​(long struct)
        Unsafe version of transform_8x8_mode_flag().
      • nconstrained_intra_pred_flag

        public static int nconstrained_intra_pred_flag​(long struct)
      • nweighted_bipred_idc_flag

        public static int nweighted_bipred_idc_flag​(long struct)
        Unsafe version of weighted_bipred_idc_flag().
      • nweighted_pred_flag

        public static int nweighted_pred_flag​(long struct)
        Unsafe version of weighted_pred_flag().
      • npic_order_present_flag

        public static int npic_order_present_flag​(long struct)
        Unsafe version of pic_order_present_flag().
      • nentropy_coding_mode_flag

        public static int nentropy_coding_mode_flag​(long struct)
        Unsafe version of entropy_coding_mode_flag().
      • nbitfield0

        public static void nbitfield0​(long struct,
                                      int value)
      • ntransform_8x8_mode_flag

        public static void ntransform_8x8_mode_flag​(long struct,
                                                    int value)
        Unsafe version of transform_8x8_mode_flag.
      • nredundant_pic_cnt_present_flag

        public static void nredundant_pic_cnt_present_flag​(long struct,
                                                           int value)
      • nconstrained_intra_pred_flag

        public static void nconstrained_intra_pred_flag​(long struct,
                                                        int value)
        Unsafe version of constrained_intra_pred_flag.
      • nweighted_bipred_idc_flag

        public static void nweighted_bipred_idc_flag​(long struct,
                                                     int value)
        Unsafe version of weighted_bipred_idc_flag.
      • nweighted_pred_flag

        public static void nweighted_pred_flag​(long struct,
                                               int value)
        Unsafe version of weighted_pred_flag.
      • npic_order_present_flag

        public static void npic_order_present_flag​(long struct,
                                                   int value)
        Unsafe version of pic_order_present_flag.
      • nentropy_coding_mode_flag

        public static void nentropy_coding_mode_flag​(long struct,
                                                     int value)
        Unsafe version of entropy_coding_mode_flag.
      • npic_scaling_matrix_present_flag

        public static void npic_scaling_matrix_present_flag​(long struct,
                                                            int value)