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 {
{@link StdVideoH265ShortTermRefPicSetFlags 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 class
An array ofStdVideoH265ShortTermRefPicSet
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct member offsets.static final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aStdVideoH265ShortTermRefPicSet
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionshort
abs_delta_rps_minus1
(short value) Sets the specified value to theabs_delta_rps_minus1
field.calloc()
Returns a newStdVideoH265ShortTermRefPicSet
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSet
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoH265ShortTermRefPicSet
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoH265ShortTermRefPicSet
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265ShortTermRefPicSet.Buffer
instance at the specified memory.static @Nullable StdVideoH265ShortTermRefPicSet
createSafe
(long address) static @Nullable StdVideoH265ShortTermRefPicSet.Buffer
createSafe
(long address, int capacity) int
delta_idx_minus1
(int value) Sets the specified value to thedelta_idx_minus1
field.short
delta_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_minus1
field.delta_poc_s0_minus1
(ShortBuffer value) Copies the specifiedShortBuffer
to thedelta_poc_s0_minus1
field.short
delta_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_minus1
field.delta_poc_s1_minus1
(ShortBuffer value) Copies the specifiedShortBuffer
to thedelta_poc_s1_minus1
field.flags()
flags
(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoH265ShortTermRefPicSetFlags
to theflags
field.malloc()
Returns a newStdVideoH265ShortTermRefPicSet
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoH265ShortTermRefPicSet
instance allocated on the specifiedMemoryStack
.static short
nabs_delta_rps_minus1
(long struct) Unsafe version ofabs_delta_rps_minus1()
.static void
nabs_delta_rps_minus1
(long struct, short value) Unsafe version ofabs_delta_rps_minus1
.static int
ndelta_idx_minus1
(long struct) Unsafe version ofdelta_idx_minus1()
.static void
ndelta_idx_minus1
(long struct, int value) Unsafe version ofdelta_idx_minus1
.static ShortBuffer
ndelta_poc_s0_minus1
(long struct) Unsafe version ofdelta_poc_s0_minus1()
.static short
ndelta_poc_s0_minus1
(long struct, int index) Unsafe version ofdelta_poc_s0_minus1
.static void
ndelta_poc_s0_minus1
(long struct, int index, short value) Unsafe version ofdelta_poc_s0_minus1
.static void
ndelta_poc_s0_minus1
(long struct, ShortBuffer value) Unsafe version ofdelta_poc_s0_minus1
.static ShortBuffer
ndelta_poc_s1_minus1
(long struct) Unsafe version ofdelta_poc_s1_minus1()
.static short
ndelta_poc_s1_minus1
(long struct, int index) Unsafe version ofdelta_poc_s1_minus1
.static void
ndelta_poc_s1_minus1
(long struct, int index, short value) Unsafe version ofdelta_poc_s1_minus1
.static void
ndelta_poc_s1_minus1
(long struct, ShortBuffer value) Unsafe version ofdelta_poc_s1_minus1
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoH265ShortTermRefPicSetFlags value) Unsafe version offlags
.static byte
nnum_negative_pics
(long struct) Unsafe version ofnum_negative_pics()
.static void
nnum_negative_pics
(long struct, byte value) Unsafe version ofnum_negative_pics
.static byte
nnum_positive_pics
(long struct) Unsafe version ofnum_positive_pics()
.static void
nnum_positive_pics
(long struct, byte value) Unsafe version ofnum_positive_pics
.static short
nreserved1
(long struct) static void
nreserved1
(long struct, short value) static byte
nreserved2
(long struct) static void
nreserved2
(long struct, byte value) static byte
nreserved3
(long struct) static void
nreserved3
(long struct, byte value) byte
num_negative_pics
(byte value) Sets the specified value to thenum_negative_pics
field.byte
num_positive_pics
(byte value) Sets the specified value to thenum_positive_pics
field.static short
nuse_delta_flag
(long struct) Unsafe version ofuse_delta_flag()
.static void
nuse_delta_flag
(long struct, short value) Unsafe version ofuse_delta_flag
.static short
nused_by_curr_pic_flag
(long struct) Unsafe version ofused_by_curr_pic_flag()
.static void
nused_by_curr_pic_flag
(long struct, short value) Unsafe version ofused_by_curr_pic_flag
.static short
nused_by_curr_pic_s0_flag
(long struct) Unsafe version ofused_by_curr_pic_s0_flag()
.static void
nused_by_curr_pic_s0_flag
(long struct, short value) Unsafe version ofused_by_curr_pic_s0_flag
.static short
nused_by_curr_pic_s1_flag
(long struct) Unsafe version ofused_by_curr_pic_s1_flag()
.static void
nused_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.int
sizeof()
Returnssizeof(struct)
.short
use_delta_flag
(short value) Sets the specified value to theuse_delta_flag
field.short
used_by_curr_pic_flag
(short value) Sets the specified value to theused_by_curr_pic_flag
field.short
used_by_curr_pic_s0_flag
(short value) Sets the specified value to theused_by_curr_pic_s0_flag
field.short
used_by_curr_pic_s1_flag
(short value) Sets the specified value to theused_by_curr_pic_s1_flag
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aStdVideoH265ShortTermRefPicSet
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoH265ShortTermRefPicSet>
-
flags
- Returns:
- a
StdVideoH265ShortTermRefPicSetFlags
view of theflags
field.
-
delta_idx_minus1
public int delta_idx_minus1()- Returns:
- the value of the
delta_idx_minus1
field.
-
use_delta_flag
public short use_delta_flag()- Returns:
- the value of the
use_delta_flag
field.
-
abs_delta_rps_minus1
public short abs_delta_rps_minus1()- Returns:
- the value of the
abs_delta_rps_minus1
field.
-
used_by_curr_pic_flag
public short used_by_curr_pic_flag()- Returns:
- the value of the
used_by_curr_pic_flag
field.
-
used_by_curr_pic_s0_flag
public short used_by_curr_pic_s0_flag()- Returns:
- the value of the
used_by_curr_pic_s0_flag
field.
-
used_by_curr_pic_s1_flag
public short used_by_curr_pic_s1_flag()- Returns:
- the value of the
used_by_curr_pic_s1_flag
field.
-
num_negative_pics
public byte num_negative_pics()- Returns:
- the value of the
num_negative_pics
field.
-
num_positive_pics
public byte num_positive_pics()- Returns:
- the value of the
num_positive_pics
field.
-
delta_poc_s0_minus1
- Returns:
- a
ShortBuffer
view of thedelta_poc_s0_minus1
field.
-
delta_poc_s0_minus1
public short delta_poc_s0_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s0_minus1
field.
-
delta_poc_s1_minus1
- Returns:
- a
ShortBuffer
view of thedelta_poc_s1_minus1
field.
-
delta_poc_s1_minus1
public short delta_poc_s1_minus1(int index) - Returns:
- the value at the specified index of the
delta_poc_s1_minus1
field.
-
flags
Copies the specifiedStdVideoH265ShortTermRefPicSetFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
delta_idx_minus1
Sets the specified value to thedelta_idx_minus1
field. -
use_delta_flag
Sets the specified value to theuse_delta_flag
field. -
abs_delta_rps_minus1
Sets the specified value to theabs_delta_rps_minus1
field. -
used_by_curr_pic_flag
Sets the specified value to theused_by_curr_pic_flag
field. -
used_by_curr_pic_s0_flag
Sets the specified value to theused_by_curr_pic_s0_flag
field. -
used_by_curr_pic_s1_flag
Sets the specified value to theused_by_curr_pic_s1_flag
field. -
num_negative_pics
Sets the specified value to thenum_negative_pics
field. -
num_positive_pics
Sets the specified value to thenum_positive_pics
field. -
delta_poc_s0_minus1
Copies the specifiedShortBuffer
to thedelta_poc_s0_minus1
field. -
delta_poc_s0_minus1
Sets the specified value at the specified index of thedelta_poc_s0_minus1
field. -
delta_poc_s1_minus1
Copies the specifiedShortBuffer
to thedelta_poc_s1_minus1
field. -
delta_poc_s1_minus1
Sets the specified value at the specified index of thedelta_poc_s1_minus1
field. -
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 newStdVideoH265ShortTermRefPicSet
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265ShortTermRefPicSet
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265ShortTermRefPicSet
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265ShortTermRefPicSet
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265ShortTermRefPicSet.Buffer
instance 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 newStdVideoH265ShortTermRefPicSet
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ShortTermRefPicSet
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ShortTermRefPicSet.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-