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 class
An array ofStdVideoEncodeAV1DecoderModelInfo
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aStdVideoEncodeAV1DecoderModelInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
buffer_delay_length_minus_1
(byte value) Sets the specified value to thebuffer_delay_length_minus_1
field.byte
buffer_removal_time_length_minus_1
(byte value) Sets the specified value to thebuffer_removal_time_length_minus_1
field.calloc()
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeAV1DecoderModelInfo
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeAV1DecoderModelInfo.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeAV1DecoderModelInfo
createSafe
(long address) static @Nullable StdVideoEncodeAV1DecoderModelInfo.Buffer
createSafe
(long address, int capacity) byte
frame_presentation_time_length_minus_1
(byte value) Sets the specified value to theframe_presentation_time_length_minus_1
field.malloc()
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated on the specifiedMemoryStack
.static byte
nbuffer_delay_length_minus_1
(long struct) Unsafe version ofbuffer_delay_length_minus_1()
.static void
nbuffer_delay_length_minus_1
(long struct, byte value) Unsafe version ofbuffer_delay_length_minus_1
.static byte
nbuffer_removal_time_length_minus_1
(long struct) Unsafe version ofbuffer_removal_time_length_minus_1()
.static void
nbuffer_removal_time_length_minus_1
(long struct, byte value) Unsafe version ofbuffer_removal_time_length_minus_1
.static byte
nframe_presentation_time_length_minus_1
(long struct) Unsafe version offrame_presentation_time_length_minus_1()
.static void
nframe_presentation_time_length_minus_1
(long struct, byte value) Unsafe version offrame_presentation_time_length_minus_1
.static int
nnum_units_in_decoding_tick
(long struct) Unsafe version ofnum_units_in_decoding_tick()
.static void
nnum_units_in_decoding_tick
(long struct, int value) Unsafe version ofnum_units_in_decoding_tick
.static byte
nreserved1
(long struct) static void
nreserved1
(long struct, byte value) int
num_units_in_decoding_tick
(int value) Sets the specified value to thenum_units_in_decoding_tick
field.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.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aStdVideoEncodeAV1DecoderModelInfo
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoEncodeAV1DecoderModelInfo>
-
buffer_delay_length_minus_1
public byte buffer_delay_length_minus_1()- Returns:
- the value of the
buffer_delay_length_minus_1
field.
-
buffer_removal_time_length_minus_1
public byte buffer_removal_time_length_minus_1()- Returns:
- the value of the
buffer_removal_time_length_minus_1
field.
-
frame_presentation_time_length_minus_1
public byte frame_presentation_time_length_minus_1()- Returns:
- the value of the
frame_presentation_time_length_minus_1
field.
-
num_units_in_decoding_tick
public int num_units_in_decoding_tick()- Returns:
- the value of the
num_units_in_decoding_tick
field.
-
buffer_delay_length_minus_1
Sets the specified value to thebuffer_delay_length_minus_1
field. -
buffer_removal_time_length_minus_1
Sets the specified value to thebuffer_removal_time_length_minus_1
field. -
frame_presentation_time_length_minus_1
Sets the specified value to theframe_presentation_time_length_minus_1
field. -
num_units_in_decoding_tick
Sets the specified value to thenum_units_in_decoding_tick
field. -
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 newStdVideoEncodeAV1DecoderModelInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeAV1DecoderModelInfo.Buffer
instance 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 newStdVideoEncodeAV1DecoderModelInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1DecoderModelInfo.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-