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 record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final long
static final MemoryLayout.PathElement
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1SequenceHeaderFlags
(@NotNull MemorySegment segment) Creates an instance of aStdVideoAV1SequenceHeaderFlags
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoAV1SequenceHeaderFlags src) boolean
enable_cdef
(boolean value) boolean
enable_dual_filter
(boolean value) boolean
enable_filter_intra
(boolean value) boolean
enable_interintra_compound
(boolean value) boolean
enable_intra_edge_filter
(boolean value) boolean
enable_jnt_comp
(boolean value) boolean
enable_masked_compound
(boolean value) boolean
enable_order_hint
(boolean value) boolean
enable_ref_frame_mvs
(boolean value) boolean
enable_restoration
(boolean value) boolean
enable_superres
(boolean value) boolean
enable_warped_motion
(boolean value) final boolean
Indicates whether some other object is "equal to" this one.boolean
film_grain_params_present
(boolean value) boolean
frame_id_numbers_present_flag
(boolean value) final int
hashCode()
Returns a hash code value for this object.boolean
initial_display_delay_present_flag
(boolean value) boolean
reduced_still_picture_header
(boolean value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.boolean
still_picture
(boolean value) boolean
timing_info_present_flag
(boolean value) final String
toString()
Returns a string representation of this record class.boolean
use_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 aStdVideoAV1SequenceHeaderFlags
record class.- Parameters:
segment
- the value for thesegment
record 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 thesegment
record component.
-