Class StdVideoH264SpsFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoH264SpsFlags extends Struct<StdVideoH264SpsFlags> implements NativeResource

 struct StdVideoH264SpsFlags {
     uint32_t constraint_set0_flag : 1;
     uint32_t constraint_set1_flag : 1;
     uint32_t constraint_set2_flag : 1;
     uint32_t constraint_set3_flag : 1;
     uint32_t constraint_set4_flag : 1;
     uint32_t constraint_set5_flag : 1;
     uint32_t direct_8x8_inference_flag : 1;
     uint32_t mb_adaptive_frame_field_flag : 1;
     uint32_t frame_mbs_only_flag : 1;
     uint32_t delta_pic_order_always_zero_flag : 1;
     uint32_t separate_colour_plane_flag : 1;
     uint32_t gaps_in_frame_num_value_allowed_flag : 1;
     uint32_t qpprime_y_zero_transform_bypass_flag : 1;
     uint32_t frame_cropping_flag : 1;
     uint32_t seq_scaling_matrix_present_flag : 1;
     uint32_t vui_parameters_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

    • StdVideoH264SpsFlags

      public StdVideoH264SpsFlags(ByteBuffer container)
      Creates a StdVideoH264SpsFlags 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<StdVideoH264SpsFlags>
    • constraint_set0_flag

      public boolean constraint_set0_flag()
      Returns:
      the value of the constraint_set0_flag field.
    • constraint_set1_flag

      public boolean constraint_set1_flag()
      Returns:
      the value of the constraint_set1_flag field.
    • constraint_set2_flag

      public boolean constraint_set2_flag()
      Returns:
      the value of the constraint_set2_flag field.
    • constraint_set3_flag

      public boolean constraint_set3_flag()
      Returns:
      the value of the constraint_set3_flag field.
    • constraint_set4_flag

      public boolean constraint_set4_flag()
      Returns:
      the value of the constraint_set4_flag field.
    • constraint_set5_flag

      public boolean constraint_set5_flag()
      Returns:
      the value of the constraint_set5_flag field.
    • direct_8x8_inference_flag

      public boolean direct_8x8_inference_flag()
      Returns:
      the value of the direct_8x8_inference_flag field.
    • mb_adaptive_frame_field_flag

      public boolean mb_adaptive_frame_field_flag()
      Returns:
      the value of the mb_adaptive_frame_field_flag field.
    • frame_mbs_only_flag

      public boolean frame_mbs_only_flag()
      Returns:
      the value of the frame_mbs_only_flag field.
    • delta_pic_order_always_zero_flag

      public boolean delta_pic_order_always_zero_flag()
      Returns:
      the value of the delta_pic_order_always_zero_flag field.
    • separate_colour_plane_flag

      public boolean separate_colour_plane_flag()
      Returns:
      the value of the separate_colour_plane_flag field.
    • gaps_in_frame_num_value_allowed_flag

      public boolean gaps_in_frame_num_value_allowed_flag()
      Returns:
      the value of the gaps_in_frame_num_value_allowed_flag field.
    • qpprime_y_zero_transform_bypass_flag

      public boolean qpprime_y_zero_transform_bypass_flag()
      Returns:
      the value of the qpprime_y_zero_transform_bypass_flag field.
    • frame_cropping_flag

      public boolean frame_cropping_flag()
      Returns:
      the value of the frame_cropping_flag field.
    • seq_scaling_matrix_present_flag

      public boolean seq_scaling_matrix_present_flag()
      Returns:
      the value of the seq_scaling_matrix_present_flag field.
    • vui_parameters_present_flag

      public boolean vui_parameters_present_flag()
      Returns:
      the value of the vui_parameters_present_flag field.
    • constraint_set0_flag

      public StdVideoH264SpsFlags constraint_set0_flag(boolean value)
      Sets the specified value to the constraint_set0_flag field.
    • constraint_set1_flag

      public StdVideoH264SpsFlags constraint_set1_flag(boolean value)
      Sets the specified value to the constraint_set1_flag field.
    • constraint_set2_flag

      public StdVideoH264SpsFlags constraint_set2_flag(boolean value)
      Sets the specified value to the constraint_set2_flag field.
    • constraint_set3_flag

      public StdVideoH264SpsFlags constraint_set3_flag(boolean value)
      Sets the specified value to the constraint_set3_flag field.
    • constraint_set4_flag

      public StdVideoH264SpsFlags constraint_set4_flag(boolean value)
      Sets the specified value to the constraint_set4_flag field.
    • constraint_set5_flag

      public StdVideoH264SpsFlags constraint_set5_flag(boolean value)
      Sets the specified value to the constraint_set5_flag field.
    • direct_8x8_inference_flag

      public StdVideoH264SpsFlags direct_8x8_inference_flag(boolean value)
      Sets the specified value to the direct_8x8_inference_flag field.
    • mb_adaptive_frame_field_flag

      public StdVideoH264SpsFlags mb_adaptive_frame_field_flag(boolean value)
      Sets the specified value to the mb_adaptive_frame_field_flag field.
    • frame_mbs_only_flag

      public StdVideoH264SpsFlags frame_mbs_only_flag(boolean value)
      Sets the specified value to the frame_mbs_only_flag field.
    • delta_pic_order_always_zero_flag

      public StdVideoH264SpsFlags delta_pic_order_always_zero_flag(boolean value)
      Sets the specified value to the delta_pic_order_always_zero_flag field.
    • separate_colour_plane_flag

      public StdVideoH264SpsFlags separate_colour_plane_flag(boolean value)
      Sets the specified value to the separate_colour_plane_flag field.
    • gaps_in_frame_num_value_allowed_flag

      public StdVideoH264SpsFlags gaps_in_frame_num_value_allowed_flag(boolean value)
      Sets the specified value to the gaps_in_frame_num_value_allowed_flag field.
    • qpprime_y_zero_transform_bypass_flag

      public StdVideoH264SpsFlags qpprime_y_zero_transform_bypass_flag(boolean value)
      Sets the specified value to the qpprime_y_zero_transform_bypass_flag field.
    • frame_cropping_flag

      public StdVideoH264SpsFlags frame_cropping_flag(boolean value)
      Sets the specified value to the frame_cropping_flag field.
    • seq_scaling_matrix_present_flag

      public StdVideoH264SpsFlags seq_scaling_matrix_present_flag(boolean value)
      Sets the specified value to the seq_scaling_matrix_present_flag field.
    • vui_parameters_present_flag

      public StdVideoH264SpsFlags vui_parameters_present_flag(boolean value)
      Sets the specified value to the vui_parameters_present_flag field.
    • set

      public StdVideoH264SpsFlags set(boolean constraint_set0_flag, boolean constraint_set1_flag, boolean constraint_set2_flag, boolean constraint_set3_flag, boolean constraint_set4_flag, boolean constraint_set5_flag, boolean direct_8x8_inference_flag, boolean mb_adaptive_frame_field_flag, boolean frame_mbs_only_flag, boolean delta_pic_order_always_zero_flag, boolean separate_colour_plane_flag, boolean gaps_in_frame_num_value_allowed_flag, boolean qpprime_y_zero_transform_bypass_flag, boolean frame_cropping_flag, boolean seq_scaling_matrix_present_flag, boolean vui_parameters_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 StdVideoH264SpsFlags malloc()
      Returns a new StdVideoH264SpsFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static StdVideoH264SpsFlags.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new StdVideoH264SpsFlags.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)
    • nconstraint_set0_flag

      public static int nconstraint_set0_flag(long struct)
      Unsafe version of constraint_set0_flag().
    • nconstraint_set1_flag

      public static int nconstraint_set1_flag(long struct)
      Unsafe version of constraint_set1_flag().
    • nconstraint_set2_flag

      public static int nconstraint_set2_flag(long struct)
      Unsafe version of constraint_set2_flag().
    • nconstraint_set3_flag

      public static int nconstraint_set3_flag(long struct)
      Unsafe version of constraint_set3_flag().
    • nconstraint_set4_flag

      public static int nconstraint_set4_flag(long struct)
      Unsafe version of constraint_set4_flag().
    • nconstraint_set5_flag

      public static int nconstraint_set5_flag(long struct)
      Unsafe version of constraint_set5_flag().
    • ndirect_8x8_inference_flag

      public static int ndirect_8x8_inference_flag(long struct)
      Unsafe version of direct_8x8_inference_flag().
    • nmb_adaptive_frame_field_flag

      public static int nmb_adaptive_frame_field_flag(long struct)
    • nframe_mbs_only_flag

      public static int nframe_mbs_only_flag(long struct)
      Unsafe version of frame_mbs_only_flag().
    • ndelta_pic_order_always_zero_flag

      public static int ndelta_pic_order_always_zero_flag(long struct)
    • nseparate_colour_plane_flag

      public static int nseparate_colour_plane_flag(long struct)
      Unsafe version of separate_colour_plane_flag().
    • ngaps_in_frame_num_value_allowed_flag

      public static int ngaps_in_frame_num_value_allowed_flag(long struct)
    • nqpprime_y_zero_transform_bypass_flag

      public static int nqpprime_y_zero_transform_bypass_flag(long struct)
    • nframe_cropping_flag

      public static int nframe_cropping_flag(long struct)
      Unsafe version of frame_cropping_flag().
    • nseq_scaling_matrix_present_flag

      public static int nseq_scaling_matrix_present_flag(long struct)
    • nvui_parameters_present_flag

      public static int nvui_parameters_present_flag(long struct)
    • nbitfield0

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

      public static void nconstraint_set0_flag(long struct, int value)
      Unsafe version of constraint_set0_flag.
    • nconstraint_set1_flag

      public static void nconstraint_set1_flag(long struct, int value)
      Unsafe version of constraint_set1_flag.
    • nconstraint_set2_flag

      public static void nconstraint_set2_flag(long struct, int value)
      Unsafe version of constraint_set2_flag.
    • nconstraint_set3_flag

      public static void nconstraint_set3_flag(long struct, int value)
      Unsafe version of constraint_set3_flag.
    • nconstraint_set4_flag

      public static void nconstraint_set4_flag(long struct, int value)
      Unsafe version of constraint_set4_flag.
    • nconstraint_set5_flag

      public static void nconstraint_set5_flag(long struct, int value)
      Unsafe version of constraint_set5_flag.
    • ndirect_8x8_inference_flag

      public static void ndirect_8x8_inference_flag(long struct, int value)
      Unsafe version of direct_8x8_inference_flag.
    • nmb_adaptive_frame_field_flag

      public static void nmb_adaptive_frame_field_flag(long struct, int value)
      Unsafe version of mb_adaptive_frame_field_flag.
    • nframe_mbs_only_flag

      public static void nframe_mbs_only_flag(long struct, int value)
      Unsafe version of frame_mbs_only_flag.
    • ndelta_pic_order_always_zero_flag

      public static void ndelta_pic_order_always_zero_flag(long struct, int value)
    • nseparate_colour_plane_flag

      public static void nseparate_colour_plane_flag(long struct, int value)
      Unsafe version of separate_colour_plane_flag.
    • ngaps_in_frame_num_value_allowed_flag

      public static void ngaps_in_frame_num_value_allowed_flag(long struct, int value)
    • nqpprime_y_zero_transform_bypass_flag

      public static void nqpprime_y_zero_transform_bypass_flag(long struct, int value)
    • nframe_cropping_flag

      public static void nframe_cropping_flag(long struct, int value)
      Unsafe version of frame_cropping_flag.
    • nseq_scaling_matrix_present_flag

      public static void nseq_scaling_matrix_present_flag(long struct, int value)
    • nvui_parameters_present_flag

      public static void nvui_parameters_present_flag(long struct, int value)
      Unsafe version of vui_parameters_present_flag.