Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefListModEntry
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH264RefListModEntry>
org.lwjgl.vulkan.video.StdVideoEncodeH264RefListModEntry
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoEncodeH264RefListModEntry
extends Struct<StdVideoEncodeH264RefListModEntry>
implements NativeResource
struct StdVideoEncodeH264RefListModEntry {
StdVideoH264ModificationOfPicNumsIdc modification_of_pic_nums_idc;
uint16_t abs_diff_pic_num_minus1;
uint16_t long_term_pic_num;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoEncodeH264RefListModEntrystructs.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 member offsets.static final intThe struct alignment in bytes.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
ConstructorsConstructorDescriptionStdVideoEncodeH264RefListModEntry(ByteBuffer container) Creates aStdVideoEncodeH264RefListModEntryinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionshortabs_diff_pic_num_minus1(short value) Sets the specified value to theabs_diff_pic_num_minus1field.calloc()Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH264RefListModEntryinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH264RefListModEntry.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH264RefListModEntrycreateSafe(long address) static @Nullable StdVideoEncodeH264RefListModEntry.BuffercreateSafe(long address, int capacity) shortlong_term_pic_num(short value) Sets the specified value to thelong_term_pic_numfield.malloc()Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStack.intmodification_of_pic_nums_idc(int value) Sets the specified value to themodification_of_pic_nums_idcfield.static shortnabs_diff_pic_num_minus1(long struct) Unsafe version ofabs_diff_pic_num_minus1().static voidnabs_diff_pic_num_minus1(long struct, short value) Unsafe version ofabs_diff_pic_num_minus1.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 intnmodification_of_pic_nums_idc(long struct) Unsafe version ofmodification_of_pic_nums_idc().static voidnmodification_of_pic_nums_idc(long struct, int value) Unsafe version ofmodification_of_pic_nums_idc.set(int modification_of_pic_nums_idc, short abs_diff_pic_num_minus1, short long_term_pic_num) 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. -
MODIFICATION_OF_PIC_NUMS_IDC
public static final int MODIFICATION_OF_PIC_NUMS_IDCThe struct member offsets. -
ABS_DIFF_PIC_NUM_MINUS1
public static final int ABS_DIFF_PIC_NUM_MINUS1The struct member offsets. -
LONG_TERM_PIC_NUM
public static final int LONG_TERM_PIC_NUMThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH264RefListModEntry
Creates aStdVideoEncodeH264RefListModEntryinstance 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<StdVideoEncodeH264RefListModEntry>
-
modification_of_pic_nums_idc
public int modification_of_pic_nums_idc()- Returns:
- the value of the
modification_of_pic_nums_idcfield.
-
abs_diff_pic_num_minus1
public short abs_diff_pic_num_minus1()- Returns:
- the value of the
abs_diff_pic_num_minus1field.
-
long_term_pic_num
public short long_term_pic_num()- Returns:
- the value of the
long_term_pic_numfield.
-
modification_of_pic_nums_idc
Sets the specified value to themodification_of_pic_nums_idcfield. -
abs_diff_pic_num_minus1
Sets the specified value to theabs_diff_pic_num_minus1field. -
long_term_pic_num
Sets the specified value to thelong_term_pic_numfield. -
set
public StdVideoEncodeH264RefListModEntry set(int modification_of_pic_nums_idc, short abs_diff_pic_num_minus1, short long_term_pic_num) 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 newStdVideoEncodeH264RefListModEntryinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH264RefListModEntryinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH264RefListModEntry.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH264RefListModEntry.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nmodification_of_pic_nums_idc
public static int nmodification_of_pic_nums_idc(long struct) Unsafe version ofmodification_of_pic_nums_idc(). -
nabs_diff_pic_num_minus1
public static short nabs_diff_pic_num_minus1(long struct) Unsafe version ofabs_diff_pic_num_minus1(). -
nlong_term_pic_num
public static short nlong_term_pic_num(long struct) Unsafe version oflong_term_pic_num(). -
nmodification_of_pic_nums_idc
public static void nmodification_of_pic_nums_idc(long struct, int value) Unsafe version ofmodification_of_pic_nums_idc. -
nabs_diff_pic_num_minus1
public static void nabs_diff_pic_num_minus1(long struct, short value) Unsafe version ofabs_diff_pic_num_minus1. -
nlong_term_pic_num
public static void nlong_term_pic_num(long struct, short value) Unsafe version oflong_term_pic_num.
-