Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264ReferenceInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264ReferenceInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH264ReferenceInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH264ReferenceInfo { uint16_tFrameNum(); uint16_treserved(); int32_tPicOrderCnt()[2];StdVideoDecodeH264ReferenceInfoFlagsflags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH264ReferenceInfo.BufferAn array ofStdVideoDecodeH264ReferenceInfostructs.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH264ReferenceInfo(java.nio.ByteBuffer container)Creates aStdVideoDecodeH264ReferenceInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoDecodeH264ReferenceInfocalloc()Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated withmemCalloc.static StdVideoDecodeH264ReferenceInfo.Buffercalloc(int capacity)Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH264ReferenceInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264ReferenceInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264ReferenceInfocreate()Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated withBufferUtils.static StdVideoDecodeH264ReferenceInfo.Buffercreate(int capacity)Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH264ReferenceInfocreate(long address)Returns a newStdVideoDecodeH264ReferenceInfoinstance for the specified memory address.static StdVideoDecodeH264ReferenceInfo.Buffercreate(long address, int capacity)Create aStdVideoDecodeH264ReferenceInfo.Bufferinstance at the specified memory.static StdVideoDecodeH264ReferenceInfocreateSafe(long address)static StdVideoDecodeH264ReferenceInfo.BuffercreateSafe(long address, int capacity)StdVideoDecodeH264ReferenceInfoFlagsflags()StdVideoDecodeH264ReferenceInfoflags(java.util.function.Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoDecodeH264ReferenceInfoflags(StdVideoDecodeH264ReferenceInfoFlags value)Copies the specifiedStdVideoDecodeH264ReferenceInfoFlagsto theflagsfield.shortFrameNum()7.4.3.3 Decoded reference picture marking semanticsStdVideoDecodeH264ReferenceInfoFrameNum(short value)Sets the specified value to theFrameNum()field.static StdVideoDecodeH264ReferenceInfomalloc()Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated withmemAlloc.static StdVideoDecodeH264ReferenceInfo.Buffermalloc(int capacity)Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH264ReferenceInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH264ReferenceInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH264ReferenceInfoFlagsnflags(long struct)Unsafe version offlags().static voidnflags(long struct, StdVideoDecodeH264ReferenceInfoFlags value)Unsafe version offlags.static shortnFrameNum(long struct)Unsafe version ofFrameNum().static voidnFrameNum(long struct, short value)Unsafe version ofFrameNum.static java.nio.IntBuffernPicOrderCnt(long struct)Unsafe version ofPicOrderCnt().static intnPicOrderCnt(long struct, int index)Unsafe version ofPicOrderCnt.static voidnPicOrderCnt(long struct, int index, int value)Unsafe version ofPicOrderCnt.static voidnPicOrderCnt(long struct, java.nio.IntBuffer value)Unsafe version ofPicOrderCnt.static shortnreserved(long struct)Unsafe version ofreserved().static voidnreserved(long struct, short value)Unsafe version ofreserved.java.nio.IntBufferPicOrderCnt()topFieldOrderCnt and BottomFieldOrderCnt fieldsintPicOrderCnt(int index)topFieldOrderCnt and BottomFieldOrderCnt fieldsStdVideoDecodeH264ReferenceInfoPicOrderCnt(int index, int value)Sets the specified value at the specified index of thePicOrderCnt()field.StdVideoDecodeH264ReferenceInfoPicOrderCnt(java.nio.IntBuffer value)Copies the specifiedIntBufferto thePicOrderCnt()field.shortreserved()for structure members 32-bit packing/alignmentStdVideoDecodeH264ReferenceInforeserved(short value)Sets the specified value to thereserved()field.StdVideoDecodeH264ReferenceInfoset(short FrameNum, short reserved, java.nio.IntBuffer PicOrderCnt, StdVideoDecodeH264ReferenceInfoFlags flags)Initializes this struct with the specified values.StdVideoDecodeH264ReferenceInfoset(StdVideoDecodeH264ReferenceInfo src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoDecodeH264ReferenceInfo
public StdVideoDecodeH264ReferenceInfo(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH264ReferenceInfoinstance 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
-
FrameNum
public short FrameNum()
7.4.3.3 Decoded reference picture marking semantics
-
reserved
public short reserved()
for structure members 32-bit packing/alignment
-
PicOrderCnt
public java.nio.IntBuffer PicOrderCnt() public int PicOrderCnt(int index)
topFieldOrderCnt and BottomFieldOrderCnt fields
-
flags
public StdVideoDecodeH264ReferenceInfoFlags flags()
- Returns:
- a
StdVideoDecodeH264ReferenceInfoFlagsview of theflagsfield.
-
FrameNum
public StdVideoDecodeH264ReferenceInfo FrameNum(short value)
Sets the specified value to theFrameNum()field.
-
reserved
public StdVideoDecodeH264ReferenceInfo reserved(short value)
Sets the specified value to thereserved()field.
-
PicOrderCnt
public StdVideoDecodeH264ReferenceInfo PicOrderCnt(java.nio.IntBuffer value)
Copies the specifiedIntBufferto thePicOrderCnt()field.
-
PicOrderCnt
public StdVideoDecodeH264ReferenceInfo PicOrderCnt(int index, int value)
Sets the specified value at the specified index of thePicOrderCnt()field.
-
flags
public StdVideoDecodeH264ReferenceInfo flags(StdVideoDecodeH264ReferenceInfoFlags value)
Copies the specifiedStdVideoDecodeH264ReferenceInfoFlagsto theflagsfield.
-
flags
public StdVideoDecodeH264ReferenceInfo flags(java.util.function.Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
set
public StdVideoDecodeH264ReferenceInfo set(short FrameNum, short reserved, java.nio.IntBuffer PicOrderCnt, StdVideoDecodeH264ReferenceInfoFlags flags)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH264ReferenceInfo set(StdVideoDecodeH264ReferenceInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH264ReferenceInfo malloc()
Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH264ReferenceInfo calloc()
Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH264ReferenceInfo create()
Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH264ReferenceInfo create(long address)
Returns a newStdVideoDecodeH264ReferenceInfoinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH264ReferenceInfo createSafe(long address)
-
malloc
public static StdVideoDecodeH264ReferenceInfo.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264ReferenceInfo.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264ReferenceInfo.Buffer create(int capacity)
Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264ReferenceInfo.Buffer create(long address, int capacity)
Create aStdVideoDecodeH264ReferenceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH264ReferenceInfo.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH264ReferenceInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH264ReferenceInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH264ReferenceInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264ReferenceInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nFrameNum
public static short nFrameNum(long struct)
Unsafe version ofFrameNum().
-
nreserved
public static short nreserved(long struct)
Unsafe version ofreserved().
-
nPicOrderCnt
public static java.nio.IntBuffer nPicOrderCnt(long struct)
Unsafe version ofPicOrderCnt().
-
nPicOrderCnt
public static int nPicOrderCnt(long struct, int index)Unsafe version ofPicOrderCnt.
-
nflags
public static StdVideoDecodeH264ReferenceInfoFlags nflags(long struct)
Unsafe version offlags().
-
nFrameNum
public static void nFrameNum(long struct, short value)Unsafe version ofFrameNum.
-
nreserved
public static void nreserved(long struct, short value)Unsafe version ofreserved.
-
nPicOrderCnt
public static void nPicOrderCnt(long struct, java.nio.IntBuffer value)Unsafe version ofPicOrderCnt.
-
nPicOrderCnt
public static void nPicOrderCnt(long struct, int index, int value)Unsafe version ofPicOrderCnt.
-
nflags
public static void nflags(long struct, StdVideoDecodeH264ReferenceInfoFlags value)Unsafe version offlags.
-
-