Record Class StdVideoAV1SequenceHeaderFlags

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoAV1SequenceHeaderFlags
All Implemented Interfaces:
IPointer, IStdVideoAV1SequenceHeaderFlags

@ValueBasedCandidate @UnsafeConstructor public record StdVideoAV1SequenceHeaderFlags(@NotNull MemorySegment segment) extends Record implements IStdVideoAV1SequenceHeaderFlags

Represents a pointer to a StdVideoAV1SequenceHeaderFlags structure in native memory.

Structure

typedef 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;
} StdVideoAV1SequenceHeaderFlags;

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$still_picture$reserved

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

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

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

    • StdVideoAV1SequenceHeaderFlags

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

    • allocate

      public static StdVideoAV1SequenceHeaderFlags allocate(Arena arena)
    • allocate

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

    • still_picture

      public boolean still_picture()
    • still_picture

      public StdVideoAV1SequenceHeaderFlags still_picture(boolean value)
    • reduced_still_picture_header

      public boolean reduced_still_picture_header()
    • reduced_still_picture_header

      public StdVideoAV1SequenceHeaderFlags reduced_still_picture_header(boolean value)
    • use_128x128_superblock

      public boolean use_128x128_superblock()
    • use_128x128_superblock

      public StdVideoAV1SequenceHeaderFlags use_128x128_superblock(boolean value)
    • enable_filter_intra

      public boolean enable_filter_intra()
    • enable_filter_intra

      public StdVideoAV1SequenceHeaderFlags enable_filter_intra(boolean value)
    • enable_intra_edge_filter

      public boolean enable_intra_edge_filter()
    • enable_intra_edge_filter

      public StdVideoAV1SequenceHeaderFlags enable_intra_edge_filter(boolean value)
    • enable_interintra_compound

      public boolean enable_interintra_compound()
    • enable_interintra_compound

      public StdVideoAV1SequenceHeaderFlags enable_interintra_compound(boolean value)
    • enable_masked_compound

      public boolean enable_masked_compound()
    • enable_masked_compound

      public StdVideoAV1SequenceHeaderFlags enable_masked_compound(boolean value)
    • enable_warped_motion

      public boolean enable_warped_motion()
    • enable_warped_motion

      public StdVideoAV1SequenceHeaderFlags enable_warped_motion(boolean value)
    • enable_dual_filter

      public boolean enable_dual_filter()
    • enable_dual_filter

      public StdVideoAV1SequenceHeaderFlags enable_dual_filter(boolean value)
    • enable_order_hint

      public boolean enable_order_hint()
    • enable_order_hint

      public StdVideoAV1SequenceHeaderFlags enable_order_hint(boolean value)
    • enable_jnt_comp

      public boolean enable_jnt_comp()
    • enable_jnt_comp

      public StdVideoAV1SequenceHeaderFlags enable_jnt_comp(boolean value)
    • enable_ref_frame_mvs

      public boolean enable_ref_frame_mvs()
    • enable_ref_frame_mvs

      public StdVideoAV1SequenceHeaderFlags enable_ref_frame_mvs(boolean value)
    • frame_id_numbers_present_flag

      public boolean frame_id_numbers_present_flag()
    • frame_id_numbers_present_flag

      public StdVideoAV1SequenceHeaderFlags frame_id_numbers_present_flag(boolean value)
    • enable_superres

      public boolean enable_superres()
    • enable_superres

      public StdVideoAV1SequenceHeaderFlags enable_superres(boolean value)
    • enable_cdef

      public boolean enable_cdef()
    • enable_cdef

      public StdVideoAV1SequenceHeaderFlags enable_cdef(boolean value)
    • enable_restoration

      public boolean enable_restoration()
    • enable_restoration

      public StdVideoAV1SequenceHeaderFlags enable_restoration(boolean value)
    • film_grain_params_present

      public boolean film_grain_params_present()
    • film_grain_params_present

      public StdVideoAV1SequenceHeaderFlags film_grain_params_present(boolean value)
    • timing_info_present_flag

      public boolean timing_info_present_flag()
    • timing_info_present_flag

      public StdVideoAV1SequenceHeaderFlags timing_info_present_flag(boolean value)
    • initial_display_delay_present_flag

      public boolean initial_display_delay_present_flag()
    • initial_display_delay_present_flag

      public StdVideoAV1SequenceHeaderFlags initial_display_delay_present_flag(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