Record Class StdVideoEncodeAV1OperatingPointInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeAV1OperatingPointInfo
- All Implemented Interfaces:
IPointer
,IStdVideoEncodeAV1OperatingPointInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoEncodeAV1OperatingPointInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoEncodeAV1OperatingPointInfo
Represents a pointer to a StdVideoEncodeAV1OperatingPointInfo
structure in native memory.
Structure
typedef struct StdVideoEncodeAV1OperatingPointInfo {
StdVideoEncodeAV1OperatingPointInfoFlags
flags
;
uint16_t operating_point_idc
;
uint8_t seq_level_idx
;
uint8_t seq_tier
;
uint32_t decoder_buffer_delay
;
uint32_t encoder_buffer_delay
;
uint8_t initial_display_delay_minus_1
;
} StdVideoEncodeAV1OperatingPointInfo;
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 ValueLayout.OfInt
static final StructLayout
static final ValueLayout.OfByte
static final ValueLayout.OfShort
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final long
static final long
static final long
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 MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeAV1OperatingPointInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoEncodeAV1OperatingPointInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoEncodeAV1OperatingPointInfo src) int
decoder_buffer_delay
(int value) int
encoder_buffer_delay
(int value) final boolean
Indicates whether some other object is "equal to" this one.flags()
flags
(@NotNull StdVideoEncodeAV1OperatingPointInfoFlags value) flags
(Consumer<@NotNull StdVideoEncodeAV1OperatingPointInfoFlags> consumer) final int
hashCode()
Returns a hash code value for this object.byte
initial_display_delay_minus_1
(byte value) short
operating_point_idc
(short value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.byte
seq_level_idx
(byte value) byte
seq_tier()
seq_tier
(byte value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$operating_point_idc
-
PATH$seq_level_idx
-
PATH$seq_tier
-
PATH$decoder_buffer_delay
-
PATH$encoder_buffer_delay
-
PATH$initial_display_delay_minus_1
-
LAYOUT$flags
-
LAYOUT$operating_point_idc
-
LAYOUT$seq_level_idx
-
LAYOUT$seq_tier
-
LAYOUT$decoder_buffer_delay
-
LAYOUT$encoder_buffer_delay
-
LAYOUT$initial_display_delay_minus_1
-
SIZE$flags
public static final long SIZE$flags -
SIZE$operating_point_idc
public static final long SIZE$operating_point_idc -
SIZE$seq_level_idx
public static final long SIZE$seq_level_idx -
SIZE$seq_tier
public static final long SIZE$seq_tier -
SIZE$decoder_buffer_delay
public static final long SIZE$decoder_buffer_delay -
SIZE$encoder_buffer_delay
public static final long SIZE$encoder_buffer_delay -
SIZE$initial_display_delay_minus_1
public static final long SIZE$initial_display_delay_minus_1 -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$operating_point_idc
public static final long OFFSET$operating_point_idc -
OFFSET$seq_level_idx
public static final long OFFSET$seq_level_idx -
OFFSET$seq_tier
public static final long OFFSET$seq_tier -
OFFSET$decoder_buffer_delay
public static final long OFFSET$decoder_buffer_delay -
OFFSET$encoder_buffer_delay
public static final long OFFSET$encoder_buffer_delay -
OFFSET$initial_display_delay_minus_1
public static final long OFFSET$initial_display_delay_minus_1
-
-
Constructor Details
-
StdVideoEncodeAV1OperatingPointInfo
Creates an instance of aStdVideoEncodeAV1OperatingPointInfo
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoEncodeAV1OperatingPointInfo clone(Arena arena, StdVideoEncodeAV1OperatingPointInfo src) -
flags
-
flags
public StdVideoEncodeAV1OperatingPointInfo flags(@NotNull @NotNull StdVideoEncodeAV1OperatingPointInfoFlags value) -
flags
public StdVideoEncodeAV1OperatingPointInfo flags(Consumer<@NotNull StdVideoEncodeAV1OperatingPointInfoFlags> consumer) -
operating_point_idc
-
operating_point_idc
-
seq_level_idx
-
seq_level_idx
-
seq_tier
-
seq_tier
-
decoder_buffer_delay
-
decoder_buffer_delay
-
encoder_buffer_delay
-
encoder_buffer_delay
-
initial_display_delay_minus_1
-
initial_display_delay_minus_1
-
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.
-