Package org.lwjgl.vulkan
Class VkVideoDecodeH264SessionCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH264SessionCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH264SessionCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.264 decode session creation parameters.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXTflagsmust be 0pStdExtensionVersionmust be a valid pointer to a validVkExtensionPropertiesstructure
See Also
Layout
struct VkVideoDecodeH264SessionCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkVideoDecodeH264CreateFlagsEXTflags();VkExtensionPropertiesconst *pStdExtensionVersion(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH264SessionCreateInfoEXT.BufferAn array ofVkVideoDecodeH264SessionCreateInfoEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH264SessionCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH264SessionCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH264SessionCreateInfoEXTcalloc()Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated withmemCalloc.static VkVideoDecodeH264SessionCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH264SessionCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264SessionCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264SessionCreateInfoEXTcreate()Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated withBufferUtils.static VkVideoDecodeH264SessionCreateInfoEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH264SessionCreateInfoEXTcreate(long address)Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance for the specified memory address.static VkVideoDecodeH264SessionCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance at the specified memory.static VkVideoDecodeH264SessionCreateInfoEXTcreateSafe(long address)static VkVideoDecodeH264SessionCreateInfoEXT.BuffercreateSafe(long address, int capacity)intflags()reserved for future use.VkVideoDecodeH264SessionCreateInfoEXTflags(int value)Sets the specified value to theflags()field.static VkVideoDecodeH264SessionCreateInfoEXTmalloc()Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated withmemAlloc.static VkVideoDecodeH264SessionCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH264SessionCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH264SessionCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance 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.VkVideoDecodeH264SessionCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkExtensionPropertiespStdExtensionVersion()a pointer to aVkExtensionPropertiesstructure specifying the H.264 codec extensions defined inStdVideoH264Extensions.VkVideoDecodeH264SessionCreateInfoEXTpStdExtensionVersion(VkExtensionProperties value)Sets the address of the specifiedVkExtensionPropertiesto thepStdExtensionVersion()field.VkVideoDecodeH264SessionCreateInfoEXTset(int sType, long pNext, int flags, VkExtensionProperties pStdExtensionVersion)Initializes this struct with the specified values.VkVideoDecodeH264SessionCreateInfoEXTset(VkVideoDecodeH264SessionCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH264SessionCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH264SessionCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH264SessionCreateInfoEXT
public VkVideoDecodeH264SessionCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH264SessionCreateInfoEXTinstance 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 the H.264 codec extensions defined inStdVideoH264Extensions.
-
sType
public VkVideoDecodeH264SessionCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH264SessionCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH264SessionCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
flags
public VkVideoDecodeH264SessionCreateInfoEXT flags(int value)
Sets the specified value to theflags()field.
-
pStdExtensionVersion
public VkVideoDecodeH264SessionCreateInfoEXT pStdExtensionVersion(VkExtensionProperties value)
Sets the address of the specifiedVkExtensionPropertiesto thepStdExtensionVersion()field.
-
set
public VkVideoDecodeH264SessionCreateInfoEXT set(int sType, long pNext, int flags, VkExtensionProperties pStdExtensionVersion)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH264SessionCreateInfoEXT set(VkVideoDecodeH264SessionCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH264SessionCreateInfoEXT malloc()
Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH264SessionCreateInfoEXT calloc()
Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH264SessionCreateInfoEXT create()
Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH264SessionCreateInfoEXT create(long address)
Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH264SessionCreateInfoEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH264SessionCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH264SessionCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264SessionCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264SessionCreateInfoEXT.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
-
-