Package org.lwjgl.vulkan
Class VkVideoDecodeH265ProfileEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH265ProfileEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265ProfileEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying H.265 decode profile.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_EXT
Layout
struct VkVideoDecodeH265ProfileEXT { VkStructureTypesType(); void const *pNext(); StdVideoH265ProfileIdcstdProfileIdc(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH265ProfileEXT.BufferAn array ofVkVideoDecodeH265ProfileEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTDPROFILEIDC
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH265ProfileEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH265ProfileEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH265ProfileEXTcalloc()Returns a newVkVideoDecodeH265ProfileEXTinstance allocated withmemCalloc.static VkVideoDecodeH265ProfileEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH265ProfileEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265ProfileEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265ProfileEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265ProfileEXTcreate()Returns a newVkVideoDecodeH265ProfileEXTinstance allocated withBufferUtils.static VkVideoDecodeH265ProfileEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH265ProfileEXTcreate(long address)Returns a newVkVideoDecodeH265ProfileEXTinstance for the specified memory address.static VkVideoDecodeH265ProfileEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH265ProfileEXT.Bufferinstance at the specified memory.static VkVideoDecodeH265ProfileEXTcreateSafe(long address)static VkVideoDecodeH265ProfileEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH265ProfileEXTmalloc()Returns a newVkVideoDecodeH265ProfileEXTinstance allocated withmemAlloc.static VkVideoDecodeH265ProfileEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH265ProfileEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH265ProfileEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265ProfileEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnstdProfileIdc(long struct)Unsafe version ofstdProfileIdc().static voidnstdProfileIdc(long struct, int value)Unsafe version ofstdProfileIdc.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.VkVideoDecodeH265ProfileEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoDecodeH265ProfileEXTset(int sType, long pNext, int stdProfileIdc)Initializes this struct with the specified values.VkVideoDecodeH265ProfileEXTset(VkVideoDecodeH265ProfileEXT src)Copies the specified struct data to this struct.intsizeof()intstdProfileIdc()aStdVideoH265ProfileIdcvalue specifying the H.265 codec profile IDC.VkVideoDecodeH265ProfileEXTstdProfileIdc(int value)Sets the specified value to thestdProfileIdc()field.intsType()the type of this structure.VkVideoDecodeH265ProfileEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH265ProfileEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoDecodeH265ProfileEXT
public VkVideoDecodeH265ProfileEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH265ProfileEXTinstance 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.
-
stdProfileIdc
public int stdProfileIdc()
aStdVideoH265ProfileIdcvalue specifying the H.265 codec profile IDC.
-
sType
public VkVideoDecodeH265ProfileEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH265ProfileEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH265ProfileEXT pNext(long value)
Sets the specified value to thepNext()field.
-
stdProfileIdc
public VkVideoDecodeH265ProfileEXT stdProfileIdc(int value)
Sets the specified value to thestdProfileIdc()field.
-
set
public VkVideoDecodeH265ProfileEXT set(int sType, long pNext, int stdProfileIdc)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH265ProfileEXT set(VkVideoDecodeH265ProfileEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH265ProfileEXT malloc()
Returns a newVkVideoDecodeH265ProfileEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH265ProfileEXT calloc()
Returns a newVkVideoDecodeH265ProfileEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH265ProfileEXT create()
Returns a newVkVideoDecodeH265ProfileEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH265ProfileEXT create(long address)
Returns a newVkVideoDecodeH265ProfileEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH265ProfileEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH265ProfileEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265ProfileEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265ProfileEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265ProfileEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH265ProfileEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH265ProfileEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH265ProfileEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265ProfileEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265ProfileEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265ProfileEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265ProfileEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265ProfileEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265ProfileEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265ProfileEXT.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().
-
nstdProfileIdc
public static int nstdProfileIdc(long struct)
Unsafe version ofstdProfileIdc().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nstdProfileIdc
public static void nstdProfileIdc(long struct, int value)Unsafe version ofstdProfileIdc.
-
-