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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytear_coeff_lag(byte value) Sets the specified value to thear_coeff_lagfield.bytear_coeff_shift_minus_6(byte value) Sets the specified value to thear_coeff_shift_minus_6field.bytear_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_128field.ar_coeffs_cb_plus_128(ByteBuffer value) Copies the specifiedByteBufferto thear_coeffs_cb_plus_128field.bytear_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_128field.ar_coeffs_cr_plus_128(ByteBuffer value) Copies the specifiedByteBufferto thear_coeffs_cr_plus_128field.bytear_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_128field.ar_coeffs_y_plus_128(ByteBuffer value) Copies the specifiedByteBufferto thear_coeffs_y_plus_128field.bytecb_luma_mult(byte value) Sets the specified value to thecb_luma_multfield.bytecb_mult()cb_mult(byte value) Sets the specified value to thecb_multfield.shortcb_offset(short value) Sets the specified value to thecb_offsetfield.bytecr_luma_mult(byte value) Sets the specified value to thecr_luma_multfield.bytecr_mult()cr_mult(byte value) Sets the specified value to thecr_multfield.shortcr_offset(short value) Sets the specified value to thecr_offsetfield.bytefilm_grain_params_ref_idx(byte value) Sets the specified value to thefilm_grain_params_ref_idxfield.flags()flags(Consumer<StdVideoAV1FilmGrainFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoAV1FilmGrainFlags value) Copies the specifiedStdVideoAV1FilmGrainFlagsto theflagsfield.bytegrain_scale_shift(byte value) Sets the specified value to thegrain_scale_shiftfield.bytegrain_scaling_minus_8(byte value) Sets the specified value to thegrain_scaling_minus_8field.shortgrain_seed(short value) Sets the specified value to thegrain_seedfield.bytenum_cb_points(byte value) Sets the specified value to thenum_cb_pointsfield.bytenum_cr_points(byte value) Sets the specified value to thenum_cr_pointsfield.bytenum_y_points(byte value) Sets the specified value to thenum_y_pointsfield.bytepoint_cb_scaling(int index) point_cb_scaling(int index, byte value) Sets the specified value at the specified index of thepoint_cb_scalingfield.point_cb_scaling(ByteBuffer value) Copies the specifiedByteBufferto thepoint_cb_scalingfield.bytepoint_cb_value(int index) point_cb_value(int index, byte value) Sets the specified value at the specified index of thepoint_cb_valuefield.point_cb_value(ByteBuffer value) Copies the specifiedByteBufferto thepoint_cb_valuefield.bytepoint_cr_scaling(int index) point_cr_scaling(int index, byte value) Sets the specified value at the specified index of thepoint_cr_scalingfield.point_cr_scaling(ByteBuffer value) Copies the specifiedByteBufferto thepoint_cr_scalingfield.bytepoint_cr_value(int index) point_cr_value(int index, byte value) Sets the specified value at the specified index of thepoint_cr_valuefield.point_cr_value(ByteBuffer value) Copies the specifiedByteBufferto thepoint_cr_valuefield.bytepoint_y_scaling(int index) point_y_scaling(int index, byte value) Sets the specified value at the specified index of thepoint_y_scalingfield.point_y_scaling(ByteBuffer value) Copies the specifiedByteBufferto thepoint_y_scalingfield.bytepoint_y_value(int index) point_y_value(int index, byte value) Sets the specified value at the specified index of thepoint_y_valuefield.point_y_value(ByteBuffer value) Copies the specifiedByteBufferto thepoint_y_valuefield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1FilmGrain.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
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
StdVideoAV1FilmGrainFlagsview of theflagsfield.
-
grain_scaling_minus_8
public byte grain_scaling_minus_8()- Returns:
- the value of the
grain_scaling_minus_8field.
-
ar_coeff_lag
public byte ar_coeff_lag()- Returns:
- the value of the
ar_coeff_lagfield.
-
ar_coeff_shift_minus_6
public byte ar_coeff_shift_minus_6()- Returns:
- the value of the
ar_coeff_shift_minus_6field.
-
grain_scale_shift
public byte grain_scale_shift()- Returns:
- the value of the
grain_scale_shiftfield.
-
grain_seed
public short grain_seed()- Returns:
- the value of the
grain_seedfield.
-
film_grain_params_ref_idx
public byte film_grain_params_ref_idx()- Returns:
- the value of the
film_grain_params_ref_idxfield.
-
num_y_points
public byte num_y_points()- Returns:
- the value of the
num_y_pointsfield.
-
point_y_value
- Returns:
- a
ByteBufferview of thepoint_y_valuefield.
-
point_y_value
public byte point_y_value(int index) - Returns:
- the value at the specified index of the
point_y_valuefield.
-
point_y_scaling
- Returns:
- a
ByteBufferview of thepoint_y_scalingfield.
-
point_y_scaling
public byte point_y_scaling(int index) - Returns:
- the value at the specified index of the
point_y_scalingfield.
-
num_cb_points
public byte num_cb_points()- Returns:
- the value of the
num_cb_pointsfield.
-
point_cb_value
- Returns:
- a
ByteBufferview of thepoint_cb_valuefield.
-
point_cb_value
public byte point_cb_value(int index) - Returns:
- the value at the specified index of the
point_cb_valuefield.
-
point_cb_scaling
- Returns:
- a
ByteBufferview of thepoint_cb_scalingfield.
-
point_cb_scaling
public byte point_cb_scaling(int index) - Returns:
- the value at the specified index of the
point_cb_scalingfield.
-
num_cr_points
public byte num_cr_points()- Returns:
- the value of the
num_cr_pointsfield.
-
point_cr_value
- Returns:
- a
ByteBufferview of thepoint_cr_valuefield.
-
point_cr_value
public byte point_cr_value(int index) - Returns:
- the value at the specified index of the
point_cr_valuefield.
-
point_cr_scaling
- Returns:
- a
ByteBufferview of thepoint_cr_scalingfield.
-
point_cr_scaling
public byte point_cr_scaling(int index) - Returns:
- the value at the specified index of the
point_cr_scalingfield.
-
ar_coeffs_y_plus_128
- Returns:
- a
ByteBufferview of thear_coeffs_y_plus_128field.
-
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_128field.
-
ar_coeffs_cb_plus_128
- Returns:
- a
ByteBufferview of thear_coeffs_cb_plus_128field.
-
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_128field.
-
ar_coeffs_cr_plus_128
- Returns:
- a
ByteBufferview of thear_coeffs_cr_plus_128field.
-
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_128field.
-
cb_mult
public byte cb_mult()- Returns:
- the value of the
cb_multfield.
-
cb_luma_mult
public byte cb_luma_mult()- Returns:
- the value of the
cb_luma_multfield.
-
cb_offset
public short cb_offset()- Returns:
- the value of the
cb_offsetfield.
-
cr_mult
public byte cr_mult()- Returns:
- the value of the
cr_multfield.
-
cr_luma_mult
public byte cr_luma_mult()- Returns:
- the value of the
cr_luma_multfield.
-
cr_offset
public short cr_offset()- Returns:
- the value of the
cr_offsetfield.
-
flags
Copies the specifiedStdVideoAV1FilmGrainFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
grain_scaling_minus_8
Sets the specified value to thegrain_scaling_minus_8field. -
ar_coeff_lag
Sets the specified value to thear_coeff_lagfield. -
ar_coeff_shift_minus_6
Sets the specified value to thear_coeff_shift_minus_6field. -
grain_scale_shift
Sets the specified value to thegrain_scale_shiftfield. -
grain_seed
Sets the specified value to thegrain_seedfield. -
film_grain_params_ref_idx
Sets the specified value to thefilm_grain_params_ref_idxfield. -
num_y_points
Sets the specified value to thenum_y_pointsfield. -
point_y_value
Copies the specifiedByteBufferto thepoint_y_valuefield. -
point_y_value
Sets the specified value at the specified index of thepoint_y_valuefield. -
point_y_scaling
Copies the specifiedByteBufferto thepoint_y_scalingfield. -
point_y_scaling
Sets the specified value at the specified index of thepoint_y_scalingfield. -
num_cb_points
Sets the specified value to thenum_cb_pointsfield. -
point_cb_value
Copies the specifiedByteBufferto thepoint_cb_valuefield. -
point_cb_value
Sets the specified value at the specified index of thepoint_cb_valuefield. -
point_cb_scaling
Copies the specifiedByteBufferto thepoint_cb_scalingfield. -
point_cb_scaling
Sets the specified value at the specified index of thepoint_cb_scalingfield. -
num_cr_points
Sets the specified value to thenum_cr_pointsfield. -
point_cr_value
Copies the specifiedByteBufferto thepoint_cr_valuefield. -
point_cr_value
Sets the specified value at the specified index of thepoint_cr_valuefield. -
point_cr_scaling
Copies the specifiedByteBufferto thepoint_cr_scalingfield. -
point_cr_scaling
Sets the specified value at the specified index of thepoint_cr_scalingfield. -
ar_coeffs_y_plus_128
Copies the specifiedByteBufferto thear_coeffs_y_plus_128field. -
ar_coeffs_y_plus_128
Sets the specified value at the specified index of thear_coeffs_y_plus_128field. -
ar_coeffs_cb_plus_128
Copies the specifiedByteBufferto thear_coeffs_cb_plus_128field. -
ar_coeffs_cb_plus_128
Sets the specified value at the specified index of thear_coeffs_cb_plus_128field. -
ar_coeffs_cr_plus_128
Copies the specifiedByteBufferto thear_coeffs_cr_plus_128field. -
ar_coeffs_cr_plus_128
Sets the specified value at the specified index of thear_coeffs_cr_plus_128field. -
cb_mult
Sets the specified value to thecb_multfield. -
cb_luma_mult
Sets the specified value to thecb_luma_multfield. -
cb_offset
Sets the specified value to thecb_offsetfield. -
cr_mult
Sets the specified value to thecr_multfield. -
cr_luma_mult
Sets the specified value to thecr_luma_multfield. -
cr_offset
Sets the specified value to thecr_offsetfield.
-