Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan.video

public Class StdVideoDecodeH264ReferenceInfo

extends Struct<StdVideoDecodeH264ReferenceInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct StdVideoDecodeH264ReferenceInfo {
    StdVideoDecodeH264ReferenceInfoFlags flags;
    uint16_t FrameNum;
    uint16_t reserved;
    int32_t PicOrderCnt[STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE];
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
FLAGS

The struct member offsets.

public static final int
FRAMENUM

The struct member offsets.

public static final int
PICORDERCNT

The struct member offsets.

public static final int
RESERVED

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
StdVideoDecodeH264ReferenceInfo(ByteBuffer container)

Creates a StdVideoDecodeH264ReferenceInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static StdVideoDecodeH264ReferenceInfo
calloc()

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated with memCalloc.

public static StdVideoDecodeH264ReferenceInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated with memCalloc.

public static StdVideoDecodeH264ReferenceInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static StdVideoDecodeH264ReferenceInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected StdVideoDecodeH264ReferenceInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static StdVideoDecodeH264ReferenceInfo
create()

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated with BufferUtils.

public static StdVideoDecodeH264ReferenceInfo
create(long address)

Returns a new StdVideoDecodeH264ReferenceInfo instance for the specified memory address.

public static StdVideoDecodeH264ReferenceInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated with BufferUtils.

public static StdVideoDecodeH264ReferenceInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a StdVideoDecodeH264ReferenceInfo.Buffer instance at the specified memory.

public static StdVideoDecodeH264ReferenceInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static StdVideoDecodeH264ReferenceInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public StdVideoDecodeH264ReferenceInfoFlags

Returns:

a StdVideoDecodeH264ReferenceInfoFlags view of the flags field.
flags
()

public StdVideoDecodeH264ReferenceInfo
public StdVideoDecodeH264ReferenceInfo
flags(Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)

Passes the flags field to the specified Consumer.

public short
FrameNum()

7.4.3.3 Decoded reference picture marking semantics

public StdVideoDecodeH264ReferenceInfo
FrameNum(short value)

Sets the specified value to the FrameNum field.

public static StdVideoDecodeH264ReferenceInfo
malloc()

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated with memAlloc.

public static StdVideoDecodeH264ReferenceInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated with memAlloc.

public static StdVideoDecodeH264ReferenceInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated on the specified MemoryStack.

public static StdVideoDecodeH264ReferenceInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated on the specified MemoryStack.

public static StdVideoDecodeH264ReferenceInfoFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoDecodeH264ReferenceInfoFlags value)

Unsafe version of flags.

public static short
nFrameNum(long struct)

Unsafe version of FrameNum.

public static void
nFrameNum(long struct, short value)

Unsafe version of FrameNum.

public static IntBuffer
nPicOrderCnt(long struct)

Unsafe version of PicOrderCnt.

public static int
nPicOrderCnt(long struct, int index)

Unsafe version of PicOrderCnt.

public static void
nPicOrderCnt(long struct, IntBuffer value)

Unsafe version of PicOrderCnt.

public static void
nPicOrderCnt(long struct, int index, int value)

Unsafe version of PicOrderCnt.

public static short
nreserved(long struct)

public static void
nreserved(long struct, short value)

public IntBuffer
PicOrderCnt()

topFieldOrderCnt and BottomFieldOrderCnt fields

public int
PicOrderCnt(int index)

topFieldOrderCnt and BottomFieldOrderCnt fields

public StdVideoDecodeH264ReferenceInfo
PicOrderCnt(IntBuffer value)

Copies the specified IntBuffer to the PicOrderCnt field.

public StdVideoDecodeH264ReferenceInfo
PicOrderCnt(int index, int value)

Sets the specified value at the specified index of the PicOrderCnt field.

public StdVideoDecodeH264ReferenceInfo
set(StdVideoDecodeH264ReferenceInfoFlags flags, short FrameNum, IntBuffer PicOrderCnt)

Initializes this struct with the specified values.

public StdVideoDecodeH264ReferenceInfo

Returns:

