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

public Class StdVideoEncodeH264WeightTable

extends Struct<StdVideoEncodeH264WeightTable>
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 StdVideoEncodeH264WeightTable {
    StdVideoEncodeH264WeightTableFlags flags;
    uint8_t luma_log2_weight_denom;
    uint8_t chroma_log2_weight_denom;
    int8_t luma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
    int8_t luma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
    int8_t chroma_weight_l0[STD_VIDEO_H264_MAX_CHROMA_PLANES];
    int8_t chroma_offset_l0[STD_VIDEO_H264_MAX_CHROMA_PLANES];
    int8_t luma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
    int8_t luma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
    int8_t chroma_weight_l1[STD_VIDEO_H264_MAX_CHROMA_PLANES];
    int8_t chroma_offset_l1[STD_VIDEO_H264_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
CHROMA_LOG2_WEIGHT_DENOM

The struct member offsets.

public static final int
CHROMA_OFFSET_L0

The struct member offsets.

public static final int
CHROMA_OFFSET_L1

The struct member offsets.

public static final int
CHROMA_WEIGHT_L0

The struct member offsets.

public static final int
CHROMA_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
LUMA_WEIGHT_L0

The struct member offsets.

public static final int
LUMA_WEIGHT_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
StdVideoEncodeH264WeightTable(long address, ByteBuffer container)

public
StdVideoEncodeH264WeightTable(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static StdVideoEncodeH264WeightTable
calloc()

Returns a new StdVideoEncodeH264WeightTable instance allocated with memCalloc.

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

Returns a new StdVideoEncodeH264WeightTable.Buffer instance allocated with memCalloc.

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

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

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

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

public byte

Returns:

the value of the chroma_log2_weight_denom field.
chroma_log2_weight_denom
()

public StdVideoEncodeH264WeightTable
chroma_log2_weight_denom(byte value)

Sets the specified value to the chroma_log2_weight_denom field.

public ByteBuffer

Returns:

a ByteBuffer view of the chroma_offset_l0 field.
chroma_offset_l0
()

public byte

Returns:

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

public StdVideoEncodeH264WeightTable
chroma_offset_l0(ByteBuffer value)

Copies the specified ByteBuffer to the chroma_offset_l0 field.

public StdVideoEncodeH264WeightTable
chroma_offset_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the chroma_offset_l1 field.
chroma_offset_l1
()

public byte

Returns:

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

public StdVideoEncodeH264WeightTable
chroma_offset_l1(ByteBuffer value)

Copies the specified ByteBuffer to the chroma_offset_l1 field.

public StdVideoEncodeH264WeightTable
chroma_offset_l1(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the chroma_weight_l0 field.
chroma_weight_l0
()

public byte

Returns:

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

public StdVideoEncodeH264WeightTable
chroma_weight_l0(ByteBuffer value)

Copies the specified ByteBuffer to the chroma_weight_l0 field.

public StdVideoEncodeH264WeightTable
chroma_weight_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the chroma_weight_l1 field.
chroma_weight_l1
()

public byte

Returns:

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

public StdVideoEncodeH264WeightTable
chroma_weight_l1(ByteBuffer value)

Copies the specified ByteBuffer to the chroma_weight_l1 field.

public StdVideoEncodeH264WeightTable
chroma_weight_l1(int index, byte value)

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

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

Returns a new StdVideoEncodeH264WeightTable instance allocated with BufferUtils.

public static StdVideoEncodeH264WeightTable
create(long address)

Returns a new StdVideoEncodeH264WeightTable instance for the specified memory address.

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

Returns a new StdVideoEncodeH264WeightTable.Buffer instance allocated with BufferUtils.

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

Create a StdVideoEncodeH264WeightTable.Buffer instance at the specified memory.

public static StdVideoEncodeH264WeightTable
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoEncodeH264WeightTableFlags

Returns:

a StdVideoEncodeH264WeightTableFlags view of the flags field.
flags
()

public StdVideoEncodeH264WeightTable
flags(StdVideoEncodeH264WeightTableFlags value)

Copies the specified StdVideoEncodeH264WeightTableFlags to the flags field.

public StdVideoEncodeH264WeightTable
flags(Consumer<StdVideoEncodeH264WeightTableFlags> 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 StdVideoEncodeH264WeightTable
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 StdVideoEncodeH264WeightTable
luma_offset_l0(ByteBuffer value)

Copies the specified ByteBuffer to the luma_offset_l0 field.

public StdVideoEncodeH264WeightTable
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 StdVideoEncodeH264WeightTable
luma_offset_l1(ByteBuffer value)

Copies the specified ByteBuffer to the luma_offset_l1 field.

public StdVideoEncodeH264WeightTable
luma_offset_l1(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the luma_weight_l0 field.
luma_weight_l0
()

public byte

Returns:

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

public StdVideoEncodeH264WeightTable
luma_weight_l0(ByteBuffer value)

Copies the specified ByteBuffer to the luma_weight_l0 field.

public StdVideoEncodeH264WeightTable
luma_weight_l0(int index, byte value)

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

public ByteBuffer

Returns:

a ByteBuffer view of the luma_weight_l1 field.
luma_weight_l1
()

public byte

Returns:

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

public StdVideoEncodeH264WeightTable
luma_weight_l1(ByteBuffer value)

Copies the specified ByteBuffer to the luma_weight_l1 field.

public StdVideoEncodeH264WeightTable
luma_weight_l1(int index, byte value)

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

public static StdVideoEncodeH264WeightTable
malloc()

Returns a new StdVideoEncodeH264WeightTable instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264WeightTable.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264WeightTable instance allocated on the specified MemoryStack.

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

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

public static byte
nchroma_log2_weight_denom(long struct)

Unsafe version of chroma_log2_weight_denom.

public static void
nchroma_log2_weight_denom(long struct, byte value)

Unsafe version of chroma_log2_weight_denom.

public static ByteBuffer
nchroma_offset_l0(long struct)

Unsafe version of chroma_offset_l0.

public static byte
nchroma_offset_l0(long struct, int index)

Unsafe version of chroma_offset_l0.

public static void
nchroma_offset_l0(long struct, ByteBuffer value)

Unsafe version of chroma_offset_l0.

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

Unsafe version of chroma_offset_l0.

public static ByteBuffer
nchroma_offset_l1(long struct)

Unsafe version of chroma_offset_l1.

public static byte
nchroma_offset_l1(long struct, int index)

Unsafe version of chroma_offset_l1.

public static void
nchroma_offset_l1(long struct, ByteBuffer value)

Unsafe version of chroma_offset_l1.

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

Unsafe version of chroma_offset_l1.

public static ByteBuffer
nchroma_weight_l0(long struct)

Unsafe version of chroma_weight_l0.

public static byte
nchroma_weight_l0(long struct, int index)

Unsafe version of chroma_weight_l0.

public static void
nchroma_weight_l0(long struct, ByteBuffer value)

Unsafe version of chroma_weight_l0.

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

Unsafe version of chroma_weight_l0.

public static ByteBuffer
nchroma_weight_l1(long struct)

Unsafe version of chroma_weight_l1.

public static byte
nchroma_weight_l1(long struct, int index)

Unsafe version of chroma_weight_l1.

public static void
nchroma_weight_l1(long struct, ByteBuffer value)

Unsafe version of chroma_weight_l1.

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

Unsafe version of chroma_weight_l1.

public static StdVideoEncodeH264WeightTableFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH264WeightTableFlags 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 static ByteBuffer
nluma_weight_l0(long struct)

Unsafe version of luma_weight_l0.

public static byte
nluma_weight_l0(long struct, int index)

Unsafe version of luma_weight_l0.

public static void
nluma_weight_l0(long struct, ByteBuffer value)

Unsafe version of luma_weight_l0.

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

Unsafe version of luma_weight_l0.

public static ByteBuffer
nluma_weight_l1(long struct)

Unsafe version of luma_weight_l1.

public static byte
nluma_weight_l1(long struct, int index)

Unsafe version of luma_weight_l1.

public static void
nluma_weight_l1(long struct, ByteBuffer value)

Unsafe version of luma_weight_l1.

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

Unsafe version of luma_weight_l1.

public StdVideoEncodeH264WeightTable
set(StdVideoEncodeH264WeightTableFlags flags, byte luma_log2_weight_denom, byte chroma_log2_weight_denom, ByteBuffer luma_weight_l0, ByteBuffer luma_offset_l0, ByteBuffer chroma_weight_l0, ByteBuffer chroma_offset_l0, ByteBuffer luma_weight_l1, ByteBuffer luma_offset_l1, ByteBuffer chroma_weight_l1, ByteBuffer chroma_offset_l1)

Initializes this struct with the specified values.

public StdVideoEncodeH264WeightTable

Returns:

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