Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefListModEntry
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264RefListModEntry
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264RefListModEntry extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
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 Classes Modifier and Type Class Description static classStdVideoEncodeH264RefListModEntry.BufferAn array ofStdVideoEncodeH264RefListModEntrystructs.
-
Field Summary
Fields Modifier and Type Field Description static intABS_DIFF_PIC_NUM_MINUS1The struct member offsets.static intALIGNOFThe struct alignment in bytes.static intLONG_TERM_PIC_NUM
MODIFICATION_OF_PIC_NUMS_IDCThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264RefListModEntry(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264RefListModEntryinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description shortabs_diff_pic_num_minus1()StdVideoEncodeH264RefListModEntryabs_diff_pic_num_minus1(short value)Sets the specified value to theabs_diff_pic_num_minus1field.static StdVideoEncodeH264RefListModEntrycalloc()Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemCalloc.static StdVideoEncodeH264RefListModEntry.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264RefListModEntry.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefListModEntrycalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefListModEntrycreate()Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withBufferUtils.static StdVideoEncodeH264RefListModEntry.Buffercreate(int capacity)Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264RefListModEntrycreate(long address)Returns a newStdVideoEncodeH264RefListModEntryinstance for the specified memory address.static StdVideoEncodeH264RefListModEntry.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264RefListModEntry.Bufferinstance at the specified memory.static StdVideoEncodeH264RefListModEntrycreateSafe(long address)static StdVideoEncodeH264RefListModEntry.BuffercreateSafe(long address, int capacity)shortlong_term_pic_num()StdVideoEncodeH264RefListModEntrylong_term_pic_num(short value)Sets the specified value to thelong_term_pic_numfield.static StdVideoEncodeH264RefListModEntrymalloc()Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemAlloc.static StdVideoEncodeH264RefListModEntry.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264RefListModEntry.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264RefListModEntrymalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStack.intmodification_of_pic_nums_idc()StdVideoEncodeH264RefListModEntrymodification_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.StdVideoEncodeH264RefListModEntryset(int modification_of_pic_nums_idc, short abs_diff_pic_num_minus1, short long_term_pic_num)Initializes this struct with the specified values.StdVideoEncodeH264RefListModEntryset(StdVideoEncodeH264RefListModEntry src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH264RefListModEntry
public StdVideoEncodeH264RefListModEntry(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
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
public StdVideoEncodeH264RefListModEntry modification_of_pic_nums_idc(int value)
Sets the specified value to themodification_of_pic_nums_idcfield.
-
abs_diff_pic_num_minus1
public StdVideoEncodeH264RefListModEntry abs_diff_pic_num_minus1(short value)
Sets the specified value to theabs_diff_pic_num_minus1field.
-
long_term_pic_num
public StdVideoEncodeH264RefListModEntry long_term_pic_num(short value)
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
public StdVideoEncodeH264RefListModEntry set(StdVideoEncodeH264RefListModEntry src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264RefListModEntry malloc()
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264RefListModEntry calloc()
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264RefListModEntry create()
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264RefListModEntry create(long address)
Returns a newStdVideoEncodeH264RefListModEntryinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264RefListModEntry createSafe(long address)
-
malloc
public static StdVideoEncodeH264RefListModEntry.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefListModEntry.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefListModEntry.Buffer create(int capacity)
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefListModEntry.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264RefListModEntry.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264RefListModEntry.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264RefListModEntry malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264RefListModEntry calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefListModEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264RefListModEntry.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefListModEntry.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefListModEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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.
-
-