Package org.lwjgl.vulkan
Class VkVideoEncodeH264DpbSlotInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH264DpbSlotInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH264DpbSlotInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.264 encode DPB picture information.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXTpNextmust beNULLpStdReferenceInfomust be a valid pointer to a validStdVideoEncodeH264ReferenceInfovalue
See Also
VkVideoEncodeH264ReferenceListsEXTLayout
struct VkVideoEncodeH264DpbSlotInfoEXT { VkStructureTypesType(); void const *pNext(); int8_tslotIndex();StdVideoEncodeH264ReferenceInfoconst *pStdReferenceInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH264DpbSlotInfoEXT.BufferAn array ofVkVideoEncodeH264DpbSlotInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH264DpbSlotInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH264DpbSlotInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH264DpbSlotInfoEXTcalloc()Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated withmemCalloc.static VkVideoEncodeH264DpbSlotInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH264DpbSlotInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264DpbSlotInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264DpbSlotInfoEXTcreate()Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated withBufferUtils.static VkVideoEncodeH264DpbSlotInfoEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH264DpbSlotInfoEXTcreate(long address)Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance for the specified memory address.static VkVideoEncodeH264DpbSlotInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance at the specified memory.static VkVideoEncodeH264DpbSlotInfoEXTcreateSafe(long address)static VkVideoEncodeH264DpbSlotInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH264DpbSlotInfoEXTmalloc()Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated withmemAlloc.static VkVideoEncodeH264DpbSlotInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH264DpbSlotInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH264DpbSlotInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static StdVideoEncodeH264ReferenceInfonpStdReferenceInfo(long struct)Unsafe version ofpStdReferenceInfo().static voidnpStdReferenceInfo(long struct, StdVideoEncodeH264ReferenceInfo 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.VkVideoEncodeH264DpbSlotInfoEXTpNext(long value)Sets the specified value to thepNext()field.StdVideoEncodeH264ReferenceInfopStdReferenceInfo()a pointer to aStdVideoEncodeH264ReferenceInfostructure specifying the syntax and other codec-specific information from the H.264 specification associated with this reference picture.VkVideoEncodeH264DpbSlotInfoEXTpStdReferenceInfo(StdVideoEncodeH264ReferenceInfo value)Sets the address of the specifiedStdVideoEncodeH264ReferenceInfoto thepStdReferenceInfo()field.VkVideoEncodeH264DpbSlotInfoEXTset(int sType, long pNext, byte slotIndex, StdVideoEncodeH264ReferenceInfo pStdReferenceInfo)Initializes this struct with the specified values.VkVideoEncodeH264DpbSlotInfoEXTset(VkVideoEncodeH264DpbSlotInfoEXT src)Copies the specified struct data to this struct.intsizeof()byteslotIndex()the DPB Slot index for this picture.VkVideoEncodeH264DpbSlotInfoEXTslotIndex(byte value)Sets the specified value to theslotIndex()field.intsType()the type of this structure.VkVideoEncodeH264DpbSlotInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH264DpbSlotInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH264DpbSlotInfoEXT
public VkVideoEncodeH264DpbSlotInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH264DpbSlotInfoEXTinstance 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.slotIndexmust match theslotIndexinpSetupReferenceSlotofVkVideoEncodeInfoKHRin the command used to encode the corresponding picture.
-
pStdReferenceInfo
public StdVideoEncodeH264ReferenceInfo pStdReferenceInfo()
a pointer to aStdVideoEncodeH264ReferenceInfostructure specifying the syntax and other codec-specific information from the H.264 specification associated with this reference picture.
-
sType
public VkVideoEncodeH264DpbSlotInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH264DpbSlotInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH264DpbSlotInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
slotIndex
public VkVideoEncodeH264DpbSlotInfoEXT slotIndex(byte value)
Sets the specified value to theslotIndex()field.
-
pStdReferenceInfo
public VkVideoEncodeH264DpbSlotInfoEXT pStdReferenceInfo(StdVideoEncodeH264ReferenceInfo value)
Sets the address of the specifiedStdVideoEncodeH264ReferenceInfoto thepStdReferenceInfo()field.
-
set
public VkVideoEncodeH264DpbSlotInfoEXT set(int sType, long pNext, byte slotIndex, StdVideoEncodeH264ReferenceInfo pStdReferenceInfo)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH264DpbSlotInfoEXT set(VkVideoEncodeH264DpbSlotInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH264DpbSlotInfoEXT malloc()
Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH264DpbSlotInfoEXT calloc()
Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH264DpbSlotInfoEXT create()
Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH264DpbSlotInfoEXT create(long address)
Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH264DpbSlotInfoEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH264DpbSlotInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH264DpbSlotInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264DpbSlotInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264DpbSlotInfoEXT.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 StdVideoEncodeH264ReferenceInfo 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, StdVideoEncodeH264ReferenceInfo value)Unsafe version ofpStdReferenceInfo.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-