Class StdVideoH264PpsFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH264PpsFlags extends Struct<StdVideoH264PpsFlags> implements NativeResource

 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_pred_flag : 1;
     uint32_t bottom_field_pic_order_in_frame_present_flag : 1;
     uint32_t entropy_coding_mode_flag : 1;
     uint32_t pic_scaling_matrix_present_flag : 1;
 }
  • Field Details

    • 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 Details

    • StdVideoH264PpsFlags

      public StdVideoH264PpsFlags(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 Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<StdVideoH264PpsFlags>
    • 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_pred_flag

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

      public boolean bottom_field_pic_order_in_frame_present_flag()
      Returns:
      the value of the bottom_field_pic_order_in_frame_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_pred_flag

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

      public StdVideoH264PpsFlags bottom_field_pic_order_in_frame_present_flag(boolean value)
      Sets the specified value to the bottom_field_pic_order_in_frame_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_pred_flag, boolean bottom_field_pic_order_in_frame_present_flag, boolean entropy_coding_mode_flag, boolean pic_scaling_matrix_present_flag)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • 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

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

      public static StdVideoH264PpsFlags.Buffer malloc(int capacity)
      Returns a new StdVideoH264PpsFlags.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static StdVideoH264PpsFlags.Buffer calloc(int capacity)
      Returns a new StdVideoH264PpsFlags.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoH264PpsFlags.Buffer create(int capacity)
      Returns a new StdVideoH264PpsFlags.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoH264PpsFlags.Buffer create(long address, int capacity)
      Create a StdVideoH264PpsFlags.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

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

      public static StdVideoH264PpsFlags malloc(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(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, MemoryStack stack)
      Returns a new StdVideoH264PpsFlags.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static StdVideoH264PpsFlags.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new StdVideoH264PpsFlags.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • 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().
    • nredundant_pic_cnt_present_flag

      public static int nredundant_pic_cnt_present_flag(long struct)
    • nconstrained_intra_pred_flag

      public static int nconstrained_intra_pred_flag(long struct)
    • ndeblocking_filter_control_present_flag

      public static int ndeblocking_filter_control_present_flag(long struct)
    • nweighted_pred_flag

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

      public static int nbottom_field_pic_order_in_frame_present_flag(long struct)
    • nentropy_coding_mode_flag

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

      public static int npic_scaling_matrix_present_flag(long struct)
    • 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.
    • ndeblocking_filter_control_present_flag

      public static void ndeblocking_filter_control_present_flag(long struct, int value)
    • nweighted_pred_flag

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

      public static void nbottom_field_pic_order_in_frame_present_flag(long struct, int value)
    • 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)