Record Class StdVideoAV1Quantization
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoAV1Quantization
- All Implemented Interfaces:
IPointer
,IStdVideoAV1Quantization
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoAV1Quantization(@NotNull MemorySegment segment)
extends Record
implements IStdVideoAV1Quantization
Represents a pointer to a StdVideoAV1Quantization
structure in native memory.
Structure
typedef struct StdVideoAV1Quantization {
StdVideoAV1QuantizationFlags
flags
;
uint8_t base_q_idx
;
int8_t DeltaQYDc
;
int8_t DeltaQUDc
;
int8_t DeltaQUAc
;
int8_t DeltaQVDc
;
int8_t DeltaQVAc
;
uint8_t qm_y
;
uint8_t qm_u
;
uint8_t qm_v
;
} StdVideoAV1Quantization;
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.OfByte
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final StructLayout
static final ValueLayout.OfByte
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 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 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
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1Quantization
(@NotNull MemorySegment segment) Creates an instance of aStdVideoAV1Quantization
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoAV1Quantization
static StdVideoAV1Quantization.Ptr
byte
base_q_idx
(byte value) static StdVideoAV1Quantization
clone
(Arena arena, StdVideoAV1Quantization src) byte
DeltaQUAc
(byte value) byte
DeltaQUDc
(byte value) byte
DeltaQVAc
(byte value) byte
DeltaQVDc
(byte value) byte
DeltaQYDc
(byte value) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoAV1QuantizationFlags
flags()
flags
(@NotNull StdVideoAV1QuantizationFlags value) flags
(Consumer<@NotNull StdVideoAV1QuantizationFlags> consumer) final int
hashCode()
Returns a hash code value for this object.byte
qm_u()
qm_u
(byte value) byte
qm_v()
qm_v
(byte value) byte
qm_y()
qm_y
(byte 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$flags
-
PATH$base_q_idx
-
PATH$DeltaQYDc
-
PATH$DeltaQUDc
-
PATH$DeltaQUAc
-
PATH$DeltaQVDc
-
PATH$DeltaQVAc
-
PATH$qm_y
-
PATH$qm_u
-
PATH$qm_v
-
LAYOUT$flags
-
LAYOUT$base_q_idx
-
LAYOUT$DeltaQYDc
-
LAYOUT$DeltaQUDc
-
LAYOUT$DeltaQUAc
-
LAYOUT$DeltaQVDc
-
LAYOUT$DeltaQVAc
-
LAYOUT$qm_y
-
LAYOUT$qm_u
-
LAYOUT$qm_v
-
SIZE$flags
public static final long SIZE$flags -
SIZE$base_q_idx
public static final long SIZE$base_q_idx -
SIZE$DeltaQYDc
public static final long SIZE$DeltaQYDc -
SIZE$DeltaQUDc
public static final long SIZE$DeltaQUDc -
SIZE$DeltaQUAc
public static final long SIZE$DeltaQUAc -
SIZE$DeltaQVDc
public static final long SIZE$DeltaQVDc -
SIZE$DeltaQVAc
public static final long SIZE$DeltaQVAc -
SIZE$qm_y
public static final long SIZE$qm_y -
SIZE$qm_u
public static final long SIZE$qm_u -
SIZE$qm_v
public static final long SIZE$qm_v -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$base_q_idx
public static final long OFFSET$base_q_idx -
OFFSET$DeltaQYDc
public static final long OFFSET$DeltaQYDc -
OFFSET$DeltaQUDc
public static final long OFFSET$DeltaQUDc -
OFFSET$DeltaQUAc
public static final long OFFSET$DeltaQUAc -
OFFSET$DeltaQVDc
public static final long OFFSET$DeltaQVDc -
OFFSET$DeltaQVAc
public static final long OFFSET$DeltaQVAc -
OFFSET$qm_y
public static final long OFFSET$qm_y -
OFFSET$qm_u
public static final long OFFSET$qm_u -
OFFSET$qm_v
public static final long OFFSET$qm_v
-
-
Constructor Details
-
StdVideoAV1Quantization
Creates an instance of aStdVideoAV1Quantization
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
-
flags
-
base_q_idx
-
base_q_idx
-
DeltaQYDc
public byte DeltaQYDc() -
DeltaQYDc
-
DeltaQUDc
public byte DeltaQUDc() -
DeltaQUDc
-
DeltaQUAc
public byte DeltaQUAc() -
DeltaQUAc
-
DeltaQVDc
public byte DeltaQVDc() -
DeltaQVDc
-
DeltaQVAc
public byte DeltaQVAc() -
DeltaQVAc
-
qm_y
-
qm_y
-
qm_u
-
qm_u
-
qm_v
-
qm_v
-
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.
-