Package org.lwjgl.vulkan.video
Class StdVideoH265DecPicBufMgr
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH265DecPicBufMgr
extends Struct<StdVideoH265DecPicBufMgr>
implements NativeResource
struct StdVideoH265DecPicBufMgr {
uint32_t max_latency_increase_plus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
uint8_t max_dec_pic_buffering_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
uint8_t max_num_reorder_pics[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
}
-
Nested Class Summary
Nested ClassesNested 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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265DecPicBufMgr
(ByteBuffer container) Creates aStdVideoH265DecPicBufMgr
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265DecPicBufMgr
calloc()
Returns a newStdVideoH265DecPicBufMgr
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265DecPicBufMgr
calloc
(MemoryStack stack) Returns a newStdVideoH265DecPicBufMgr
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265DecPicBufMgr
create()
Returns a newStdVideoH265DecPicBufMgr
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated withBufferUtils
.static StdVideoH265DecPicBufMgr
create
(long address) Returns a newStdVideoH265DecPicBufMgr
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265DecPicBufMgr.Buffer
instance at the specified memory.static @Nullable StdVideoH265DecPicBufMgr
createSafe
(long address) static @Nullable StdVideoH265DecPicBufMgr.Buffer
createSafe
(long address, int capacity) static StdVideoH265DecPicBufMgr
malloc()
Returns a newStdVideoH265DecPicBufMgr
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoH265DecPicBufMgr
malloc
(MemoryStack stack) Returns a newStdVideoH265DecPicBufMgr
instance allocated on the specifiedMemoryStack
.byte
max_dec_pic_buffering_minus1
(int index) max_dec_pic_buffering_minus1
(int index, byte value) Sets the specified value at the specified index of themax_dec_pic_buffering_minus1
field.Copies the specifiedByteBuffer
to themax_dec_pic_buffering_minus1
field.int
max_latency_increase_plus1
(int index) max_latency_increase_plus1
(int index, int value) Sets the specified value at the specified index of themax_latency_increase_plus1
field.Copies the specifiedIntBuffer
to themax_latency_increase_plus1
field.byte
max_num_reorder_pics
(int index) max_num_reorder_pics
(int index, byte value) Sets the specified value at the specified index of themax_num_reorder_pics
field.max_num_reorder_pics
(ByteBuffer value) Copies the specifiedByteBuffer
to themax_num_reorder_pics
field.static ByteBuffer
nmax_dec_pic_buffering_minus1
(long struct) Unsafe version ofmax_dec_pic_buffering_minus1()
.static byte
nmax_dec_pic_buffering_minus1
(long struct, int index) Unsafe version ofmax_dec_pic_buffering_minus1
.static void
nmax_dec_pic_buffering_minus1
(long struct, int index, byte value) Unsafe version ofmax_dec_pic_buffering_minus1
.static void
nmax_dec_pic_buffering_minus1
(long struct, ByteBuffer value) Unsafe version ofmax_dec_pic_buffering_minus1
.static IntBuffer
nmax_latency_increase_plus1
(long struct) Unsafe version ofmax_latency_increase_plus1()
.static int
nmax_latency_increase_plus1
(long struct, int index) Unsafe version ofmax_latency_increase_plus1
.static void
nmax_latency_increase_plus1
(long struct, int index, int value) Unsafe version ofmax_latency_increase_plus1
.static void
nmax_latency_increase_plus1
(long struct, IntBuffer value) Unsafe version ofmax_latency_increase_plus1
.static ByteBuffer
nmax_num_reorder_pics
(long struct) Unsafe version ofmax_num_reorder_pics()
.static byte
nmax_num_reorder_pics
(long struct, int index) Unsafe version ofmax_num_reorder_pics
.static void
nmax_num_reorder_pics
(long struct, int index, byte value) Unsafe version ofmax_num_reorder_pics
.static void
nmax_num_reorder_pics
(long struct, ByteBuffer value) Unsafe version ofmax_num_reorder_pics
.set
(IntBuffer max_latency_increase_plus1, ByteBuffer max_dec_pic_buffering_minus1, ByteBuffer max_num_reorder_pics) 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. -
MAX_LATENCY_INCREASE_PLUS1
public static final int MAX_LATENCY_INCREASE_PLUS1The struct member offsets. -
MAX_DEC_PIC_BUFFERING_MINUS1
public static final int MAX_DEC_PIC_BUFFERING_MINUS1The struct member offsets. -
MAX_NUM_REORDER_PICS
public static final int MAX_NUM_REORDER_PICSThe struct member offsets.
-
-
Constructor Details
-
StdVideoH265DecPicBufMgr
Creates aStdVideoH265DecPicBufMgr
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<StdVideoH265DecPicBufMgr>
-
max_latency_increase_plus1
- Returns:
- a
IntBuffer
view of themax_latency_increase_plus1
field.
-
max_latency_increase_plus1
public int max_latency_increase_plus1(int index) - Returns:
- the value at the specified index of the
max_latency_increase_plus1
field.
-
max_dec_pic_buffering_minus1
- Returns:
- a
ByteBuffer
view of themax_dec_pic_buffering_minus1
field.
-
max_dec_pic_buffering_minus1
public byte max_dec_pic_buffering_minus1(int index) - Returns:
- the value at the specified index of the
max_dec_pic_buffering_minus1
field.
-
max_num_reorder_pics
- Returns:
- a
ByteBuffer
view of themax_num_reorder_pics
field.
-
max_num_reorder_pics
public byte max_num_reorder_pics(int index) - Returns:
- the value at the specified index of the
max_num_reorder_pics
field.
-
max_latency_increase_plus1
Copies the specifiedIntBuffer
to themax_latency_increase_plus1
field. -
max_latency_increase_plus1
Sets the specified value at the specified index of themax_latency_increase_plus1
field. -
max_dec_pic_buffering_minus1
Copies the specifiedByteBuffer
to themax_dec_pic_buffering_minus1
field. -
max_dec_pic_buffering_minus1
Sets the specified value at the specified index of themax_dec_pic_buffering_minus1
field. -
max_num_reorder_pics
Copies the specifiedByteBuffer
to themax_num_reorder_pics
field. -
max_num_reorder_pics
Sets the specified value at the specified index of themax_num_reorder_pics
field. -
set
public StdVideoH265DecPicBufMgr set(IntBuffer max_latency_increase_plus1, ByteBuffer max_dec_pic_buffering_minus1, ByteBuffer max_num_reorder_pics) 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 newStdVideoH265DecPicBufMgr
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265DecPicBufMgr
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265DecPicBufMgr
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265DecPicBufMgr
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265DecPicBufMgr.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265DecPicBufMgr
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265DecPicBufMgr
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265DecPicBufMgr.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nmax_latency_increase_plus1
Unsafe version ofmax_latency_increase_plus1()
. -
nmax_latency_increase_plus1
public static int nmax_latency_increase_plus1(long struct, int index) Unsafe version ofmax_latency_increase_plus1
. -
nmax_dec_pic_buffering_minus1
Unsafe version ofmax_dec_pic_buffering_minus1()
. -
nmax_dec_pic_buffering_minus1
public static byte nmax_dec_pic_buffering_minus1(long struct, int index) Unsafe version ofmax_dec_pic_buffering_minus1
. -
nmax_num_reorder_pics
Unsafe version ofmax_num_reorder_pics()
. -
nmax_num_reorder_pics
public static byte nmax_num_reorder_pics(long struct, int index) Unsafe version ofmax_num_reorder_pics
. -
nmax_latency_increase_plus1
Unsafe version ofmax_latency_increase_plus1
. -
nmax_latency_increase_plus1
public static void nmax_latency_increase_plus1(long struct, int index, int value) Unsafe version ofmax_latency_increase_plus1
. -
nmax_dec_pic_buffering_minus1
Unsafe version ofmax_dec_pic_buffering_minus1
. -
nmax_dec_pic_buffering_minus1
public static void nmax_dec_pic_buffering_minus1(long struct, int index, byte value) Unsafe version ofmax_dec_pic_buffering_minus1
. -
nmax_num_reorder_pics
Unsafe version ofmax_num_reorder_pics
. -
nmax_num_reorder_pics
public static void nmax_num_reorder_pics(long struct, int index, byte value) Unsafe version ofmax_num_reorder_pics
.
-