Class StdVideoEncodeH264WeightTable.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoEncodeH264WeightTable.Buffer>
org.lwjgl.system.StructBuffer<StdVideoEncodeH264WeightTable, StdVideoEncodeH264WeightTable.Buffer>
org.lwjgl.vulkan.video.StdVideoEncodeH264WeightTable.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoEncodeH264WeightTable>, NativeResource, Pointer
- Enclosing class:
StdVideoEncodeH264WeightTable
public static class StdVideoEncodeH264WeightTable.Buffer
extends StructBuffer<StdVideoEncodeH264WeightTable, StdVideoEncodeH264WeightTable.Buffer>
implements NativeResource
An array of
StdVideoEncodeH264WeightTable structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoEncodeH264WeightTable.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytechroma_log2_weight_denom(byte value) Sets the specified value to thechroma_log2_weight_denomfield.bytechroma_offset_l0(int index) chroma_offset_l0(int index, byte value) Sets the specified value at the specified index of thechroma_offset_l0field.chroma_offset_l0(ByteBuffer value) Copies the specifiedByteBufferto thechroma_offset_l0field.bytechroma_offset_l1(int index) chroma_offset_l1(int index, byte value) Sets the specified value at the specified index of thechroma_offset_l1field.chroma_offset_l1(ByteBuffer value) Copies the specifiedByteBufferto thechroma_offset_l1field.bytechroma_weight_l0(int index) chroma_weight_l0(int index, byte value) Sets the specified value at the specified index of thechroma_weight_l0field.chroma_weight_l0(ByteBuffer value) Copies the specifiedByteBufferto thechroma_weight_l0field.bytechroma_weight_l1(int index) chroma_weight_l1(int index, byte value) Sets the specified value at the specified index of thechroma_weight_l1field.chroma_weight_l1(ByteBuffer value) Copies the specifiedByteBufferto thechroma_weight_l1field.flags()flags(Consumer<StdVideoEncodeH264WeightTableFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH264WeightTableFlagsto theflagsfield.byteluma_log2_weight_denom(byte value) Sets the specified value to theluma_log2_weight_denomfield.byteluma_offset_l0(int index) luma_offset_l0(int index, byte value) Sets the specified value at the specified index of theluma_offset_l0field.luma_offset_l0(ByteBuffer value) Copies the specifiedByteBufferto theluma_offset_l0field.byteluma_offset_l1(int index) luma_offset_l1(int index, byte value) Sets the specified value at the specified index of theluma_offset_l1field.luma_offset_l1(ByteBuffer value) Copies the specifiedByteBufferto theluma_offset_l1field.byteluma_weight_l0(int index) luma_weight_l0(int index, byte value) Sets the specified value at the specified index of theluma_weight_l0field.luma_weight_l0(ByteBuffer value) Copies the specifiedByteBufferto theluma_weight_l0field.byteluma_weight_l1(int index) luma_weight_l1(int index, byte value) Sets the specified value at the specified index of theluma_weight_l1field.luma_weight_l1(ByteBuffer value) Copies the specifiedByteBufferto theluma_weight_l1field.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoEncodeH264WeightTable.Bufferinstance 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
StdVideoEncodeH264WeightTable.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
flags
- Returns:
- a
StdVideoEncodeH264WeightTableFlagsview of theflagsfield.
-
luma_log2_weight_denom
- Returns:
- the value of the
luma_log2_weight_denomfield.
-
chroma_log2_weight_denom
- Returns:
- the value of the
chroma_log2_weight_denomfield.
-
luma_weight_l0
- Returns:
- a
ByteBufferview of theluma_weight_l0field.
-
luma_weight_l0
- Returns:
- the value at the specified index of the
luma_weight_l0field.
-
luma_offset_l0
- Returns:
- a
ByteBufferview of theluma_offset_l0field.
-
luma_offset_l0
- Returns:
- the value at the specified index of the
luma_offset_l0field.
-
chroma_weight_l0
- Returns:
- a
ByteBufferview of thechroma_weight_l0field.
-
chroma_weight_l0
- Returns:
- the value at the specified index of the
chroma_weight_l0field.
-
chroma_offset_l0
- Returns:
- a
ByteBufferview of thechroma_offset_l0field.
-
chroma_offset_l0
- Returns:
- the value at the specified index of the
chroma_offset_l0field.
-
luma_weight_l1
- Returns:
- a
ByteBufferview of theluma_weight_l1field.
-
luma_weight_l1
- Returns:
- the value at the specified index of the
luma_weight_l1field.
-
luma_offset_l1
- Returns:
- a
ByteBufferview of theluma_offset_l1field.
-
luma_offset_l1
- Returns:
- the value at the specified index of the
luma_offset_l1field.
-
chroma_weight_l1
- Returns:
- a
ByteBufferview of thechroma_weight_l1field.
-
chroma_weight_l1
- Returns:
- the value at the specified index of the
chroma_weight_l1field.
-
chroma_offset_l1
- Returns:
- a
ByteBufferview of thechroma_offset_l1field.
-
chroma_offset_l1
- Returns:
- the value at the specified index of the
chroma_offset_l1field.
-
flags
Copies the specifiedStdVideoEncodeH264WeightTableFlagsto theflagsfield. -
flags
public StdVideoEncodeH264WeightTable.Buffer flags(Consumer<StdVideoEncodeH264WeightTableFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
luma_log2_weight_denom
public StdVideoEncodeH264WeightTable.Buffer luma_log2_weight_denom(@NativeType("uint8_t") byte value) Sets the specified value to theluma_log2_weight_denomfield. -
chroma_log2_weight_denom
public StdVideoEncodeH264WeightTable.Buffer chroma_log2_weight_denom(@NativeType("uint8_t") byte value) Sets the specified value to thechroma_log2_weight_denomfield. -
luma_weight_l0
public StdVideoEncodeH264WeightTable.Buffer luma_weight_l0(@NativeType("int8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF]") ByteBuffer value) Copies the specifiedByteBufferto theluma_weight_l0field. -
luma_weight_l0
public StdVideoEncodeH264WeightTable.Buffer luma_weight_l0(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of theluma_weight_l0field. -
luma_offset_l0
public StdVideoEncodeH264WeightTable.Buffer luma_offset_l0(@NativeType("int8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF]") ByteBuffer value) Copies the specifiedByteBufferto theluma_offset_l0field. -
luma_offset_l0
public StdVideoEncodeH264WeightTable.Buffer luma_offset_l0(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of theluma_offset_l0field. -
chroma_weight_l0
public StdVideoEncodeH264WeightTable.Buffer chroma_weight_l0(@NativeType("int8_t[STD_VIDEO_H264_MAX_CHROMA_PLANES]") ByteBuffer value) Copies the specifiedByteBufferto thechroma_weight_l0field. -
chroma_weight_l0
public StdVideoEncodeH264WeightTable.Buffer chroma_weight_l0(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of thechroma_weight_l0field. -
chroma_offset_l0
public StdVideoEncodeH264WeightTable.Buffer chroma_offset_l0(@NativeType("int8_t[STD_VIDEO_H264_MAX_CHROMA_PLANES]") ByteBuffer value) Copies the specifiedByteBufferto thechroma_offset_l0field. -
chroma_offset_l0
public StdVideoEncodeH264WeightTable.Buffer chroma_offset_l0(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of thechroma_offset_l0field. -
luma_weight_l1
public StdVideoEncodeH264WeightTable.Buffer luma_weight_l1(@NativeType("int8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF]") ByteBuffer value) Copies the specifiedByteBufferto theluma_weight_l1field. -
luma_weight_l1
public StdVideoEncodeH264WeightTable.Buffer luma_weight_l1(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of theluma_weight_l1field. -
luma_offset_l1
public StdVideoEncodeH264WeightTable.Buffer luma_offset_l1(@NativeType("int8_t[STD_VIDEO_H264_MAX_NUM_LIST_REF]") ByteBuffer value) Copies the specifiedByteBufferto theluma_offset_l1field. -
luma_offset_l1
public StdVideoEncodeH264WeightTable.Buffer luma_offset_l1(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of theluma_offset_l1field. -
chroma_weight_l1
public StdVideoEncodeH264WeightTable.Buffer chroma_weight_l1(@NativeType("int8_t[STD_VIDEO_H264_MAX_CHROMA_PLANES]") ByteBuffer value) Copies the specifiedByteBufferto thechroma_weight_l1field. -
chroma_weight_l1
public StdVideoEncodeH264WeightTable.Buffer chroma_weight_l1(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of thechroma_weight_l1field. -
chroma_offset_l1
public StdVideoEncodeH264WeightTable.Buffer chroma_offset_l1(@NativeType("int8_t[STD_VIDEO_H264_MAX_CHROMA_PLANES]") ByteBuffer value) Copies the specifiedByteBufferto thechroma_offset_l1field. -
chroma_offset_l1
public StdVideoEncodeH264WeightTable.Buffer chroma_offset_l1(int index, @NativeType("int8_t") byte value) Sets the specified value at the specified index of thechroma_offset_l1field.
-