Record Class StdVideoEncodeAV1PictureInfoFlags

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeAV1PictureInfoFlags
All Implemented Interfaces:
IPointer, IStdVideoEncodeAV1PictureInfoFlags

@ValueBasedCandidate @UnsafeConstructor public record StdVideoEncodeAV1PictureInfoFlags(@NotNull MemorySegment segment) extends Record implements IStdVideoEncodeAV1PictureInfoFlags

Represents a pointer to a StdVideoEncodeAV1PictureInfoFlags structure in native memory.

Structure

typedef struct StdVideoEncodeAV1PictureInfoFlags {
    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 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 show_frame : 1;
    uint32_t showable_frame : 1;
    uint32_t reserved : 3;
} StdVideoEncodeAV1PictureInfoFlags;

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$bitfield$error_resilient_mode$reserved

      public static final MemoryLayout.PathElement PATH$bitfield$error_resilient_mode$reserved
    • LAYOUT$bitfield$error_resilient_mode$reserved

      public static final ValueLayout.OfInt LAYOUT$bitfield$error_resilient_mode$reserved
    • OFFSET$bitfield$error_resilient_mode$reserved

      public static final long OFFSET$bitfield$error_resilient_mode$reserved
  • Constructor Details

    • StdVideoEncodeAV1PictureInfoFlags

      public StdVideoEncodeAV1PictureInfoFlags(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a StdVideoEncodeAV1PictureInfoFlags record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details

    • allocate

      public static StdVideoEncodeAV1PictureInfoFlags allocate(Arena arena)
    • allocate

      public static StdVideoEncodeAV1PictureInfoFlags.Ptr allocate(Arena arena, long count)
    • clone

    • error_resilient_mode

      public boolean error_resilient_mode()
    • error_resilient_mode

      public StdVideoEncodeAV1PictureInfoFlags error_resilient_mode(boolean value)
    • disable_cdf_update

      public boolean disable_cdf_update()
    • disable_cdf_update

      public StdVideoEncodeAV1PictureInfoFlags disable_cdf_update(boolean value)
    • use_superres

      public boolean use_superres()
    • use_superres

      public StdVideoEncodeAV1PictureInfoFlags use_superres(boolean value)
    • render_and_frame_size_different

      public boolean render_and_frame_size_different()
    • render_and_frame_size_different

      public StdVideoEncodeAV1PictureInfoFlags render_and_frame_size_different(boolean value)
    • allow_screen_content_tools

      public boolean allow_screen_content_tools()
    • allow_screen_content_tools

      public StdVideoEncodeAV1PictureInfoFlags allow_screen_content_tools(boolean value)
    • is_filter_switchable

      public boolean is_filter_switchable()
    • is_filter_switchable

      public StdVideoEncodeAV1PictureInfoFlags is_filter_switchable(boolean value)
    • force_integer_mv

      public boolean force_integer_mv()
    • force_integer_mv

      public StdVideoEncodeAV1PictureInfoFlags force_integer_mv(boolean value)
    • frame_size_override_flag

      public boolean frame_size_override_flag()
    • frame_size_override_flag

      public StdVideoEncodeAV1PictureInfoFlags frame_size_override_flag(boolean value)
    • buffer_removal_time_present_flag

      public boolean buffer_removal_time_present_flag()
    • buffer_removal_time_present_flag

      public StdVideoEncodeAV1PictureInfoFlags buffer_removal_time_present_flag(boolean value)
    • allow_intrabc

      public boolean allow_intrabc()
    • allow_intrabc

      public StdVideoEncodeAV1PictureInfoFlags allow_intrabc(boolean value)
    • frame_refs_short_signaling

      public boolean frame_refs_short_signaling()
    • frame_refs_short_signaling

      public StdVideoEncodeAV1PictureInfoFlags frame_refs_short_signaling(boolean value)
    • allow_high_precision_mv

      public boolean allow_high_precision_mv()
    • allow_high_precision_mv

      public StdVideoEncodeAV1PictureInfoFlags allow_high_precision_mv(boolean value)
    • is_motion_mode_switchable

      public boolean is_motion_mode_switchable()
    • is_motion_mode_switchable

      public StdVideoEncodeAV1PictureInfoFlags is_motion_mode_switchable(boolean value)
    • use_ref_frame_mvs

      public boolean use_ref_frame_mvs()
    • use_ref_frame_mvs

      public StdVideoEncodeAV1PictureInfoFlags use_ref_frame_mvs(boolean value)
    • disable_frame_end_update_cdf

      public boolean disable_frame_end_update_cdf()
    • disable_frame_end_update_cdf

      public StdVideoEncodeAV1PictureInfoFlags disable_frame_end_update_cdf(boolean value)
    • allow_warped_motion

      public boolean allow_warped_motion()
    • allow_warped_motion

      public StdVideoEncodeAV1PictureInfoFlags allow_warped_motion(boolean value)
    • reduced_tx_set

      public boolean reduced_tx_set()
    • reduced_tx_set

      public StdVideoEncodeAV1PictureInfoFlags reduced_tx_set(boolean value)
    • skip_mode_present

      public boolean skip_mode_present()
    • skip_mode_present

      public StdVideoEncodeAV1PictureInfoFlags skip_mode_present(boolean value)
    • delta_q_present

      public boolean delta_q_present()
    • delta_q_present

      public StdVideoEncodeAV1PictureInfoFlags delta_q_present(boolean value)
    • delta_lf_present

      public boolean delta_lf_present()
    • delta_lf_present

      public StdVideoEncodeAV1PictureInfoFlags delta_lf_present(boolean value)
    • delta_lf_multi

      public boolean delta_lf_multi()
    • delta_lf_multi

      public StdVideoEncodeAV1PictureInfoFlags delta_lf_multi(boolean value)
    • segmentation_enabled

      public boolean segmentation_enabled()
    • segmentation_enabled

      public StdVideoEncodeAV1PictureInfoFlags segmentation_enabled(boolean value)
    • segmentation_update_map

      public boolean segmentation_update_map()
    • segmentation_update_map

      public StdVideoEncodeAV1PictureInfoFlags segmentation_update_map(boolean value)
    • segmentation_temporal_update

      public boolean segmentation_temporal_update()
    • segmentation_temporal_update

      public StdVideoEncodeAV1PictureInfoFlags segmentation_temporal_update(boolean value)
    • segmentation_update_data

      public boolean segmentation_update_data()
    • segmentation_update_data

      public StdVideoEncodeAV1PictureInfoFlags segmentation_update_data(boolean value)
    • UsesLr

      public boolean UsesLr()
    • UsesLr

      public StdVideoEncodeAV1PictureInfoFlags UsesLr(boolean value)
    • usesChromaLr

      public boolean usesChromaLr()
    • usesChromaLr

      public StdVideoEncodeAV1PictureInfoFlags usesChromaLr(boolean value)
    • show_frame

      public boolean show_frame()
    • show_frame

      public StdVideoEncodeAV1PictureInfoFlags show_frame(boolean value)
    • showable_frame

      public boolean showable_frame()
    • showable_frame

      public StdVideoEncodeAV1PictureInfoFlags showable_frame(boolean value)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • segment

      @NotNull public @NotNull MemorySegment segment()
      Returns the value of the segment record component.
      Specified by:
      segment in interface IPointer
      Returns:
      the value of the segment record component