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

public Class StdVideoEncodeH264PictureInfo

extends Struct<StdVideoEncodeH264PictureInfo>
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 StdVideoEncodeH264PictureInfo {
    StdVideoEncodeH264PictureInfoFlags flags;
    uint8_t seq_parameter_set_id;
    uint8_t pic_parameter_set_id;
    uint16_t idr_pic_id;
    StdVideoH264PictureType primary_pic_type;
    uint32_t frame_num;
    int32_t PicOrderCnt;
    uint8_t temporal_id;
    uint8_t reserved1[3];
    StdVideoEncodeH264ReferenceListsInfo const * pRefLists;
}

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
FRAME_NUM

The struct member offsets.

public static final int
IDR_PIC_ID

The struct member offsets.

public static final int
PIC_PARAMETER_SET_ID

The struct member offsets.

public static final int
PICORDERCNT

The struct member offsets.

public static final int
PREFLISTS

The struct member offsets.

public static final int
PRIMARY_PIC_TYPE

The struct member offsets.

public static final int
RESERVED1

The struct member offsets.

public static final int
SEQ_PARAMETER_SET_ID

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TEMPORAL_ID

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
StdVideoEncodeH264PictureInfo(long address, ByteBuffer container)

public
StdVideoEncodeH264PictureInfo(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static StdVideoEncodeH264PictureInfo
calloc()

Returns a new StdVideoEncodeH264PictureInfo instance allocated with memCalloc.

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

Returns a new StdVideoEncodeH264PictureInfo.Buffer instance allocated with memCalloc.

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

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

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

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

protected StdVideoEncodeH264PictureInfo
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 StdVideoEncodeH264PictureInfo
create()

Returns a new StdVideoEncodeH264PictureInfo instance allocated with BufferUtils.

public static StdVideoEncodeH264PictureInfo
create(long address)

Returns a new StdVideoEncodeH264PictureInfo instance for the specified memory address.

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

Returns a new StdVideoEncodeH264PictureInfo.Buffer instance allocated with BufferUtils.

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

Create a StdVideoEncodeH264PictureInfo.Buffer instance at the specified memory.

public static StdVideoEncodeH264PictureInfo
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoEncodeH264PictureInfoFlags

Returns:

a StdVideoEncodeH264PictureInfoFlags view of the flags field.
flags
()

public StdVideoEncodeH264PictureInfo
flags(StdVideoEncodeH264PictureInfoFlags value)

Copies the specified StdVideoEncodeH264PictureInfoFlags to the flags field.

public StdVideoEncodeH264PictureInfo
flags(Consumer<StdVideoEncodeH264PictureInfoFlags> consumer)

Passes the flags field to the specified Consumer.

public int

Returns:

the value of the frame_num field.
frame_num
()

public StdVideoEncodeH264PictureInfo
frame_num(int value)

Sets the specified value to the frame_num field.

public short

Returns:

the value of the idr_pic_id field.
idr_pic_id
()

public StdVideoEncodeH264PictureInfo
idr_pic_id(short value)

Sets the specified value to the idr_pic_id field.

public static StdVideoEncodeH264PictureInfo
malloc()

Returns a new StdVideoEncodeH264PictureInfo instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264PictureInfo.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264PictureInfo instance allocated on the specified MemoryStack.

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

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

public static StdVideoEncodeH264PictureInfoFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH264PictureInfoFlags value)

Unsafe version of flags.

public static int
nframe_num(long struct)

Unsafe version of frame_num.

public static void
nframe_num(long struct, int value)

Unsafe version of frame_num.

public static short
nidr_pic_id(long struct)

Unsafe version of idr_pic_id.

public static void
nidr_pic_id(long struct, short value)

Unsafe version of idr_pic_id.

public static byte
npic_parameter_set_id(long struct)

Unsafe version of pic_parameter_set_id.

public static void
npic_parameter_set_id(long struct, byte value)

Unsafe version of pic_parameter_set_id.

public static int
nPicOrderCnt(long struct)

Unsafe version of PicOrderCnt.

public static void
nPicOrderCnt(long struct, int value)

Unsafe version of PicOrderCnt.

public static StdVideoEncodeH264ReferenceListsInfo
npRefLists(long struct)

Unsafe version of pRefLists.

public static void
npRefLists(long struct, StdVideoEncodeH264ReferenceListsInfo value)

Unsafe version of pRefLists.

public static int
nprimary_pic_type(long struct)

Unsafe version of primary_pic_type.

public static void
nprimary_pic_type(long struct, int value)

Unsafe version of primary_pic_type.

public static ByteBuffer
nreserved1(long struct)