this struct
set
(StdVideoDecodeH264ReferenceInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

FRAMENUMback to summary
public static final int FRAMENUM

The struct member offsets.

PICORDERCNTback to summary
public static final int PICORDERCNT

The struct member offsets.

RESERVEDback to summary
public static final int RESERVED

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

StdVideoDecodeH264ReferenceInfoback to summary
protected StdVideoDecodeH264ReferenceInfo(long address, ByteBuffer container)
StdVideoDecodeH264ReferenceInfoback to summary
public StdVideoDecodeH264ReferenceInfo(ByteBuffer container)

Creates a StdVideoDecodeH264ReferenceInfo instance at the current position of the specified ByteBuffer container. 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

callocback to summary
public static StdVideoDecodeH264ReferenceInfo calloc()

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer calloc(int capacity)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static StdVideoDecodeH264ReferenceInfo calloc(MemoryStack stack)

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer calloc(int capacity, MemoryStack stack)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected StdVideoDecodeH264ReferenceInfo create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static StdVideoDecodeH264ReferenceInfo create()

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated with BufferUtils.

createback to summary
public static StdVideoDecodeH264ReferenceInfo create(long address)

Returns a new StdVideoDecodeH264ReferenceInfo instance for the specified memory address.

createback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer create(int capacity)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer create(long address, int capacity)

Create a StdVideoDecodeH264ReferenceInfo.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static StdVideoDecodeH264ReferenceInfo createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public StdVideoDecodeH264ReferenceInfoFlags flags()
Returns:StdVideoDecodeH264ReferenceInfoFlags

a StdVideoDecodeH264ReferenceInfoFlags view of the flags field.

flagsback to summary
public StdVideoDecodeH264ReferenceInfo flags(StdVideoDecodeH264ReferenceInfoFlags value)

Copies the specified StdVideoDecodeH264ReferenceInfoFlags to the flags field.

flagsback to summary
public StdVideoDecodeH264ReferenceInfo flags(Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)

Passes the flags field to the specified Consumer.

FrameNumback to summary
public short FrameNum()

7.4.3.3 Decoded reference picture marking semantics

Annotations
@NativeType:uint16_t
FrameNumback to summary
public StdVideoDecodeH264ReferenceInfo FrameNum(short value)

Sets the specified value to the FrameNum field.

mallocback to summary
public static StdVideoDecodeH264ReferenceInfo malloc()

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer malloc(int capacity)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static StdVideoDecodeH264ReferenceInfo malloc(MemoryStack stack)

Returns a new StdVideoDecodeH264ReferenceInfo instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static StdVideoDecodeH264ReferenceInfo.Buffer malloc(int capacity, MemoryStack stack)

Returns a new StdVideoDecodeH264ReferenceInfo.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nflagsback to summary
public static StdVideoDecodeH264ReferenceInfoFlags nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, StdVideoDecodeH264ReferenceInfoFlags value)

Unsafe version of flags.

nFrameNumback to summary
public static short nFrameNum(long struct)

Unsafe version of FrameNum.

nFrameNumback to summary
public static void nFrameNum(long struct, short value)

Unsafe version of FrameNum.

nPicOrderCntback to summary
public static IntBuffer nPicOrderCnt(long struct)

Unsafe version of PicOrderCnt.

nPicOrderCntback to summary
public static int nPicOrderCnt(long struct, int index)

Unsafe version of PicOrderCnt.

nPicOrderCntback to summary
public static void nPicOrderCnt(long struct, IntBuffer value)

Unsafe version of PicOrderCnt.

nPicOrderCntback to summary
public static void nPicOrderCnt(long struct, int index, int value)

Unsafe version of PicOrderCnt.

nreservedback to summary
public static short nreserved(long struct)
nreservedback to summary
public static void nreserved(long struct, short value)
PicOrderCntback to summary
public IntBuffer PicOrderCnt()

topFieldOrderCnt and BottomFieldOrderCnt fields

Annotations
@NativeType:int32_t[STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE]
PicOrderCntback to summary
public int PicOrderCnt(int index)

topFieldOrderCnt and BottomFieldOrderCnt fields

Annotations
@NativeType:int32_t
PicOrderCntback to summary
public StdVideoDecodeH264ReferenceInfo PicOrderCnt(IntBuffer value)

Copies the specified IntBuffer to the PicOrderCnt field.

PicOrderCntback to summary
public StdVideoDecodeH264ReferenceInfo PicOrderCnt(int index, int value)

Sets the specified value at the specified index of the PicOrderCnt field.

setback to summary
public StdVideoDecodeH264ReferenceInfo set(StdVideoDecodeH264ReferenceInfoFlags flags, short FrameNum, IntBuffer PicOrderCnt)

