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 {
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];
StdVideoEncodeH265ReferenceModifications const * pRefLists;
StdVideoH265ShortTermRefPicSet const * pShortTermRefPicSet;
StdVideoEncodeH265LongTermRefPics const * pLongTermRefPics;
}-
Nested Class Summary
Nested ClassesNested 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 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.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeH265PictureInfo(ByteBuffer container) Creates aStdVideoEncodeH265PictureInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeH265PictureInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeH265PictureInfoinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeH265PictureInfoinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeH265PictureInfo.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeH265PictureInfocreateSafe(long address) static @Nullable StdVideoEncodeH265PictureInfo.BuffercreateSafe(long address, int capacity) flags()flags(Consumer<StdVideoEncodeH265PictureInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH265PictureInfoFlagsto theflagsfield.malloc()Returns a newStdVideoEncodeH265PictureInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeH265PictureInfoinstance allocated on the specifiedMemoryStack.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeH265PictureInfoFlags value) Unsafe version offlags.static intnpic_type(long struct) Unsafe version ofpic_type().static voidnpic_type(long struct, int value) Unsafe version ofpic_type.static intnPicOrderCntVal(long struct) Unsafe version ofPicOrderCntVal().static voidnPicOrderCntVal(long struct, int value) Unsafe version ofPicOrderCntVal.npLongTermRefPics(long struct) Unsafe version ofpLongTermRefPics().static voidnpLongTermRefPics(long struct, StdVideoEncodeH265LongTermRefPics value) Unsafe version ofpLongTermRefPics.static bytenpps_pic_parameter_set_id(long struct) Unsafe version ofpps_pic_parameter_set_id().static voidnpps_pic_parameter_set_id(long struct, byte value) Unsafe version ofpps_pic_parameter_set_id.static bytenpps_seq_parameter_set_id(long struct) Unsafe version ofpps_seq_parameter_set_id().static voidnpps_seq_parameter_set_id(long struct, byte value) Unsafe version ofpps_seq_parameter_set_id.npRefLists(long struct) Unsafe version ofpRefLists().static voidnpRefLists(long struct, StdVideoEncodeH265ReferenceModifications value) Unsafe version ofpRefLists.npShortTermRefPicSet(long struct) Unsafe version ofpShortTermRefPicSet().static voidnpShortTermRefPicSet(long struct, StdVideoH265ShortTermRefPicSet value) Unsafe version ofpShortTermRefPicSet.static ByteBuffernreserved1(long struct) static bytenreserved1(long struct, int index) static voidnreserved1(long struct, int index, byte value) static voidnreserved1(long struct, ByteBuffer value) static bytenshort_term_ref_pic_set_idx(long struct) Unsafe version ofshort_term_ref_pic_set_idx().static voidnshort_term_ref_pic_set_idx(long struct, byte value) Unsafe version ofshort_term_ref_pic_set_idx.static bytensps_video_parameter_set_id(long struct) Unsafe version ofsps_video_parameter_set_id().static voidnsps_video_parameter_set_id(long struct, byte value) Unsafe version ofsps_video_parameter_set_id.static bytenTemporalId(long struct) Unsafe version ofTemporalId().static voidnTemporalId(long struct, byte value) Unsafe version ofTemporalId.intpic_type()pic_type(int value) Sets the specified value to thepic_typefield.intPicOrderCntVal(int value) Sets the specified value to thePicOrderCntValfield.Sets the address of the specifiedStdVideoEncodeH265LongTermRefPicsto thepLongTermRefPicsfield.bytepps_pic_parameter_set_id(byte value) Sets the specified value to thepps_pic_parameter_set_idfield.bytepps_seq_parameter_set_id(byte value) Sets the specified value to thepps_seq_parameter_set_idfield.Sets the address of the specifiedStdVideoEncodeH265ReferenceModificationsto thepRefListsfield.Sets the address of the specifiedStdVideoH265ShortTermRefPicSetto thepShortTermRefPicSetfield.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.byteshort_term_ref_pic_set_idx(byte value) Sets the specified value to theshort_term_ref_pic_set_idxfield.intsizeof()Returnssizeof(struct).bytesps_video_parameter_set_id(byte value) Sets the specified value to thesps_video_parameter_set_idfield.byteTemporalId(byte value) Sets the specified value to theTemporalIdfield.static voidvalidate(long struct) Validates pointer members that should not beNULL.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. -
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 aStdVideoEncodeH265PictureInfoinstance 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<StdVideoEncodeH265PictureInfo>
-
flags
- Returns:
- a
StdVideoEncodeH265PictureInfoFlagsview of theflagsfield.
-
pic_type
public int pic_type()- Returns:
- the value of the
pic_typefield.
-
sps_video_parameter_set_id
public byte sps_video_parameter_set_id()- Returns:
- the value of the
sps_video_parameter_set_idfield.
-
pps_seq_parameter_set_id
public byte pps_seq_parameter_set_id()- Returns:
- the value of the
pps_seq_parameter_set_idfield.
-
pps_pic_parameter_set_id
public byte pps_pic_parameter_set_id()- Returns:
- the value of the
pps_pic_parameter_set_idfield.
-
short_term_ref_pic_set_idx
public byte short_term_ref_pic_set_idx()- Returns:
- the value of the
short_term_ref_pic_set_idxfield.
-
PicOrderCntVal
public int PicOrderCntVal()- Returns:
- the value of the
PicOrderCntValfield.
-
TemporalId
public byte TemporalId()- Returns:
- the value of the
TemporalIdfield.
-
pRefLists
- Returns:
- a
StdVideoEncodeH265ReferenceModificationsview of the struct pointed to by thepRefListsfield.
-
pShortTermRefPicSet
- Returns:
- a
StdVideoH265ShortTermRefPicSetview of the struct pointed to by thepShortTermRefPicSetfield.
-
pLongTermRefPics
- Returns:
- a
StdVideoEncodeH265LongTermRefPicsview of the struct pointed to by thepLongTermRefPicsfield.
-
flags
Copies the specifiedStdVideoEncodeH265PictureInfoFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
pic_type
Sets the specified value to thepic_typefield. -
sps_video_parameter_set_id
Sets the specified value to thesps_video_parameter_set_idfield. -
pps_seq_parameter_set_id
Sets the specified value to thepps_seq_parameter_set_idfield. -
pps_pic_parameter_set_id
Sets the specified value to thepps_pic_parameter_set_idfield. -
short_term_ref_pic_set_idx
Sets the specified value to theshort_term_ref_pic_set_idxfield. -
PicOrderCntVal
Sets the specified value to thePicOrderCntValfield. -
TemporalId
Sets the specified value to theTemporalIdfield. -
pRefLists
Sets the address of the specifiedStdVideoEncodeH265ReferenceModificationsto thepRefListsfield. -
pShortTermRefPicSet
Sets the address of the specifiedStdVideoH265ShortTermRefPicSetto thepShortTermRefPicSetfield. -
pLongTermRefPics
Sets the address of the specifiedStdVideoEncodeH265LongTermRefPicsto thepLongTermRefPicsfield. -
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 newStdVideoEncodeH265PictureInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265PictureInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265PictureInfoinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeH265PictureInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeH265PictureInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoEncodeH265PictureInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265PictureInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeH265PictureInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265PictureInfo.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(). -
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
-