Package org.lwjgl.vulkan
Class VkVideoDecodeH264PictureInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH264PictureInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH264PictureInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.264 decode picture parameters when decoding a picture.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_EXTpStdPictureInfomust be a valid pointer to a validStdVideoDecodeH264PictureInfovaluepSlicesDataOffsetsmust be a valid pointer to an array ofslicesCountuint32_tvaluesslicesCountmust be greater than 0
Layout
struct VkVideoDecodeH264PictureInfoEXT { VkStructureTypesType(); void const *pNext();StdVideoDecodeH264PictureInfoconst *pStdPictureInfo(); uint32_tslicesCount(); uint32_t const *pSlicesDataOffsets(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH264PictureInfoEXT.BufferAn array ofVkVideoDecodeH264PictureInfoEXTstructs.
-
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 VkVideoDecodeH264PictureInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH264PictureInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH264PictureInfoEXTcalloc()Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH264PictureInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH264PictureInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264PictureInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264PictureInfoEXTcreate()Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH264PictureInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH264PictureInfoEXTcreate(long address)Returns a newVkVideoDecodeH264PictureInfoEXTinstance for the specified memory address.static VkVideoDecodeH264PictureInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH264PictureInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH264PictureInfoEXTcreateSafe(long address)static VkVideoDecodeH264PictureInfoEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH264PictureInfoEXTmalloc()Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH264PictureInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH264PictureInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH264PictureInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264PictureInfoEXTinstance 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 StdVideoDecodeH264PictureInfonpStdPictureInfo(long struct)Unsafe version ofpStdPictureInfo().static voidnpStdPictureInfo(long struct, StdVideoDecodeH264PictureInfo 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.VkVideoDecodeH264PictureInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoDecodeH264PictureInfoEXTpNext(VkVideoDecodeH264MvcEXT value)Prepends the specifiedVkVideoDecodeH264MvcEXTvalue to thepNextchain.java.nio.IntBufferpSlicesDataOffsets()a pointer to an array ofslicesCountoffsets indicating the start offset of each slice within the bitstream buffer.VkVideoDecodeH264PictureInfoEXTpSlicesDataOffsets(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepSlicesDataOffsets()field.StdVideoDecodeH264PictureInfopStdPictureInfo()a pointer to aStdVideoDecodeH264PictureInfostructure specifying the codec standard specific picture information from the H.264 specification.VkVideoDecodeH264PictureInfoEXTpStdPictureInfo(StdVideoDecodeH264PictureInfo value)Sets the address of the specifiedStdVideoDecodeH264PictureInfoto thepStdPictureInfo()field.VkVideoDecodeH264PictureInfoEXTset(int sType, long pNext, StdVideoDecodeH264PictureInfo pStdPictureInfo, java.nio.IntBuffer pSlicesDataOffsets)Initializes this struct with the specified values.VkVideoDecodeH264PictureInfoEXTset(VkVideoDecodeH264PictureInfoEXT src)Copies the specified struct data to this struct.intsizeof()intslicesCount()the number of slices in this picture.intsType()the type of this structure.VkVideoDecodeH264PictureInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH264PictureInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH264PictureInfoEXT
public VkVideoDecodeH264PictureInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH264PictureInfoEXTinstance 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 StdVideoDecodeH264PictureInfo pStdPictureInfo()
a pointer to aStdVideoDecodeH264PictureInfostructure specifying the codec standard specific picture information from the H.264 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 VkVideoDecodeH264PictureInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH264PictureInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH264PictureInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pNext
public VkVideoDecodeH264PictureInfoEXT pNext(VkVideoDecodeH264MvcEXT value)
Prepends the specifiedVkVideoDecodeH264MvcEXTvalue to thepNextchain.
-
pStdPictureInfo
public VkVideoDecodeH264PictureInfoEXT pStdPictureInfo(StdVideoDecodeH264PictureInfo value)
Sets the address of the specifiedStdVideoDecodeH264PictureInfoto thepStdPictureInfo()field.
-
pSlicesDataOffsets
public VkVideoDecodeH264PictureInfoEXT pSlicesDataOffsets(java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepSlicesDataOffsets()field.
-
set
public VkVideoDecodeH264PictureInfoEXT set(int sType, long pNext, StdVideoDecodeH264PictureInfo pStdPictureInfo, java.nio.IntBuffer pSlicesDataOffsets)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH264PictureInfoEXT set(VkVideoDecodeH264PictureInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH264PictureInfoEXT malloc()
Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH264PictureInfoEXT calloc()
Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH264PictureInfoEXT create()
Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH264PictureInfoEXT create(long address)
Returns a newVkVideoDecodeH264PictureInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH264PictureInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH264PictureInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264PictureInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264PictureInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264PictureInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH264PictureInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH264PictureInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH264PictureInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH264PictureInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264PictureInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH264PictureInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264PictureInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264PictureInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264PictureInfoEXT.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 StdVideoDecodeH264PictureInfo 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, StdVideoDecodeH264PictureInfo 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
-
-