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

public Class StdVideoEncodeH264ReferenceListsInfo

extends Struct<StdVideoEncodeH264ReferenceListsInfo>
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 StdVideoEncodeH264ReferenceListsInfo {
    StdVideoEncodeH264ReferenceListsInfoFlags flags;
    uint8_t num_ref_idx_l0_active_minus1;
    uint8_t num_ref_idx_l1_active_minus1;
    uint8_t RefPicList0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
    uint8_t RefPicList1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
    uint8_t refList0ModOpCount;
    uint8_t refList1ModOpCount;
    uint8_t refPicMarkingOpCount;
    uint8_t reserved1[7];
    StdVideoEncodeH264RefListModEntry const * pRefList0ModOperations;
    StdVideoEncodeH264RefListModEntry const * pRefList1ModOperations;
    StdVideoEncodeH264RefPicMarkingEntry const * pRefPicMarkingOperations;
}

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
NUM_REF_IDX_L0_ACTIVE_MINUS1

The struct member offsets.

public static final int
NUM_REF_IDX_L1_ACTIVE_MINUS1

The struct member offsets.

public static final int
PREFLIST0MODOPERATIONS

The struct member offsets.

public static final int
PREFLIST1MODOPERATIONS

The struct member offsets.

public static final int
PREFPICMARKINGOPERATIONS

The struct member offsets.

public static final int
REFLIST0MODOPCOUNT

The struct member offsets.

public static final int
REFLIST1MODOPCOUNT

The struct member offsets.

public static final int
REFPICLIST0

The struct member offsets.

public static final int
REFPICLIST1

The struct member offsets.

public static final int
REFPICMARKINGOPCOUNT

The struct member offsets.

public static final int
RESERVED1

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
StdVideoEncodeH264ReferenceListsInfo(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static StdVideoEncodeH264ReferenceListsInfo
calloc()

Returns a new StdVideoEncodeH264ReferenceListsInfo instance allocated with memCalloc.

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

Returns a new StdVideoEncodeH264ReferenceListsInfo.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new StdVideoEncodeH264ReferenceListsInfo instance allocated with BufferUtils.

public static StdVideoEncodeH264ReferenceListsInfo
create(long address)

Returns a new StdVideoEncodeH264ReferenceListsInfo instance for the specified memory address.

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

Returns a new StdVideoEncodeH264ReferenceListsInfo.Buffer instance allocated with BufferUtils.

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

Create a StdVideoEncodeH264ReferenceListsInfo.Buffer instance at the specified memory.

public static StdVideoEncodeH264ReferenceListsInfo
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoEncodeH264ReferenceListsInfoFlags

Returns:

a StdVideoEncodeH264ReferenceListsInfoFlags view of the flags field.
flags
()

public StdVideoEncodeH264ReferenceListsInfo
public StdVideoEncodeH264ReferenceListsInfo
flags(Consumer<StdVideoEncodeH264ReferenceListsInfoFlags> consumer)

Passes the flags field to the specified Consumer.

public static StdVideoEncodeH264ReferenceListsInfo
malloc()

Returns a new StdVideoEncodeH264ReferenceListsInfo instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264ReferenceListsInfo.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264ReferenceListsInfo instance allocated on the specified MemoryStack.

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

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

public static StdVideoEncodeH264ReferenceListsInfoFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH264ReferenceListsInfoFlags value)

Unsafe version of flags.

public static byte
public static void
nnum_ref_idx_l0_active_minus1(long struct, byte value)

Unsafe version of num_ref_idx_l0_active_minus1.

public static byte
public static void
nnum_ref_idx_l1_active_minus1(long struct, byte value)

Unsafe version of num_ref_idx_l1_active_minus1.

public static StdVideoEncodeH264RefListModEntry.Buffer
npRefList0ModOperations(long struct)

Unsafe version of pRefList0ModOperations.

public static void
public static StdVideoEncodeH264RefListModEntry.Buffer
npRefList1ModOperations(long struct)

Unsafe version of pRefList1ModOperations.

public static void
public static StdVideoEncodeH264RefPicMarkingEntry.Buffer
npRefPicMarkingOperations(long struct)

Unsafe version of pRefPicMarkingOperations.

public static void
public static byte
nrefList0ModOpCount(long struct)

Unsafe version of refList0ModOpCount.

public static void
nrefList0ModOpCount(long struct, byte value)

Sets the specified value to the refList0ModOpCount field of the specified struct.

public static byte
nrefList1ModOpCount(long struct)

Unsafe version of refList1ModOpCount.

public static void
nrefList1ModOpCount(long struct, byte value)

Sets the specified value to the refList1ModOpCount field of the specified struct.

public static ByteBuffer
nRefPicList0(long struct)

Unsafe version of RefPicList0.

public static byte
nRefPicList0(long struct, int index)

Unsafe version of RefPicList0.

public static void
nRefPicList0(long struct, ByteBuffer value)

Unsafe version of RefPicList0.

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

Unsafe version of RefPicList0.

