Package org.lwjgl.vulkan.video
Class StdVideoAV1Quantization.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoAV1Quantization.Buffer>
org.lwjgl.system.StructBuffer<StdVideoAV1Quantization,StdVideoAV1Quantization.Buffer>
org.lwjgl.vulkan.video.StdVideoAV1Quantization.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoAV1Quantization>
,NativeResource
,Pointer
- Enclosing class:
StdVideoAV1Quantization
public static class StdVideoAV1Quantization.Buffer
extends StructBuffer<StdVideoAV1Quantization,StdVideoAV1Quantization.Buffer>
implements NativeResource
An array of
StdVideoAV1Quantization
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newStdVideoAV1Quantization.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
base_q_idx
(byte value) Sets the specified value to thebase_q_idx
field.byte
DeltaQUAc
(byte value) Sets the specified value to theDeltaQUAc
field.byte
DeltaQUDc
(byte value) Sets the specified value to theDeltaQUDc
field.byte
DeltaQVAc
(byte value) Sets the specified value to theDeltaQVAc
field.byte
DeltaQVDc
(byte value) Sets the specified value to theDeltaQVDc
field.byte
DeltaQYDc
(byte value) Sets the specified value to theDeltaQYDc
field.flags()
flags
(Consumer<StdVideoAV1QuantizationFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoAV1QuantizationFlags
to theflags
field.byte
qm_u()
qm_u
(byte value) Sets the specified value to theqm_u
field.byte
qm_v()
qm_v
(byte value) Sets the specified value to theqm_v
field.byte
qm_y()
qm_y
(byte value) Sets the specified value to theqm_y
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1Quantization.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
StdVideoAV1Quantization.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
flags
- Returns:
- a
StdVideoAV1QuantizationFlags
view of theflags
field.
-
base_q_idx
public byte base_q_idx()- Returns:
- the value of the
base_q_idx
field.
-
DeltaQYDc
public byte DeltaQYDc()- Returns:
- the value of the
DeltaQYDc
field.
-
DeltaQUDc
public byte DeltaQUDc()- Returns:
- the value of the
DeltaQUDc
field.
-
DeltaQUAc
public byte DeltaQUAc()- Returns:
- the value of the
DeltaQUAc
field.
-
DeltaQVDc
public byte DeltaQVDc()- Returns:
- the value of the
DeltaQVDc
field.
-
DeltaQVAc
public byte DeltaQVAc()- Returns:
- the value of the
DeltaQVAc
field.
-
qm_y
public byte qm_y()- Returns:
- the value of the
qm_y
field.
-
qm_u
public byte qm_u()- Returns:
- the value of the
qm_u
field.
-
qm_v
public byte qm_v()- Returns:
- the value of the
qm_v
field.
-
flags
Copies the specifiedStdVideoAV1QuantizationFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
base_q_idx
Sets the specified value to thebase_q_idx
field. -
DeltaQYDc
Sets the specified value to theDeltaQYDc
field. -
DeltaQUDc
Sets the specified value to theDeltaQUDc
field. -
DeltaQUAc
Sets the specified value to theDeltaQUAc
field. -
DeltaQVDc
Sets the specified value to theDeltaQVDc
field. -
DeltaQVAc
Sets the specified value to theDeltaQVAc
field. -
qm_y
Sets the specified value to theqm_y
field. -
qm_u
Sets the specified value to theqm_u
field. -
qm_v
Sets the specified value to theqm_v
field.
-