Package org.lwjgl.vulkan.video
Class StdVideoH265ShortTermRefPicSet
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265ShortTermRefPicSet>
org.lwjgl.vulkan.video.StdVideoH265ShortTermRefPicSet
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoH265ShortTermRefPicSet
extends Struct<StdVideoH265ShortTermRefPicSet>
implements NativeResource
struct StdVideoH265ShortTermRefPicSet {
StdVideoH265ShortTermRefPicSetFlags flags;
uint32_t delta_idx_minus1;
uint16_t use_delta_flag;
uint16_t abs_delta_rps_minus1;
uint16_t used_by_curr_pic_flag;
uint16_t used_by_curr_pic_s0_flag;
uint16_t used_by_curr_pic_s1_flag;
uint16_t reserved1;
uint8_t reserved2;
uint8_t reserved3;
uint8_t num_negative_pics;
uint8_t num_positive_pics;
uint16_t delta_poc_s0_minus1[STD_VIDEO_H265_MAX_DPB_SIZE];
uint16_t delta_poc_s1_minus1[STD_VIDEO_H265_MAX_DPB_SIZE];
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoH265ShortTermRefPicSetstructs.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 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 member offsets.static final intThe struct size 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.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265ShortTermRefPicSet(ByteBuffer container) Creates aStdVideoH265ShortTermRefPicSetinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionshortabs_delta_rps_minus1(short value) Sets the specified value to theabs_delta_rps_minus1field.calloc()Returns a newStdVideoH265ShortTermRefPicSetinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoH265ShortTermRefPicSetinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoH265ShortTermRefPicSetinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH265ShortTermRefPicSet.Bufferinstance at the specified memory.static @Nullable StdVideoH265ShortTermRefPicSetcreateSafe(long address) static @Nullable StdVideoH265ShortTermRefPicSet.BuffercreateSafe(long address, int capacity) intdelta_idx_minus1(int value) Sets the specified value to thedelta_idx_minus1field.shortdelta_poc_s0_minus1(int index) delta_poc_s0_minus1(int index, short value) Sets the specified value at the specified index of thedelta_poc_s0_minus1field.delta_poc_s0_minus1(ShortBuffer value) Copies the specifiedShortBufferto thedelta_poc_s0_minus1field.shortdelta_poc_s1_minus1(int index) delta_poc_s1_minus1(int index, short value) Sets the specified value at the specified index of thedelta_poc_s1_minus1field.delta_poc_s1_minus1(ShortBuffer value) Copies the specifiedShortBufferto thedelta_poc_s1_minus1field.flags()flags(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoH265ShortTermRefPicSetFlagsto theflagsfield.malloc()Returns a newStdVideoH265ShortTermRefPicSetinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSetinstance allocated on the specifiedMemoryStack.static shortnabs_delta_rps_minus1(long struct) Unsafe version ofabs_delta_rps_minus1().static voidnabs_delta_rps_minus1(long struct, short value) Unsafe version ofabs_delta_rps_minus1.static intndelta_idx_minus1(long struct) Unsafe version ofdelta_idx_minus1().static voidndelta_idx_minus1(long struct, int value) Unsafe version ofdelta_idx_minus1.static ShortBufferndelta_poc_s0_minus1(long struct) Unsafe version ofdelta_poc_s0_minus1().static shortndelta_poc_s0_minus1(long struct, int index) Unsafe version ofdelta_poc_s0_minus1.static voidndelta_poc_s0_minus1(long struct, int index, short value) Unsafe version ofdelta_poc_s0_minus1.static voidndelta_poc_s0_minus1(long struct, ShortBuffer value) Unsafe version ofdelta_poc_s0_minus1.static ShortBufferndelta_poc_s1_minus1(long struct) Unsafe version ofdelta_poc_s1_minus1().static shortndelta_poc_s1_minus1(long struct, int index) Unsafe version ofdelta_poc_s1_minus1.static voidndelta_poc_s1_minus1(long struct, int index, short value) Unsafe version ofdelta_poc_s1_minus1.static voidndelta_poc_s1_minus1(long struct, ShortBuffer value) Unsafe version ofdelta_poc_s1_minus1.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoH265ShortTermRefPicSetFlags value) Unsafe version offlags.static bytennum_negative_pics(long struct) Unsafe version ofnum_negative_pics().static voidnnum_negative_pics(long struct, byte value) Unsafe version ofnum_negative_pics.static bytennum_positive_pics(long struct) Unsafe version ofnum_positive_pics().static voidnnum_positive_pics(long struct, byte value) Unsafe version ofnum_positive_pics.static shortnreserved1(long struct) static voidnreserved1(long struct, short value) static bytenreserved2(long struct) static voidnreserved2(long struct, byte value) static bytenreserved3(long struct) static voidnreserved3(long struct, byte value) bytenum_negative_pics(byte value) Sets the specified value to thenum_negative_picsfield.bytenum_positive_pics(byte value) Sets the specified value to thenum_positive_picsfield.static shortnuse_delta_flag(long struct) Unsafe version ofuse_delta_flag().static voidnuse_delta_flag(long struct, short value) Unsafe version ofuse_delta_flag.static shortnused_by_curr_pic_flag(long struct) Unsafe version ofused_by_curr_pic_flag().static voidnused_by_curr_pic_flag(long struct, short value) Unsafe version ofused_by_curr_pic_flag.static shortnused_by_curr_pic_s0_flag(long struct) Unsafe version ofused_by_curr_pic_s0_flag().static voidnused_by_curr_pic_s0_flag(long struct, short value) Unsafe version ofused_by_curr_pic_s0_flag.static shortnused_by_curr_pic_s1_flag(long struct) Unsafe version ofused_by_curr_pic_s1_flag().static voidnused_by_curr_pic_s1_flag(long struct, short value) Unsafe version ofused_by_curr_pic_s1_flag.Copies the specified struct data to this struct.set(StdVideoH265ShortTermRefPicSetFlags flags, int delta_idx_minus1, short use_delta_flag, short abs_delta_rps_minus1, short used_by_curr_pic_flag, short used_by_curr_pic_s0_flag, short used_by_curr_pic_s1_flag, byte num_negative_pics, byte num_positive_pics, ShortBuffer delta_poc_s0_minus1, ShortBuffer delta_poc_s1_minus1) Initializes this struct with the specified values.intsizeof()Returnssizeof(struct).shortuse_delta_flag(short value) Sets the specified value to theuse_delta_flagfield.shortused_by_curr_pic_flag(short value) Sets the specified value to theused_by_curr_pic_flagfield.shortused_by_curr_pic_s0_flag(short value) Sets the specified value to theused_by_curr_pic_s0_flagfield.shortused_by_curr_pic_s1_flag(short value) Sets the specified value to theused_by_curr_pic_s1_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. -
FLAGS
public static final int FLAGSThe struct member offsets. -
DELTA_IDX_MINUS1
public static final int DELTA_IDX_MINUS1The struct member offsets. -
USE_DELTA_FLAG
public static final int USE_DELTA_FLAGThe struct member offsets. -
ABS_DELTA_RPS_MINUS1
public static final int ABS_DELTA_RPS_MINUS1The struct member offsets. -
USED_BY_CURR_PIC_FLAG
public static final int USED_BY_CURR_PIC_FLAGThe struct member offsets. -
USED_BY_CURR_PIC_S0_FLAG
public static final int USED_BY_CURR_PIC_S0_FLAGThe struct member offsets. -
USED_BY_CURR_PIC_S1_FLAG
public static final int USED_BY_CURR_PIC_S1_FLAGThe struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
RESERVED2
public static final int RESERVED2The struct member offsets. -
RESERVED3
public static final int RESERVED3The struct member offsets. -
NUM_NEGATIVE_PICS
public static final int NUM_NEGATIVE_PICSThe struct member offsets. -
NUM_POSITIVE_PICS
public static final int NUM_POSITIVE_PICSThe struct member offsets. -
DELTA_POC_S0_MINUS1
public static final int DELTA_POC_S0_MINUS1The struct member offsets. -
DELTA_POC_S1_MINUS1
public static final int DELTA_POC_S1_MINUS1The struct member offsets.
-
-
Constructor Details
-
StdVideoH265ShortTermRefPicSet
Creates aStdVideoH265ShortTermRefPicSetinstance 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<StdVideoH265ShortTermRefPicSet>
-
flags
- Returns:
- a
StdVideoH265ShortTermRefPicSetFlagsview of theflagsfield.
-
delta_idx_minus1
public int delta_idx_minus1()- Returns:
- the value of the
delta_idx_minus1field.
-
use_delta_flag
public short use_delta_flag()- Returns:
- the value of the
use_delta_flagfield.
-
abs_delta_rps_minus1
public short abs_delta_rps_minus1()- Returns:
- the value of the
abs_delta_rps_minus1field.
-
used_by_curr_pic_flag
public short used_by_curr_pic_flag()- Returns:
- the value of the
used_by_curr_pic_flagfield.
-
used_by_curr_pic_s0_flag
public short used_by_curr_pic_s0_flag()- Returns:
- the value of the
used_by_curr_pic_s0_flagfield.
-
used_by_curr_pic_s1_flag
public short used_by_curr_pic_s1_flag()- Returns:
- the value of the
used_by_curr_pic_s1_flagfield.
-
num_negative_pics
public byte num_negative_pics()- Returns:
- the value of the
num_negative_picsfield.
-
num_positive_pics
public byte num_positive_pics()- Returns:
- the value of the
num_positive_picsfield.
-
delta_poc_s0_minus1
- Returns:
- a
ShortBufferview of thedelta_poc_s0_minus1field.
-
delta_poc_s0_minus1
public short delta_poc_s0_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s0_minus1field.
-
delta_poc_s1_minus1
- Returns:
- a
ShortBufferview of thedelta_poc_s1_minus1field.
-
delta_poc_s1_minus1
public short delta_poc_s1_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s1_minus1field.
-
flags
Copies the specifiedStdVideoH265ShortTermRefPicSetFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
delta_idx_minus1
Sets the specified value to thedelta_idx_minus1field. -
use_delta_flag
Sets the specified value to theuse_delta_flagfield. -
abs_delta_rps_minus1
Sets the specified value to theabs_delta_rps_minus1field. -
used_by_curr_pic_flag
Sets the specified value to theused_by_curr_pic_flagfield. -
used_by_curr_pic_s0_flag
Sets the specified value to theused_by_curr_pic_s0_flagfield. -
used_by_curr_pic_s1_flag
Sets the specified value to theused_by_curr_pic_s1_flagfield. -
num_negative_pics
Sets the specified value to thenum_negative_picsfield. -
num_positive_pics
Sets the specified value to thenum_positive_picsfield. -
delta_poc_s0_minus1
Copies the specifiedShortBufferto thedelta_poc_s0_minus1field. -
delta_poc_s0_minus1
Sets the specified value at the specified index of thedelta_poc_s0_minus1field. -
delta_poc_s1_minus1
Copies the specifiedShortBufferto thedelta_poc_s1_minus1field. -
delta_poc_s1_minus1
Sets the specified value at the specified index of thedelta_poc_s1_minus1field. -
set
public StdVideoH265ShortTermRefPicSet set(StdVideoH265ShortTermRefPicSetFlags flags, int delta_idx_minus1, short use_delta_flag, short abs_delta_rps_minus1, short used_by_curr_pic_flag, short used_by_curr_pic_s0_flag, short used_by_curr_pic_s1_flag, byte num_negative_pics, byte num_positive_pics, ShortBuffer delta_poc_s0_minus1, ShortBuffer delta_poc_s1_minus1) 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 newStdVideoH265ShortTermRefPicSetinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265ShortTermRefPicSetinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265ShortTermRefPicSetinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265ShortTermRefPicSetinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265ShortTermRefPicSet.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoH265ShortTermRefPicSet.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoH265ShortTermRefPicSetinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ShortTermRefPicSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ShortTermRefPicSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nflags
Unsafe version offlags(). -
ndelta_idx_minus1
public static int ndelta_idx_minus1(long struct) Unsafe version ofdelta_idx_minus1(). -
nuse_delta_flag
public static short nuse_delta_flag(long struct) Unsafe version ofuse_delta_flag(). -
nabs_delta_rps_minus1
public static short nabs_delta_rps_minus1(long struct) Unsafe version ofabs_delta_rps_minus1(). -
nused_by_curr_pic_flag
public static short nused_by_curr_pic_flag(long struct) Unsafe version ofused_by_curr_pic_flag(). -
nused_by_curr_pic_s0_flag
public static short nused_by_curr_pic_s0_flag(long struct) Unsafe version ofused_by_curr_pic_s0_flag(). -
nused_by_curr_pic_s1_flag
public static short nused_by_curr_pic_s1_flag(long struct) Unsafe version ofused_by_curr_pic_s1_flag(). -
nreserved1
public static short nreserved1(long struct) -
nreserved2
public static byte nreserved2(long struct) -
nreserved3
public static byte nreserved3(long struct) -
nnum_negative_pics
public static byte nnum_negative_pics(long struct) Unsafe version ofnum_negative_pics(). -
nnum_positive_pics
public static byte nnum_positive_pics(long struct) Unsafe version ofnum_positive_pics(). -
ndelta_poc_s0_minus1
Unsafe version ofdelta_poc_s0_minus1(). -
ndelta_poc_s0_minus1
public static short ndelta_poc_s0_minus1(long struct, int index) Unsafe version ofdelta_poc_s0_minus1. -
ndelta_poc_s1_minus1
Unsafe version ofdelta_poc_s1_minus1(). -
ndelta_poc_s1_minus1
public static short ndelta_poc_s1_minus1(long struct, int index) Unsafe version ofdelta_poc_s1_minus1. -
nflags
Unsafe version offlags. -
ndelta_idx_minus1
public static void ndelta_idx_minus1(long struct, int value) Unsafe version ofdelta_idx_minus1. -
nuse_delta_flag
public static void nuse_delta_flag(long struct, short value) Unsafe version ofuse_delta_flag. -
nabs_delta_rps_minus1
public static void nabs_delta_rps_minus1(long struct, short value) Unsafe version ofabs_delta_rps_minus1. -
nused_by_curr_pic_flag
public static void nused_by_curr_pic_flag(long struct, short value) Unsafe version ofused_by_curr_pic_flag. -
nused_by_curr_pic_s0_flag
public static void nused_by_curr_pic_s0_flag(long struct, short value) Unsafe version ofused_by_curr_pic_s0_flag. -
nused_by_curr_pic_s1_flag
public static void nused_by_curr_pic_s1_flag(long struct, short value) Unsafe version ofused_by_curr_pic_s1_flag. -
nreserved1
public static void nreserved1(long struct, short value) -
nreserved2
public static void nreserved2(long struct, byte value) -
nreserved3
public static void nreserved3(long struct, byte value) -
nnum_negative_pics
public static void nnum_negative_pics(long struct, byte value) Unsafe version ofnum_negative_pics. -
nnum_positive_pics
public static void nnum_positive_pics(long struct, byte value) Unsafe version ofnum_positive_pics. -
ndelta_poc_s0_minus1
Unsafe version ofdelta_poc_s0_minus1. -
ndelta_poc_s0_minus1
public static void ndelta_poc_s0_minus1(long struct, int index, short value) Unsafe version ofdelta_poc_s0_minus1. -
ndelta_poc_s1_minus1
Unsafe version ofdelta_poc_s1_minus1. -
ndelta_poc_s1_minus1
public static void ndelta_poc_s1_minus1(long struct, int index, short value) Unsafe version ofdelta_poc_s1_minus1.
-