public static ByteBuffer
nRefPicList1(long struct)

Unsafe version of RefPicList1.

public static byte
nRefPicList1(long struct, int index)

Unsafe version of RefPicList1.

public static void
nRefPicList1(long struct, ByteBuffer value)

Unsafe version of RefPicList1.

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

Unsafe version of RefPicList1.

public static byte
nrefPicMarkingOpCount(long struct)

Unsafe version of refPicMarkingOpCount.

public static void
nrefPicMarkingOpCount(long struct, byte value)

Sets the specified value to the refPicMarkingOpCount field of the specified struct.

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 byte

Returns:

the value of the num_ref_idx_l0_active_minus1 field.
num_ref_idx_l0_active_minus1
()

public StdVideoEncodeH264ReferenceListsInfo
num_ref_idx_l0_active_minus1(byte value)

Sets the specified value to the num_ref_idx_l0_active_minus1 field.

public byte

Returns:

the value of the num_ref_idx_l1_active_minus1 field.
num_ref_idx_l1_active_minus1
()

public StdVideoEncodeH264ReferenceListsInfo
num_ref_idx_l1_active_minus1(byte value)

Sets the specified value to the num_ref_idx_l1_active_minus1 field.

public StdVideoEncodeH264RefListModEntry.Buffer

Returns:

a StdVideoEncodeH264RefListModEntry.Buffer view of the struct array pointed to by the pRefList0ModOperations field.
pRefList0ModOperations
()

public StdVideoEncodeH264ReferenceListsInfo
pRefList0ModOperations(StdVideoEncodeH264RefListModEntry.Buffer value)

Sets the address of the specified StdVideoEncodeH264RefListModEntry.Buffer to the pRefList0ModOperations field.

public StdVideoEncodeH264RefListModEntry.Buffer

Returns:

a StdVideoEncodeH264RefListModEntry.Buffer view of the struct array pointed to by the pRefList1ModOperations field.
pRefList1ModOperations
()

public StdVideoEncodeH264ReferenceListsInfo
pRefList1ModOperations(StdVideoEncodeH264RefListModEntry.Buffer value)

Sets the address of the specified StdVideoEncodeH264RefListModEntry.Buffer to the pRefList1ModOperations field.

public StdVideoEncodeH264RefPicMarkingEntry.Buffer

Returns:

a StdVideoEncodeH264RefPicMarkingEntry.Buffer view of the struct array pointed to by the pRefPicMarkingOperations field.
pRefPicMarkingOperations
()

public StdVideoEncodeH264ReferenceListsInfo
pRefPicMarkingOperations(StdVideoEncodeH264RefPicMarkingEntry.Buffer value)

Sets the address of the specified StdVideoEncodeH264RefPicMarkingEntry.Buffer to the pRefPicMarkingOperations field.

public byte

Returns:

the value of the refList0ModOpCount field.
refList0ModOpCount
()

public StdVideoEncodeH264ReferenceListsInfo
refList0ModOpCount(byte value)

Sets the specified value to the refList0ModOpCount field.

public byte

Returns:

the value of the refList1ModOpCount field.
refList1ModOpCount
()

public StdVideoEncodeH264ReferenceListsInfo
refList1ModOpCount(byte value)

Sets the specified value to the refList1ModOpCount field.

public ByteBuffer

Returns:

a ByteBuffer view of the RefPicList0 field.
RefPicList0
()

public byte

Returns:

the value at the specified index of the RefPicList0 field.
RefPicList0
(int index)

public StdVideoEncodeH264ReferenceListsInfo
RefPicList0(ByteBuffer value)

Copies the specified ByteBuffer to the RefPicList0 field.

public StdVideoEncodeH264ReferenceListsInfo
RefPicList0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the RefPicList1 field.
RefPicList1
()

public byte

Returns:

the value at the specified index of the RefPicList1 field.
RefPicList1
(int index)

public StdVideoEncodeH264ReferenceListsInfo
RefPicList1(ByteBuffer value)

Copies the specified ByteBuffer to the RefPicList1 field.

public StdVideoEncodeH264ReferenceListsInfo
RefPicList1(int index, byte value)

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

public byte

Returns:

the value of the refPicMarkingOpCount field.
refPicMarkingOpCount
()

public StdVideoEncodeH264ReferenceListsInfo
set(StdVideoEncodeH264ReferenceListsInfoFlags flags, byte num_ref_idx_l0_active_minus1, byte num_ref_idx_l1_active_minus1, ByteBuffer RefPicList0, ByteBuffer RefPicList1, byte refList0ModOpCount, byte refList1ModOpCount, StdVideoEncodeH264RefListModEntry.Buffer pRefList0ModOperations, StdVideoEncodeH264RefListModEntry.Buffer pRefList1ModOperations, StdVideoEncodeH264RefPicMarkingEntry.Buffer pRefPicMarkingOperations)

Initializes this struct with the specified values.

public StdVideoEncodeH264ReferenceListsInfo

Returns:

this struct
set
(StdVideoEncodeH264ReferenceListsInfo
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 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