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 classAn array ofStdVideoEncodeH264RefPicMarkingEntrystructs.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
ConstructorsConstructorDescriptionStdVideoEncodeH264RefPicMarkingEntry(ByteBuffer container) Creates aStdVideoEncodeH264RefPicMarkingEntryinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH264RefPicMarkingEntrycreateSafe(long address) static @Nullable StdVideoEncodeH264RefPicMarkingEntry.BuffercreateSafe(long address, int capacity) shortdifference_of_pic_nums_minus1(short value) Sets the specified value to thedifference_of_pic_nums_minus1field.shortlong_term_frame_idx(short value) Sets the specified value to thelong_term_frame_idxfield.shortlong_term_pic_num(short value) Sets the specified value to thelong_term_pic_numfield.malloc()Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStack.shortmax_long_term_frame_idx_plus1(short value) Sets the specified value to themax_long_term_frame_idx_plus1field.intmemory_management_control_operation(int value) Sets the specified value to thememory_management_control_operationfield.static shortndifference_of_pic_nums_minus1(long struct) Unsafe version ofdifference_of_pic_nums_minus1().static voidndifference_of_pic_nums_minus1(long struct, short value) Unsafe version ofdifference_of_pic_nums_minus1.static shortnlong_term_frame_idx(long struct) Unsafe version oflong_term_frame_idx().static voidnlong_term_frame_idx(long struct, short value) Unsafe version oflong_term_frame_idx.static shortnlong_term_pic_num(long struct) Unsafe version oflong_term_pic_num().static voidnlong_term_pic_num(long struct, short value) Unsafe version oflong_term_pic_num.static shortnmax_long_term_frame_idx_plus1(long struct) Unsafe version ofmax_long_term_frame_idx_plus1().static voidnmax_long_term_frame_idx_plus1(long struct, short value) Unsafe version ofmax_long_term_frame_idx_plus1.static intnmemory_management_control_operation(long struct) Unsafe version ofmemory_management_control_operation().static voidnmemory_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.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. -
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 aStdVideoEncodeH264RefPicMarkingEntryinstance 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<StdVideoEncodeH264RefPicMarkingEntry>
-
memory_management_control_operation
public int memory_management_control_operation()- Returns:
- the value of the
memory_management_control_operationfield.
-
difference_of_pic_nums_minus1
public short difference_of_pic_nums_minus1()- Returns:
- the value of the
difference_of_pic_nums_minus1field.
-
long_term_pic_num
public short long_term_pic_num()- Returns:
- the value of the
long_term_pic_numfield.
-
long_term_frame_idx
public short long_term_frame_idx()- Returns:
- the value of the
long_term_frame_idxfield.
-
max_long_term_frame_idx_plus1
public short max_long_term_frame_idx_plus1()- Returns:
- the value of the
max_long_term_frame_idx_plus1field.
-
memory_management_control_operation
Sets the specified value to thememory_management_control_operationfield. -
difference_of_pic_nums_minus1
Sets the specified value to thedifference_of_pic_nums_minus1field. -
long_term_pic_num
Sets the specified value to thelong_term_pic_numfield. -
long_term_frame_idx
Sets the specified value to thelong_term_frame_idxfield. -
max_long_term_frame_idx_plus1
Sets the specified value to themax_long_term_frame_idx_plus1field. -
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 newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance 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 newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStackand 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.
-