Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264RefPicMarkingEntry
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264RefPicMarkingEntry
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264RefPicMarkingEntry extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH264RefPicMarkingEntry { StdVideoH264MemMgmtControlOp 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 Classes Modifier and Type Class Description static classStdVideoEncodeH264RefPicMarkingEntry.BufferAn array ofStdVideoEncodeH264RefPicMarkingEntrystructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDIFFERENCE_OF_PIC_NUMS_MINUS1
LONG_TERM_FRAME_IDX
LONG_TERM_PIC_NUM
MAX_LONG_TERM_FRAME_IDX_PLUS1
OPERATIONThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264RefPicMarkingEntry(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264RefPicMarkingEntryinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH264RefPicMarkingEntrycalloc()Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemCalloc.static StdVideoEncodeH264RefPicMarkingEntry.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264RefPicMarkingEntry.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefPicMarkingEntrycalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264RefPicMarkingEntrycreate()Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withBufferUtils.static StdVideoEncodeH264RefPicMarkingEntry.Buffercreate(int capacity)Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264RefPicMarkingEntrycreate(long address)Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance for the specified memory address.static StdVideoEncodeH264RefPicMarkingEntry.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance at the specified memory.static StdVideoEncodeH264RefPicMarkingEntrycreateSafe(long address)static StdVideoEncodeH264RefPicMarkingEntry.BuffercreateSafe(long address, int capacity)shortdifference_of_pic_nums_minus1()StdVideoEncodeH264RefPicMarkingEntrydifference_of_pic_nums_minus1(short value)Sets the specified value to thedifference_of_pic_nums_minus1field.shortlong_term_frame_idx()StdVideoEncodeH264RefPicMarkingEntrylong_term_frame_idx(short value)Sets the specified value to thelong_term_frame_idxfield.shortlong_term_pic_num()StdVideoEncodeH264RefPicMarkingEntrylong_term_pic_num(short value)Sets the specified value to thelong_term_pic_numfield.static StdVideoEncodeH264RefPicMarkingEntrymalloc()Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemAlloc.static StdVideoEncodeH264RefPicMarkingEntry.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264RefPicMarkingEntry.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264RefPicMarkingEntrymalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStack.shortmax_long_term_frame_idx_plus1()StdVideoEncodeH264RefPicMarkingEntrymax_long_term_frame_idx_plus1(short value)Sets the specified value to themax_long_term_frame_idx_plus1field.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 intnoperation(long struct)Unsafe version ofoperation().static voidnoperation(long struct, int value)Unsafe version ofoperation.intoperation()StdVideoEncodeH264RefPicMarkingEntryoperation(int value)Sets the specified value to theoperationfield.StdVideoEncodeH264RefPicMarkingEntryset(int 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.StdVideoEncodeH264RefPicMarkingEntryset(StdVideoEncodeH264RefPicMarkingEntry src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH264RefPicMarkingEntry
public StdVideoEncodeH264RefPicMarkingEntry(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
operation
public int operation()
- Returns:
- the value of the
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.
-
operation
public StdVideoEncodeH264RefPicMarkingEntry operation(int value)
Sets the specified value to theoperationfield.
-
difference_of_pic_nums_minus1
public StdVideoEncodeH264RefPicMarkingEntry difference_of_pic_nums_minus1(short value)
Sets the specified value to thedifference_of_pic_nums_minus1field.
-
long_term_pic_num
public StdVideoEncodeH264RefPicMarkingEntry long_term_pic_num(short value)
Sets the specified value to thelong_term_pic_numfield.
-
long_term_frame_idx
public StdVideoEncodeH264RefPicMarkingEntry long_term_frame_idx(short value)
Sets the specified value to thelong_term_frame_idxfield.
-
max_long_term_frame_idx_plus1
public StdVideoEncodeH264RefPicMarkingEntry max_long_term_frame_idx_plus1(short value)
Sets the specified value to themax_long_term_frame_idx_plus1field.
-
set
public StdVideoEncodeH264RefPicMarkingEntry set(int 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
public StdVideoEncodeH264RefPicMarkingEntry set(StdVideoEncodeH264RefPicMarkingEntry src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264RefPicMarkingEntry malloc()
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264RefPicMarkingEntry calloc()
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264RefPicMarkingEntry create()
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264RefPicMarkingEntry create(long address)
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264RefPicMarkingEntry createSafe(long address)
-
malloc
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer create(int capacity)
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264RefPicMarkingEntry.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264RefPicMarkingEntry malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264RefPicMarkingEntry calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefPicMarkingEntryinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264RefPicMarkingEntry.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
noperation
public static int noperation(long struct)
Unsafe version ofoperation().
-
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().
-
noperation
public static void noperation(long struct, int value)Unsafe version ofoperation.
-
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.
-
-