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

public Class StdVideoEncodeH265WeightTable

extends Struct<StdVideoEncodeH265WeightTable>
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 StdVideoEncodeH265WeightTable {
    StdVideoEncodeH265WeightTableFlags flags;
    uint8_t luma_log2_weight_denom;
    int8_t delta_chroma_log2_weight_denom;
    int8_t delta_luma_weight_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    int8_t luma_offset_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    int8_t delta_chroma_weight_l0[STD_VIDEO_H265_MAX_CHROMA_PLANES];
    int8_t delta_chroma_offset_l0[STD_VIDEO_H265_MAX_CHROMA_PLANES];
    int8_t delta_luma_weight_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    int8_t luma_offset_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
    int8_t delta_chroma_weight_l1[STD_VIDEO_H265_MAX_CHROMA_PLANES];
    int8_t delta_chroma_offset_l1[STD_VIDEO_H265_MAX_CHROMA_PLANES];
}

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
DELTA_CHROMA_LOG2_WEIGHT_DENOM

The struct member offsets.

public static final int
DELTA_CHROMA_OFFSET_L0

The struct member offsets.

public static final int
DELTA_CHROMA_OFFSET_L1

The struct member offsets.

public static final int
DELTA_CHROMA_WEIGHT_L0

The struct member offsets.

public static final int
DELTA_CHROMA_WEIGHT_L1

The struct member offsets.

public static final int
DELTA_LUMA_WEIGHT_L0

The struct member offsets.

public static final int
DELTA_LUMA_WEIGHT_L1

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
LUMA_LOG2_WEIGHT_DENOM

The struct member offsets.

public static final int
LUMA_OFFSET_L0

The struct member offsets.

public static final int
LUMA_OFFSET_L1

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
StdVideoEncodeH265WeightTable(long address, ByteBuffer container)

