Package org.lwjgl.vulkan
Class VkVideoDecodeH265SessionCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH265SessionCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH265SessionCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 decode session creation parameters.Description
A
VkVideoDecodeH265SessionCreateInfoEXTstructure can be chained toVkVideoSessionCreateInfoKHRwhen the functionCreateVideoSessionKHRis called to create a video session for H.265 decode operations.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXTflagsmust be 0pStdExtensionVersionmust be a valid pointer to a validVkExtensionPropertiesstructure
See Also
Layout
struct VkVideoDecodeH265SessionCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkVideoDecodeH265CreateFlagsEXTflags();VkExtensionPropertiesconst *pStdExtensionVersion(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH265SessionCreateInfoEXT.BufferAn array ofVkVideoDecodeH265SessionCreateInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH265SessionCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH265SessionCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH265SessionCreateInfoEXTcalloc()Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH265SessionCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH265SessionCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265SessionCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH265SessionCreateInfoEXTcreate()Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH265SessionCreateInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH265SessionCreateInfoEXTcreate(long address)Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance for the specified memory address.static VkVideoDecodeH265SessionCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH265SessionCreateInfoEXTcreateSafe(long address)static VkVideoDecodeH265SessionCreateInfoEXT.BuffercreateSafe(long address, int capacity)intflags()reserved for future use.VkVideoDecodeH265SessionCreateInfoEXTflags(int value)Sets the specified value to theflags()field.static VkVideoDecodeH265SessionCreateInfoEXTmalloc()Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH265SessionCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH265SessionCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH265SessionCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkExtensionPropertiesnpStdExtensionVersion(long struct)Unsafe version ofpStdExtensionVersion().static voidnpStdExtensionVersion(long struct, VkExtensionProperties value)Unsafe version ofpStdExtensionVersion.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.VkVideoDecodeH265SessionCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkExtensionPropertiespStdExtensionVersion()a pointer to aVkExtensionPropertiesstructure specifying H.265 codec extensions.VkVideoDecodeH265SessionCreateInfoEXTpStdExtensionVersion(VkExtensionProperties value)Sets the address of the specifiedVkExtensionPropertiesto thepStdExtensionVersion()field.VkVideoDecodeH265SessionCreateInfoEXTset(int sType, long pNext, int flags, VkExtensionProperties pStdExtensionVersion)Initializes this struct with the specified values.VkVideoDecodeH265SessionCreateInfoEXTset(VkVideoDecodeH265SessionCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH265SessionCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH265SessionCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH265SessionCreateInfoEXT
public VkVideoDecodeH265SessionCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH265SessionCreateInfoEXTinstance 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.
-
flags
public int flags()
reserved for future use.
-
pStdExtensionVersion
public VkExtensionProperties pStdExtensionVersion()
a pointer to aVkExtensionPropertiesstructure specifying H.265 codec extensions.
-
sType
public VkVideoDecodeH265SessionCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH265SessionCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH265SessionCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkVideoDecodeH265SessionCreateInfoEXT flags(int value)
Sets the specified value to theflags()field.
-
pStdExtensionVersion
public VkVideoDecodeH265SessionCreateInfoEXT pStdExtensionVersion(VkExtensionProperties value)
Sets the address of the specifiedVkExtensionPropertiesto thepStdExtensionVersion()field.
-
set
public VkVideoDecodeH265SessionCreateInfoEXT set(int sType, long pNext, int flags, VkExtensionProperties pStdExtensionVersion)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH265SessionCreateInfoEXT set(VkVideoDecodeH265SessionCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH265SessionCreateInfoEXT malloc()
Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH265SessionCreateInfoEXT calloc()
Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH265SessionCreateInfoEXT create()
Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH265SessionCreateInfoEXT create(long address)
Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH265SessionCreateInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH265SessionCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH265SessionCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH265SessionCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH265SessionCreateInfoEXT.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().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
npStdExtensionVersion
public static VkExtensionProperties npStdExtensionVersion(long struct)
Unsafe version ofpStdExtensionVersion().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
npStdExtensionVersion
public static void npStdExtensionVersion(long struct, VkExtensionProperties value)Unsafe version ofpStdExtensionVersion.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-