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

public Class StdVideoEncodeH265ReferenceModifications

extends Struct<StdVideoEncodeH265ReferenceModifications>
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 StdVideoEncodeH265ReferenceModifications {
    StdVideoEncodeH265ReferenceModificationFlags flags;
    uint8_t num_ref_idx_l0_active_minus1;
    uint8_t num_ref_idx_l1_active_minus1;
    uint16_t reserved1;
    uint8_t RefPicList0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    uint8_t RefPicList1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    uint8_t list_entry_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    uint8_t list_entry_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
}

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
LIST_ENTRY_L0

The struct member offsets.

public static final int
LIST_ENTRY_L1

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
REFPICLIST0

The struct member offsets.

public static final int
REFPICLIST1

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

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

Method Summary

Modifier and TypeMethod and Description
public static StdVideoEncodeH265ReferenceModifications
calloc()

Returns a new StdVideoEncodeH265ReferenceModifications instance allocated with memCalloc.

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

Returns a new StdVideoEncodeH265ReferenceModifications.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new StdVideoEncodeH265ReferenceModifications instance allocated with BufferUtils.

public static StdVideoEncodeH265ReferenceModifications
create(long address)

Returns a new StdVideoEncodeH265ReferenceModifications instance for the specified memory address.

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

Returns a new StdVideoEncodeH265ReferenceModifications.Buffer instance allocated with BufferUtils.

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

Create a StdVideoEncodeH265ReferenceModifications.Buffer instance at the specified memory.

public static StdVideoEncodeH265ReferenceModifications
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoEncodeH265ReferenceModificationFlags

Returns:

a StdVideoEncodeH265ReferenceModificationFlags view of the flags field.
flags
()

public StdVideoEncodeH265ReferenceModifications
public StdVideoEncodeH265ReferenceModifications
flags(Consumer<StdVideoEncodeH265ReferenceModificationFlags> consumer)

Passes the flags field to the specified Consumer.

public ByteBuffer

Returns:

a ByteBuffer view of the list_entry_l0 field.
list_entry_l0
()

public byte

Returns:

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

public StdVideoEncodeH265ReferenceModifications
list_entry_l0(ByteBuffer value)

Copies the specified ByteBuffer to the list_entry_l0 field.

public StdVideoEncodeH265ReferenceModifications
list_entry_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the list_entry_l1 field.
list_entry_l1
()

public byte

Returns:

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

public StdVideoEncodeH265ReferenceModifications
list_entry_l1(ByteBuffer value)

Copies the specified ByteBuffer to the list_entry_l1 field.

public StdVideoEncodeH265ReferenceModifications
list_entry_l1(int index, byte value)

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

public static StdVideoEncodeH265ReferenceModifications
malloc()

Returns a new StdVideoEncodeH265ReferenceModifications instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH265ReferenceModifications.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH265ReferenceModifications instance allocated on the specified MemoryStack.

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

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

public static StdVideoEncodeH265ReferenceModificationFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH265ReferenceModificationFlags value)

Unsafe version of flags.

public static ByteBuffer
nlist_entry_l0(long struct)

Unsafe version of list_entry_l0.

public static byte
nlist_entry_l0(long struct, int index)

Unsafe version of list_entry_l0.

public static void
nlist_entry_l0(long struct, ByteBuffer value)

Unsafe version of list_entry_l0.

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

Unsafe version of list_entry_l0.

public static ByteBuffer
nlist_entry_l1(long struct)

Unsafe version of list_entry_l1.

public static byte
nlist_entry_l1(long struct, int index)

Unsafe version of list_entry_l1.

public static void
nlist_entry_l1(long struct, ByteBuffer value)

Unsafe version of list_entry_l1.

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

Unsafe version of list_entry_l1.

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 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 short
nreserved1(long struct)

Unsafe version of reserved1.

public static void
nreserved1(long struct, short value)

Unsafe version of reserved1.

public byte

Returns:

the value of the num_ref_idx_l0_active_minus1 field.
num_ref_idx_l0_active_minus1
()

public StdVideoEncodeH265ReferenceModifications
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 StdVideoEncodeH265ReferenceModifications
num_ref_idx_l1_active_minus1(byte value)

Sets the specified value to the num_ref_idx_l1_active_minus1 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 StdVideoEncodeH265ReferenceModifications
RefPicList0(ByteBuffer value)

Copies the specified ByteBuffer to the RefPicList0 field.

public StdVideoEncodeH265ReferenceModifications
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 StdVideoEncodeH265ReferenceModifications
RefPicList1(ByteBuffer value)

Copies the specified ByteBuffer to the RefPicList1 field.

public StdVideoEncodeH265ReferenceModifications
RefPicList1(int index, byte value)

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

public short

Returns:

the value of the reserved1 field.
reserved1
()

public StdVideoEncodeH265ReferenceModifications
reserved1(short value)

Sets the specified value to the reserved1 field.

public StdVideoEncodeH265ReferenceModifications
set(StdVideoEncodeH265ReferenceModificationFlags flags, byte num_ref_idx_l0_active_minus1, byte num_ref_idx_l1_active_minus1, short reserved1, ByteBuffer RefPicList0, ByteBuffer RefPicList1, ByteBuffer list_entry_l0, ByteBuffer list_entry_l1)

Initializes this struct with the specified values.

public StdVideoEncodeH265ReferenceModifications

Returns:

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