Initializes this struct with the specified values.

setback to summary
public StdVideoDecodeH264ReferenceInfo set(StdVideoDecodeH264ReferenceInfo src)

Copies the specified struct data to this struct.

Parameters
src:StdVideoDecodeH264ReferenceInfo

the source struct

Returns:StdVideoDecodeH264ReferenceInfo

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.vulkan.video back to summary

public Class StdVideoDecodeH264ReferenceInfo.Buffer

extends StructBuffer<StdVideoDecodeH264ReferenceInfo, StdVideoDecodeH264ReferenceInfo.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of StdVideoDecodeH264ReferenceInfo structs.

Field Summary

Modifier and TypeField and Description
private static final StdVideoDecodeH264ReferenceInfo

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new StdVideoDecodeH264ReferenceInfo.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public StdVideoDecodeH264ReferenceInfoFlags

Returns:

a StdVideoDecodeH264ReferenceInfoFlags view of the flags field.
flags
()

public StdVideoDecodeH264ReferenceInfo.Buffer
public StdVideoDecodeH264ReferenceInfo.Buffer
flags(Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)

Passes the flags field to the specified Consumer.

public short

Returns:

the value of the StdVideoDecodeH264ReferenceInfo#FrameNum field.
FrameNum
()

public StdVideoDecodeH264ReferenceInfo.Buffer
FrameNum(short value)

Sets the specified value to the StdVideoDecodeH264ReferenceInfo#FrameNum field.

protected StdVideoDecodeH264ReferenceInfo
public IntBuffer
public int

Returns:

the value at the specified index of the StdVideoDecodeH264ReferenceInfo#PicOrderCnt field.
PicOrderCnt
(int index)

public StdVideoDecodeH264ReferenceInfo.Buffer
public StdVideoDecodeH264ReferenceInfo.Buffer
PicOrderCnt(int index, int value)

Sets the specified value at the specified index of the StdVideoDecodeH264ReferenceInfo#PicOrderCnt field.

protected StdVideoDecodeH264ReferenceInfo.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final StdVideoDecodeH264ReferenceInfo ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new StdVideoDecodeH264ReferenceInfo.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by StdVideoDecodeH264ReferenceInfo#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

flagsback to summary
public StdVideoDecodeH264ReferenceInfoFlags flags()
Returns:StdVideoDecodeH264ReferenceInfoFlags

a StdVideoDecodeH264ReferenceInfoFlags view of the flags field.

flagsback to summary
public StdVideoDecodeH264ReferenceInfo.Buffer flags(StdVideoDecodeH264ReferenceInfoFlags value)

Copies the specified StdVideoDecodeH264ReferenceInfoFlags to the flags field.

flagsback to summary
public StdVideoDecodeH264ReferenceInfo.Buffer flags(Consumer<StdVideoDecodeH264ReferenceInfoFlags> consumer)

Passes the flags field to the specified Consumer.

FrameNumback to summary
public short FrameNum()
Returns:short

the value of the StdVideoDecodeH264ReferenceInfo#FrameNum field.

Annotations
@NativeType:uint16_t
FrameNumback to summary
public StdVideoDecodeH264ReferenceInfo.Buffer FrameNum(short value)

Sets the specified value to the StdVideoDecodeH264ReferenceInfo#FrameNum field.

getElementFactoryback to summary
protected StdVideoDecodeH264ReferenceInfo getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
PicOrderCntback to summary
public IntBuffer PicOrderCnt()
Returns:IntBuffer

a IntBuffer view of the StdVideoDecodeH264ReferenceInfo#PicOrderCnt field.

Annotations
@NativeType:int32_t[STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE]
PicOrderCntback to summary
public int PicOrderCnt(int index)
Returns:int

the value at the specified index of the StdVideoDecodeH264ReferenceInfo#PicOrderCnt field.

Annotations
@NativeType:int32_t
PicOrderCntback to summary
public StdVideoDecodeH264ReferenceInfo.Buffer PicOrderCnt(IntBuffer value)

Copies the specified IntBuffer to the StdVideoDecodeH264ReferenceInfo#PicOrderCnt field.

PicOrderCntback to summary
public StdVideoDecodeH264ReferenceInfo.Buffer PicOrderCnt(int index, int value)

Sets the specified value at the specified index of the StdVideoDecodeH264ReferenceInfo#PicOrderCnt field.

selfback to summary
protected StdVideoDecodeH264ReferenceInfo.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override