Package org.lwjgl.vulkan
Class VkVideoDecodeH264MvcEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoDecodeH264MvcEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoDecodeH264MvcEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies parameters of mvc views.Description
When the content type is H.264 MVC, a
VkVideoDecodeH264MvcEXTstructure must be chained toVkVideoDecodeH264PictureInfoEXT.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_DECODE_H264_MVC_EXTpStdMvcmust be a valid pointer to a validStdVideoDecodeH264Mvcvalue
Layout
struct VkVideoDecodeH264MvcEXT { VkStructureTypesType(); void const *pNext();StdVideoDecodeH264Mvcconst *pStdMvc(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoDecodeH264MvcEXT.BufferAn array ofVkVideoDecodeH264MvcEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoDecodeH264MvcEXT(java.nio.ByteBuffer container)Creates aVkVideoDecodeH264MvcEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoDecodeH264MvcEXTcalloc()Returns a newVkVideoDecodeH264MvcEXTinstance allocated withmemCalloc.static VkVideoDecodeH264MvcEXT.Buffercalloc(int capacity)Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated withmemCalloc.static VkVideoDecodeH264MvcEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264MvcEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264MvcEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoDecodeH264MvcEXTcreate()Returns a newVkVideoDecodeH264MvcEXTinstance allocated withBufferUtils.static VkVideoDecodeH264MvcEXT.Buffercreate(int capacity)Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated withBufferUtils.static VkVideoDecodeH264MvcEXTcreate(long address)Returns a newVkVideoDecodeH264MvcEXTinstance for the specified memory address.static VkVideoDecodeH264MvcEXT.Buffercreate(long address, int capacity)Create aVkVideoDecodeH264MvcEXT.Bufferinstance at the specified memory.static VkVideoDecodeH264MvcEXTcreateSafe(long address)static VkVideoDecodeH264MvcEXT.BuffercreateSafe(long address, int capacity)static VkVideoDecodeH264MvcEXTmalloc()Returns a newVkVideoDecodeH264MvcEXTinstance allocated withmemAlloc.static VkVideoDecodeH264MvcEXT.Buffermalloc(int capacity)Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated withmemAlloc.static VkVideoDecodeH264MvcEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoDecodeH264MvcEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoDecodeH264MvcEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static StdVideoDecodeH264MvcnpStdMvc(long struct)Unsafe version ofpStdMvc().static voidnpStdMvc(long struct, StdVideoDecodeH264Mvc value)Unsafe version ofpStdMvc.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.VkVideoDecodeH264MvcEXTpNext(long value)Sets the specified value to thepNext()field.StdVideoDecodeH264MvcpStdMvc()a pointer to aStdVideoDecodeH264Mvcstructure specifying H.264 codec specification information for MVC.VkVideoDecodeH264MvcEXTpStdMvc(StdVideoDecodeH264Mvc value)Sets the address of the specifiedStdVideoDecodeH264Mvcto thepStdMvc()field.VkVideoDecodeH264MvcEXTset(int sType, long pNext, StdVideoDecodeH264Mvc pStdMvc)Initializes this struct with the specified values.VkVideoDecodeH264MvcEXTset(VkVideoDecodeH264MvcEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoDecodeH264MvcEXTsType(int value)Sets the specified value to thesType()field.VkVideoDecodeH264MvcEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_MVC_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoDecodeH264MvcEXT
public VkVideoDecodeH264MvcEXT(java.nio.ByteBuffer container)
Creates aVkVideoDecodeH264MvcEXTinstance 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.
-
pStdMvc
public StdVideoDecodeH264Mvc pStdMvc()
a pointer to aStdVideoDecodeH264Mvcstructure specifying H.264 codec specification information for MVC.
-
sType
public VkVideoDecodeH264MvcEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoDecodeH264MvcEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_DECODE_H264_MVC_EXTvalue to thesType()field.
-
pNext
public VkVideoDecodeH264MvcEXT pNext(long value)
Sets the specified value to thepNext()field.
-
pStdMvc
public VkVideoDecodeH264MvcEXT pStdMvc(StdVideoDecodeH264Mvc value)
Sets the address of the specifiedStdVideoDecodeH264Mvcto thepStdMvc()field.
-
set
public VkVideoDecodeH264MvcEXT set(int sType, long pNext, StdVideoDecodeH264Mvc pStdMvc)
Initializes this struct with the specified values.
-
set
public VkVideoDecodeH264MvcEXT set(VkVideoDecodeH264MvcEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoDecodeH264MvcEXT malloc()
Returns a newVkVideoDecodeH264MvcEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoDecodeH264MvcEXT calloc()
Returns a newVkVideoDecodeH264MvcEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoDecodeH264MvcEXT create()
Returns a newVkVideoDecodeH264MvcEXTinstance allocated withBufferUtils.
-
create
public static VkVideoDecodeH264MvcEXT create(long address)
Returns a newVkVideoDecodeH264MvcEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoDecodeH264MvcEXT createSafe(long address)
-
malloc
public static VkVideoDecodeH264MvcEXT.Buffer malloc(int capacity)
Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264MvcEXT.Buffer calloc(int capacity)
Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264MvcEXT.Buffer create(int capacity)
Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoDecodeH264MvcEXT.Buffer create(long address, int capacity)
Create aVkVideoDecodeH264MvcEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoDecodeH264MvcEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoDecodeH264MvcEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264MvcEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoDecodeH264MvcEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264MvcEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoDecodeH264MvcEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264MvcEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoDecodeH264MvcEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoDecodeH264MvcEXT.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().
-
npStdMvc
public static StdVideoDecodeH264Mvc npStdMvc(long struct)
Unsafe version ofpStdMvc().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
npStdMvc
public static void npStdMvc(long struct, StdVideoDecodeH264Mvc value)Unsafe version ofpStdMvc.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-