Package org.lwjgl.vulkan
Class VkVideoDecodeH264DpbSlotInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH264DpbSlotInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH264DpbSlotInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.264 decode DPB picture information.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_EXTpStdReferenceInfomust be a valid pointer to a validStdVideoDecodeH264ReferenceInfovalue
Layout
struct VkVideoDecodeH264DpbSlotInfoEXT { VkStructureTypesType(); void const * pNext;StdVideoDecodeH264ReferenceInfoconst *pStdReferenceInfo(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH264DpbSlotInfoEXT.BufferAn array ofVkVideoDecodeH264DpbSlotInfoEXTstructs.
-
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 VkVideoDecodeH264DpbSlotInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH264DpbSlotInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH264DpbSlotInfoEXTcalloc()Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH264DpbSlotInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH264DpbSlotInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264DpbSlotInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264DpbSlotInfoEXTcreate()Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH264DpbSlotInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH264DpbSlotInfoEXTcreate(long address)Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance for the specified memory address.static VkVideoDecodeH264DpbSlotInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH264DpbSlotInfoEXTcreateSafe(long address)static VkVideoDecodeH264DpbSlotInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH264DpbSlotInfoEXTmalloc()Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH264DpbSlotInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH264DpbSlotInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH264DpbSlotInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static StdVideoDecodeH264ReferenceInfonpStdReferenceInfo(long struct)Unsafe version ofpStdReferenceInfo().static voidnpStdReferenceInfo(long struct, StdVideoDecodeH264ReferenceInfo value)Unsafe version ofpStdReferenceInfo.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()VkVideoDecodeH264DpbSlotInfoEXTpNext(long value)Sets the specified value to thepNextfield.StdVideoDecodeH264ReferenceInfopStdReferenceInfo()a pointer to aStdVideoDecodeH264ReferenceInfostructure specifying the codec standard specific picture reference information from the H.264 specification.VkVideoDecodeH264DpbSlotInfoEXTpStdReferenceInfo(StdVideoDecodeH264ReferenceInfo value)Sets the address of the specifiedStdVideoDecodeH264ReferenceInfoto thepStdReferenceInfo()field.VkVideoDecodeH264DpbSlotInfoEXTset(int sType, long pNext, StdVideoDecodeH264ReferenceInfo pStdReferenceInfo)Initializes this struct with the specified values.VkVideoDecodeH264DpbSlotInfoEXTset(VkVideoDecodeH264DpbSlotInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH264DpbSlotInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH264DpbSlotInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH264DpbSlotInfoEXT
public VkVideoDecodeH264DpbSlotInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH264DpbSlotInfoEXTinstance 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()
- Returns:
- the value of the
pNextfield.
-
pStdReferenceInfo
public StdVideoDecodeH264ReferenceInfo pStdReferenceInfo()
a pointer to aStdVideoDecodeH264ReferenceInfostructure specifying the codec standard specific picture reference information from the H.264 specification.
-
sType
public VkVideoDecodeH264DpbSlotInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH264DpbSlotInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH264DpbSlotInfoEXT pNext(long value)
Sets the specified value to thepNextfield.
-
pStdReferenceInfo
public VkVideoDecodeH264DpbSlotInfoEXT pStdReferenceInfo(StdVideoDecodeH264ReferenceInfo value)
Sets the address of the specifiedStdVideoDecodeH264ReferenceInfoto thepStdReferenceInfo()field.
-
set
public VkVideoDecodeH264DpbSlotInfoEXT set(int sType, long pNext, StdVideoDecodeH264ReferenceInfo pStdReferenceInfo)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH264DpbSlotInfoEXT set(VkVideoDecodeH264DpbSlotInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH264DpbSlotInfoEXT malloc()
Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH264DpbSlotInfoEXT calloc()
Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH264DpbSlotInfoEXT create()
Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH264DpbSlotInfoEXT create(long address)
Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH264DpbSlotInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH264DpbSlotInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH264DpbSlotInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264DpbSlotInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264DpbSlotInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264DpbSlotInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264DpbSlotInfoEXT.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 StdVideoDecodeH264ReferenceInfo 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, StdVideoDecodeH264ReferenceInfo value)Unsafe version ofpStdReferenceInfo.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-