public static byte
nreserved1(long struct, int index)

public static void
nreserved1(long struct, ByteBuffer value)

public static void
nreserved1(long struct, int index, byte value)

public static byte
nseq_parameter_set_id(long struct)

Unsafe version of seq_parameter_set_id.

public static void
nseq_parameter_set_id(long struct, byte value)

Unsafe version of seq_parameter_set_id.

public static byte
ntemporal_id(long struct)

Unsafe version of temporal_id.

public static void
ntemporal_id(long struct, byte value)

Unsafe version of temporal_id.

public byte

Returns:

the value of the pic_parameter_set_id field.
pic_parameter_set_id
()

public StdVideoEncodeH264PictureInfo
pic_parameter_set_id(byte value)

Sets the specified value to the pic_parameter_set_id field.

public int

Returns:

the value of the PicOrderCnt field.
PicOrderCnt
()

public StdVideoEncodeH264PictureInfo
PicOrderCnt(int value)

Sets the specified value to the PicOrderCnt field.

public StdVideoEncodeH264ReferenceListsInfo

Returns:

a StdVideoEncodeH264ReferenceListsInfo view of the struct pointed to by the pRefLists field.
pRefLists
()

public StdVideoEncodeH264PictureInfo
pRefLists(StdVideoEncodeH264ReferenceListsInfo value)

Sets the address of the specified StdVideoEncodeH264ReferenceListsInfo to the pRefLists field.

public int

Returns:

the value of the primary_pic_type field.
primary_pic_type
()

public StdVideoEncodeH264PictureInfo
primary_pic_type(int value)

Sets the specified value to the primary_pic_type field.

public byte

Returns:

the value of the seq_parameter_set_id field.
seq_parameter_set_id
()

public StdVideoEncodeH264PictureInfo
seq_parameter_set_id(byte value)

Sets the specified value to the seq_parameter_set_id field.

public StdVideoEncodeH264PictureInfo
set(StdVideoEncodeH264PictureInfoFlags flags, byte seq_parameter_set_id, byte pic_parameter_set_id, short idr_pic_id, int primary_pic_type, int frame_num, int PicOrderCnt, byte temporal_id, StdVideoEncodeH264ReferenceListsInfo pRefLists)

Initializes this struct with the specified values.

public StdVideoEncodeH264PictureInfo

Returns:

this struct
set
(StdVideoEncodeH264PictureInfo
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).
public byte

Returns:

the value of the temporal_id field.
temporal_id
()

public StdVideoEncodeH264PictureInfo
temporal_id(byte value)

Sets the specified value to the temporal_id field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

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.

FRAME_NUMback to summary
public static final int FRAME_NUM

The struct member offsets.

IDR_PIC_IDback to summary
public static final int IDR_PIC_ID

The struct member offsets.

PIC_PARAMETER_SET_IDback to summary
public static final int PIC_PARAMETER_SET_ID

The struct member offsets.

PICORDERCNTback to summary
public static final int PICORDERCNT

The struct member offsets.

PREFLISTSback to summary
public static final int PREFLISTS

The struct member offsets.

PRIMARY_PIC_TYPEback to summary
public static final int PRIMARY_PIC_TYPE

The struct member offsets.

RESERVED1back to summary
public static final int RESERVED1

The struct member offsets.

SEQ_PARAMETER_SET_IDback to summary
public static final int SEQ_PARAMETER_SET_ID

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TEMPORAL_IDback to summary
public static final int TEMPORAL_ID

The struct member offsets.

Constructor Detail

StdVideoEncodeH264PictureInfoback to summary
protected StdVideoEncodeH264PictureInfo(long address, ByteBuffer container)
StdVideoEncodeH264PictureInfoback to summary
public StdVideoEncodeH264PictureInfo(ByteBuffer container)

Creates a StdVideoEncodeH264PictureInfo 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 StdVideoEncodeH264PictureInfo calloc()

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

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

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

Parameters
capacity:int

the buffer capacity

callocback to summary
public static StdVideoEncodeH264PictureInfo calloc(MemoryStack stack)

Returns a new StdVideoEncodeH264PictureInfo 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 StdVideoEncodeH264PictureInfo.Buffer calloc(int capacity, MemoryStack stack)

Returns a new StdVideoEncodeH264PictureInfo.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 StdVideoEncodeH264PictureInfo 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 StdVideoEncodeH264PictureInfo create()

Returns a new StdVideoEncodeH264PictureInfo instance allocated with BufferUtils.

createback to summary
public static StdVideoEncodeH264PictureInfo create(long address)

