Record Class StdVideoEncodeAV1DecoderModelInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeAV1DecoderModelInfo
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeAV1DecoderModelInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeAV1DecoderModelInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeAV1DecoderModelInfo
Represents a pointer to a StdVideoEncodeAV1DecoderModelInfo
structure in native memory.
Structure
typedef struct StdVideoEncodeAV1DecoderModelInfo {
uint8_t buffer_delay_length_minus_1
;
uint8_t buffer_removal_time_length_minus_1
;
uint8_t frame_presentation_time_length_minus_1
;
uint8_t reserved1;
uint32_t num_units_in_decoding_tick
;
} StdVideoEncodeAV1DecoderModelInfo;
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.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeAV1DecoderModelInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeAV1DecoderModelInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionbyte
buffer_delay_length_minus_1
(byte value) byte
buffer_removal_time_length_minus_1
(byte value) clone
(Arena arena, StdVideoEncodeAV1DecoderModelInfo src) final boolean
Indicates whether some other object is "equal to" this one.byte
frame_presentation_time_length_minus_1
(byte value) final int
hashCode()
Returns a hash code value for this object.int
num_units_in_decoding_tick
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$buffer_delay_length_minus_1
-
PATH$buffer_removal_time_length_minus_1
-
PATH$frame_presentation_time_length_minus_1
-
PATH$num_units_in_decoding_tick
-
LAYOUT$buffer_delay_length_minus_1
-
LAYOUT$buffer_removal_time_length_minus_1
-
LAYOUT$frame_presentation_time_length_minus_1
-
LAYOUT$num_units_in_decoding_tick
-
SIZE$buffer_delay_length_minus_1
public static final long SIZE$buffer_delay_length_minus_1 -
SIZE$buffer_removal_time_length_minus_1
public static final long SIZE$buffer_removal_time_length_minus_1 -
SIZE$frame_presentation_time_length_minus_1
public static final long SIZE$frame_presentation_time_length_minus_1 -
SIZE$num_units_in_decoding_tick
public static final long SIZE$num_units_in_decoding_tick -
OFFSET$buffer_delay_length_minus_1
public static final long OFFSET$buffer_delay_length_minus_1 -
OFFSET$buffer_removal_time_length_minus_1
public static final long OFFSET$buffer_removal_time_length_minus_1 -
OFFSET$frame_presentation_time_length_minus_1
public static final long OFFSET$frame_presentation_time_length_minus_1 -
OFFSET$num_units_in_decoding_tick
public static final long OFFSET$num_units_in_decoding_tick
-
-
Constructor Details
-
StdVideoEncodeAV1DecoderModelInfo
Creates an instance of aStdVideoEncodeAV1DecoderModelInfo
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeAV1DecoderModelInfo clone(Arena arena, StdVideoEncodeAV1DecoderModelInfo src) -
buffer_delay_length_minus_1
-
buffer_delay_length_minus_1
-
buffer_removal_time_length_minus_1
-
buffer_removal_time_length_minus_1
-
frame_presentation_time_length_minus_1
-
frame_presentation_time_length_minus_1
public StdVideoEncodeAV1DecoderModelInfo frame_presentation_time_length_minus_1(@Unsigned byte value) -
num_units_in_decoding_tick
-
num_units_in_decoding_tick
-
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.
-