Package org.lwjgl.vulkan.video
Class StdVideoAV1FilmGrain.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoAV1FilmGrain.Buffer>
org.lwjgl.system.StructBuffer<StdVideoAV1FilmGrain,StdVideoAV1FilmGrain.Buffer>
org.lwjgl.vulkan.video.StdVideoAV1FilmGrain.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoAV1FilmGrain>
,NativeResource
,Pointer
- Enclosing class:
StdVideoAV1FilmGrain
public static class StdVideoAV1FilmGrain.Buffer
extends StructBuffer<StdVideoAV1FilmGrain,StdVideoAV1FilmGrain.Buffer>
implements NativeResource
An array of
StdVideoAV1FilmGrain
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newStdVideoAV1FilmGrain.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
ar_coeff_lag
(byte value) Sets the specified value to thear_coeff_lag
field.byte
ar_coeff_shift_minus_6
(byte value) Sets the specified value to thear_coeff_shift_minus_6
field.byte
ar_coeffs_cb_plus_128
(int index) ar_coeffs_cb_plus_128
(int index, byte value) Sets the specified value at the specified index of thear_coeffs_cb_plus_128
field.ar_coeffs_cb_plus_128
(ByteBuffer value) Copies the specifiedByteBuffer
to thear_coeffs_cb_plus_128
field.byte
ar_coeffs_cr_plus_128
(int index) ar_coeffs_cr_plus_128
(int index, byte value) Sets the specified value at the specified index of thear_coeffs_cr_plus_128
field.ar_coeffs_cr_plus_128
(ByteBuffer value) Copies the specifiedByteBuffer
to thear_coeffs_cr_plus_128
field.byte
ar_coeffs_y_plus_128
(int index) ar_coeffs_y_plus_128
(int index, byte value) Sets the specified value at the specified index of thear_coeffs_y_plus_128
field.ar_coeffs_y_plus_128
(ByteBuffer value) Copies the specifiedByteBuffer
to thear_coeffs_y_plus_128
field.byte
cb_luma_mult
(byte value) Sets the specified value to thecb_luma_mult
field.byte
cb_mult()
cb_mult
(byte value) Sets the specified value to thecb_mult
field.short
cb_offset
(short value) Sets the specified value to thecb_offset
field.byte
cr_luma_mult
(byte value) Sets the specified value to thecr_luma_mult
field.byte
cr_mult()
cr_mult
(byte value) Sets the specified value to thecr_mult
field.short
cr_offset
(short value) Sets the specified value to thecr_offset
field.byte
film_grain_params_ref_idx
(byte value) Sets the specified value to thefilm_grain_params_ref_idx
field.flags()
flags
(Consumer<StdVideoAV1FilmGrainFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoAV1FilmGrainFlags value) Copies the specifiedStdVideoAV1FilmGrainFlags
to theflags
field.byte
grain_scale_shift
(byte value) Sets the specified value to thegrain_scale_shift
field.byte
grain_scaling_minus_8
(byte value) Sets the specified value to thegrain_scaling_minus_8
field.short
grain_seed
(short value) Sets the specified value to thegrain_seed
field.byte
num_cb_points
(byte value) Sets the specified value to thenum_cb_points
field.byte
num_cr_points
(byte value) Sets the specified value to thenum_cr_points
field.byte
num_y_points
(byte value) Sets the specified value to thenum_y_points
field.byte
point_cb_scaling
(int index) point_cb_scaling
(int index, byte value) Sets the specified value at the specified index of thepoint_cb_scaling
field.point_cb_scaling
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoint_cb_scaling
field.byte
point_cb_value
(int index) point_cb_value
(int index, byte value) Sets the specified value at the specified index of thepoint_cb_value
field.point_cb_value
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoint_cb_value
field.byte
point_cr_scaling
(int index) point_cr_scaling
(int index, byte value) Sets the specified value at the specified index of thepoint_cr_scaling
field.point_cr_scaling
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoint_cr_scaling
field.byte
point_cr_value
(int index) point_cr_value
(int index, byte value) Sets the specified value at the specified index of thepoint_cr_value
field.point_cr_value
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoint_cr_value
field.byte
point_y_scaling
(int index) point_y_scaling
(int index, byte value) Sets the specified value at the specified index of thepoint_y_scaling
field.point_y_scaling
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoint_y_scaling
field.byte
point_y_value
(int index) point_y_value
(int index, byte value) Sets the specified value at the specified index of thepoint_y_value
field.point_y_value
(ByteBuffer value) Copies the specifiedByteBuffer
to thepoint_y_value
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1FilmGrain.Buffer
instance 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
StdVideoAV1FilmGrain.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
StdVideoAV1FilmGrainFlags
view of theflags
field.
-
grain_scaling_minus_8
public byte grain_scaling_minus_8()- Returns:
- the value of the
grain_scaling_minus_8
field.
-
ar_coeff_lag
public byte ar_coeff_lag()- Returns:
- the value of the
ar_coeff_lag
field.
-
ar_coeff_shift_minus_6
public byte ar_coeff_shift_minus_6()- Returns:
- the value of the
ar_coeff_shift_minus_6
field.
-
grain_scale_shift
public byte grain_scale_shift()- Returns:
- the value of the
grain_scale_shift
field.
-
grain_seed
public short grain_seed()- Returns:
- the value of the
grain_seed
field.
-
film_grain_params_ref_idx
public byte film_grain_params_ref_idx()- Returns:
- the value of the
film_grain_params_ref_idx
field.
-
num_y_points
public byte num_y_points()- Returns:
- the value of the
num_y_points
field.
-
point_y_value
- Returns:
- a
ByteBuffer
view of thepoint_y_value
field.
-
point_y_value
public byte point_y_value(int index) - Returns:
- the value at the specified index of the
point_y_value
field.
-
point_y_scaling
- Returns:
- a
ByteBuffer
view of thepoint_y_scaling
field.
-
point_y_scaling
public byte point_y_scaling(int index) - Returns:
- the value at the specified index of the
point_y_scaling
field.
-
num_cb_points
public byte num_cb_points()- Returns:
- the value of the
num_cb_points
field.
-
point_cb_value
- Returns:
- a
ByteBuffer
view of thepoint_cb_value
field.
-
point_cb_value
public byte point_cb_value(int index) - Returns:
- the value at the specified index of the
point_cb_value
field.
-
point_cb_scaling
- Returns:
- a
ByteBuffer
view of thepoint_cb_scaling
field.
-
point_cb_scaling
public byte point_cb_scaling(int index) - Returns:
- the value at the specified index of the
point_cb_scaling
field.
-
num_cr_points
public byte num_cr_points()- Returns:
- the value of the
num_cr_points
field.
-
point_cr_value
- Returns:
- a
ByteBuffer
view of thepoint_cr_value
field.
-
point_cr_value
public byte point_cr_value(int index) - Returns:
- the value at the specified index of the
point_cr_value
field.
-
point_cr_scaling
- Returns:
- a
ByteBuffer
view of thepoint_cr_scaling
field.
-
point_cr_scaling
public byte point_cr_scaling(int index) - Returns:
- the value at the specified index of the
point_cr_scaling
field.
-
ar_coeffs_y_plus_128
- Returns:
- a
ByteBuffer
view of thear_coeffs_y_plus_128
field.
-
ar_coeffs_y_plus_128
public byte ar_coeffs_y_plus_128(int index) - Returns:
- the value at the specified index of the
ar_coeffs_y_plus_128
field.
-
ar_coeffs_cb_plus_128
- Returns:
- a
ByteBuffer
view of thear_coeffs_cb_plus_128
field.
-
ar_coeffs_cb_plus_128
public byte ar_coeffs_cb_plus_128(int index) - Returns:
- the value at the specified index of the
ar_coeffs_cb_plus_128
field.
-
ar_coeffs_cr_plus_128
- Returns:
- a
ByteBuffer
view of thear_coeffs_cr_plus_128
field.
-
ar_coeffs_cr_plus_128
public byte ar_coeffs_cr_plus_128(int index) - Returns:
- the value at the specified index of the
ar_coeffs_cr_plus_128
field.
-
cb_mult
public byte cb_mult()- Returns:
- the value of the
cb_mult
field.
-
cb_luma_mult
public byte cb_luma_mult()- Returns:
- the value of the
cb_luma_mult
field.
-
cb_offset
public short cb_offset()- Returns:
- the value of the
cb_offset
field.
-
cr_mult
public byte cr_mult()- Returns:
- the value of the
cr_mult
field.
-
cr_luma_mult
public byte cr_luma_mult()- Returns:
- the value of the
cr_luma_mult
field.
-
cr_offset
public short cr_offset()- Returns:
- the value of the
cr_offset
field.
-
flags
Copies the specifiedStdVideoAV1FilmGrainFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
grain_scaling_minus_8
Sets the specified value to thegrain_scaling_minus_8
field. -
ar_coeff_lag
Sets the specified value to thear_coeff_lag
field. -
ar_coeff_shift_minus_6
Sets the specified value to thear_coeff_shift_minus_6
field. -
grain_scale_shift
Sets the specified value to thegrain_scale_shift
field. -
grain_seed
Sets the specified value to thegrain_seed
field. -
film_grain_params_ref_idx
Sets the specified value to thefilm_grain_params_ref_idx
field. -
num_y_points
Sets the specified value to thenum_y_points
field. -
point_y_value
Copies the specifiedByteBuffer
to thepoint_y_value
field. -
point_y_value
Sets the specified value at the specified index of thepoint_y_value
field. -
point_y_scaling
Copies the specifiedByteBuffer
to thepoint_y_scaling
field. -
point_y_scaling
Sets the specified value at the specified index of thepoint_y_scaling
field. -
num_cb_points
Sets the specified value to thenum_cb_points
field. -
point_cb_value
Copies the specifiedByteBuffer
to thepoint_cb_value
field. -
point_cb_value
Sets the specified value at the specified index of thepoint_cb_value
field. -
point_cb_scaling
Copies the specifiedByteBuffer
to thepoint_cb_scaling
field. -
point_cb_scaling
Sets the specified value at the specified index of thepoint_cb_scaling
field. -
num_cr_points
Sets the specified value to thenum_cr_points
field. -
point_cr_value
Copies the specifiedByteBuffer
to thepoint_cr_value
field. -
point_cr_value
Sets the specified value at the specified index of thepoint_cr_value
field. -
point_cr_scaling
Copies the specifiedByteBuffer
to thepoint_cr_scaling
field. -
point_cr_scaling
Sets the specified value at the specified index of thepoint_cr_scaling
field. -
ar_coeffs_y_plus_128
Copies the specifiedByteBuffer
to thear_coeffs_y_plus_128
field. -
ar_coeffs_y_plus_128
Sets the specified value at the specified index of thear_coeffs_y_plus_128
field. -
ar_coeffs_cb_plus_128
Copies the specifiedByteBuffer
to thear_coeffs_cb_plus_128
field. -
ar_coeffs_cb_plus_128
Sets the specified value at the specified index of thear_coeffs_cb_plus_128
field. -
ar_coeffs_cr_plus_128
Copies the specifiedByteBuffer
to thear_coeffs_cr_plus_128
field. -
ar_coeffs_cr_plus_128
Sets the specified value at the specified index of thear_coeffs_cr_plus_128
field. -
cb_mult
Sets the specified value to thecb_mult
field. -
cb_luma_mult
Sets the specified value to thecb_luma_mult
field. -
cb_offset
Sets the specified value to thecb_offset
field. -
cr_mult
Sets the specified value to thecr_mult
field. -
cr_luma_mult
Sets the specified value to thecr_luma_mult
field. -
cr_offset
Sets the specified value to thecr_offset
field.
-