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 recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final StructLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1Quantization(@NotNull MemorySegment segment) Creates an instance of aStdVideoAV1Quantizationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoAV1Quantizationstatic StdVideoAV1Quantization.Ptrbytebase_q_idx(byte value) static StdVideoAV1Quantizationclone(Arena arena, StdVideoAV1Quantization src) byteDeltaQUAc(byte value) byteDeltaQUDc(byte value) byteDeltaQVAc(byte value) byteDeltaQVDc(byte value) byteDeltaQYDc(byte value) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoAV1QuantizationFlagsflags()flags(@NotNull StdVideoAV1QuantizationFlags value) flags(Consumer<@NotNull StdVideoAV1QuantizationFlags> consumer) final inthashCode()Returns a hash code value for this object.byteqm_u()qm_u(byte value) byteqm_v()qm_v(byte value) byteqm_y()qm_y(byte value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()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 aStdVideoAV1Quantizationrecord class.- Parameters:
segment- the value for thesegmentrecord 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 thesegmentrecord component.
-