Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265PictureInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH265PictureInfo>
org.lwjgl.vulkan.video.StdVideoEncodeH265PictureInfo
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoEncodeH265PictureInfo
extends Struct<StdVideoEncodeH265PictureInfo>
implements NativeResource
struct StdVideoEncodeH265PictureInfo {
{@link StdVideoEncodeH265PictureInfoFlags StdVideoEncodeH265PictureInfoFlags} flags;
StdVideoH265PictureType pic_type;
uint8_t sps_video_parameter_set_id;
uint8_t pps_seq_parameter_set_id;
uint8_t pps_pic_parameter_set_id;
uint8_t short_term_ref_pic_set_idx;
int32_t PicOrderCntVal;
uint8_t TemporalId;
uint8_t reserved1[7];
{@link StdVideoEncodeH265ReferenceModifications StdVideoEncodeH265ReferenceModifications} const * pRefLists;
{@link StdVideoH265ShortTermRefPicSet StdVideoH265ShortTermRefPicSet} const * pShortTermRefPicSet;
{@link StdVideoEncodeH265LongTermRefPics StdVideoEncodeH265LongTermRefPics} const * pLongTermRefPics;
}
-
Nested Class Summary
Nested ClassesNested 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 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 member offsets.static final int
The struct size in bytes.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
ConstructorsConstructorDescriptionStdVideoEncodeH265PictureInfo
(ByteBuffer container) Creates aStdVideoEncodeH265PictureInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeH265PictureInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeH265PictureInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH265PictureInfo
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH265PictureInfo.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH265PictureInfo
createSafe
(long address) static @Nullable StdVideoEncodeH265PictureInfo.Buffer
createSafe
(long address, int capacity) flags()
flags
(Consumer<StdVideoEncodeH265PictureInfoFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoEncodeH265PictureInfoFlags
to theflags
field.malloc()
Returns a newStdVideoEncodeH265PictureInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfo
instance allocated on the specifiedMemoryStack
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoEncodeH265PictureInfoFlags value) Unsafe version offlags
.static int
npic_type
(long struct) Unsafe version ofpic_type()
.static void
npic_type
(long struct, int value) Unsafe version ofpic_type
.static int
nPicOrderCntVal
(long struct) Unsafe version ofPicOrderCntVal()
.static void
nPicOrderCntVal
(long struct, int value) Unsafe version ofPicOrderCntVal
.npLongTermRefPics
(long struct) Unsafe version ofpLongTermRefPics()
.static void
npLongTermRefPics
(long struct, StdVideoEncodeH265LongTermRefPics value) Unsafe version ofpLongTermRefPics
.static byte
npps_pic_parameter_set_id
(long struct) Unsafe version ofpps_pic_parameter_set_id()
.static void
npps_pic_parameter_set_id
(long struct, byte value) Unsafe version ofpps_pic_parameter_set_id
.static byte
npps_seq_parameter_set_id
(long struct) Unsafe version ofpps_seq_parameter_set_id()
.static void
npps_seq_parameter_set_id
(long struct, byte value) Unsafe version ofpps_seq_parameter_set_id
.npRefLists
(long struct) Unsafe version ofpRefLists()
.static void
npRefLists
(long struct, StdVideoEncodeH265ReferenceModifications value) Unsafe version ofpRefLists
.npShortTermRefPicSet
(long struct) Unsafe version ofpShortTermRefPicSet()
.static void
npShortTermRefPicSet
(long struct, StdVideoH265ShortTermRefPicSet value) Unsafe version ofpShortTermRefPicSet
.static ByteBuffer
nreserved1
(long struct) static byte
nreserved1
(long struct, int index) static void
nreserved1
(long struct, int index, byte value) static void
nreserved1
(long struct, ByteBuffer value) static byte
nshort_term_ref_pic_set_idx
(long struct) Unsafe version ofshort_term_ref_pic_set_idx()
.static void
nshort_term_ref_pic_set_idx
(long struct, byte value) Unsafe version ofshort_term_ref_pic_set_idx
.static byte
nsps_video_parameter_set_id
(long struct) Unsafe version ofsps_video_parameter_set_id()
.static void
nsps_video_parameter_set_id
(long struct, byte value) Unsafe version ofsps_video_parameter_set_id
.static byte
nTemporalId
(long struct) Unsafe version ofTemporalId()
.static void
nTemporalId
(long struct, byte value) Unsafe version ofTemporalId
.int
pic_type()
pic_type
(int value) Sets the specified value to thepic_type
field.int
PicOrderCntVal
(int value) Sets the specified value to thePicOrderCntVal
field.Sets the address of the specifiedStdVideoEncodeH265LongTermRefPics
to thepLongTermRefPics
field.byte
pps_pic_parameter_set_id
(byte value) Sets the specified value to thepps_pic_parameter_set_id
field.byte
pps_seq_parameter_set_id
(byte value) Sets the specified value to thepps_seq_parameter_set_id
field.Sets the address of the specifiedStdVideoEncodeH265ReferenceModifications
to thepRefLists
field.Sets the address of the specifiedStdVideoH265ShortTermRefPicSet
to thepShortTermRefPicSet
field.Copies the specified struct data to this struct.set
(StdVideoEncodeH265PictureInfoFlags flags, int pic_type, byte sps_video_parameter_set_id, byte pps_seq_parameter_set_id, byte pps_pic_parameter_set_id, byte short_term_ref_pic_set_idx, int PicOrderCntVal, byte TemporalId, StdVideoEncodeH265ReferenceModifications pRefLists, StdVideoH265ShortTermRefPicSet pShortTermRefPicSet, StdVideoEncodeH265LongTermRefPics pLongTermRefPics) Initializes this struct with the specified values.byte
short_term_ref_pic_set_idx
(byte value) Sets the specified value to theshort_term_ref_pic_set_idx
field.int
sizeof()
Returnssizeof(struct)
.byte
sps_video_parameter_set_id
(byte value) Sets the specified value to thesps_video_parameter_set_id
field.byte
TemporalId
(byte value) Sets the specified value to theTemporalId
field.static void
validate
(long struct) Validates pointer members that should not beNULL
.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. -
PIC_TYPE
public static final int PIC_TYPEThe struct member offsets. -
SPS_VIDEO_PARAMETER_SET_ID
public static final int SPS_VIDEO_PARAMETER_SET_IDThe struct member offsets. -
PPS_SEQ_PARAMETER_SET_ID
public static final int PPS_SEQ_PARAMETER_SET_IDThe struct member offsets. -
PPS_PIC_PARAMETER_SET_ID
public static final int PPS_PIC_PARAMETER_SET_IDThe struct member offsets. -
SHORT_TERM_REF_PIC_SET_IDX
public static final int SHORT_TERM_REF_PIC_SET_IDXThe struct member offsets. -
PICORDERCNTVAL
public static final int PICORDERCNTVALThe struct member offsets. -
TEMPORALID
public static final int TEMPORALIDThe struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
PREFLISTS
public static final int PREFLISTSThe struct member offsets. -
PSHORTTERMREFPICSET
public static final int PSHORTTERMREFPICSETThe struct member offsets. -
PLONGTERMREFPICS
public static final int PLONGTERMREFPICSThe struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH265PictureInfo
Creates aStdVideoEncodeH265PictureInfo
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<StdVideoEncodeH265PictureInfo>
-
flags
- Returns:
- a
StdVideoEncodeH265PictureInfoFlags
view of theflags
field.
-
pic_type
public int pic_type()- Returns:
- the value of the
pic_type
field.
-
sps_video_parameter_set_id
public byte sps_video_parameter_set_id()- Returns:
- the value of the
sps_video_parameter_set_id
field.
-
pps_seq_parameter_set_id
public byte pps_seq_parameter_set_id()- Returns:
- the value of the
pps_seq_parameter_set_id
field.
-
pps_pic_parameter_set_id
public byte pps_pic_parameter_set_id()- Returns:
- the value of the
pps_pic_parameter_set_id
field.
-
short_term_ref_pic_set_idx
public byte short_term_ref_pic_set_idx()- Returns:
- the value of the
short_term_ref_pic_set_idx
field.
-
PicOrderCntVal
public int PicOrderCntVal()- Returns:
- the value of the
PicOrderCntVal
field.
-
TemporalId
public byte TemporalId()- Returns:
- the value of the
TemporalId
field.
-
pRefLists
- Returns:
- a
StdVideoEncodeH265ReferenceModifications
view of the struct pointed to by thepRefLists
field.
-
pShortTermRefPicSet
- Returns:
- a
StdVideoH265ShortTermRefPicSet
view of the struct pointed to by thepShortTermRefPicSet
field.
-
pLongTermRefPics
- Returns:
- a
StdVideoEncodeH265LongTermRefPics
view of the struct pointed to by thepLongTermRefPics
field.
-
flags
Copies the specifiedStdVideoEncodeH265PictureInfoFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
pic_type
Sets the specified value to thepic_type
field. -
sps_video_parameter_set_id
Sets the specified value to thesps_video_parameter_set_id
field. -
pps_seq_parameter_set_id
Sets the specified value to thepps_seq_parameter_set_id
field. -
pps_pic_parameter_set_id
Sets the specified value to thepps_pic_parameter_set_id
field. -
short_term_ref_pic_set_idx
Sets the specified value to theshort_term_ref_pic_set_idx
field. -
PicOrderCntVal
Sets the specified value to thePicOrderCntVal
field. -
TemporalId
Sets the specified value to theTemporalId
field. -
pRefLists
Sets the address of the specifiedStdVideoEncodeH265ReferenceModifications
to thepRefLists
field. -
pShortTermRefPicSet
Sets the address of the specifiedStdVideoH265ShortTermRefPicSet
to thepShortTermRefPicSet
field. -
pLongTermRefPics
Sets the address of the specifiedStdVideoEncodeH265LongTermRefPics
to thepLongTermRefPics
field. -
set
public StdVideoEncodeH265PictureInfo set(StdVideoEncodeH265PictureInfoFlags flags, int pic_type, byte sps_video_parameter_set_id, byte pps_seq_parameter_set_id, byte pps_pic_parameter_set_id, byte short_term_ref_pic_set_idx, int PicOrderCntVal, byte TemporalId, StdVideoEncodeH265ReferenceModifications pRefLists, StdVideoH265ShortTermRefPicSet pShortTermRefPicSet, StdVideoEncodeH265LongTermRefPics pLongTermRefPics) 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 newStdVideoEncodeH265PictureInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265PictureInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265PictureInfo
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH265PictureInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH265PictureInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoEncodeH265PictureInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265PictureInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH265PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265PictureInfo.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()
. -
npic_type
public static int npic_type(long struct) Unsafe version ofpic_type()
. -
nsps_video_parameter_set_id
public static byte nsps_video_parameter_set_id(long struct) Unsafe version ofsps_video_parameter_set_id()
. -
npps_seq_parameter_set_id
public static byte npps_seq_parameter_set_id(long struct) Unsafe version ofpps_seq_parameter_set_id()
. -
npps_pic_parameter_set_id
public static byte npps_pic_parameter_set_id(long struct) Unsafe version ofpps_pic_parameter_set_id()
. -
nshort_term_ref_pic_set_idx
public static byte nshort_term_ref_pic_set_idx(long struct) Unsafe version ofshort_term_ref_pic_set_idx()
. -
nPicOrderCntVal
public static int nPicOrderCntVal(long struct) Unsafe version ofPicOrderCntVal()
. -
nTemporalId
public static byte nTemporalId(long struct) Unsafe version ofTemporalId()
. -
nreserved1
-
nreserved1
public static byte nreserved1(long struct, int index) -
npRefLists
Unsafe version ofpRefLists()
. -
npShortTermRefPicSet
Unsafe version ofpShortTermRefPicSet()
. -
npLongTermRefPics
Unsafe version ofpLongTermRefPics()
. -
nflags
Unsafe version offlags
. -
npic_type
public static void npic_type(long struct, int value) Unsafe version ofpic_type
. -
nsps_video_parameter_set_id
public static void nsps_video_parameter_set_id(long struct, byte value) Unsafe version ofsps_video_parameter_set_id
. -
npps_seq_parameter_set_id
public static void npps_seq_parameter_set_id(long struct, byte value) Unsafe version ofpps_seq_parameter_set_id
. -
npps_pic_parameter_set_id
public static void npps_pic_parameter_set_id(long struct, byte value) Unsafe version ofpps_pic_parameter_set_id
. -
nshort_term_ref_pic_set_idx
public static void nshort_term_ref_pic_set_idx(long struct, byte value) Unsafe version ofshort_term_ref_pic_set_idx
. -
nPicOrderCntVal
public static void nPicOrderCntVal(long struct, int value) Unsafe version ofPicOrderCntVal
. -
nTemporalId
public static void nTemporalId(long struct, byte value) Unsafe version ofTemporalId
. -
nreserved1
-
nreserved1
public static void nreserved1(long struct, int index, byte value) -
npRefLists
Unsafe version ofpRefLists
. -
npShortTermRefPicSet
Unsafe version ofpShortTermRefPicSet
. -
npLongTermRefPics
Unsafe version ofpLongTermRefPics
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-