public
StdVideoEncodeH265WeightTable(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static StdVideoEncodeH265WeightTable
calloc()

Returns a new StdVideoEncodeH265WeightTable instance allocated with memCalloc.

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

Returns a new StdVideoEncodeH265WeightTable.Buffer instance allocated with memCalloc.

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

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

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

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

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

Returns a new StdVideoEncodeH265WeightTable instance allocated with BufferUtils.

public static StdVideoEncodeH265WeightTable
create(long address)

Returns a new StdVideoEncodeH265WeightTable instance for the specified memory address.

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

Returns a new StdVideoEncodeH265WeightTable.Buffer instance allocated with BufferUtils.

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

Create a StdVideoEncodeH265WeightTable.Buffer instance at the specified memory.

public static StdVideoEncodeH265WeightTable
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public byte

Returns:

the value of the delta_chroma_log2_weight_denom field.
delta_chroma_log2_weight_denom
()

public StdVideoEncodeH265WeightTable
delta_chroma_log2_weight_denom(byte value)

Sets the specified value to the delta_chroma_log2_weight_denom field.

public ByteBuffer

Returns:

a ByteBuffer view of the delta_chroma_offset_l0 field.
delta_chroma_offset_l0
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
delta_chroma_offset_l0(ByteBuffer value)

Copies the specified ByteBuffer to the delta_chroma_offset_l0 field.

public StdVideoEncodeH265WeightTable
delta_chroma_offset_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the delta_chroma_offset_l1 field.
delta_chroma_offset_l1
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
delta_chroma_offset_l1(ByteBuffer value)

Copies the specified ByteBuffer to the delta_chroma_offset_l1 field.

public StdVideoEncodeH265WeightTable
delta_chroma_offset_l1(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the delta_chroma_weight_l0 field.
delta_chroma_weight_l0
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
delta_chroma_weight_l0(ByteBuffer value)

Copies the specified ByteBuffer to the delta_chroma_weight_l0 field.

public StdVideoEncodeH265WeightTable
delta_chroma_weight_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the delta_chroma_weight_l1 field.
delta_chroma_weight_l1
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
delta_chroma_weight_l1(ByteBuffer value)

Copies the specified ByteBuffer to the delta_chroma_weight_l1 field.

public StdVideoEncodeH265WeightTable
delta_chroma_weight_l1(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the delta_luma_weight_l0 field.
delta_luma_weight_l0
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
delta_luma_weight_l0(ByteBuffer value)

Copies the specified ByteBuffer to the delta_luma_weight_l0 field.

public StdVideoEncodeH265WeightTable
delta_luma_weight_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the delta_luma_weight_l1 field.
delta_luma_weight_l1
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
delta_luma_weight_l1(ByteBuffer value)

Copies the specified ByteBuffer to the delta_luma_weight_l1 field.

public StdVideoEncodeH265WeightTable
delta_luma_weight_l1(int index, byte value)

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

public StdVideoEncodeH265WeightTableFlags

Returns:

a StdVideoEncodeH265WeightTableFlags view of the flags field.
flags
()

public StdVideoEncodeH265WeightTable
flags(StdVideoEncodeH265WeightTableFlags value)

Copies the specified StdVideoEncodeH265WeightTableFlags to the flags field.

public StdVideoEncodeH265WeightTable
flags(Consumer<StdVideoEncodeH265WeightTableFlags> consumer)

Passes the flags field to the specified Consumer.

public byte

Returns:

the value of the luma_log2_weight_denom field.
luma_log2_weight_denom
()

public StdVideoEncodeH265WeightTable
luma_log2_weight_denom(byte value)

Sets the specified value to the luma_log2_weight_denom field.

public ByteBuffer

Returns:

a ByteBuffer view of the luma_offset_l0 field.
luma_offset_l0
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
luma_offset_l0(ByteBuffer value)

Copies the specified ByteBuffer to the luma_offset_l0 field.

public StdVideoEncodeH265WeightTable
luma_offset_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the luma_offset_l1 field.
luma_offset_l1
()

public byte

Returns:

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

public StdVideoEncodeH265WeightTable
luma_offset_l1(ByteBuffer value)

Copies the specified ByteBuffer to the luma_offset_l1 field.

public StdVideoEncodeH265WeightTable
luma_offset_l1(int index, byte value)

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

public static StdVideoEncodeH265WeightTable
malloc()

Returns a new StdVideoEncodeH265WeightTable instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH265WeightTable.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH265WeightTable instance allocated on the specified MemoryStack.

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

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

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

Unsafe version of delta_chroma_log2_weight_denom.

public static ByteBuffer
ndelta_chroma_offset_l0(long struct)

Unsafe version of delta_chroma_offset_l0.

public static byte
ndelta_chroma_offset_l0(long struct, int index)

Unsafe version of delta_chroma_offset_l0.

public static void
ndelta_chroma_offset_l0(long struct, ByteBuffer value)

Unsafe version of delta_chroma_offset_l0.

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

Unsafe version of delta_chroma_offset_l0.

public static ByteBuffer
ndelta_chroma_offset_l1(long struct)

Unsafe version of delta_chroma_offset_l1.

public static byte
ndelta_chroma_offset_l1(long struct, int index)

Unsafe version of delta_chroma_offset_l1.

public static void
ndelta_chroma_offset_l1(long struct, ByteBuffer value)

Unsafe version of delta_chroma_offset_l1.

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

Unsafe version of delta_chroma_offset_l1.

public static ByteBuffer
ndelta_chroma_weight_l0(long struct)

Unsafe version of delta_chroma_weight_l0.

public static byte
ndelta_chroma_weight_l0(long struct, int index)

Unsafe version of delta_chroma_weight_l0.

public static void
ndelta_chroma_weight_l0(long struct, ByteBuffer value)

Unsafe version of delta_chroma_weight_l0.

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

Unsafe version of delta_chroma_weight_l0.

public static ByteBuffer
ndelta_chroma_weight_l1(long struct)

Unsafe version of delta_chroma_weight_l1.

public static byte
ndelta_chroma_weight_l1(long struct, int index)

Unsafe version of delta_chroma_weight_l1.

public static void
ndelta_chroma_weight_l1(long struct, ByteBuffer value)

Unsafe version of delta_chroma_weight_l1.

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

Unsafe version of delta_chroma_weight_l1.

public static ByteBuffer
ndelta_luma_weight_l0(long struct)

Unsafe version of delta_luma_weight_l0.

public static byte
ndelta_luma_weight_l0(long struct, int index)

Unsafe version of delta_luma_weight_l0.

public static void
ndelta_luma_weight_l0(long struct, ByteBuffer value)

Unsafe version of delta_luma_weight_l0.

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

Unsafe version of delta_luma_weight_l0.

public static ByteBuffer
ndelta_luma_weight_l1(long struct)

Unsafe version of delta_luma_weight_l1.

public static byte
ndelta_luma_weight_l1(long struct, int index)

Unsafe version of delta_luma_weight_l1.

public static void
ndelta_luma_weight_l1(long struct, ByteBuffer value)

Unsafe version of delta_luma_weight_l1.

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

Unsafe version of delta_luma_weight_l1.

public static StdVideoEncodeH265WeightTableFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH265WeightTableFlags value)

Unsafe version of flags.

public static byte
nluma_log2_weight_denom(long struct)

Unsafe version of luma_log2_weight_denom.

public static void
nluma_log2_weight_denom(long struct, byte value)

Unsafe version of luma_log2_weight_denom.

public static ByteBuffer
nluma_offset_l0(long struct)

Unsafe version of luma_offset_l0.

public static byte
nluma_offset_l0(long struct, int index)

Unsafe version of luma_offset_l0.

public static void
nluma_offset_l0(long struct, ByteBuffer value)

Unsafe version of luma_offset_l0.

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

Unsafe version of luma_offset_l0.

public static ByteBuffer
nluma_offset_l1(long struct)

Unsafe version of luma_offset_l1.

public static byte
nluma_offset_l1(long struct, int index)

Unsafe version of luma_offset_l1.

public static void
nluma_offset_l1(long struct, ByteBuffer value)

Unsafe version of luma_offset_l1.

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

Unsafe version of luma_offset_l1.

public StdVideoEncodeH265WeightTable
set(StdVideoEncodeH265WeightTableFlags flags, byte luma_log2_weight_denom, byte delta_chroma_log2_weight_denom, ByteBuffer delta_luma_weight_l0, ByteBuffer luma_offset_l0, ByteBuffer delta_chroma_weight_l0, ByteBuffer delta_chroma_offset_l0, ByteBuffer delta_luma_weight_l1, ByteBuffer luma_offset_l1, ByteBuffer delta_chroma_weight_l1, ByteBuffer delta_chroma_offset_l1)

Initializes this struct with the specified values.

public StdVideoEncodeH265WeightTable

Returns:

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