Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefPicMarkingEntry
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH264RefPicMarkingEntry>
org.lwjgl.vulkan.video.StdVideoEncodeH264RefPicMarkingEntry
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoEncodeH264RefPicMarkingEntry
extends Struct<StdVideoEncodeH264RefPicMarkingEntry>
implements NativeResource
struct StdVideoEncodeH264RefPicMarkingEntry {
StdVideoH264MemMgmtControlOp memory_management_control_operation;
uint16_t difference_of_pic_nums_minus1;
uint16_t long_term_pic_num;
uint16_t long_term_frame_idx;
uint16_t max_long_term_frame_idx_plus1;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoEncodeH264RefPicMarkingEntry
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
ConstructorsConstructorDescriptionStdVideoEncodeH264RefPicMarkingEntry
(ByteBuffer container) Creates aStdVideoEncodeH264RefPicMarkingEntry
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH264RefPicMarkingEntry
createSafe
(long address) static @Nullable StdVideoEncodeH264RefPicMarkingEntry.Buffer
createSafe
(long address, int capacity) short
difference_of_pic_nums_minus1
(short value) Sets the specified value to thedifference_of_pic_nums_minus1
field.short
long_term_frame_idx
(short value) Sets the specified value to thelong_term_frame_idx
field.short
long_term_pic_num
(short value) Sets the specified value to thelong_term_pic_num
field.malloc()
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated on the specifiedMemoryStack
.short
max_long_term_frame_idx_plus1
(short value) Sets the specified value to themax_long_term_frame_idx_plus1
field.int
memory_management_control_operation
(int value) Sets the specified value to thememory_management_control_operation
field.static short
ndifference_of_pic_nums_minus1
(long struct) Unsafe version ofdifference_of_pic_nums_minus1()
.static void
ndifference_of_pic_nums_minus1
(long struct, short value) Unsafe version ofdifference_of_pic_nums_minus1
.static short
nlong_term_frame_idx
(long struct) Unsafe version oflong_term_frame_idx()
.static void
nlong_term_frame_idx
(long struct, short value) Unsafe version oflong_term_frame_idx
.static short
nlong_term_pic_num
(long struct) Unsafe version oflong_term_pic_num()
.static void
nlong_term_pic_num
(long struct, short value) Unsafe version oflong_term_pic_num
.static short
nmax_long_term_frame_idx_plus1
(long struct) Unsafe version ofmax_long_term_frame_idx_plus1()
.static void
nmax_long_term_frame_idx_plus1
(long struct, short value) Unsafe version ofmax_long_term_frame_idx_plus1
.static int
nmemory_management_control_operation
(long struct) Unsafe version ofmemory_management_control_operation()
.static void
nmemory_management_control_operation
(long struct, int value) Unsafe version ofmemory_management_control_operation
.set
(int memory_management_control_operation, short difference_of_pic_nums_minus1, short long_term_pic_num, short long_term_frame_idx, short max_long_term_frame_idx_plus1) 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. -
MEMORY_MANAGEMENT_CONTROL_OPERATION
public static final int MEMORY_MANAGEMENT_CONTROL_OPERATIONThe struct member offsets. -
DIFFERENCE_OF_PIC_NUMS_MINUS1
public static final int DIFFERENCE_OF_PIC_NUMS_MINUS1The struct member offsets. -
LONG_TERM_PIC_NUM
public static final int LONG_TERM_PIC_NUMThe struct member offsets. -
LONG_TERM_FRAME_IDX
public static final int LONG_TERM_FRAME_IDXThe struct member offsets. -
MAX_LONG_TERM_FRAME_IDX_PLUS1
public static final int MAX_LONG_TERM_FRAME_IDX_PLUS1The struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH264RefPicMarkingEntry
Creates aStdVideoEncodeH264RefPicMarkingEntry
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<StdVideoEncodeH264RefPicMarkingEntry>
-
memory_management_control_operation
public int memory_management_control_operation()- Returns:
- the value of the
memory_management_control_operation
field.
-
difference_of_pic_nums_minus1
public short difference_of_pic_nums_minus1()- Returns:
- the value of the
difference_of_pic_nums_minus1
field.
-
long_term_pic_num
public short long_term_pic_num()- Returns:
- the value of the
long_term_pic_num
field.
-
long_term_frame_idx
public short long_term_frame_idx()- Returns:
- the value of the
long_term_frame_idx
field.
-
max_long_term_frame_idx_plus1
public short max_long_term_frame_idx_plus1()- Returns:
- the value of the
max_long_term_frame_idx_plus1
field.
-
memory_management_control_operation
Sets the specified value to thememory_management_control_operation
field. -
difference_of_pic_nums_minus1
Sets the specified value to thedifference_of_pic_nums_minus1
field. -
long_term_pic_num
Sets the specified value to thelong_term_pic_num
field. -
long_term_frame_idx
Sets the specified value to thelong_term_frame_idx
field. -
max_long_term_frame_idx_plus1
Sets the specified value to themax_long_term_frame_idx_plus1
field. -
set
public StdVideoEncodeH264RefPicMarkingEntry set(int memory_management_control_operation, short difference_of_pic_nums_minus1, short long_term_pic_num, short long_term_frame_idx, short max_long_term_frame_idx_plus1) 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 newStdVideoEncodeH264RefPicMarkingEntry
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH264RefPicMarkingEntry.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nmemory_management_control_operation
public static int nmemory_management_control_operation(long struct) Unsafe version ofmemory_management_control_operation()
. -
ndifference_of_pic_nums_minus1
public static short ndifference_of_pic_nums_minus1(long struct) Unsafe version ofdifference_of_pic_nums_minus1()
. -
nlong_term_pic_num
public static short nlong_term_pic_num(long struct) Unsafe version oflong_term_pic_num()
. -
nlong_term_frame_idx
public static short nlong_term_frame_idx(long struct) Unsafe version oflong_term_frame_idx()
. -
nmax_long_term_frame_idx_plus1
public static short nmax_long_term_frame_idx_plus1(long struct) Unsafe version ofmax_long_term_frame_idx_plus1()
. -
nmemory_management_control_operation
public static void nmemory_management_control_operation(long struct, int value) Unsafe version ofmemory_management_control_operation
. -
ndifference_of_pic_nums_minus1
public static void ndifference_of_pic_nums_minus1(long struct, short value) Unsafe version ofdifference_of_pic_nums_minus1
. -
nlong_term_pic_num
public static void nlong_term_pic_num(long struct, short value) Unsafe version oflong_term_pic_num
. -
nlong_term_frame_idx
public static void nlong_term_frame_idx(long struct, short value) Unsafe version oflong_term_frame_idx
. -
nmax_long_term_frame_idx_plus1
public static void nmax_long_term_frame_idx_plus1(long struct, short value) Unsafe version ofmax_long_term_frame_idx_plus1
.
-