Class StdVideoDecodeAV1PictureInfoFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoDecodeAV1PictureInfoFlags extends Struct<StdVideoDecodeAV1PictureInfoFlags> implements NativeResource

 struct StdVideoDecodeAV1PictureInfoFlags {
     uint32_t error_resilient_mode : 1;
     uint32_t disable_cdf_update : 1;
     uint32_t use_superres : 1;
     uint32_t render_and_frame_size_different : 1;
     uint32_t allow_screen_content_tools : 1;
     uint32_t is_filter_switchable : 1;
     uint32_t force_integer_mv : 1;
     uint32_t frame_size_override_flag : 1;
     uint32_t buffer_removal_time_present_flag : 1;
     uint32_t allow_intrabc : 1;
     uint32_t frame_refs_short_signaling : 1;
     uint32_t allow_high_precision_mv : 1;
     uint32_t is_motion_mode_switchable : 1;
     uint32_t use_ref_frame_mvs : 1;
     uint32_t disable_frame_end_update_cdf : 1;
     uint32_t allow_warped_motion : 1;
     uint32_t reduced_tx_set : 1;
     uint32_t reference_select : 1;
     uint32_t skip_mode_present : 1;
     uint32_t delta_q_present : 1;
     uint32_t delta_lf_present : 1;
     uint32_t delta_lf_multi : 1;
     uint32_t segmentation_enabled : 1;
     uint32_t segmentation_update_map : 1;
     uint32_t segmentation_temporal_update : 1;
     uint32_t segmentation_update_data : 1;
     uint32_t UsesLr : 1;
     uint32_t usesChromaLr : 1;
     uint32_t apply_grain : 1;
     uint32_t reserved : 3;
 }
  • 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

    • StdVideoDecodeAV1PictureInfoFlags

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

      public boolean error_resilient_mode()
      Returns:
      the value of the error_resilient_mode field.
    • disable_cdf_update

      public boolean disable_cdf_update()
      Returns:
      the value of the disable_cdf_update field.
    • use_superres

      public boolean use_superres()
      Returns:
      the value of the use_superres field.
    • render_and_frame_size_different

      public boolean render_and_frame_size_different()
      Returns:
      the value of the render_and_frame_size_different field.
    • allow_screen_content_tools

      public boolean allow_screen_content_tools()
      Returns:
      the value of the allow_screen_content_tools field.
    • is_filter_switchable

      public boolean is_filter_switchable()
      Returns:
      the value of the is_filter_switchable field.
    • force_integer_mv

      public boolean force_integer_mv()
      Returns:
      the value of the force_integer_mv field.
    • frame_size_override_flag

      public boolean frame_size_override_flag()
      Returns:
      the value of the frame_size_override_flag field.
    • buffer_removal_time_present_flag

      public boolean buffer_removal_time_present_flag()
      Returns:
      the value of the buffer_removal_time_present_flag field.
    • allow_intrabc

      public boolean allow_intrabc()
      Returns:
      the value of the allow_intrabc field.
    • frame_refs_short_signaling

      public boolean frame_refs_short_signaling()
      Returns:
      the value of the frame_refs_short_signaling field.
    • allow_high_precision_mv

      public boolean allow_high_precision_mv()
      Returns:
      the value of the allow_high_precision_mv field.
    • is_motion_mode_switchable

      public boolean is_motion_mode_switchable()
      Returns:
      the value of the is_motion_mode_switchable field.
    • use_ref_frame_mvs

      public boolean use_ref_frame_mvs()
      Returns:
      the value of the use_ref_frame_mvs field.
    • disable_frame_end_update_cdf

      public boolean disable_frame_end_update_cdf()
      Returns:
      the value of the disable_frame_end_update_cdf field.
    • allow_warped_motion

      public boolean allow_warped_motion()
      Returns:
      the value of the allow_warped_motion field.
    • reduced_tx_set

      public boolean reduced_tx_set()
      Returns:
      the value of the reduced_tx_set field.
    • reference_select

      public boolean reference_select()
      Returns:
      the value of the reference_select field.
    • skip_mode_present

      public boolean skip_mode_present()
      Returns:
      the value of the skip_mode_present field.
    • delta_q_present

      public boolean delta_q_present()
      Returns:
      the value of the delta_q_present field.
    • delta_lf_present

      public boolean delta_lf_present()
      Returns:
      the value of the delta_lf_present field.
    • delta_lf_multi

      public boolean delta_lf_multi()
      Returns:
      the value of the delta_lf_multi field.
    • segmentation_enabled

      public boolean segmentation_enabled()
      Returns:
      the value of the segmentation_enabled field.
    • segmentation_update_map

      public boolean segmentation_update_map()
      Returns:
      the value of the segmentation_update_map field.
    • segmentation_temporal_update

      public boolean segmentation_temporal_update()
      Returns:
      the value of the segmentation_temporal_update field.
    • segmentation_update_data

      public boolean segmentation_update_data()
      Returns:
      the value of the segmentation_update_data field.
    • UsesLr

      public boolean UsesLr()
      Returns:
      the value of the UsesLr field.
    • usesChromaLr

      public boolean usesChromaLr()
      Returns:
      the value of the usesChromaLr field.
    • apply_grain

      public boolean apply_grain()
      Returns:
      the value of the apply_grain field.
    • error_resilient_mode

      public StdVideoDecodeAV1PictureInfoFlags error_resilient_mode(boolean value)
      Sets the specified value to the error_resilient_mode field.
    • disable_cdf_update

      public StdVideoDecodeAV1PictureInfoFlags disable_cdf_update(boolean value)
      Sets the specified value to the disable_cdf_update field.
    • use_superres

      public StdVideoDecodeAV1PictureInfoFlags use_superres(boolean value)
      Sets the specified value to the use_superres field.
    • render_and_frame_size_different

      public StdVideoDecodeAV1PictureInfoFlags render_and_frame_size_different(boolean value)
      Sets the specified value to the render_and_frame_size_different field.
    • allow_screen_content_tools

      public StdVideoDecodeAV1PictureInfoFlags allow_screen_content_tools(boolean value)
      Sets the specified value to the allow_screen_content_tools field.
    • is_filter_switchable

      public StdVideoDecodeAV1PictureInfoFlags is_filter_switchable(boolean value)
      Sets the specified value to the is_filter_switchable field.
    • force_integer_mv

      public StdVideoDecodeAV1PictureInfoFlags force_integer_mv(boolean value)
      Sets the specified value to the force_integer_mv field.
    • frame_size_override_flag

      public StdVideoDecodeAV1PictureInfoFlags frame_size_override_flag(boolean value)
      Sets the specified value to the frame_size_override_flag field.
    • buffer_removal_time_present_flag

      public StdVideoDecodeAV1PictureInfoFlags buffer_removal_time_present_flag(boolean value)
      Sets the specified value to the buffer_removal_time_present_flag field.
    • allow_intrabc

      public StdVideoDecodeAV1PictureInfoFlags allow_intrabc(boolean value)
      Sets the specified value to the allow_intrabc field.
    • frame_refs_short_signaling

      public StdVideoDecodeAV1PictureInfoFlags frame_refs_short_signaling(boolean value)
      Sets the specified value to the frame_refs_short_signaling field.
    • allow_high_precision_mv

      public StdVideoDecodeAV1PictureInfoFlags allow_high_precision_mv(boolean value)
      Sets the specified value to the allow_high_precision_mv field.
    • is_motion_mode_switchable

      public StdVideoDecodeAV1PictureInfoFlags is_motion_mode_switchable(boolean value)
      Sets the specified value to the is_motion_mode_switchable field.
    • use_ref_frame_mvs

      public StdVideoDecodeAV1PictureInfoFlags use_ref_frame_mvs(boolean value)
      Sets the specified value to the use_ref_frame_mvs field.
    • disable_frame_end_update_cdf

      public StdVideoDecodeAV1PictureInfoFlags disable_frame_end_update_cdf(boolean value)
      Sets the specified value to the disable_frame_end_update_cdf field.
    • allow_warped_motion

      public StdVideoDecodeAV1PictureInfoFlags allow_warped_motion(boolean value)
      Sets the specified value to the allow_warped_motion field.
    • reduced_tx_set

      public StdVideoDecodeAV1PictureInfoFlags reduced_tx_set(boolean value)
      Sets the specified value to the reduced_tx_set field.
    • reference_select

      public StdVideoDecodeAV1PictureInfoFlags reference_select(boolean value)
      Sets the specified value to the reference_select field.
    • skip_mode_present

      public StdVideoDecodeAV1PictureInfoFlags skip_mode_present(boolean value)
      Sets the specified value to the skip_mode_present field.
    • delta_q_present

      public StdVideoDecodeAV1PictureInfoFlags delta_q_present(boolean value)
      Sets the specified value to the delta_q_present field.
    • delta_lf_present

      public StdVideoDecodeAV1PictureInfoFlags delta_lf_present(boolean value)
      Sets the specified value to the delta_lf_present field.
    • delta_lf_multi

      public StdVideoDecodeAV1PictureInfoFlags delta_lf_multi(boolean value)
      Sets the specified value to the delta_lf_multi field.
    • segmentation_enabled

      public StdVideoDecodeAV1PictureInfoFlags segmentation_enabled(boolean value)
      Sets the specified value to the segmentation_enabled field.
    • segmentation_update_map

      public StdVideoDecodeAV1PictureInfoFlags segmentation_update_map(boolean value)
      Sets the specified value to the segmentation_update_map field.
    • segmentation_temporal_update

      public StdVideoDecodeAV1PictureInfoFlags segmentation_temporal_update(boolean value)
      Sets the specified value to the segmentation_temporal_update field.
    • segmentation_update_data

      public StdVideoDecodeAV1PictureInfoFlags segmentation_update_data(boolean value)
      Sets the specified value to the segmentation_update_data field.
    • UsesLr

      public StdVideoDecodeAV1PictureInfoFlags UsesLr(boolean value)
      Sets the specified value to the UsesLr field.
    • usesChromaLr

      public StdVideoDecodeAV1PictureInfoFlags usesChromaLr(boolean value)
      Sets the specified value to the usesChromaLr field.
    • apply_grain

      public StdVideoDecodeAV1PictureInfoFlags apply_grain(boolean value)
      Sets the specified value to the apply_grain field.
    • set

      public StdVideoDecodeAV1PictureInfoFlags set(boolean error_resilient_mode, boolean disable_cdf_update, boolean use_superres, boolean render_and_frame_size_different, boolean allow_screen_content_tools, boolean is_filter_switchable, boolean force_integer_mv, boolean frame_size_override_flag, boolean buffer_removal_time_present_flag, boolean allow_intrabc, boolean frame_refs_short_signaling, boolean allow_high_precision_mv, boolean is_motion_mode_switchable, boolean use_ref_frame_mvs, boolean disable_frame_end_update_cdf, boolean allow_warped_motion, boolean reduced_tx_set, boolean reference_select, boolean skip_mode_present, boolean delta_q_present, boolean delta_lf_present, boolean delta_lf_multi, boolean segmentation_enabled, boolean segmentation_update_map, boolean segmentation_temporal_update, boolean segmentation_update_data, boolean UsesLr, boolean usesChromaLr, boolean apply_grain)
      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 StdVideoDecodeAV1PictureInfoFlags malloc()
      Returns a new StdVideoDecodeAV1PictureInfoFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int nerror_resilient_mode(long struct)
      Unsafe version of error_resilient_mode().
    • ndisable_cdf_update

      public static int ndisable_cdf_update(long struct)
      Unsafe version of disable_cdf_update().
    • nuse_superres

      public static int nuse_superres(long struct)
      Unsafe version of use_superres().
    • nrender_and_frame_size_different

      public static int nrender_and_frame_size_different(long struct)
    • nallow_screen_content_tools

      public static int nallow_screen_content_tools(long struct)
      Unsafe version of allow_screen_content_tools().
    • nis_filter_switchable

      public static int nis_filter_switchable(long struct)
      Unsafe version of is_filter_switchable().
    • nforce_integer_mv

      public static int nforce_integer_mv(long struct)
      Unsafe version of force_integer_mv().
    • nframe_size_override_flag

      public static int nframe_size_override_flag(long struct)
      Unsafe version of frame_size_override_flag().
    • nbuffer_removal_time_present_flag

      public static int nbuffer_removal_time_present_flag(long struct)
    • nallow_intrabc

      public static int nallow_intrabc(long struct)
      Unsafe version of allow_intrabc().
    • nframe_refs_short_signaling

      public static int nframe_refs_short_signaling(long struct)
      Unsafe version of frame_refs_short_signaling().
    • nallow_high_precision_mv

      public static int nallow_high_precision_mv(long struct)
      Unsafe version of allow_high_precision_mv().
    • nis_motion_mode_switchable

      public static int nis_motion_mode_switchable(long struct)
      Unsafe version of is_motion_mode_switchable().
    • nuse_ref_frame_mvs

      public static int nuse_ref_frame_mvs(long struct)
      Unsafe version of use_ref_frame_mvs().
    • ndisable_frame_end_update_cdf

      public static int ndisable_frame_end_update_cdf(long struct)
    • nallow_warped_motion

      public static int nallow_warped_motion(long struct)
      Unsafe version of allow_warped_motion().
    • nreduced_tx_set

      public static int nreduced_tx_set(long struct)
      Unsafe version of reduced_tx_set().
    • nreference_select

      public static int nreference_select(long struct)
      Unsafe version of reference_select().
    • nskip_mode_present

      public static int nskip_mode_present(long struct)
      Unsafe version of skip_mode_present().
    • ndelta_q_present

      public static int ndelta_q_present(long struct)
      Unsafe version of delta_q_present().
    • ndelta_lf_present

      public static int ndelta_lf_present(long struct)
      Unsafe version of delta_lf_present().
    • ndelta_lf_multi

      public static int ndelta_lf_multi(long struct)
      Unsafe version of delta_lf_multi().
    • nsegmentation_enabled

      public static int nsegmentation_enabled(long struct)
      Unsafe version of segmentation_enabled().
    • nsegmentation_update_map

      public static int nsegmentation_update_map(long struct)
      Unsafe version of segmentation_update_map().
    • nsegmentation_temporal_update

      public static int nsegmentation_temporal_update(long struct)
    • nsegmentation_update_data

      public static int nsegmentation_update_data(long struct)
      Unsafe version of segmentation_update_data().
    • nUsesLr

      public static int nUsesLr(long struct)
      Unsafe version of UsesLr().
    • nusesChromaLr

      public static int nusesChromaLr(long struct)
      Unsafe version of usesChromaLr().
    • napply_grain

      public static int napply_grain(long struct)
      Unsafe version of apply_grain().
    • nbitfield1

      public static int nbitfield1(long struct)
    • nreserved

      public static int nreserved(long struct)
    • nbitfield0

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

      public static void nerror_resilient_mode(long struct, int value)
      Unsafe version of error_resilient_mode.
    • ndisable_cdf_update

      public static void ndisable_cdf_update(long struct, int value)
      Unsafe version of disable_cdf_update.
    • nuse_superres

      public static void nuse_superres(long struct, int value)
      Unsafe version of use_superres.
    • nrender_and_frame_size_different

      public static void nrender_and_frame_size_different(long struct, int value)
    • nallow_screen_content_tools

      public static void nallow_screen_content_tools(long struct, int value)
      Unsafe version of allow_screen_content_tools.
    • nis_filter_switchable

      public static void nis_filter_switchable(long struct, int value)
      Unsafe version of is_filter_switchable.
    • nforce_integer_mv

      public static void nforce_integer_mv(long struct, int value)
      Unsafe version of force_integer_mv.
    • nframe_size_override_flag

      public static void nframe_size_override_flag(long struct, int value)
      Unsafe version of frame_size_override_flag.
    • nbuffer_removal_time_present_flag

      public static void nbuffer_removal_time_present_flag(long struct, int value)
    • nallow_intrabc

      public static void nallow_intrabc(long struct, int value)
      Unsafe version of allow_intrabc.
    • nframe_refs_short_signaling

      public static void nframe_refs_short_signaling(long struct, int value)
      Unsafe version of frame_refs_short_signaling.
    • nallow_high_precision_mv

      public static void nallow_high_precision_mv(long struct, int value)
      Unsafe version of allow_high_precision_mv.
    • nis_motion_mode_switchable

      public static void nis_motion_mode_switchable(long struct, int value)
      Unsafe version of is_motion_mode_switchable.
    • nuse_ref_frame_mvs

      public static void nuse_ref_frame_mvs(long struct, int value)
      Unsafe version of use_ref_frame_mvs.
    • ndisable_frame_end_update_cdf

      public static void ndisable_frame_end_update_cdf(long struct, int value)
      Unsafe version of disable_frame_end_update_cdf.
    • nallow_warped_motion

      public static void nallow_warped_motion(long struct, int value)
      Unsafe version of allow_warped_motion.
    • nreduced_tx_set

      public static void nreduced_tx_set(long struct, int value)
      Unsafe version of reduced_tx_set.
    • nreference_select

      public static void nreference_select(long struct, int value)
      Unsafe version of reference_select.
    • nskip_mode_present

      public static void nskip_mode_present(long struct, int value)
      Unsafe version of skip_mode_present.
    • ndelta_q_present

      public static void ndelta_q_present(long struct, int value)
      Unsafe version of delta_q_present.
    • ndelta_lf_present

      public static void ndelta_lf_present(long struct, int value)
      Unsafe version of delta_lf_present.
    • ndelta_lf_multi

      public static void ndelta_lf_multi(long struct, int value)
      Unsafe version of delta_lf_multi.
    • nsegmentation_enabled

      public static void nsegmentation_enabled(long struct, int value)
      Unsafe version of segmentation_enabled.
    • nsegmentation_update_map

      public static void nsegmentation_update_map(long struct, int value)
      Unsafe version of segmentation_update_map.
    • nsegmentation_temporal_update

      public static void nsegmentation_temporal_update(long struct, int value)
      Unsafe version of segmentation_temporal_update.
    • nsegmentation_update_data

      public static void nsegmentation_update_data(long struct, int value)
      Unsafe version of segmentation_update_data.
    • nUsesLr

      public static void nUsesLr(long struct, int value)
      Unsafe version of UsesLr.
    • nusesChromaLr

      public static void nusesChromaLr(long struct, int value)
      Unsafe version of usesChromaLr.
    • napply_grain

      public static void napply_grain(long struct, int value)
      Unsafe version of apply_grain.
    • nbitfield1

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

      public static void nreserved(long struct, int value)