Record Class StdVideoEncodeH265SliceSegmentHeaderFlags

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265SliceSegmentHeaderFlags
All Implemented Interfaces:
IPointer, IStdVideoEncodeH265SliceSegmentHeaderFlags

@ValueBasedCandidate @UnsafeConstructor public record StdVideoEncodeH265SliceSegmentHeaderFlags(@NotNull MemorySegment segment) extends Record implements IStdVideoEncodeH265SliceSegmentHeaderFlags

Represents a pointer to a StdVideoEncodeH265SliceSegmentHeaderFlags structure in native memory.

Structure

typedef struct StdVideoEncodeH265SliceSegmentHeaderFlags {
    uint32_t first_slice_segment_in_pic_flag : 1;
    uint32_t dependent_slice_segment_flag : 1;
    uint32_t slice_sao_luma_flag : 1;
    uint32_t slice_sao_chroma_flag : 1;
    uint32_t num_ref_idx_active_override_flag : 1;
    uint32_t mvd_l1_zero_flag : 1;
    uint32_t cabac_init_flag : 1;
    uint32_t cu_chroma_qp_offset_enabled_flag : 1;
    uint32_t deblocking_filter_override_flag : 1;
    uint32_t slice_deblocking_filter_disabled_flag : 1;
    uint32_t collocated_from_l0_flag : 1;
    uint32_t slice_loop_filter_across_slices_enabled_flag : 1;
    uint32_t reserved : 20;
} StdVideoEncodeH265SliceSegmentHeaderFlags;

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

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

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

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

    • StdVideoEncodeH265SliceSegmentHeaderFlags

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

    • allocate

      public static StdVideoEncodeH265SliceSegmentHeaderFlags allocate(Arena arena)
    • allocate

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

    • first_slice_segment_in_pic_flag

      public boolean first_slice_segment_in_pic_flag()
    • first_slice_segment_in_pic_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags first_slice_segment_in_pic_flag(boolean value)
    • dependent_slice_segment_flag

      public boolean dependent_slice_segment_flag()
    • dependent_slice_segment_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags dependent_slice_segment_flag(boolean value)
    • slice_sao_luma_flag

      public boolean slice_sao_luma_flag()
    • slice_sao_luma_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_sao_luma_flag(boolean value)
    • slice_sao_chroma_flag

      public boolean slice_sao_chroma_flag()
    • slice_sao_chroma_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_sao_chroma_flag(boolean value)
    • num_ref_idx_active_override_flag

      public boolean num_ref_idx_active_override_flag()
    • num_ref_idx_active_override_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags num_ref_idx_active_override_flag(boolean value)
    • mvd_l1_zero_flag

      public boolean mvd_l1_zero_flag()
    • mvd_l1_zero_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags mvd_l1_zero_flag(boolean value)
    • cabac_init_flag

      public boolean cabac_init_flag()
    • cabac_init_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags cabac_init_flag(boolean value)
    • cu_chroma_qp_offset_enabled_flag

      public boolean cu_chroma_qp_offset_enabled_flag()
    • cu_chroma_qp_offset_enabled_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags cu_chroma_qp_offset_enabled_flag(boolean value)
    • deblocking_filter_override_flag

      public boolean deblocking_filter_override_flag()
    • deblocking_filter_override_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags deblocking_filter_override_flag(boolean value)
    • slice_deblocking_filter_disabled_flag

      public boolean slice_deblocking_filter_disabled_flag()
    • slice_deblocking_filter_disabled_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_deblocking_filter_disabled_flag(boolean value)
    • collocated_from_l0_flag

      public boolean collocated_from_l0_flag()
    • collocated_from_l0_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags collocated_from_l0_flag(boolean value)
    • slice_loop_filter_across_slices_enabled_flag

      public boolean slice_loop_filter_across_slices_enabled_flag()
    • slice_loop_filter_across_slices_enabled_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_loop_filter_across_slices_enabled_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