Class StdVideoAV1SequenceHeaderFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoAV1SequenceHeaderFlags extends Struct<StdVideoAV1SequenceHeaderFlags> implements NativeResource

 struct StdVideoAV1SequenceHeaderFlags {
     uint32_t still_picture : 1;
     uint32_t reduced_still_picture_header : 1;
     uint32_t use_128x128_superblock : 1;
     uint32_t enable_filter_intra : 1;
     uint32_t enable_intra_edge_filter : 1;
     uint32_t enable_interintra_compound : 1;
     uint32_t enable_masked_compound : 1;
     uint32_t enable_warped_motion : 1;
     uint32_t enable_dual_filter : 1;
     uint32_t enable_order_hint : 1;
     uint32_t enable_jnt_comp : 1;
     uint32_t enable_ref_frame_mvs : 1;
     uint32_t frame_id_numbers_present_flag : 1;
     uint32_t enable_superres : 1;
     uint32_t enable_cdef : 1;
     uint32_t enable_restoration : 1;
     uint32_t film_grain_params_present : 1;
     uint32_t timing_info_present_flag : 1;
     uint32_t initial_display_delay_present_flag : 1;
     uint32_t reserved : 13;
 }
  • 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.
    • BITFIELD1

      public static final int BITFIELD1
      The struct member offsets.
  • Constructor Details

    • StdVideoAV1SequenceHeaderFlags

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

      public boolean still_picture()
      Returns:
      the value of the still_picture field.
    • reduced_still_picture_header

      public boolean reduced_still_picture_header()
      Returns:
      the value of the reduced_still_picture_header field.
    • use_128x128_superblock

      public boolean use_128x128_superblock()
      Returns:
      the value of the use_128x128_superblock field.
    • enable_filter_intra

      public boolean enable_filter_intra()
      Returns:
      the value of the enable_filter_intra field.
    • enable_intra_edge_filter

      public boolean enable_intra_edge_filter()
      Returns:
      the value of the enable_intra_edge_filter field.
    • enable_interintra_compound

      public boolean enable_interintra_compound()
      Returns:
      the value of the enable_interintra_compound field.
    • enable_masked_compound

      public boolean enable_masked_compound()
      Returns:
      the value of the enable_masked_compound field.
    • enable_warped_motion

      public boolean enable_warped_motion()
      Returns:
      the value of the enable_warped_motion field.
    • enable_dual_filter

      public boolean enable_dual_filter()
      Returns:
      the value of the enable_dual_filter field.
    • enable_order_hint

      public boolean enable_order_hint()
      Returns:
      the value of the enable_order_hint field.
    • enable_jnt_comp

      public boolean enable_jnt_comp()
      Returns:
      the value of the enable_jnt_comp field.
    • enable_ref_frame_mvs

      public boolean enable_ref_frame_mvs()
      Returns:
      the value of the enable_ref_frame_mvs field.
    • frame_id_numbers_present_flag

      public boolean frame_id_numbers_present_flag()
      Returns:
      the value of the frame_id_numbers_present_flag field.
    • enable_superres

      public boolean enable_superres()
      Returns:
      the value of the enable_superres field.
    • enable_cdef

      public boolean enable_cdef()
      Returns:
      the value of the enable_cdef field.
    • enable_restoration

      public boolean enable_restoration()
      Returns:
      the value of the enable_restoration field.
    • film_grain_params_present

      public boolean film_grain_params_present()
      Returns:
      the value of the film_grain_params_present field.
    • timing_info_present_flag

      public boolean timing_info_present_flag()
      Returns:
      the value of the timing_info_present_flag field.
    • initial_display_delay_present_flag

      public boolean initial_display_delay_present_flag()
      Returns:
      the value of the initial_display_delay_present_flag field.
    • still_picture

      public StdVideoAV1SequenceHeaderFlags still_picture(boolean value)
      Sets the specified value to the still_picture field.
    • reduced_still_picture_header

      public StdVideoAV1SequenceHeaderFlags reduced_still_picture_header(boolean value)
      Sets the specified value to the reduced_still_picture_header field.
    • use_128x128_superblock

      public StdVideoAV1SequenceHeaderFlags use_128x128_superblock(boolean value)
      Sets the specified value to the use_128x128_superblock field.
    • enable_filter_intra

      public StdVideoAV1SequenceHeaderFlags enable_filter_intra(boolean value)
      Sets the specified value to the enable_filter_intra field.
    • enable_intra_edge_filter

      public StdVideoAV1SequenceHeaderFlags enable_intra_edge_filter(boolean value)
      Sets the specified value to the enable_intra_edge_filter field.
    • enable_interintra_compound

      public StdVideoAV1SequenceHeaderFlags enable_interintra_compound(boolean value)
      Sets the specified value to the enable_interintra_compound field.
    • enable_masked_compound

      public StdVideoAV1SequenceHeaderFlags enable_masked_compound(boolean value)
      Sets the specified value to the enable_masked_compound field.
    • enable_warped_motion

      public StdVideoAV1SequenceHeaderFlags enable_warped_motion(boolean value)
      Sets the specified value to the enable_warped_motion field.
    • enable_dual_filter

      public StdVideoAV1SequenceHeaderFlags enable_dual_filter(boolean value)
      Sets the specified value to the enable_dual_filter field.
    • enable_order_hint

      public StdVideoAV1SequenceHeaderFlags enable_order_hint(boolean value)
      Sets the specified value to the enable_order_hint field.
    • enable_jnt_comp

      public StdVideoAV1SequenceHeaderFlags enable_jnt_comp(boolean value)
      Sets the specified value to the enable_jnt_comp field.
    • enable_ref_frame_mvs

      public StdVideoAV1SequenceHeaderFlags enable_ref_frame_mvs(boolean value)
      Sets the specified value to the enable_ref_frame_mvs field.
    • frame_id_numbers_present_flag

      public StdVideoAV1SequenceHeaderFlags frame_id_numbers_present_flag(boolean value)
      Sets the specified value to the frame_id_numbers_present_flag field.
    • enable_superres

      public StdVideoAV1SequenceHeaderFlags enable_superres(boolean value)
      Sets the specified value to the enable_superres field.
    • enable_cdef

      public StdVideoAV1SequenceHeaderFlags enable_cdef(boolean value)
      Sets the specified value to the enable_cdef field.
    • enable_restoration

      public StdVideoAV1SequenceHeaderFlags enable_restoration(boolean value)
      Sets the specified value to the enable_restoration field.
    • film_grain_params_present

      public StdVideoAV1SequenceHeaderFlags film_grain_params_present(boolean value)
      Sets the specified value to the film_grain_params_present field.
    • timing_info_present_flag

      public StdVideoAV1SequenceHeaderFlags timing_info_present_flag(boolean value)
      Sets the specified value to the timing_info_present_flag field.
    • initial_display_delay_present_flag

      public StdVideoAV1SequenceHeaderFlags initial_display_delay_present_flag(boolean value)
      Sets the specified value to the initial_display_delay_present_flag field.
    • set

      public StdVideoAV1SequenceHeaderFlags set(boolean still_picture, boolean reduced_still_picture_header, boolean use_128x128_superblock, boolean enable_filter_intra, boolean enable_intra_edge_filter, boolean enable_interintra_compound, boolean enable_masked_compound, boolean enable_warped_motion, boolean enable_dual_filter, boolean enable_order_hint, boolean enable_jnt_comp, boolean enable_ref_frame_mvs, boolean frame_id_numbers_present_flag, boolean enable_superres, boolean enable_cdef, boolean enable_restoration, boolean film_grain_params_present, boolean timing_info_present_flag, boolean initial_display_delay_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 StdVideoAV1SequenceHeaderFlags malloc()
      Returns a new StdVideoAV1SequenceHeaderFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nstill_picture(long struct)
      Unsafe version of still_picture().
    • nreduced_still_picture_header

      public static int nreduced_still_picture_header(long struct)
    • nuse_128x128_superblock

      public static int nuse_128x128_superblock(long struct)
      Unsafe version of use_128x128_superblock().
    • nenable_filter_intra

      public static int nenable_filter_intra(long struct)
      Unsafe version of enable_filter_intra().
    • nenable_intra_edge_filter

      public static int nenable_intra_edge_filter(long struct)
      Unsafe version of enable_intra_edge_filter().
    • nenable_interintra_compound

      public static int nenable_interintra_compound(long struct)
      Unsafe version of enable_interintra_compound().
    • nenable_masked_compound

      public static int nenable_masked_compound(long struct)
      Unsafe version of enable_masked_compound().
    • nenable_warped_motion

      public static int nenable_warped_motion(long struct)
      Unsafe version of enable_warped_motion().
    • nenable_dual_filter

      public static int nenable_dual_filter(long struct)
      Unsafe version of enable_dual_filter().
    • nenable_order_hint

      public static int nenable_order_hint(long struct)
      Unsafe version of enable_order_hint().
    • nenable_jnt_comp

      public static int nenable_jnt_comp(long struct)
      Unsafe version of enable_jnt_comp().
    • nenable_ref_frame_mvs

      public static int nenable_ref_frame_mvs(long struct)
      Unsafe version of enable_ref_frame_mvs().
    • nframe_id_numbers_present_flag

      public static int nframe_id_numbers_present_flag(long struct)
    • nenable_superres

      public static int nenable_superres(long struct)
      Unsafe version of enable_superres().
    • nenable_cdef

      public static int nenable_cdef(long struct)
      Unsafe version of enable_cdef().
    • nenable_restoration

      public static int nenable_restoration(long struct)
      Unsafe version of enable_restoration().
    • nfilm_grain_params_present

      public static int nfilm_grain_params_present(long struct)
      Unsafe version of film_grain_params_present().
    • ntiming_info_present_flag

      public static int ntiming_info_present_flag(long struct)
      Unsafe version of timing_info_present_flag().
    • ninitial_display_delay_present_flag

      public static int ninitial_display_delay_present_flag(long struct)
    • nbitfield1

      public static int nbitfield1(long struct)
    • nreserved

      public static int nreserved(long struct)
    • nbitfield0

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

      public static void nstill_picture(long struct, int value)
      Unsafe version of still_picture.
    • nreduced_still_picture_header

      public static void nreduced_still_picture_header(long struct, int value)
      Unsafe version of reduced_still_picture_header.
    • nuse_128x128_superblock

      public static void nuse_128x128_superblock(long struct, int value)
      Unsafe version of use_128x128_superblock.
    • nenable_filter_intra

      public static void nenable_filter_intra(long struct, int value)
      Unsafe version of enable_filter_intra.
    • nenable_intra_edge_filter

      public static void nenable_intra_edge_filter(long struct, int value)
      Unsafe version of enable_intra_edge_filter.
    • nenable_interintra_compound

      public static void nenable_interintra_compound(long struct, int value)
      Unsafe version of enable_interintra_compound.
    • nenable_masked_compound

      public static void nenable_masked_compound(long struct, int value)
      Unsafe version of enable_masked_compound.
    • nenable_warped_motion

      public static void nenable_warped_motion(long struct, int value)
      Unsafe version of enable_warped_motion.
    • nenable_dual_filter

      public static void nenable_dual_filter(long struct, int value)
      Unsafe version of enable_dual_filter.
    • nenable_order_hint

      public static void nenable_order_hint(long struct, int value)
      Unsafe version of enable_order_hint.
    • nenable_jnt_comp

      public static void nenable_jnt_comp(long struct, int value)
      Unsafe version of enable_jnt_comp.
    • nenable_ref_frame_mvs

      public static void nenable_ref_frame_mvs(long struct, int value)
      Unsafe version of enable_ref_frame_mvs.
    • nframe_id_numbers_present_flag

      public static void nframe_id_numbers_present_flag(long struct, int value)
    • nenable_superres

      public static void nenable_superres(long struct, int value)
      Unsafe version of enable_superres.
    • nenable_cdef

      public static void nenable_cdef(long struct, int value)
      Unsafe version of enable_cdef.
    • nenable_restoration

      public static void nenable_restoration(long struct, int value)
      Unsafe version of enable_restoration.
    • nfilm_grain_params_present

      public static void nfilm_grain_params_present(long struct, int value)
      Unsafe version of film_grain_params_present.
    • ntiming_info_present_flag

      public static void ntiming_info_present_flag(long struct, int value)
      Unsafe version of timing_info_present_flag.
    • ninitial_display_delay_present_flag

      public static void ninitial_display_delay_present_flag(long struct, int value)
    • nbitfield1

      public static void nbitfield1(long struct, int value)
    • nreserved

      public static void nreserved(long struct, int value)