Package org.lwjgl.vulkan
Class VkVideoDecodeH265PictureInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH265PictureInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265PictureInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 picture information when decoding a frame.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_EXTpStdPictureInfomust be a valid pointer to aStdVideoDecodeH265PictureInfovaluepSlicesDataOffsetsmust be a valid pointer to an array ofslicesCountuint32_tvaluesslicesCountmust be greater than 0
Layout
struct VkVideoDecodeH265PictureInfoEXT { VkStructureTypesType(); void const *pNext();StdVideoDecodeH265PictureInfo*pStdPictureInfo(); uint32_tslicesCount(); uint32_t const *pSlicesDataOffsets(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH265PictureInfoEXT.BufferAn array ofVkVideoDecodeH265PictureInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXT
PSLICESDATAOFFSETS
PSTDPICTUREINFOThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSLICESCOUNT
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH265PictureInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH265PictureInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH265PictureInfoEXTcalloc()Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH265PictureInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH265PictureInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265PictureInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265PictureInfoEXTcreate()Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH265PictureInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH265PictureInfoEXTcreate(long address)Returns a newVkVideoDecodeH265PictureInfoEXTinstance for the specified memory address.static VkVideoDecodeH265PictureInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH265PictureInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH265PictureInfoEXTcreateSafe(long address)static VkVideoDecodeH265PictureInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH265PictureInfoEXTmalloc()Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH265PictureInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH265PictureInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH265PictureInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static java.nio.IntBuffernpSlicesDataOffsets(long struct)Unsafe version ofpSlicesDataOffsets.static voidnpSlicesDataOffsets(long struct, java.nio.IntBuffer value)Unsafe version ofpSlicesDataOffsets.static StdVideoDecodeH265PictureInfonpStdPictureInfo(long struct)Unsafe version ofpStdPictureInfo().static voidnpStdPictureInfo(long struct, StdVideoDecodeH265PictureInfo value)Unsafe version ofpStdPictureInfo.static intnslicesCount(long struct)Unsafe version ofslicesCount().static voidnslicesCount(long struct, int value)Sets the specified value to theslicesCountfield of the specifiedstruct.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.VkVideoDecodeH265PictureInfoEXTpNext(long value)Sets the specified value to thepNext()field.java.nio.IntBufferpSlicesDataOffsets()a pointer to an array ofslicesCountoffsets indicating the start offset of each slice within the bitstream buffer.VkVideoDecodeH265PictureInfoEXTpSlicesDataOffsets(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepSlicesDataOffsets()field.StdVideoDecodeH265PictureInfopStdPictureInfo()a pointer to aStdVideoDecodeH265PictureInfostructure specifying codec standard specific picture information from the H.265 specification.VkVideoDecodeH265PictureInfoEXTpStdPictureInfo(StdVideoDecodeH265PictureInfo value)Sets the address of the specifiedStdVideoDecodeH265PictureInfoto thepStdPictureInfo()field.VkVideoDecodeH265PictureInfoEXTset(int sType, long pNext, StdVideoDecodeH265PictureInfo pStdPictureInfo, java.nio.IntBuffer pSlicesDataOffsets)Initializes this struct with the specified values.VkVideoDecodeH265PictureInfoEXTset(VkVideoDecodeH265PictureInfoEXT src)Copies the specified struct data to this struct.intsizeof()intslicesCount()the number of slices in this picture.intsType()the type of this structure.VkVideoDecodeH265PictureInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH265PictureInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH265PictureInfoEXT
public VkVideoDecodeH265PictureInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH265PictureInfoEXTinstance 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.
-
pStdPictureInfo
public StdVideoDecodeH265PictureInfo pStdPictureInfo()
a pointer to aStdVideoDecodeH265PictureInfostructure specifying codec standard specific picture information from the H.265 specification.
-
slicesCount
public int slicesCount()
the number of slices in this picture.
-
pSlicesDataOffsets
public java.nio.IntBuffer pSlicesDataOffsets()
a pointer to an array ofslicesCountoffsets indicating the start offset of each slice within the bitstream buffer.
-
sType
public VkVideoDecodeH265PictureInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH265PictureInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH265PictureInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pStdPictureInfo
public VkVideoDecodeH265PictureInfoEXT pStdPictureInfo(StdVideoDecodeH265PictureInfo value)
Sets the address of the specifiedStdVideoDecodeH265PictureInfoto thepStdPictureInfo()field.
-
pSlicesDataOffsets
public VkVideoDecodeH265PictureInfoEXT pSlicesDataOffsets(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepSlicesDataOffsets()field.
-
set
public VkVideoDecodeH265PictureInfoEXT set(int sType, long pNext, StdVideoDecodeH265PictureInfo pStdPictureInfo, java.nio.IntBuffer pSlicesDataOffsets)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH265PictureInfoEXT set(VkVideoDecodeH265PictureInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH265PictureInfoEXT malloc()
Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH265PictureInfoEXT calloc()
Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH265PictureInfoEXT create()
Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH265PictureInfoEXT create(long address)
Returns a newVkVideoDecodeH265PictureInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH265PictureInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH265PictureInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265PictureInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265PictureInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265PictureInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH265PictureInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH265PictureInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH265PictureInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265PictureInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265PictureInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265PictureInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265PictureInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265PictureInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265PictureInfoEXT.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().
-
npStdPictureInfo
public static StdVideoDecodeH265PictureInfo npStdPictureInfo(long struct)
Unsafe version ofpStdPictureInfo().
-
nslicesCount
public static int nslicesCount(long struct)
Unsafe version ofslicesCount().
-
npSlicesDataOffsets
public static java.nio.IntBuffer npSlicesDataOffsets(long struct)
Unsafe version ofpSlicesDataOffsets.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
npStdPictureInfo
public static void npStdPictureInfo(long struct, StdVideoDecodeH265PictureInfo value)Unsafe version ofpStdPictureInfo.
-
nslicesCount
public static void nslicesCount(long struct, int value)Sets the specified value to theslicesCountfield of the specifiedstruct.
-
npSlicesDataOffsets
public static void npSlicesDataOffsets(long struct, java.nio.IntBuffer value)Unsafe version ofpSlicesDataOffsets.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-