Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265LongTermRefPics
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH265LongTermRefPics>
org.lwjgl.vulkan.video.StdVideoEncodeH265LongTermRefPics
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoEncodeH265LongTermRefPics
extends Struct<StdVideoEncodeH265LongTermRefPics>
implements NativeResource
struct StdVideoEncodeH265LongTermRefPics {
uint8_t num_long_term_sps;
uint8_t num_long_term_pics;
uint8_t lt_idx_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS];
uint8_t poc_lsb_lt[STD_VIDEO_H265_MAX_LONG_TERM_PICS];
uint16_t used_by_curr_pic_lt_flag;
uint8_t delta_poc_msb_present_flag[STD_VIDEO_H265_MAX_DELTA_POC];
uint8_t delta_poc_msb_cycle_lt[STD_VIDEO_H265_MAX_DELTA_POC];
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoEncodeH265LongTermRefPicsstructs.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 member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265LongTermRefPics(ByteBuffer container) Creates aStdVideoEncodeH265LongTermRefPicsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH265LongTermRefPicsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH265LongTermRefPics.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH265LongTermRefPicscreateSafe(long address) static @Nullable StdVideoEncodeH265LongTermRefPics.BuffercreateSafe(long address, int capacity) bytedelta_poc_msb_cycle_lt(int index) delta_poc_msb_cycle_lt(int index, byte value) Sets the specified value at the specified index of thedelta_poc_msb_cycle_ltfield.delta_poc_msb_cycle_lt(ByteBuffer value) Copies the specifiedByteBufferto thedelta_poc_msb_cycle_ltfield.bytedelta_poc_msb_present_flag(int index) delta_poc_msb_present_flag(int index, byte value) Sets the specified value at the specified index of thedelta_poc_msb_present_flagfield.Copies the specifiedByteBufferto thedelta_poc_msb_present_flagfield.bytelt_idx_sps(int index) lt_idx_sps(int index, byte value) Sets the specified value at the specified index of thelt_idx_spsfield.lt_idx_sps(ByteBuffer value) Copies the specifiedByteBufferto thelt_idx_spsfield.malloc()Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated on the specifiedMemoryStack.static ByteBufferndelta_poc_msb_cycle_lt(long struct) Unsafe version ofdelta_poc_msb_cycle_lt().static bytendelta_poc_msb_cycle_lt(long struct, int index) Unsafe version ofdelta_poc_msb_cycle_lt.static voidndelta_poc_msb_cycle_lt(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_cycle_lt.static voidndelta_poc_msb_cycle_lt(long struct, ByteBuffer value) Unsafe version ofdelta_poc_msb_cycle_lt.static ByteBufferndelta_poc_msb_present_flag(long struct) Unsafe version ofdelta_poc_msb_present_flag().static bytendelta_poc_msb_present_flag(long struct, int index) Unsafe version ofdelta_poc_msb_present_flag.static voidndelta_poc_msb_present_flag(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_present_flag.static voidndelta_poc_msb_present_flag(long struct, ByteBuffer value) Unsafe version ofdelta_poc_msb_present_flag.static ByteBuffernlt_idx_sps(long struct) Unsafe version oflt_idx_sps().static bytenlt_idx_sps(long struct, int index) Unsafe version oflt_idx_sps.static voidnlt_idx_sps(long struct, int index, byte value) Unsafe version oflt_idx_sps.static voidnlt_idx_sps(long struct, ByteBuffer value) Unsafe version oflt_idx_sps.static bytennum_long_term_pics(long struct) Unsafe version ofnum_long_term_pics().static voidnnum_long_term_pics(long struct, byte value) Unsafe version ofnum_long_term_pics.static bytennum_long_term_sps(long struct) Unsafe version ofnum_long_term_sps().static voidnnum_long_term_sps(long struct, byte value) Unsafe version ofnum_long_term_sps.static ByteBuffernpoc_lsb_lt(long struct) Unsafe version ofpoc_lsb_lt().static bytenpoc_lsb_lt(long struct, int index) Unsafe version ofpoc_lsb_lt.static voidnpoc_lsb_lt(long struct, int index, byte value) Unsafe version ofpoc_lsb_lt.static voidnpoc_lsb_lt(long struct, ByteBuffer value) Unsafe version ofpoc_lsb_lt.bytenum_long_term_pics(byte value) Sets the specified value to thenum_long_term_picsfield.bytenum_long_term_sps(byte value) Sets the specified value to thenum_long_term_spsfield.static shortnused_by_curr_pic_lt_flag(long struct) Unsafe version ofused_by_curr_pic_lt_flag().static voidnused_by_curr_pic_lt_flag(long struct, short value) Unsafe version ofused_by_curr_pic_lt_flag.bytepoc_lsb_lt(int index) poc_lsb_lt(int index, byte value) Sets the specified value at the specified index of thepoc_lsb_ltfield.poc_lsb_lt(ByteBuffer value) Copies the specifiedByteBufferto thepoc_lsb_ltfield.set(byte num_long_term_sps, byte num_long_term_pics, ByteBuffer lt_idx_sps, ByteBuffer poc_lsb_lt, short used_by_curr_pic_lt_flag, ByteBuffer delta_poc_msb_present_flag, ByteBuffer delta_poc_msb_cycle_lt) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).shortused_by_curr_pic_lt_flag(short value) Sets the specified value to theused_by_curr_pic_lt_flagfield.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. -
NUM_LONG_TERM_SPS
public static final int NUM_LONG_TERM_SPSThe struct member offsets. -
NUM_LONG_TERM_PICS
public static final int NUM_LONG_TERM_PICSThe struct member offsets. -
LT_IDX_SPS
public static final int LT_IDX_SPSThe struct member offsets. -
POC_LSB_LT
public static final int POC_LSB_LTThe struct member offsets. -
USED_BY_CURR_PIC_LT_FLAG
public static final int USED_BY_CURR_PIC_LT_FLAGThe struct member offsets. -
DELTA_POC_MSB_PRESENT_FLAG
public static final int DELTA_POC_MSB_PRESENT_FLAGThe struct member offsets. -
DELTA_POC_MSB_CYCLE_LT
public static final int DELTA_POC_MSB_CYCLE_LTThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH265LongTermRefPics
Creates aStdVideoEncodeH265LongTermRefPicsinstance 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<StdVideoEncodeH265LongTermRefPics>
-
num_long_term_sps
public byte num_long_term_sps()- Returns:
- the value of the
num_long_term_spsfield.
-
num_long_term_pics
public byte num_long_term_pics()- Returns:
- the value of the
num_long_term_picsfield.
-
lt_idx_sps
- Returns:
- a
ByteBufferview of thelt_idx_spsfield.
-
lt_idx_sps
public byte lt_idx_sps(int index) - Returns:
- the value at the specified index of the
lt_idx_spsfield.
-
poc_lsb_lt
- Returns:
- a
ByteBufferview of thepoc_lsb_ltfield.
-
poc_lsb_lt
public byte poc_lsb_lt(int index) - Returns:
- the value at the specified index of the
poc_lsb_ltfield.
-
used_by_curr_pic_lt_flag
public short used_by_curr_pic_lt_flag()- Returns:
- the value of the
used_by_curr_pic_lt_flagfield.
-
delta_poc_msb_present_flag
- Returns:
- a
ByteBufferview of thedelta_poc_msb_present_flagfield.
-
delta_poc_msb_present_flag
public byte delta_poc_msb_present_flag(int index) - Returns:
- the value at the specified index of the
delta_poc_msb_present_flagfield.
-
delta_poc_msb_cycle_lt
- Returns:
- a
ByteBufferview of thedelta_poc_msb_cycle_ltfield.
-
delta_poc_msb_cycle_lt
public byte delta_poc_msb_cycle_lt(int index) - Returns:
- the value at the specified index of the
delta_poc_msb_cycle_ltfield.
-
num_long_term_sps
Sets the specified value to thenum_long_term_spsfield. -
num_long_term_pics
Sets the specified value to thenum_long_term_picsfield. -
lt_idx_sps
Copies the specifiedByteBufferto thelt_idx_spsfield. -
lt_idx_sps
Sets the specified value at the specified index of thelt_idx_spsfield. -
poc_lsb_lt
Copies the specifiedByteBufferto thepoc_lsb_ltfield. -
poc_lsb_lt
Sets the specified value at the specified index of thepoc_lsb_ltfield. -
used_by_curr_pic_lt_flag
Sets the specified value to theused_by_curr_pic_lt_flagfield. -
delta_poc_msb_present_flag
Copies the specifiedByteBufferto thedelta_poc_msb_present_flagfield. -
delta_poc_msb_present_flag
Sets the specified value at the specified index of thedelta_poc_msb_present_flagfield. -
delta_poc_msb_cycle_lt
Copies the specifiedByteBufferto thedelta_poc_msb_cycle_ltfield. -
delta_poc_msb_cycle_lt
Sets the specified value at the specified index of thedelta_poc_msb_cycle_ltfield. -
set
public StdVideoEncodeH265LongTermRefPics set(byte num_long_term_sps, byte num_long_term_pics, ByteBuffer lt_idx_sps, ByteBuffer poc_lsb_lt, short used_by_curr_pic_lt_flag, ByteBuffer delta_poc_msb_present_flag, ByteBuffer delta_poc_msb_cycle_lt) 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 newStdVideoEncodeH265LongTermRefPicsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH265LongTermRefPicsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH265LongTermRefPics.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH265LongTermRefPics.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265LongTermRefPicsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265LongTermRefPics.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nnum_long_term_sps
public static byte nnum_long_term_sps(long struct) Unsafe version ofnum_long_term_sps(). -
nnum_long_term_pics
public static byte nnum_long_term_pics(long struct) Unsafe version ofnum_long_term_pics(). -
nlt_idx_sps
Unsafe version oflt_idx_sps(). -
nlt_idx_sps
public static byte nlt_idx_sps(long struct, int index) Unsafe version oflt_idx_sps. -
npoc_lsb_lt
Unsafe version ofpoc_lsb_lt(). -
npoc_lsb_lt
public static byte npoc_lsb_lt(long struct, int index) Unsafe version ofpoc_lsb_lt. -
nused_by_curr_pic_lt_flag
public static short nused_by_curr_pic_lt_flag(long struct) Unsafe version ofused_by_curr_pic_lt_flag(). -
ndelta_poc_msb_present_flag
Unsafe version ofdelta_poc_msb_present_flag(). -
ndelta_poc_msb_present_flag
public static byte ndelta_poc_msb_present_flag(long struct, int index) Unsafe version ofdelta_poc_msb_present_flag. -
ndelta_poc_msb_cycle_lt
Unsafe version ofdelta_poc_msb_cycle_lt(). -
ndelta_poc_msb_cycle_lt
public static byte ndelta_poc_msb_cycle_lt(long struct, int index) Unsafe version ofdelta_poc_msb_cycle_lt. -
nnum_long_term_sps
public static void nnum_long_term_sps(long struct, byte value) Unsafe version ofnum_long_term_sps. -
nnum_long_term_pics
public static void nnum_long_term_pics(long struct, byte value) Unsafe version ofnum_long_term_pics. -
nlt_idx_sps
Unsafe version oflt_idx_sps. -
nlt_idx_sps
public static void nlt_idx_sps(long struct, int index, byte value) Unsafe version oflt_idx_sps. -
npoc_lsb_lt
Unsafe version ofpoc_lsb_lt. -
npoc_lsb_lt
public static void npoc_lsb_lt(long struct, int index, byte value) Unsafe version ofpoc_lsb_lt. -
nused_by_curr_pic_lt_flag
public static void nused_by_curr_pic_lt_flag(long struct, short value) Unsafe version ofused_by_curr_pic_lt_flag. -
ndelta_poc_msb_present_flag
Unsafe version ofdelta_poc_msb_present_flag. -
ndelta_poc_msb_present_flag
public static void ndelta_poc_msb_present_flag(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_present_flag. -
ndelta_poc_msb_cycle_lt
Unsafe version ofdelta_poc_msb_cycle_lt. -
ndelta_poc_msb_cycle_lt
public static void ndelta_poc_msb_cycle_lt(long struct, int index, byte value) Unsafe version ofdelta_poc_msb_cycle_lt.
-