Package org.lwjgl.vulkan.video
Class StdVideoAV1Quantization
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoAV1Quantization
extends Struct<StdVideoAV1Quantization>
implements NativeResource
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;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1Quantization(ByteBuffer container) Creates aStdVideoAV1Quantizationinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbytebase_q_idx(byte value) Sets the specified value to thebase_q_idxfield.static StdVideoAV1Quantizationcalloc()Returns a newStdVideoAV1Quantizationinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoAV1Quantization.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1Quantization.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1Quantizationcalloc(MemoryStack stack) Returns a newStdVideoAV1Quantizationinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1Quantizationcreate()Returns a newStdVideoAV1Quantizationinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoAV1Quantization.Bufferinstance allocated withBufferUtils.static StdVideoAV1Quantizationcreate(long address) Returns a newStdVideoAV1Quantizationinstance for the specified memory address.create(long address, int capacity) Create aStdVideoAV1Quantization.Bufferinstance at the specified memory.static @Nullable StdVideoAV1QuantizationcreateSafe(long address) static @Nullable StdVideoAV1Quantization.BuffercreateSafe(long address, int capacity) byteDeltaQUAc(byte value) Sets the specified value to theDeltaQUAcfield.byteDeltaQUDc(byte value) Sets the specified value to theDeltaQUDcfield.byteDeltaQVAc(byte value) Sets the specified value to theDeltaQVAcfield.byteDeltaQVDc(byte value) Sets the specified value to theDeltaQVDcfield.byteDeltaQYDc(byte value) Sets the specified value to theDeltaQYDcfield.flags()flags(Consumer<StdVideoAV1QuantizationFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoAV1QuantizationFlagsto theflagsfield.static StdVideoAV1Quantizationmalloc()Returns a newStdVideoAV1Quantizationinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoAV1Quantization.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1Quantization.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoAV1Quantizationmalloc(MemoryStack stack) Returns a newStdVideoAV1Quantizationinstance allocated on the specifiedMemoryStack.static bytenbase_q_idx(long struct) Unsafe version ofbase_q_idx().static voidnbase_q_idx(long struct, byte value) Unsafe version ofbase_q_idx.static bytenDeltaQUAc(long struct) Unsafe version ofDeltaQUAc().static voidnDeltaQUAc(long struct, byte value) Unsafe version ofDeltaQUAc.static bytenDeltaQUDc(long struct) Unsafe version ofDeltaQUDc().static voidnDeltaQUDc(long struct, byte value) Unsafe version ofDeltaQUDc.static bytenDeltaQVAc(long struct) Unsafe version ofDeltaQVAc().static voidnDeltaQVAc(long struct, byte value) Unsafe version ofDeltaQVAc.static bytenDeltaQVDc(long struct) Unsafe version ofDeltaQVDc().static voidnDeltaQVDc(long struct, byte value) Unsafe version ofDeltaQVDc.static bytenDeltaQYDc(long struct) Unsafe version ofDeltaQYDc().static voidnDeltaQYDc(long struct, byte value) Unsafe version ofDeltaQYDc.static StdVideoAV1QuantizationFlagsnflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoAV1QuantizationFlags value) Unsafe version offlags.static bytenqm_u(long struct) Unsafe version ofqm_u().static voidnqm_u(long struct, byte value) Unsafe version ofqm_u.static bytenqm_v(long struct) Unsafe version ofqm_v().static voidnqm_v(long struct, byte value) Unsafe version ofqm_v.static bytenqm_y(long struct) Unsafe version ofqm_y().static voidnqm_y(long struct, byte value) Unsafe version ofqm_y.byteqm_u()qm_u(byte value) Sets the specified value to theqm_ufield.byteqm_v()qm_v(byte value) Sets the specified value to theqm_vfield.byteqm_y()qm_y(byte value) Sets the specified value to theqm_yfield.Copies the specified struct data to this struct.set(StdVideoAV1QuantizationFlags flags, byte base_q_idx, byte DeltaQYDc, byte DeltaQUDc, byte DeltaQUAc, byte DeltaQVDc, byte DeltaQVAc, byte qm_y, byte qm_u, byte qm_v) Initializes this struct with the specified values.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
BASE_Q_IDX
public static final int BASE_Q_IDXThe struct member offsets. -
DELTAQYDC
public static final int DELTAQYDCThe struct member offsets. -
DELTAQUDC
public static final int DELTAQUDCThe struct member offsets. -
DELTAQUAC
public static final int DELTAQUACThe struct member offsets. -
DELTAQVDC
public static final int DELTAQVDCThe struct member offsets. -
DELTAQVAC
public static final int DELTAQVACThe struct member offsets. -
QM_Y
public static final int QM_YThe struct member offsets. -
QM_U
public static final int QM_UThe struct member offsets. -
QM_V
public static final int QM_VThe struct member offsets.
-
-
Constructor Details
-
StdVideoAV1Quantization
Creates aStdVideoAV1Quantizationinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoAV1Quantization>
-
flags
- Returns:
- a
StdVideoAV1QuantizationFlagsview of theflagsfield.
-
base_q_idx
public byte base_q_idx()- Returns:
- the value of the
base_q_idxfield.
-
DeltaQYDc
public byte DeltaQYDc()- Returns:
- the value of the
DeltaQYDcfield.
-
DeltaQUDc
public byte DeltaQUDc()- Returns:
- the value of the
DeltaQUDcfield.
-
DeltaQUAc
public byte DeltaQUAc()- Returns:
- the value of the
DeltaQUAcfield.
-
DeltaQVDc
public byte DeltaQVDc()- Returns:
- the value of the
DeltaQVDcfield.
-
DeltaQVAc
public byte DeltaQVAc()- Returns:
- the value of the
DeltaQVAcfield.
-
qm_y
public byte qm_y()- Returns:
- the value of the
qm_yfield.
-
qm_u
public byte qm_u()- Returns:
- the value of the
qm_ufield.
-
qm_v
public byte qm_v()- Returns:
- the value of the
qm_vfield.
-
flags
Copies the specifiedStdVideoAV1QuantizationFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
base_q_idx
Sets the specified value to thebase_q_idxfield. -
DeltaQYDc
Sets the specified value to theDeltaQYDcfield. -
DeltaQUDc
Sets the specified value to theDeltaQUDcfield. -
DeltaQUAc
Sets the specified value to theDeltaQUAcfield. -
DeltaQVDc
Sets the specified value to theDeltaQVDcfield. -
DeltaQVAc
Sets the specified value to theDeltaQVAcfield. -
qm_y
Sets the specified value to theqm_yfield. -
qm_u
Sets the specified value to theqm_ufield. -
qm_v
Sets the specified value to theqm_vfield. -
set
public StdVideoAV1Quantization set(StdVideoAV1QuantizationFlags flags, byte base_q_idx, byte DeltaQYDc, byte DeltaQUDc, byte DeltaQUAc, byte DeltaQVDc, byte DeltaQVAc, byte qm_y, byte qm_u, byte qm_v) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoAV1Quantizationinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1Quantizationinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1Quantizationinstance allocated withBufferUtils. -
create
Returns a newStdVideoAV1Quantizationinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1Quantization.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoAV1Quantization.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoAV1Quantization.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoAV1Quantization.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1Quantizationinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1Quantizationinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1Quantization.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1Quantization.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nflags
Unsafe version offlags(). -
nbase_q_idx
public static byte nbase_q_idx(long struct) Unsafe version ofbase_q_idx(). -
nDeltaQYDc
public static byte nDeltaQYDc(long struct) Unsafe version ofDeltaQYDc(). -
nDeltaQUDc
public static byte nDeltaQUDc(long struct) Unsafe version ofDeltaQUDc(). -
nDeltaQUAc
public static byte nDeltaQUAc(long struct) Unsafe version ofDeltaQUAc(). -
nDeltaQVDc
public static byte nDeltaQVDc(long struct) Unsafe version ofDeltaQVDc(). -
nDeltaQVAc
public static byte nDeltaQVAc(long struct) Unsafe version ofDeltaQVAc(). -
nqm_y
public static byte nqm_y(long struct) Unsafe version ofqm_y(). -
nqm_u
public static byte nqm_u(long struct) Unsafe version ofqm_u(). -
nqm_v
public static byte nqm_v(long struct) Unsafe version ofqm_v(). -
nflags
Unsafe version offlags. -
nbase_q_idx
public static void nbase_q_idx(long struct, byte value) Unsafe version ofbase_q_idx. -
nDeltaQYDc
public static void nDeltaQYDc(long struct, byte value) Unsafe version ofDeltaQYDc. -
nDeltaQUDc
public static void nDeltaQUDc(long struct, byte value) Unsafe version ofDeltaQUDc. -
nDeltaQUAc
public static void nDeltaQUAc(long struct, byte value) Unsafe version ofDeltaQUAc. -
nDeltaQVDc
public static void nDeltaQVDc(long struct, byte value) Unsafe version ofDeltaQVDc. -
nDeltaQVAc
public static void nDeltaQVAc(long struct, byte value) Unsafe version ofDeltaQVAc. -
nqm_y
public static void nqm_y(long struct, byte value) Unsafe version ofqm_y. -
nqm_u
public static void nqm_u(long struct, byte value) Unsafe version ofqm_u. -
nqm_v
public static void nqm_v(long struct, byte value) Unsafe version ofqm_v.
-