Package org.lwjgl.vulkan.video
Class StdVideoEncodeAV1DecoderModelInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeAV1DecoderModelInfo>
org.lwjgl.vulkan.video.StdVideoEncodeAV1DecoderModelInfo
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoEncodeAV1DecoderModelInfo
extends Struct<StdVideoEncodeAV1DecoderModelInfo>
implements NativeResource
struct StdVideoEncodeAV1DecoderModelInfo {
uint8_t buffer_delay_length_minus_1;
uint8_t buffer_removal_time_length_minus_1;
uint8_t frame_presentation_time_length_minus_1;
uint8_t reserved1;
uint32_t num_units_in_decoding_tick;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoEncodeAV1DecoderModelInfostructs.Nested 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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeAV1DecoderModelInfo(ByteBuffer container) Creates aStdVideoEncodeAV1DecoderModelInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbytebuffer_delay_length_minus_1(byte value) Sets the specified value to thebuffer_delay_length_minus_1field.bytebuffer_removal_time_length_minus_1(byte value) Sets the specified value to thebuffer_removal_time_length_minus_1field.calloc()Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeAV1DecoderModelInfoinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeAV1DecoderModelInfo.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeAV1DecoderModelInfocreateSafe(long address) static @Nullable StdVideoEncodeAV1DecoderModelInfo.BuffercreateSafe(long address, int capacity) byteframe_presentation_time_length_minus_1(byte value) Sets the specified value to theframe_presentation_time_length_minus_1field.malloc()Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated on the specifiedMemoryStack.static bytenbuffer_delay_length_minus_1(long struct) Unsafe version ofbuffer_delay_length_minus_1().static voidnbuffer_delay_length_minus_1(long struct, byte value) Unsafe version ofbuffer_delay_length_minus_1.static bytenbuffer_removal_time_length_minus_1(long struct) Unsafe version ofbuffer_removal_time_length_minus_1().static voidnbuffer_removal_time_length_minus_1(long struct, byte value) Unsafe version ofbuffer_removal_time_length_minus_1.static bytenframe_presentation_time_length_minus_1(long struct) Unsafe version offrame_presentation_time_length_minus_1().static voidnframe_presentation_time_length_minus_1(long struct, byte value) Unsafe version offrame_presentation_time_length_minus_1.static intnnum_units_in_decoding_tick(long struct) Unsafe version ofnum_units_in_decoding_tick().static voidnnum_units_in_decoding_tick(long struct, int value) Unsafe version ofnum_units_in_decoding_tick.static bytenreserved1(long struct) static voidnreserved1(long struct, byte value) intnum_units_in_decoding_tick(int value) Sets the specified value to thenum_units_in_decoding_tickfield.set(byte buffer_delay_length_minus_1, byte buffer_removal_time_length_minus_1, byte frame_presentation_time_length_minus_1, int num_units_in_decoding_tick) Initializes this struct with the specified values.Copies the specified struct data to this struct.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. -
BUFFER_DELAY_LENGTH_MINUS_1
public static final int BUFFER_DELAY_LENGTH_MINUS_1The struct member offsets. -
BUFFER_REMOVAL_TIME_LENGTH_MINUS_1
public static final int BUFFER_REMOVAL_TIME_LENGTH_MINUS_1The struct member offsets. -
FRAME_PRESENTATION_TIME_LENGTH_MINUS_1
public static final int FRAME_PRESENTATION_TIME_LENGTH_MINUS_1The struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
NUM_UNITS_IN_DECODING_TICK
public static final int NUM_UNITS_IN_DECODING_TICKThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeAV1DecoderModelInfo
Creates aStdVideoEncodeAV1DecoderModelInfoinstance 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<StdVideoEncodeAV1DecoderModelInfo>
-
buffer_delay_length_minus_1
public byte buffer_delay_length_minus_1()- Returns:
- the value of the
buffer_delay_length_minus_1field.
-
buffer_removal_time_length_minus_1
public byte buffer_removal_time_length_minus_1()- Returns:
- the value of the
buffer_removal_time_length_minus_1field.
-
frame_presentation_time_length_minus_1
public byte frame_presentation_time_length_minus_1()- Returns:
- the value of the
frame_presentation_time_length_minus_1field.
-
num_units_in_decoding_tick
public int num_units_in_decoding_tick()- Returns:
- the value of the
num_units_in_decoding_tickfield.
-
buffer_delay_length_minus_1
Sets the specified value to thebuffer_delay_length_minus_1field. -
buffer_removal_time_length_minus_1
Sets the specified value to thebuffer_removal_time_length_minus_1field. -
frame_presentation_time_length_minus_1
Sets the specified value to theframe_presentation_time_length_minus_1field. -
num_units_in_decoding_tick
Sets the specified value to thenum_units_in_decoding_tickfield. -
set
public StdVideoEncodeAV1DecoderModelInfo set(byte buffer_delay_length_minus_1, byte buffer_removal_time_length_minus_1, byte frame_presentation_time_length_minus_1, int num_units_in_decoding_tick) 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 newStdVideoEncodeAV1DecoderModelInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeAV1DecoderModelInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeAV1DecoderModelInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeAV1DecoderModelInfo.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nbuffer_delay_length_minus_1
public static byte nbuffer_delay_length_minus_1(long struct) Unsafe version ofbuffer_delay_length_minus_1(). -
nbuffer_removal_time_length_minus_1
public static byte nbuffer_removal_time_length_minus_1(long struct) Unsafe version ofbuffer_removal_time_length_minus_1(). -
nframe_presentation_time_length_minus_1
public static byte nframe_presentation_time_length_minus_1(long struct) Unsafe version offrame_presentation_time_length_minus_1(). -
nreserved1
public static byte nreserved1(long struct) -
nnum_units_in_decoding_tick
public static int nnum_units_in_decoding_tick(long struct) Unsafe version ofnum_units_in_decoding_tick(). -
nbuffer_delay_length_minus_1
public static void nbuffer_delay_length_minus_1(long struct, byte value) Unsafe version ofbuffer_delay_length_minus_1. -
nbuffer_removal_time_length_minus_1
public static void nbuffer_removal_time_length_minus_1(long struct, byte value) Unsafe version ofbuffer_removal_time_length_minus_1. -
nframe_presentation_time_length_minus_1
public static void nframe_presentation_time_length_minus_1(long struct, byte value) Unsafe version offrame_presentation_time_length_minus_1. -
nreserved1
public static void nreserved1(long struct, byte value) -
nnum_units_in_decoding_tick
public static void nnum_units_in_decoding_tick(long struct, int value) Unsafe version ofnum_units_in_decoding_tick.
-