Package org.lwjgl.vulkan
Class VkVideoDecodeH265CapabilitiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH265CapabilitiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265CapabilitiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 decode capabilities parameters when decoding a frame.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_EXT
See Also
Layout
struct VkVideoDecodeH265CapabilitiesEXT { VkStructureTypesType(); void *pNext(); uint32_tmaxLevel();VkExtensionPropertiesstdExtensionVersion(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH265CapabilitiesEXT.BufferAn array ofVkVideoDecodeH265CapabilitiesEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH265CapabilitiesEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH265CapabilitiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH265CapabilitiesEXTcalloc()Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated withmemCalloc.static VkVideoDecodeH265CapabilitiesEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH265CapabilitiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265CapabilitiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265CapabilitiesEXTcreate()Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated withBufferUtils.static VkVideoDecodeH265CapabilitiesEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH265CapabilitiesEXTcreate(long address)Returns a newVkVideoDecodeH265CapabilitiesEXTinstance for the specified memory address.static VkVideoDecodeH265CapabilitiesEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH265CapabilitiesEXT.Bufferinstance at the specified memory.static VkVideoDecodeH265CapabilitiesEXTcreateSafe(long address)static VkVideoDecodeH265CapabilitiesEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH265CapabilitiesEXTmalloc()Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated withmemAlloc.static VkVideoDecodeH265CapabilitiesEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH265CapabilitiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH265CapabilitiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated on the specifiedMemoryStack.intmaxLevel()the maximum H.265 level supported by the device.static intnmaxLevel(long struct)Unsafe version ofmaxLevel().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkExtensionPropertiesnstdExtensionVersion(long struct)Unsafe version ofstdExtensionVersion().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.VkVideoDecodeH265CapabilitiesEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoDecodeH265CapabilitiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkVideoDecodeH265CapabilitiesEXTset(VkVideoDecodeH265CapabilitiesEXT src)Copies the specified struct data to this struct.intsizeof()VkExtensionPropertiesstdExtensionVersion()aVkExtensionPropertiesstructure specifying the H.265 extension name and version supported by this implementation.intsType()the type of this structure.VkVideoDecodeH265CapabilitiesEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH265CapabilitiesEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoDecodeH265CapabilitiesEXT
public VkVideoDecodeH265CapabilitiesEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH265CapabilitiesEXTinstance 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.
-
maxLevel
public int maxLevel()
the maximum H.265 level supported by the device.
-
stdExtensionVersion
public VkExtensionProperties stdExtensionVersion()
aVkExtensionPropertiesstructure specifying the H.265 extension name and version supported by this implementation.
-
sType
public VkVideoDecodeH265CapabilitiesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH265CapabilitiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH265CapabilitiesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkVideoDecodeH265CapabilitiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH265CapabilitiesEXT set(VkVideoDecodeH265CapabilitiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH265CapabilitiesEXT malloc()
Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH265CapabilitiesEXT calloc()
Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH265CapabilitiesEXT create()
Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH265CapabilitiesEXT create(long address)
Returns a newVkVideoDecodeH265CapabilitiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH265CapabilitiesEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH265CapabilitiesEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265CapabilitiesEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265CapabilitiesEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265CapabilitiesEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH265CapabilitiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH265CapabilitiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH265CapabilitiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265CapabilitiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265CapabilitiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265CapabilitiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265CapabilitiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265CapabilitiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265CapabilitiesEXT.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().
-
nmaxLevel
public static int nmaxLevel(long struct)
Unsafe version ofmaxLevel().
-
nstdExtensionVersion
public static VkExtensionProperties nstdExtensionVersion(long struct)
Unsafe version ofstdExtensionVersion().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
-