Returns a new StdVideoEncodeH264PictureInfo instance for the specified memory address.

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

Returns a new StdVideoEncodeH264PictureInfo.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a StdVideoEncodeH264PictureInfo.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static StdVideoEncodeH264PictureInfo createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

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

a StdVideoEncodeH264PictureInfoFlags view of the flags field.

flagsback to summary
public StdVideoEncodeH264PictureInfo flags(StdVideoEncodeH264PictureInfoFlags value)

Copies the specified StdVideoEncodeH264PictureInfoFlags to the flags field.

flagsback to summary
public StdVideoEncodeH264PictureInfo flags(Consumer<StdVideoEncodeH264PictureInfoFlags> consumer)

Passes the flags field to the specified Consumer.

frame_numback to summary
public int frame_num()
Returns:int

the value of the frame_num field.

Annotations
@NativeType:uint32_t
frame_numback to summary
public StdVideoEncodeH264PictureInfo frame_num(int value)

Sets the specified value to the frame_num field.

idr_pic_idback to summary
public short idr_pic_id()
Returns:short

the value of the idr_pic_id field.

Annotations
@NativeType:uint16_t
idr_pic_idback to summary
public StdVideoEncodeH264PictureInfo idr_pic_id(short value)

Sets the specified value to the idr_pic_id field.

mallocback to summary
public static StdVideoEncodeH264PictureInfo malloc()

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

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

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

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static StdVideoEncodeH264PictureInfo malloc(MemoryStack stack)

Returns a new StdVideoEncodeH264PictureInfo instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

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

Returns a new StdVideoEncodeH264PictureInfo.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 StdVideoEncodeH264PictureInfoFlags nflags(long struct)

Unsafe version of flags.

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

Unsafe version of flags.

nframe_numback to summary
public static int nframe_num(long struct)

Unsafe version of frame_num.

nframe_numback to summary
public static void nframe_num(long struct, int value)

Unsafe version of frame_num.

nidr_pic_idback to summary
public static short nidr_pic_id(long struct)

Unsafe version of idr_pic_id.

nidr_pic_idback to summary
public static void nidr_pic_id(long struct, short value)

Unsafe version of idr_pic_id.

npic_parameter_set_idback to summary
public static byte npic_parameter_set_id(long struct)

Unsafe version of pic_parameter_set_id.

npic_parameter_set_idback to summary
public static void npic_parameter_set_id(long struct, byte value)

Unsafe version of pic_parameter_set_id.

nPicOrderCntback to summary
public static int nPicOrderCnt(long struct)

Unsafe version of PicOrderCnt.

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

Unsafe version of PicOrderCnt.

npRefListsback to summary
public static StdVideoEncodeH264ReferenceListsInfo npRefLists(long struct)

Unsafe version of pRefLists.

npRefListsback to summary
public static void npRefLists(long struct, StdVideoEncodeH264ReferenceListsInfo value)

Unsafe version of pRefLists.

nprimary_pic_typeback to summary
public static int nprimary_pic_type(long struct)

Unsafe version of primary_pic_type.

nprimary_pic_typeback to summary
public static void nprimary_pic_type(long struct, int value)

Unsafe version of primary_pic_type.

nreserved1back to summary
public static ByteBuffer nreserved1(long struct)
nreserved1back to summary
public static byte nreserved1(long struct, int index)
nreserved1back to summary
public static void nreserved1(long struct, ByteBuffer value)
nreserved1back to summary
public static void nreserved1(long struct, int index, byte value)
nseq_parameter_set_idback to summary
public static byte nseq_parameter_set_id(long struct)

Unsafe version of seq_parameter_set_id.

nseq_parameter_set_idback to summary
public static void nseq_parameter_set_id(long struct, byte value)

Unsafe version of seq_parameter_set_id.

ntemporal_idback to summary
public static byte ntemporal_id(long struct)

Unsafe version of temporal_id.

ntemporal_idback to summary
public static void ntemporal_id(long struct, byte value)

Unsafe version of temporal_id.

pic_parameter_set_idback to summary
public byte pic_parameter_set_id()
Returns:byte

the value of the pic_parameter_set_id field.

Annotations
@NativeType:uint8_t
pic_parameter_set_idback to summary
public StdVideoEncodeH264PictureInfo pic_parameter_set_id(byte value)

Sets the specified value to the pic_parameter_set_id field.

PicOrderCntback to summary
public int PicOrderCnt()
Returns:int

the value of the PicOrderCnt field.

Annotations
@NativeType:int32_t
PicOrderCntback to summary
public StdVideoEncodeH264PictureInfo PicOrderCnt(int value)

