Record Class StdVideoH265SpsVuiFlags

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265SpsVuiFlags
All Implemented Interfaces:
IPointer, IStdVideoH265SpsVuiFlags

@ValueBasedCandidate @UnsafeConstructor public record StdVideoH265SpsVuiFlags(@NotNull MemorySegment segment) extends Record implements IStdVideoH265SpsVuiFlags

Represents a pointer to a StdVideoH265SpsVuiFlags structure in native memory.

Structure

typedef struct StdVideoH265SpsVuiFlags {
    uint32_t aspect_ratio_info_present_flag : 1;
    uint32_t overscan_info_present_flag : 1;
    uint32_t overscan_appropriate_flag : 1;
    uint32_t video_signal_type_present_flag : 1;
    uint32_t video_full_range_flag : 1;
    uint32_t colour_description_present_flag : 1;
    uint32_t chroma_loc_info_present_flag : 1;
    uint32_t neutral_chroma_indication_flag : 1;
    uint32_t field_seq_flag : 1;
    uint32_t frame_field_info_present_flag : 1;
    uint32_t default_display_window_flag : 1;
    uint32_t vui_timing_info_present_flag : 1;
    uint32_t vui_poc_proportional_to_timing_flag : 1;
    uint32_t vui_hrd_parameters_present_flag : 1;
    uint32_t bitstream_restriction_flag : 1;
    uint32_t tiles_fixed_structure_flag : 1;
    uint32_t motion_vectors_over_pic_boundaries_flag : 1;
    uint32_t restricted_ref_pic_lists_flag : 1;
} StdVideoH265SpsVuiFlags;

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$aspect_ratio_info_present_flag$restricted_ref_pic_lists_flag

      public static final MemoryLayout.PathElement PATH$bitfield$aspect_ratio_info_present_flag$restricted_ref_pic_lists_flag
    • LAYOUT$bitfield$aspect_ratio_info_present_flag$restricted_ref_pic_lists_flag

      public static final ValueLayout.OfInt LAYOUT$bitfield$aspect_ratio_info_present_flag$restricted_ref_pic_lists_flag
    • OFFSET$bitfield$aspect_ratio_info_present_flag$restricted_ref_pic_lists_flag

      public static final long OFFSET$bitfield$aspect_ratio_info_present_flag$restricted_ref_pic_lists_flag
  • Constructor Details

    • StdVideoH265SpsVuiFlags

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

    • allocate

      public static StdVideoH265SpsVuiFlags allocate(Arena arena)
    • allocate

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

      public static StdVideoH265SpsVuiFlags clone(Arena arena, StdVideoH265SpsVuiFlags src)
    • aspect_ratio_info_present_flag

      public boolean aspect_ratio_info_present_flag()
    • aspect_ratio_info_present_flag

      public StdVideoH265SpsVuiFlags aspect_ratio_info_present_flag(boolean value)
    • overscan_info_present_flag

      public boolean overscan_info_present_flag()
    • overscan_info_present_flag

      public StdVideoH265SpsVuiFlags overscan_info_present_flag(boolean value)
    • overscan_appropriate_flag

      public boolean overscan_appropriate_flag()
    • overscan_appropriate_flag

      public StdVideoH265SpsVuiFlags overscan_appropriate_flag(boolean value)
    • video_signal_type_present_flag

      public boolean video_signal_type_present_flag()
    • video_signal_type_present_flag

      public StdVideoH265SpsVuiFlags video_signal_type_present_flag(boolean value)
    • video_full_range_flag

      public boolean video_full_range_flag()
    • video_full_range_flag

      public StdVideoH265SpsVuiFlags video_full_range_flag(boolean value)
    • colour_description_present_flag

      public boolean colour_description_present_flag()
    • colour_description_present_flag

      public StdVideoH265SpsVuiFlags colour_description_present_flag(boolean value)
    • chroma_loc_info_present_flag

      public boolean chroma_loc_info_present_flag()
    • chroma_loc_info_present_flag

      public StdVideoH265SpsVuiFlags chroma_loc_info_present_flag(boolean value)
    • neutral_chroma_indication_flag

      public boolean neutral_chroma_indication_flag()
    • neutral_chroma_indication_flag

      public StdVideoH265SpsVuiFlags neutral_chroma_indication_flag(boolean value)
    • field_seq_flag

      public boolean field_seq_flag()
    • field_seq_flag

      public StdVideoH265SpsVuiFlags field_seq_flag(boolean value)
    • frame_field_info_present_flag

      public boolean frame_field_info_present_flag()
    • frame_field_info_present_flag

      public StdVideoH265SpsVuiFlags frame_field_info_present_flag(boolean value)
    • default_display_window_flag

      public boolean default_display_window_flag()
    • default_display_window_flag

      public StdVideoH265SpsVuiFlags default_display_window_flag(boolean value)
    • vui_timing_info_present_flag

      public boolean vui_timing_info_present_flag()
    • vui_timing_info_present_flag

      public StdVideoH265SpsVuiFlags vui_timing_info_present_flag(boolean value)
    • vui_poc_proportional_to_timing_flag

      public boolean vui_poc_proportional_to_timing_flag()
    • vui_poc_proportional_to_timing_flag

      public StdVideoH265SpsVuiFlags vui_poc_proportional_to_timing_flag(boolean value)
    • vui_hrd_parameters_present_flag

      public boolean vui_hrd_parameters_present_flag()
    • vui_hrd_parameters_present_flag

      public StdVideoH265SpsVuiFlags vui_hrd_parameters_present_flag(boolean value)
    • bitstream_restriction_flag

      public boolean bitstream_restriction_flag()
    • bitstream_restriction_flag

      public StdVideoH265SpsVuiFlags bitstream_restriction_flag(boolean value)
    • tiles_fixed_structure_flag

      public boolean tiles_fixed_structure_flag()
    • tiles_fixed_structure_flag

      public StdVideoH265SpsVuiFlags tiles_fixed_structure_flag(boolean value)
    • motion_vectors_over_pic_boundaries_flag

      public boolean motion_vectors_over_pic_boundaries_flag()
    • motion_vectors_over_pic_boundaries_flag

      public StdVideoH265SpsVuiFlags motion_vectors_over_pic_boundaries_flag(boolean value)
    • restricted_ref_pic_lists_flag

      public boolean restricted_ref_pic_lists_flag()
    • restricted_ref_pic_lists_flag

      public StdVideoH265SpsVuiFlags restricted_ref_pic_lists_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