Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264Mvc
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264Mvc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH264Mvc extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH264Mvc { uint32_t viewId0; uint32_t mvcElementCount;StdVideoDecodeH264MvcElement* pMvcElements; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH264Mvc.BufferAn array ofStdVideoDecodeH264Mvcstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intMVCELEMENTCOUNT
PMVCELEMENTSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intVIEWID0The struct member offsets.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH264Mvc(java.nio.ByteBuffer container)Creates aStdVideoDecodeH264Mvcinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoDecodeH264Mvccalloc()Returns a newStdVideoDecodeH264Mvcinstance allocated withmemCalloc.static StdVideoDecodeH264Mvc.Buffercalloc(int capacity)Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH264Mvc.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264Mvccalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264Mvcinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264Mvccreate()Returns a newStdVideoDecodeH264Mvcinstance allocated withBufferUtils.static StdVideoDecodeH264Mvc.Buffercreate(int capacity)Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH264Mvccreate(long address)Returns a newStdVideoDecodeH264Mvcinstance for the specified memory address.static StdVideoDecodeH264Mvc.Buffercreate(long address, int capacity)Create aStdVideoDecodeH264Mvc.Bufferinstance at the specified memory.static StdVideoDecodeH264MvccreateSafe(long address)static StdVideoDecodeH264Mvc.BuffercreateSafe(long address, int capacity)static StdVideoDecodeH264Mvcmalloc()Returns a newStdVideoDecodeH264Mvcinstance allocated withmemAlloc.static StdVideoDecodeH264Mvc.Buffermalloc(int capacity)Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH264Mvc.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH264Mvcmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264Mvcinstance allocated on the specifiedMemoryStack.intmvcElementCount()StdVideoDecodeH264MvcmvcElementCount(int value)Sets the specified value to themvcElementCountfield.static intnmvcElementCount(long struct)Unsafe version ofmvcElementCount().static voidnmvcElementCount(long struct, int value)Unsafe version ofmvcElementCount.static StdVideoDecodeH264MvcElementnpMvcElements(long struct)Unsafe version ofpMvcElements().static voidnpMvcElements(long struct, StdVideoDecodeH264MvcElement value)Unsafe version ofpMvcElements.static intnviewId0(long struct)Unsafe version ofviewId0().static voidnviewId0(long struct, int value)Unsafe version ofviewId0.StdVideoDecodeH264MvcElementpMvcElements()StdVideoDecodeH264MvcpMvcElements(StdVideoDecodeH264MvcElement value)Sets the address of the specifiedStdVideoDecodeH264MvcElementto thepMvcElementsfield.StdVideoDecodeH264Mvcset(int viewId0, int mvcElementCount, StdVideoDecodeH264MvcElement pMvcElements)Initializes this struct with the specified values.StdVideoDecodeH264Mvcset(StdVideoDecodeH264Mvc src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.intviewId0()StdVideoDecodeH264MvcviewId0(int value)Sets the specified value to theviewId0field.
-
-
-
Constructor Detail
-
StdVideoDecodeH264Mvc
public StdVideoDecodeH264Mvc(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH264Mvcinstance 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
-
viewId0
public int viewId0()
- Returns:
- the value of the
viewId0field.
-
mvcElementCount
public int mvcElementCount()
- Returns:
- the value of the
mvcElementCountfield.
-
pMvcElements
public StdVideoDecodeH264MvcElement pMvcElements()
- Returns:
- a
StdVideoDecodeH264MvcElementview of the struct pointed to by thepMvcElementsfield.
-
viewId0
public StdVideoDecodeH264Mvc viewId0(int value)
Sets the specified value to theviewId0field.
-
mvcElementCount
public StdVideoDecodeH264Mvc mvcElementCount(int value)
Sets the specified value to themvcElementCountfield.
-
pMvcElements
public StdVideoDecodeH264Mvc pMvcElements(StdVideoDecodeH264MvcElement value)
Sets the address of the specifiedStdVideoDecodeH264MvcElementto thepMvcElementsfield.
-
set
public StdVideoDecodeH264Mvc set(int viewId0, int mvcElementCount, StdVideoDecodeH264MvcElement pMvcElements)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH264Mvc set(StdVideoDecodeH264Mvc src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH264Mvc malloc()
Returns a newStdVideoDecodeH264Mvcinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH264Mvc calloc()
Returns a newStdVideoDecodeH264Mvcinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH264Mvc create()
Returns a newStdVideoDecodeH264Mvcinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH264Mvc create(long address)
Returns a newStdVideoDecodeH264Mvcinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH264Mvc createSafe(long address)
-
malloc
public static StdVideoDecodeH264Mvc.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264Mvc.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264Mvc.Buffer create(int capacity)
Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264Mvc.Buffer create(long address, int capacity)
Create aStdVideoDecodeH264Mvc.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH264Mvc.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH264Mvc malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264Mvcinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH264Mvc calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264Mvcinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH264Mvc.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264Mvc.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264Mvc.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nviewId0
public static int nviewId0(long struct)
Unsafe version ofviewId0().
-
nmvcElementCount
public static int nmvcElementCount(long struct)
Unsafe version ofmvcElementCount().
-
npMvcElements
public static StdVideoDecodeH264MvcElement npMvcElements(long struct)
Unsafe version ofpMvcElements().
-
nviewId0
public static void nviewId0(long struct, int value)Unsafe version ofviewId0.
-
nmvcElementCount
public static void nmvcElementCount(long struct, int value)Unsafe version ofmvcElementCount.
-
npMvcElements
public static void npMvcElements(long struct, StdVideoDecodeH264MvcElement value)Unsafe version ofpMvcElements.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-