Package org.lwjgl.vulkan
Class VkVideoDecodeH265DpbSlotInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH265DpbSlotInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265DpbSlotInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 DPB information when decoding a frame.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_EXTpStdReferenceInfomust be a valid pointer to a validStdVideoDecodeH265ReferenceInfovalue
Layout
struct VkVideoDecodeH265DpbSlotInfoEXT { VkStructureTypesType(); void const *pNext();StdVideoDecodeH265ReferenceInfoconst *pStdReferenceInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH265DpbSlotInfoEXT.BufferAn array ofVkVideoDecodeH265DpbSlotInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
PSTDREFERENCEINFOThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH265DpbSlotInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH265DpbSlotInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH265DpbSlotInfoEXTcalloc()Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH265DpbSlotInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH265DpbSlotInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265DpbSlotInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265DpbSlotInfoEXTcreate()Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH265DpbSlotInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH265DpbSlotInfoEXTcreate(long address)Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance for the specified memory address.static VkVideoDecodeH265DpbSlotInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH265DpbSlotInfoEXTcreateSafe(long address)static VkVideoDecodeH265DpbSlotInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH265DpbSlotInfoEXTmalloc()Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH265DpbSlotInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH265DpbSlotInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH265DpbSlotInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static StdVideoDecodeH265ReferenceInfonpStdReferenceInfo(long struct)Unsafe version ofpStdReferenceInfo().static voidnpStdReferenceInfo(long struct, StdVideoDecodeH265ReferenceInfo value)Unsafe version ofpStdReferenceInfo.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.VkVideoDecodeH265DpbSlotInfoEXTpNext(long value)Sets the specified value to thepNext()field.StdVideoDecodeH265ReferenceInfopStdReferenceInfo()a pointer to aStdVideoDecodeH265ReferenceInfostructure specifying the codec standard specific picture reference information from the H.264 specification.VkVideoDecodeH265DpbSlotInfoEXTpStdReferenceInfo(StdVideoDecodeH265ReferenceInfo value)Sets the address of the specifiedStdVideoDecodeH265ReferenceInfoto thepStdReferenceInfo()field.VkVideoDecodeH265DpbSlotInfoEXTset(int sType, long pNext, StdVideoDecodeH265ReferenceInfo pStdReferenceInfo)Initializes this struct with the specified values.VkVideoDecodeH265DpbSlotInfoEXTset(VkVideoDecodeH265DpbSlotInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH265DpbSlotInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH265DpbSlotInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH265DpbSlotInfoEXT
public VkVideoDecodeH265DpbSlotInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH265DpbSlotInfoEXTinstance 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.
-
pStdReferenceInfo
public StdVideoDecodeH265ReferenceInfo pStdReferenceInfo()
a pointer to aStdVideoDecodeH265ReferenceInfostructure specifying the codec standard specific picture reference information from the H.264 specification.
-
sType
public VkVideoDecodeH265DpbSlotInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH265DpbSlotInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH265DpbSlotInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pStdReferenceInfo
public VkVideoDecodeH265DpbSlotInfoEXT pStdReferenceInfo(StdVideoDecodeH265ReferenceInfo value)
Sets the address of the specifiedStdVideoDecodeH265ReferenceInfoto thepStdReferenceInfo()field.
-
set
public VkVideoDecodeH265DpbSlotInfoEXT set(int sType, long pNext, StdVideoDecodeH265ReferenceInfo pStdReferenceInfo)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH265DpbSlotInfoEXT set(VkVideoDecodeH265DpbSlotInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH265DpbSlotInfoEXT malloc()
Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH265DpbSlotInfoEXT calloc()
Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH265DpbSlotInfoEXT create()
Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH265DpbSlotInfoEXT create(long address)
Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH265DpbSlotInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH265DpbSlotInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265DpbSlotInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265DpbSlotInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265DpbSlotInfoEXT.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().
-
npStdReferenceInfo
public static StdVideoDecodeH265ReferenceInfo 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.
-
npStdReferenceInfo
public static void npStdReferenceInfo(long struct, StdVideoDecodeH265ReferenceInfo value)Unsafe version ofpStdReferenceInfo.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-