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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final longstatic final MemoryLayout.PathElement -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1SequenceHeaderFlags(@NotNull MemorySegment segment) Creates an instance of aStdVideoAV1SequenceHeaderFlagsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoAV1SequenceHeaderFlags src) booleanenable_cdef(boolean value) booleanenable_dual_filter(boolean value) booleanenable_filter_intra(boolean value) booleanenable_interintra_compound(boolean value) booleanenable_intra_edge_filter(boolean value) booleanenable_jnt_comp(boolean value) booleanenable_masked_compound(boolean value) booleanenable_order_hint(boolean value) booleanenable_ref_frame_mvs(boolean value) booleanenable_restoration(boolean value) booleanenable_superres(boolean value) booleanenable_warped_motion(boolean value) final booleanIndicates whether some other object is "equal to" this one.booleanfilm_grain_params_present(boolean value) booleanframe_id_numbers_present_flag(boolean value) final inthashCode()Returns a hash code value for this object.booleaninitial_display_delay_present_flag(boolean value) booleanreduced_still_picture_header(boolean value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.booleanstill_picture(boolean value) booleantiming_info_present_flag(boolean value) final StringtoString()Returns a string representation of this record class.booleanuse_128x128_superblock(boolean value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$bitfield$still_picture$reserved
-
LAYOUT$bitfield$still_picture$reserved
-
OFFSET$bitfield$still_picture$reserved
public static final long OFFSET$bitfield$still_picture$reserved
-
-
Constructor Details
-
StdVideoAV1SequenceHeaderFlags
Creates an instance of aStdVideoAV1SequenceHeaderFlagsrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
still_picture
public boolean still_picture() -
still_picture
-
reduced_still_picture_header
public boolean reduced_still_picture_header() -
reduced_still_picture_header
-
use_128x128_superblock
public boolean use_128x128_superblock() -
use_128x128_superblock
-
enable_filter_intra
public boolean enable_filter_intra() -
enable_filter_intra
-
enable_intra_edge_filter
public boolean enable_intra_edge_filter() -
enable_intra_edge_filter
-
enable_interintra_compound
public boolean enable_interintra_compound() -
enable_interintra_compound
-
enable_masked_compound
public boolean enable_masked_compound() -
enable_masked_compound
-
enable_warped_motion
public boolean enable_warped_motion() -
enable_warped_motion
-
enable_dual_filter
public boolean enable_dual_filter() -
enable_dual_filter
-
enable_order_hint
public boolean enable_order_hint() -
enable_order_hint
-
enable_jnt_comp
public boolean enable_jnt_comp() -
enable_jnt_comp
-
enable_ref_frame_mvs
public boolean enable_ref_frame_mvs() -
enable_ref_frame_mvs
-
frame_id_numbers_present_flag
public boolean frame_id_numbers_present_flag() -
frame_id_numbers_present_flag
-
enable_superres
public boolean enable_superres() -
enable_superres
-
enable_cdef
public boolean enable_cdef() -
enable_cdef
-
enable_restoration
public boolean enable_restoration() -
enable_restoration
-
film_grain_params_present
public boolean film_grain_params_present() -
film_grain_params_present
-
timing_info_present_flag
public boolean timing_info_present_flag() -
timing_info_present_flag
-
initial_display_delay_present_flag
public boolean initial_display_delay_present_flag() -
initial_display_delay_present_flag
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
segment
Returns the value of thesegmentrecord component.
-