Package org.lwjgl.vulkan
Class VkVideoDecodeH264CapabilitiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH264CapabilitiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH264CapabilitiesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying H.264 decode capabilities.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_EXT
See Also
VkExtensionProperties,VkOffset2DLayout
struct VkVideoDecodeH264CapabilitiesEXT { VkStructureTypesType(); void *pNext(); uint32_tmaxLevel();VkOffset2DfieldOffsetGranularity();VkExtensionPropertiesstdExtensionVersion(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH264CapabilitiesEXT.BufferAn array ofVkVideoDecodeH264CapabilitiesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFIELDOFFSETGRANULARITY
MAXLEVEL
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTDEXTENSIONVERSION
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH264CapabilitiesEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH264CapabilitiesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH264CapabilitiesEXTcalloc()Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated withmemCalloc.static VkVideoDecodeH264CapabilitiesEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH264CapabilitiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264CapabilitiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264CapabilitiesEXTcreate()Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated withBufferUtils.static VkVideoDecodeH264CapabilitiesEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH264CapabilitiesEXTcreate(long address)Returns a newVkVideoDecodeH264CapabilitiesEXTinstance for the specified memory address.static VkVideoDecodeH264CapabilitiesEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH264CapabilitiesEXT.Bufferinstance at the specified memory.static VkVideoDecodeH264CapabilitiesEXTcreateSafe(long address)static VkVideoDecodeH264CapabilitiesEXT.BuffercreateSafe(long address, int capacity)VkOffset2DfieldOffsetGranularity()- if Interlaced Video Content is suported, the maximum field offset granularity supported for the picture resource.static VkVideoDecodeH264CapabilitiesEXTmalloc()Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated withmemAlloc.static VkVideoDecodeH264CapabilitiesEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH264CapabilitiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH264CapabilitiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated on the specifiedMemoryStack.intmaxLevel()the maximum H.264 level supported by the device.static VkOffset2DnfieldOffsetGranularity(long struct)Unsafe version offieldOffsetGranularity().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.VkVideoDecodeH264CapabilitiesEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoDecodeH264CapabilitiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkVideoDecodeH264CapabilitiesEXTset(VkVideoDecodeH264CapabilitiesEXT src)Copies the specified struct data to this struct.intsizeof()VkExtensionPropertiesstdExtensionVersion()aVkExtensionPropertiesstructure specifying the H.264 extension name and version supported by this implementation.intsType()the type of this structure.VkVideoDecodeH264CapabilitiesEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH264CapabilitiesEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoDecodeH264CapabilitiesEXT
public VkVideoDecodeH264CapabilitiesEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH264CapabilitiesEXTinstance 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.264 level supported by the device.
-
fieldOffsetGranularity
public VkOffset2D fieldOffsetGranularity()
- if Interlaced Video Content is suported, the maximum field offset granularity supported for the picture resource.
-
stdExtensionVersion
public VkExtensionProperties stdExtensionVersion()
aVkExtensionPropertiesstructure specifying the H.264 extension name and version supported by this implementation.
-
sType
public VkVideoDecodeH264CapabilitiesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH264CapabilitiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH264CapabilitiesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
set
public VkVideoDecodeH264CapabilitiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH264CapabilitiesEXT set(VkVideoDecodeH264CapabilitiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH264CapabilitiesEXT malloc()
Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH264CapabilitiesEXT calloc()
Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH264CapabilitiesEXT create()
Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH264CapabilitiesEXT create(long address)
Returns a newVkVideoDecodeH264CapabilitiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH264CapabilitiesEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH264CapabilitiesEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264CapabilitiesEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264CapabilitiesEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264CapabilitiesEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH264CapabilitiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH264CapabilitiesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH264CapabilitiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH264CapabilitiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264CapabilitiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH264CapabilitiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264CapabilitiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264CapabilitiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264CapabilitiesEXT.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().
-
nfieldOffsetGranularity
public static VkOffset2D nfieldOffsetGranularity(long struct)
Unsafe version offieldOffsetGranularity().
-
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.
-
-