Sets the specified value to the PicOrderCnt field.

pRefListsback to summary
public StdVideoEncodeH264ReferenceListsInfo pRefLists()
Returns:StdVideoEncodeH264ReferenceListsInfo

a StdVideoEncodeH264ReferenceListsInfo view of the struct pointed to by the pRefLists field.

Annotations
@NativeType:StdVideoEncodeH264ReferenceListsInfo const *
pRefListsback to summary
public StdVideoEncodeH264PictureInfo pRefLists(StdVideoEncodeH264ReferenceListsInfo value)

Sets the address of the specified StdVideoEncodeH264ReferenceListsInfo to the pRefLists field.

primary_pic_typeback to summary
public int primary_pic_type()
Returns:int

the value of the primary_pic_type field.

Annotations
@NativeType:StdVideoH264PictureType
primary_pic_typeback to summary
public StdVideoEncodeH264PictureInfo primary_pic_type(int value)

Sets the specified value to the primary_pic_type field.

seq_parameter_set_idback to summary
public byte seq_parameter_set_id()
Returns:byte

the value of the seq_parameter_set_id field.

Annotations
@NativeType:uint8_t
seq_parameter_set_idback to summary
public StdVideoEncodeH264PictureInfo seq_parameter_set_id(byte value)

Sets the specified value to the seq_parameter_set_id field.

setback to summary
public StdVideoEncodeH264PictureInfo set(StdVideoEncodeH264PictureInfoFlags flags, byte seq_parameter_set_id, byte pic_parameter_set_id, short idr_pic_id, int primary_pic_type, int frame_num, int PicOrderCnt, byte temporal_id, StdVideoEncodeH264ReferenceListsInfo pRefLists)

Initializes this struct with the specified values.

setback to summary
public StdVideoEncodeH264PictureInfo set(StdVideoEncodeH264PictureInfo src)

Copies the specified struct data to this struct.

Parameters
src:StdVideoEncodeH264PictureInfo

the source struct

Returns:StdVideoEncodeH264PictureInfo

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
temporal_idback to summary
public byte temporal_id()
Returns:byte

the value of the temporal_id field.

Annotations
@NativeType:uint8_t
temporal_idback to summary
public StdVideoEncodeH264PictureInfo temporal_id(byte value)

Sets the specified value to the temporal_id field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

org.lwjgl.vulkan.video back to summary

public Class StdVideoEncodeH264PictureInfo.Buffer

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

An array of StdVideoEncodeH264PictureInfo structs.

Field Summary

Modifier and TypeField and Description
private static final StdVideoEncodeH264PictureInfo

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new StdVideoEncodeH264PictureInfo.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 StdVideoEncodeH264PictureInfoFlags

Returns:

a StdVideoEncodeH264PictureInfoFlags view of the flags field.
flags
()

public StdVideoEncodeH264PictureInfo.Buffer
flags(StdVideoEncodeH264PictureInfoFlags value)

Copies the specified StdVideoEncodeH264PictureInfoFlags to the flags field.

public StdVideoEncodeH264PictureInfo.Buffer
flags(Consumer<StdVideoEncodeH264PictureInfoFlags> consumer)

Passes the flags field to the specified Consumer.

public int

Returns:

the value of the frame_num field.
frame_num
()

public StdVideoEncodeH264PictureInfo.Buffer
frame_num(int value)

Sets the specified value to the frame_num field.

protected StdVideoEncodeH264PictureInfo
public short

Returns:

the value of the idr_pic_id field.
idr_pic_id
()

public StdVideoEncodeH264PictureInfo.Buffer
idr_pic_id(short value)

Sets the specified value to the idr_pic_id field.

public byte

Returns:

the value of the pic_parameter_set_id field.
pic_parameter_set_id
()

public StdVideoEncodeH264PictureInfo.Buffer
pic_parameter_set_id(byte value)

Sets the specified value to the pic_parameter_set_id field.

public int

Returns:

the value of the PicOrderCnt field.
PicOrderCnt
()

public StdVideoEncodeH264PictureInfo.Buffer
PicOrderCnt(int value)

Sets the specified value to the PicOrderCnt field.

public StdVideoEncodeH264ReferenceListsInfo

Returns:

a StdVideoEncodeH264ReferenceListsInfo view of the struct pointed to by the pRefLists field.
pRefLists
()

public StdVideoEncodeH264PictureInfo.Buffer
pRefLists(StdVideoEncodeH264ReferenceListsInfo value)

Sets the address of the specified StdVideoEncodeH264ReferenceListsInfo to the pRefLists field.

public int

Returns:

the value of the primary_pic_type field.
primary_pic_type
()

