Package org.lwjgl.vulkan
Class VkVideoEncodeH265VclFrameInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265VclFrameInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265VclFrameInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 encode frame parameters.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXT- If
pReferenceFinalListsis notNULL,pReferenceFinalListsmust be a valid pointer to a validVkVideoEncodeH265ReferenceListsEXTstructure pNaluSliceSegmentEntriesmust be a valid pointer to an array ofnaluSliceSegmentEntryCountvalidVkVideoEncodeH265NaluSliceSegmentEXTstructurespCurrentPictureInfomust be a valid pointer to a validStdVideoEncodeH265PictureInfovaluenaluSliceSegmentEntryCountmust be greater than 0
See Also
VkVideoEncodeH265NaluSliceSegmentEXT,VkVideoEncodeH265ReferenceListsEXTLayout
struct VkVideoEncodeH265VclFrameInfoEXT { VkStructureTypesType(); void const *pNext();VkVideoEncodeH265ReferenceListsEXTconst *pReferenceFinalLists(); uint32_tnaluSliceSegmentEntryCount();VkVideoEncodeH265NaluSliceSegmentEXTconst *pNaluSliceSegmentEntries();StdVideoEncodeH265PictureInfoconst *pCurrentPictureInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265VclFrameInfoEXT.BufferAn array ofVkVideoEncodeH265VclFrameInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNALUSLICESEGMENTENTRYCOUNT
PCURRENTPICTUREINFO
PNALUSLICESEGMENTENTRIES
PNEXT
PREFERENCEFINALLISTSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265VclFrameInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265VclFrameInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265VclFrameInfoEXTcalloc()Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated withmemCalloc.static VkVideoEncodeH265VclFrameInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265VclFrameInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265VclFrameInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265VclFrameInfoEXTcreate()Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated withBufferUtils.static VkVideoEncodeH265VclFrameInfoEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265VclFrameInfoEXTcreate(long address)Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance for the specified memory address.static VkVideoEncodeH265VclFrameInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265VclFrameInfoEXTcreateSafe(long address)static VkVideoEncodeH265VclFrameInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH265VclFrameInfoEXTmalloc()Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated withmemAlloc.static VkVideoEncodeH265VclFrameInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265VclFrameInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265VclFrameInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated on the specifiedMemoryStack.intnaluSliceSegmentEntryCount()the number of slice segment NALUs in the frame.static intnnaluSliceSegmentEntryCount(long struct)Unsafe version ofnaluSliceSegmentEntryCount().static voidnnaluSliceSegmentEntryCount(long struct, int value)Sets the specified value to thenaluSliceSegmentEntryCountfield of the specifiedstruct.static StdVideoEncodeH265PictureInfonpCurrentPictureInfo(long struct)Unsafe version ofpCurrentPictureInfo().static voidnpCurrentPictureInfo(long struct, StdVideoEncodeH265PictureInfo value)Unsafe version ofpCurrentPictureInfo.static VkVideoEncodeH265NaluSliceSegmentEXT.BuffernpNaluSliceSegmentEntries(long struct)Unsafe version ofpNaluSliceSegmentEntries().static voidnpNaluSliceSegmentEntries(long struct, VkVideoEncodeH265NaluSliceSegmentEXT.Buffer value)Unsafe version ofpNaluSliceSegmentEntries.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVideoEncodeH265ReferenceListsEXTnpReferenceFinalLists(long struct)Unsafe version ofpReferenceFinalLists().static voidnpReferenceFinalLists(long struct, VkVideoEncodeH265ReferenceListsEXT value)Unsafe version ofpReferenceFinalLists.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.StdVideoEncodeH265PictureInfopCurrentPictureInfo()a pointer to aStdVideoEncodeH265PictureInfostructure specifying the syntax and other codec-specific information from the H.265 specification, associated with this picture.VkVideoEncodeH265VclFrameInfoEXTpCurrentPictureInfo(StdVideoEncodeH265PictureInfo value)Sets the address of the specifiedStdVideoEncodeH265PictureInfoto thepCurrentPictureInfo()field.VkVideoEncodeH265NaluSliceSegmentEXT.BufferpNaluSliceSegmentEntries()a pointer to an array ofVkVideoEncodeH265NaluSliceSegmentEXTstructures specifying the division of the current picture into slice segments and the properties of these slice segments.VkVideoEncodeH265VclFrameInfoEXTpNaluSliceSegmentEntries(VkVideoEncodeH265NaluSliceSegmentEXT.Buffer value)Sets the address of the specifiedVkVideoEncodeH265NaluSliceSegmentEXT.Bufferto thepNaluSliceSegmentEntries()field.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEncodeH265VclFrameInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH265ReferenceListsEXTpReferenceFinalLists()NULLor a pointer to aVkVideoEncodeH265ReferenceListsEXTstructure specifying the reference lists to be used for the current picture.VkVideoEncodeH265VclFrameInfoEXTpReferenceFinalLists(VkVideoEncodeH265ReferenceListsEXT value)Sets the address of the specifiedVkVideoEncodeH265ReferenceListsEXTto thepReferenceFinalLists()field.VkVideoEncodeH265VclFrameInfoEXTset(int sType, long pNext, VkVideoEncodeH265ReferenceListsEXT pReferenceFinalLists, VkVideoEncodeH265NaluSliceSegmentEXT.Buffer pNaluSliceSegmentEntries, StdVideoEncodeH265PictureInfo pCurrentPictureInfo)Initializes this struct with the specified values.VkVideoEncodeH265VclFrameInfoEXTset(VkVideoEncodeH265VclFrameInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEncodeH265VclFrameInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265VclFrameInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH265VclFrameInfoEXT
public VkVideoEncodeH265VclFrameInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265VclFrameInfoEXTinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
pReferenceFinalLists
@Nullable public VkVideoEncodeH265ReferenceListsEXT pReferenceFinalLists()
NULLor a pointer to aVkVideoEncodeH265ReferenceListsEXTstructure specifying the reference lists to be used for the current picture.
-
naluSliceSegmentEntryCount
public int naluSliceSegmentEntryCount()
the number of slice segment NALUs in the frame.
-
pNaluSliceSegmentEntries
public VkVideoEncodeH265NaluSliceSegmentEXT.Buffer pNaluSliceSegmentEntries()
a pointer to an array ofVkVideoEncodeH265NaluSliceSegmentEXTstructures specifying the division of the current picture into slice segments and the properties of these slice segments.
-
pCurrentPictureInfo
public StdVideoEncodeH265PictureInfo pCurrentPictureInfo()
a pointer to aStdVideoEncodeH265PictureInfostructure specifying the syntax and other codec-specific information from the H.265 specification, associated with this picture.
-
sType
public VkVideoEncodeH265VclFrameInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265VclFrameInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_VCL_FRAME_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265VclFrameInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pReferenceFinalLists
public VkVideoEncodeH265VclFrameInfoEXT pReferenceFinalLists(@Nullable VkVideoEncodeH265ReferenceListsEXT value)
Sets the address of the specifiedVkVideoEncodeH265ReferenceListsEXTto thepReferenceFinalLists()field.
-
pNaluSliceSegmentEntries
public VkVideoEncodeH265VclFrameInfoEXT pNaluSliceSegmentEntries(VkVideoEncodeH265NaluSliceSegmentEXT.Buffer value)
Sets the address of the specifiedVkVideoEncodeH265NaluSliceSegmentEXT.Bufferto thepNaluSliceSegmentEntries()field.
-
pCurrentPictureInfo
public VkVideoEncodeH265VclFrameInfoEXT pCurrentPictureInfo(StdVideoEncodeH265PictureInfo value)
Sets the address of the specifiedStdVideoEncodeH265PictureInfoto thepCurrentPictureInfo()field.
-
set
public VkVideoEncodeH265VclFrameInfoEXT set(int sType, long pNext, @Nullable VkVideoEncodeH265ReferenceListsEXT pReferenceFinalLists, VkVideoEncodeH265NaluSliceSegmentEXT.Buffer pNaluSliceSegmentEntries, StdVideoEncodeH265PictureInfo pCurrentPictureInfo)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265VclFrameInfoEXT set(VkVideoEncodeH265VclFrameInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265VclFrameInfoEXT malloc()
Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265VclFrameInfoEXT calloc()
Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265VclFrameInfoEXT create()
Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265VclFrameInfoEXT create(long address)
Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265VclFrameInfoEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265VclFrameInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265VclFrameInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265VclFrameInfoEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265VclFrameInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265VclFrameInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265VclFrameInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265VclFrameInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265VclFrameInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265VclFrameInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265VclFrameInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265VclFrameInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
npReferenceFinalLists
@Nullable public static VkVideoEncodeH265ReferenceListsEXT npReferenceFinalLists(long struct)
Unsafe version ofpReferenceFinalLists().
-
nnaluSliceSegmentEntryCount
public static int nnaluSliceSegmentEntryCount(long struct)
Unsafe version ofnaluSliceSegmentEntryCount().
-
npNaluSliceSegmentEntries
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer npNaluSliceSegmentEntries(long struct)
Unsafe version ofpNaluSliceSegmentEntries().
-
npCurrentPictureInfo
public static StdVideoEncodeH265PictureInfo npCurrentPictureInfo(long struct)
Unsafe version ofpCurrentPictureInfo().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
npReferenceFinalLists
public static void npReferenceFinalLists(long struct, @Nullable VkVideoEncodeH265ReferenceListsEXT value)Unsafe version ofpReferenceFinalLists.
-
nnaluSliceSegmentEntryCount
public static void nnaluSliceSegmentEntryCount(long struct, int value)Sets the specified value to thenaluSliceSegmentEntryCountfield of the specifiedstruct.
-
npNaluSliceSegmentEntries
public static void npNaluSliceSegmentEntries(long struct, VkVideoEncodeH265NaluSliceSegmentEXT.Buffer value)Unsafe version ofpNaluSliceSegmentEntries.
-
npCurrentPictureInfo
public static void npCurrentPictureInfo(long struct, StdVideoEncodeH265PictureInfo value)Unsafe version ofpCurrentPictureInfo.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-