Package org.lwjgl.vulkan
Class VkVideoEncodeH265DpbSlotInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265DpbSlotInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265DpbSlotInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 encode decoded pic info.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXTpNextmust beNULLpStdReferenceInfomust be a valid pointer to a validStdVideoEncodeH265ReferenceInfovalue
See Also
VkVideoEncodeH265ReferenceListsEXTLayout
struct VkVideoEncodeH265DpbSlotInfoEXT { VkStructureTypesType(); void const *pNext(); int8_tslotIndex();StdVideoEncodeH265ReferenceInfoconst *pStdReferenceInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265DpbSlotInfoEXT.BufferAn array ofVkVideoEncodeH265DpbSlotInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265DpbSlotInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265DpbSlotInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265DpbSlotInfoEXTcalloc()Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated withmemCalloc.static VkVideoEncodeH265DpbSlotInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265DpbSlotInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265DpbSlotInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265DpbSlotInfoEXTcreate()Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated withBufferUtils.static VkVideoEncodeH265DpbSlotInfoEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265DpbSlotInfoEXTcreate(long address)Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance for the specified memory address.static VkVideoEncodeH265DpbSlotInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265DpbSlotInfoEXTcreateSafe(long address)static VkVideoEncodeH265DpbSlotInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH265DpbSlotInfoEXTmalloc()Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated withmemAlloc.static VkVideoEncodeH265DpbSlotInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265DpbSlotInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265DpbSlotInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static StdVideoEncodeH265ReferenceInfonpStdReferenceInfo(long struct)Unsafe version ofpStdReferenceInfo().static voidnpStdReferenceInfo(long struct, StdVideoEncodeH265ReferenceInfo value)Unsafe version ofpStdReferenceInfo.static bytenslotIndex(long struct)Unsafe version ofslotIndex().static voidnslotIndex(long struct, byte value)Unsafe version ofslotIndex.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEncodeH265DpbSlotInfoEXTpNext(long value)Sets the specified value to thepNext()field.StdVideoEncodeH265ReferenceInfopStdReferenceInfo()a pointer to aStdVideoEncodeH265ReferenceInfostructure specifying the syntax and other codec-specific information from the H.265 specification, associated with this reference picture.VkVideoEncodeH265DpbSlotInfoEXTpStdReferenceInfo(StdVideoEncodeH265ReferenceInfo value)Sets the address of the specifiedStdVideoEncodeH265ReferenceInfoto thepStdReferenceInfo()field.VkVideoEncodeH265DpbSlotInfoEXTset(int sType, long pNext, byte slotIndex, StdVideoEncodeH265ReferenceInfo pStdReferenceInfo)Initializes this struct with the specified values.VkVideoEncodeH265DpbSlotInfoEXTset(VkVideoEncodeH265DpbSlotInfoEXT src)Copies the specified struct data to this struct.intsizeof()byteslotIndex()the DPB Slot index for this picture.VkVideoEncodeH265DpbSlotInfoEXTslotIndex(byte value)Sets the specified value to theslotIndex()field.intsType()the type of this structure.VkVideoEncodeH265DpbSlotInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265DpbSlotInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH265DpbSlotInfoEXT
public VkVideoEncodeH265DpbSlotInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265DpbSlotInfoEXTinstance 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.
-
slotIndex
public byte slotIndex()
the DPB Slot index for this picture.
-
pStdReferenceInfo
public StdVideoEncodeH265ReferenceInfo pStdReferenceInfo()
a pointer to aStdVideoEncodeH265ReferenceInfostructure specifying the syntax and other codec-specific information from the H.265 specification, associated with this reference picture.
-
sType
public VkVideoEncodeH265DpbSlotInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265DpbSlotInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265DpbSlotInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
slotIndex
public VkVideoEncodeH265DpbSlotInfoEXT slotIndex(byte value)
Sets the specified value to theslotIndex()field.
-
pStdReferenceInfo
public VkVideoEncodeH265DpbSlotInfoEXT pStdReferenceInfo(StdVideoEncodeH265ReferenceInfo value)
Sets the address of the specifiedStdVideoEncodeH265ReferenceInfoto thepStdReferenceInfo()field.
-
set
public VkVideoEncodeH265DpbSlotInfoEXT set(int sType, long pNext, byte slotIndex, StdVideoEncodeH265ReferenceInfo pStdReferenceInfo)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265DpbSlotInfoEXT set(VkVideoEncodeH265DpbSlotInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265DpbSlotInfoEXT malloc()
Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265DpbSlotInfoEXT calloc()
Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265DpbSlotInfoEXT create()
Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265DpbSlotInfoEXT create(long address)
Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265DpbSlotInfoEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265DpbSlotInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265DpbSlotInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265DpbSlotInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265DpbSlotInfoEXT.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().
-
nslotIndex
public static byte nslotIndex(long struct)
Unsafe version ofslotIndex().
-
npStdReferenceInfo
public static StdVideoEncodeH265ReferenceInfo npStdReferenceInfo(long struct)
Unsafe version ofpStdReferenceInfo().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nslotIndex
public static void nslotIndex(long struct, byte value)Unsafe version ofslotIndex.
-
npStdReferenceInfo
public static void npStdReferenceInfo(long struct, StdVideoEncodeH265ReferenceInfo value)Unsafe version ofpStdReferenceInfo.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-