public StdVideoEncodeH264PictureInfo.Buffer
primary_pic_type(int value)

Sets the specified value to the primary_pic_type field.

protected StdVideoEncodeH264PictureInfo.Buffer
public byte

Returns:

the value of the seq_parameter_set_id field.
seq_parameter_set_id
()

public StdVideoEncodeH264PictureInfo.Buffer
seq_parameter_set_id(byte value)

Sets the specified value to the seq_parameter_set_id field.

public byte

Returns:

the value of the temporal_id field.
temporal_id
()

public StdVideoEncodeH264PictureInfo.Buffer
temporal_id(byte value)

Sets the specified value to the temporal_id field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final StdVideoEncodeH264PictureInfo ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new StdVideoEncodeH264PictureInfo.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 StdVideoEncodeH264PictureInfo#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 StdVideoEncodeH264PictureInfoFlags flags()
Returns:StdVideoEncodeH264PictureInfoFlags

a StdVideoEncodeH264PictureInfoFlags view of the flags field.

flagsback to summary
public StdVideoEncodeH264PictureInfo.Buffer flags(StdVideoEncodeH264PictureInfoFlags value)

Copies the specified StdVideoEncodeH264PictureInfoFlags to the flags field.

flagsback to summary
public StdVideoEncodeH264PictureInfo.Buffer flags(Consumer<StdVideoEncodeH264PictureInfoFlags> consumer)

Passes the flags field to the specified Consumer.

frame_numback to summary
public int frame_num()
Returns:int

the value of the frame_num field.

Annotations
@NativeType:uint32_t
frame_numback to summary
public StdVideoEncodeH264PictureInfo.Buffer frame_num(int value)

Sets the specified value to the frame_num field.

getElementFactoryback to summary
protected StdVideoEncodeH264PictureInfo getElementFactory()

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

Annotations
@Override
idr_pic_idback to summary
public short idr_pic_id()
Returns:short

the value of the idr_pic_id field.

Annotations
@NativeType:uint16_t
idr_pic_idback to summary
public StdVideoEncodeH264PictureInfo.Buffer idr_pic_id(short value)

Sets the specified value to the idr_pic_id field.

pic_parameter_set_idback to summary
public byte pic_parameter_set_id()
Returns:byte

the value of the pic_parameter_set_id field.

Annotations
@NativeType:uint8_t
pic_parameter_set_idback to summary
public StdVideoEncodeH264PictureInfo.Buffer pic_parameter_set_id(byte value)

Sets the specified value to the pic_parameter_set_id field.

PicOrderCntback to summary
public int PicOrderCnt()
Returns:int

the value of the PicOrderCnt field.

Annotations
@NativeType:int32_t
PicOrderCntback to summary
public StdVideoEncodeH264PictureInfo.Buffer PicOrderCnt(int value)

Sets the specified value to the PicOrderCnt field.

pRefListsback to summary
public StdVideoEncodeH264ReferenceListsInfo pRefLists()
Returns:StdVideoEncodeH264ReferenceListsInfo

a StdVideoEncodeH264ReferenceListsInfo view of the struct pointed to by the pRefLists field.

Annotations
@NativeType:StdVideoEncodeH264ReferenceListsInfo const *
pRefListsback to summary
public StdVideoEncodeH264PictureInfo.Buffer pRefLists(StdVideoEncodeH264ReferenceListsInfo value)

Sets the address of the specified StdVideoEncodeH264ReferenceListsInfo to the pRefLists field.

primary_pic_typeback to summary
public int primary_pic_type()
Returns:int

the value of the primary_pic_type field.

Annotations
@NativeType:StdVideoH264PictureType
primary_pic_typeback to summary
public StdVideoEncodeH264PictureInfo.Buffer primary_pic_type(int value)

Sets the specified value to the primary_pic_type field.

selfback to summary
protected StdVideoEncodeH264PictureInfo.Buffer self()

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

Annotations
@Override
seq_parameter_set_idback to summary
public byte seq_parameter_set_id()
Returns:byte

the value of the seq_parameter_set_id field.

Annotations
@NativeType:uint8_t
seq_parameter_set_idback to summary
public StdVideoEncodeH264PictureInfo.Buffer seq_parameter_set_id(byte value)

Sets the specified value to the seq_parameter_set_id field.

temporal_idback to summary
public byte temporal_id()
Returns:byte

the value of the temporal_id field.

Annotations
@NativeType:uint8_t
temporal_idback to summary
public StdVideoEncodeH264PictureInfo.Buffer temporal_id(byte value)

Sets the specified value to the temporal_id field.