Package org.lwjgl.vulkan.video
Class StdVideoAV1FilmGrain
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct StdVideoAV1FilmGrain {
{@link StdVideoAV1FilmGrainFlags StdVideoAV1FilmGrainFlags} flags;
uint8_t grain_scaling_minus_8;
uint8_t ar_coeff_lag;
uint8_t ar_coeff_shift_minus_6;
uint8_t grain_scale_shift;
uint16_t grain_seed;
uint8_t film_grain_params_ref_idx;
uint8_t num_y_points;
uint8_t point_y_value[STD_VIDEO_AV1_MAX_NUM_Y_POINTS];
uint8_t point_y_scaling[STD_VIDEO_AV1_MAX_NUM_Y_POINTS];
uint8_t num_cb_points;
uint8_t point_cb_value[STD_VIDEO_AV1_MAX_NUM_CB_POINTS];
uint8_t point_cb_scaling[STD_VIDEO_AV1_MAX_NUM_CB_POINTS];
uint8_t num_cr_points;
uint8_t point_cr_value[STD_VIDEO_AV1_MAX_NUM_CR_POINTS];
uint8_t point_cr_scaling[STD_VIDEO_AV1_MAX_NUM_CR_POINTS];
int8_t ar_coeffs_y_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_LUMA];
int8_t ar_coeffs_cb_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_CHROMA];
int8_t ar_coeffs_cr_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_CHROMA];
uint8_t cb_mult;
uint8_t cb_luma_mult;
uint16_t cb_offset;
uint8_t cr_mult;
uint8_t cr_luma_mult;
uint16_t cr_offset;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoAV1FilmGrain
(ByteBuffer container) Creates aStdVideoAV1FilmGrain
instance at the current position of the specifiedByteBuffer
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.static StdVideoAV1FilmGrain
calloc()
Returns a newStdVideoAV1FilmGrain
instance allocated withmemCalloc
.static StdVideoAV1FilmGrain.Buffer
calloc
(int capacity) Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated withmemCalloc
.static StdVideoAV1FilmGrain.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoAV1FilmGrain
calloc
(MemoryStack stack) Returns a newStdVideoAV1FilmGrain
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.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.static StdVideoAV1FilmGrain
create()
Returns a newStdVideoAV1FilmGrain
instance allocated withBufferUtils
.static StdVideoAV1FilmGrain.Buffer
create
(int capacity) Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated withBufferUtils
.static StdVideoAV1FilmGrain
create
(long address) Returns a newStdVideoAV1FilmGrain
instance for the specified memory address.static StdVideoAV1FilmGrain.Buffer
create
(long address, int capacity) Create aStdVideoAV1FilmGrain.Buffer
instance at the specified memory.static @Nullable StdVideoAV1FilmGrain
createSafe
(long address) static @Nullable StdVideoAV1FilmGrain.Buffer
createSafe
(long address, int capacity) 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.static StdVideoAV1FilmGrain
malloc()
Returns a newStdVideoAV1FilmGrain
instance allocated withmemAlloc
.static StdVideoAV1FilmGrain.Buffer
malloc
(int capacity) Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated withmemAlloc
.static StdVideoAV1FilmGrain.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoAV1FilmGrain
malloc
(MemoryStack stack) Returns a newStdVideoAV1FilmGrain
instance allocated on the specifiedMemoryStack
.static byte
nar_coeff_lag
(long struct) Unsafe version ofar_coeff_lag()
.static void
nar_coeff_lag
(long struct, byte value) Unsafe version ofar_coeff_lag
.static byte
nar_coeff_shift_minus_6
(long struct) Unsafe version ofar_coeff_shift_minus_6()
.static void
nar_coeff_shift_minus_6
(long struct, byte value) Unsafe version ofar_coeff_shift_minus_6
.static ByteBuffer
nar_coeffs_cb_plus_128
(long struct) Unsafe version ofar_coeffs_cb_plus_128()
.static byte
nar_coeffs_cb_plus_128
(long struct, int index) Unsafe version ofar_coeffs_cb_plus_128
.static void
nar_coeffs_cb_plus_128
(long struct, int index, byte value) Unsafe version ofar_coeffs_cb_plus_128
.static void
nar_coeffs_cb_plus_128
(long struct, ByteBuffer value) Unsafe version ofar_coeffs_cb_plus_128
.static ByteBuffer
nar_coeffs_cr_plus_128
(long struct) Unsafe version ofar_coeffs_cr_plus_128()
.static byte
nar_coeffs_cr_plus_128
(long struct, int index) Unsafe version ofar_coeffs_cr_plus_128
.static void
nar_coeffs_cr_plus_128
(long struct, int index, byte value) Unsafe version ofar_coeffs_cr_plus_128
.static void
nar_coeffs_cr_plus_128
(long struct, ByteBuffer value) Unsafe version ofar_coeffs_cr_plus_128
.static ByteBuffer
nar_coeffs_y_plus_128
(long struct) Unsafe version ofar_coeffs_y_plus_128()
.static byte
nar_coeffs_y_plus_128
(long struct, int index) Unsafe version ofar_coeffs_y_plus_128
.static void
nar_coeffs_y_plus_128
(long struct, int index, byte value) Unsafe version ofar_coeffs_y_plus_128
.static void
nar_coeffs_y_plus_128
(long struct, ByteBuffer value) Unsafe version ofar_coeffs_y_plus_128
.static byte
ncb_luma_mult
(long struct) Unsafe version ofcb_luma_mult()
.static void
ncb_luma_mult
(long struct, byte value) Unsafe version ofcb_luma_mult
.static byte
ncb_mult
(long struct) Unsafe version ofcb_mult()
.static void
ncb_mult
(long struct, byte value) Unsafe version ofcb_mult
.static short
ncb_offset
(long struct) Unsafe version ofcb_offset()
.static void
ncb_offset
(long struct, short value) Unsafe version ofcb_offset
.static byte
ncr_luma_mult
(long struct) Unsafe version ofcr_luma_mult()
.static void
ncr_luma_mult
(long struct, byte value) Unsafe version ofcr_luma_mult
.static byte
ncr_mult
(long struct) Unsafe version ofcr_mult()
.static void
ncr_mult
(long struct, byte value) Unsafe version ofcr_mult
.static short
ncr_offset
(long struct) Unsafe version ofcr_offset()
.static void
ncr_offset
(long struct, short value) Unsafe version ofcr_offset
.static byte
nfilm_grain_params_ref_idx
(long struct) Unsafe version offilm_grain_params_ref_idx()
.static void
nfilm_grain_params_ref_idx
(long struct, byte value) Unsafe version offilm_grain_params_ref_idx
.static StdVideoAV1FilmGrainFlags
nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoAV1FilmGrainFlags value) Unsafe version offlags
.static byte
ngrain_scale_shift
(long struct) Unsafe version ofgrain_scale_shift()
.static void
ngrain_scale_shift
(long struct, byte value) Unsafe version ofgrain_scale_shift
.static byte
ngrain_scaling_minus_8
(long struct) Unsafe version ofgrain_scaling_minus_8()
.static void
ngrain_scaling_minus_8
(long struct, byte value) Unsafe version ofgrain_scaling_minus_8
.static short
ngrain_seed
(long struct) Unsafe version ofgrain_seed()
.static void
ngrain_seed
(long struct, short value) Unsafe version ofgrain_seed
.static byte
nnum_cb_points
(long struct) Unsafe version ofnum_cb_points()
.static void
nnum_cb_points
(long struct, byte value) Unsafe version ofnum_cb_points
.static byte
nnum_cr_points
(long struct) Unsafe version ofnum_cr_points()
.static void
nnum_cr_points
(long struct, byte value) Unsafe version ofnum_cr_points
.static byte
nnum_y_points
(long struct) Unsafe version ofnum_y_points()
.static void
nnum_y_points
(long struct, byte value) Unsafe version ofnum_y_points
.static ByteBuffer
npoint_cb_scaling
(long struct) Unsafe version ofpoint_cb_scaling()
.static byte
npoint_cb_scaling
(long struct, int index) Unsafe version ofpoint_cb_scaling
.static void
npoint_cb_scaling
(long struct, int index, byte value) Unsafe version ofpoint_cb_scaling
.static void
npoint_cb_scaling
(long struct, ByteBuffer value) Unsafe version ofpoint_cb_scaling
.static ByteBuffer
npoint_cb_value
(long struct) Unsafe version ofpoint_cb_value()
.static byte
npoint_cb_value
(long struct, int index) Unsafe version ofpoint_cb_value
.static void
npoint_cb_value
(long struct, int index, byte value) Unsafe version ofpoint_cb_value
.static void
npoint_cb_value
(long struct, ByteBuffer value) Unsafe version ofpoint_cb_value
.static ByteBuffer
npoint_cr_scaling
(long struct) Unsafe version ofpoint_cr_scaling()
.static byte
npoint_cr_scaling
(long struct, int index) Unsafe version ofpoint_cr_scaling
.static void
npoint_cr_scaling
(long struct, int index, byte value) Unsafe version ofpoint_cr_scaling
.static void
npoint_cr_scaling
(long struct, ByteBuffer value) Unsafe version ofpoint_cr_scaling
.static ByteBuffer
npoint_cr_value
(long struct) Unsafe version ofpoint_cr_value()
.static byte
npoint_cr_value
(long struct, int index) Unsafe version ofpoint_cr_value
.static void
npoint_cr_value
(long struct, int index, byte value) Unsafe version ofpoint_cr_value
.static void
npoint_cr_value
(long struct, ByteBuffer value) Unsafe version ofpoint_cr_value
.static ByteBuffer
npoint_y_scaling
(long struct) Unsafe version ofpoint_y_scaling()
.static byte
npoint_y_scaling
(long struct, int index) Unsafe version ofpoint_y_scaling
.static void
npoint_y_scaling
(long struct, int index, byte value) Unsafe version ofpoint_y_scaling
.static void
npoint_y_scaling
(long struct, ByteBuffer value) Unsafe version ofpoint_y_scaling
.static ByteBuffer
npoint_y_value
(long struct) Unsafe version ofpoint_y_value()
.static byte
npoint_y_value
(long struct, int index) Unsafe version ofpoint_y_value
.static void
npoint_y_value
(long struct, int index, byte value) Unsafe version ofpoint_y_value
.static void
npoint_y_value
(long struct, ByteBuffer value) Unsafe version ofpoint_y_value
.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.set
(StdVideoAV1FilmGrain src) Copies the specified struct data to this struct.set
(StdVideoAV1FilmGrainFlags flags, byte grain_scaling_minus_8, byte ar_coeff_lag, byte ar_coeff_shift_minus_6, byte grain_scale_shift, short grain_seed, byte film_grain_params_ref_idx, byte num_y_points, ByteBuffer point_y_value, ByteBuffer point_y_scaling, byte num_cb_points, ByteBuffer point_cb_value, ByteBuffer point_cb_scaling, byte num_cr_points, ByteBuffer point_cr_value, ByteBuffer point_cr_scaling, ByteBuffer ar_coeffs_y_plus_128, ByteBuffer ar_coeffs_cb_plus_128, ByteBuffer ar_coeffs_cr_plus_128, byte cb_mult, byte cb_luma_mult, short cb_offset, byte cr_mult, byte cr_luma_mult, short cr_offset) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
GRAIN_SCALING_MINUS_8
public static final int GRAIN_SCALING_MINUS_8The struct member offsets. -
AR_COEFF_LAG
public static final int AR_COEFF_LAGThe struct member offsets. -
AR_COEFF_SHIFT_MINUS_6
public static final int AR_COEFF_SHIFT_MINUS_6The struct member offsets. -
GRAIN_SCALE_SHIFT
public static final int GRAIN_SCALE_SHIFTThe struct member offsets. -
GRAIN_SEED
public static final int GRAIN_SEEDThe struct member offsets. -
FILM_GRAIN_PARAMS_REF_IDX
public static final int FILM_GRAIN_PARAMS_REF_IDXThe struct member offsets. -
NUM_Y_POINTS
public static final int NUM_Y_POINTSThe struct member offsets. -
POINT_Y_VALUE
public static final int POINT_Y_VALUEThe struct member offsets. -
POINT_Y_SCALING
public static final int POINT_Y_SCALINGThe struct member offsets. -
NUM_CB_POINTS
public static final int NUM_CB_POINTSThe struct member offsets. -
POINT_CB_VALUE
public static final int POINT_CB_VALUEThe struct member offsets. -
POINT_CB_SCALING
public static final int POINT_CB_SCALINGThe struct member offsets. -
NUM_CR_POINTS
public static final int NUM_CR_POINTSThe struct member offsets. -
POINT_CR_VALUE
public static final int POINT_CR_VALUEThe struct member offsets. -
POINT_CR_SCALING
public static final int POINT_CR_SCALINGThe struct member offsets. -
AR_COEFFS_Y_PLUS_128
public static final int AR_COEFFS_Y_PLUS_128The struct member offsets. -
AR_COEFFS_CB_PLUS_128
public static final int AR_COEFFS_CB_PLUS_128The struct member offsets. -
AR_COEFFS_CR_PLUS_128
public static final int AR_COEFFS_CR_PLUS_128The struct member offsets. -
CB_MULT
public static final int CB_MULTThe struct member offsets. -
CB_LUMA_MULT
public static final int CB_LUMA_MULTThe struct member offsets. -
CB_OFFSET
public static final int CB_OFFSETThe struct member offsets. -
CR_MULT
public static final int CR_MULTThe struct member offsets. -
CR_LUMA_MULT
public static final int CR_LUMA_MULTThe struct member offsets. -
CR_OFFSET
public static final int CR_OFFSETThe struct member offsets.
-
-
Constructor Details
-
StdVideoAV1FilmGrain
Creates aStdVideoAV1FilmGrain
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoAV1FilmGrain>
-
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. -
set
public StdVideoAV1FilmGrain set(StdVideoAV1FilmGrainFlags flags, byte grain_scaling_minus_8, byte ar_coeff_lag, byte ar_coeff_shift_minus_6, byte grain_scale_shift, short grain_seed, byte film_grain_params_ref_idx, byte num_y_points, ByteBuffer point_y_value, ByteBuffer point_y_scaling, byte num_cb_points, ByteBuffer point_cb_value, ByteBuffer point_cb_scaling, byte num_cr_points, ByteBuffer point_cr_value, ByteBuffer point_cr_scaling, ByteBuffer ar_coeffs_y_plus_128, ByteBuffer ar_coeffs_cb_plus_128, ByteBuffer ar_coeffs_cr_plus_128, byte cb_mult, byte cb_luma_mult, short cb_offset, byte cr_mult, byte cr_luma_mult, short cr_offset) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoAV1FilmGrain
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1FilmGrain
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1FilmGrain
instance allocated withBufferUtils
. -
create
Returns a newStdVideoAV1FilmGrain
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoAV1FilmGrain.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1FilmGrain
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1FilmGrain
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1FilmGrain.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nflags
Unsafe version offlags()
. -
ngrain_scaling_minus_8
public static byte ngrain_scaling_minus_8(long struct) Unsafe version ofgrain_scaling_minus_8()
. -
nar_coeff_lag
public static byte nar_coeff_lag(long struct) Unsafe version ofar_coeff_lag()
. -
nar_coeff_shift_minus_6
public static byte nar_coeff_shift_minus_6(long struct) Unsafe version ofar_coeff_shift_minus_6()
. -
ngrain_scale_shift
public static byte ngrain_scale_shift(long struct) Unsafe version ofgrain_scale_shift()
. -
ngrain_seed
public static short ngrain_seed(long struct) Unsafe version ofgrain_seed()
. -
nfilm_grain_params_ref_idx
public static byte nfilm_grain_params_ref_idx(long struct) Unsafe version offilm_grain_params_ref_idx()
. -
nnum_y_points
public static byte nnum_y_points(long struct) Unsafe version ofnum_y_points()
. -
npoint_y_value
Unsafe version ofpoint_y_value()
. -
npoint_y_value
public static byte npoint_y_value(long struct, int index) Unsafe version ofpoint_y_value
. -
npoint_y_scaling
Unsafe version ofpoint_y_scaling()
. -
npoint_y_scaling
public static byte npoint_y_scaling(long struct, int index) Unsafe version ofpoint_y_scaling
. -
nnum_cb_points
public static byte nnum_cb_points(long struct) Unsafe version ofnum_cb_points()
. -
npoint_cb_value
Unsafe version ofpoint_cb_value()
. -
npoint_cb_value
public static byte npoint_cb_value(long struct, int index) Unsafe version ofpoint_cb_value
. -
npoint_cb_scaling
Unsafe version ofpoint_cb_scaling()
. -
npoint_cb_scaling
public static byte npoint_cb_scaling(long struct, int index) Unsafe version ofpoint_cb_scaling
. -
nnum_cr_points
public static byte nnum_cr_points(long struct) Unsafe version ofnum_cr_points()
. -
npoint_cr_value
Unsafe version ofpoint_cr_value()
. -
npoint_cr_value
public static byte npoint_cr_value(long struct, int index) Unsafe version ofpoint_cr_value
. -
npoint_cr_scaling
Unsafe version ofpoint_cr_scaling()
. -
npoint_cr_scaling
public static byte npoint_cr_scaling(long struct, int index) Unsafe version ofpoint_cr_scaling
. -
nar_coeffs_y_plus_128
Unsafe version ofar_coeffs_y_plus_128()
. -
nar_coeffs_y_plus_128
public static byte nar_coeffs_y_plus_128(long struct, int index) Unsafe version ofar_coeffs_y_plus_128
. -
nar_coeffs_cb_plus_128
Unsafe version ofar_coeffs_cb_plus_128()
. -
nar_coeffs_cb_plus_128
public static byte nar_coeffs_cb_plus_128(long struct, int index) Unsafe version ofar_coeffs_cb_plus_128
. -
nar_coeffs_cr_plus_128
Unsafe version ofar_coeffs_cr_plus_128()
. -
nar_coeffs_cr_plus_128
public static byte nar_coeffs_cr_plus_128(long struct, int index) Unsafe version ofar_coeffs_cr_plus_128
. -
ncb_mult
public static byte ncb_mult(long struct) Unsafe version ofcb_mult()
. -
ncb_luma_mult
public static byte ncb_luma_mult(long struct) Unsafe version ofcb_luma_mult()
. -
ncb_offset
public static short ncb_offset(long struct) Unsafe version ofcb_offset()
. -
ncr_mult
public static byte ncr_mult(long struct) Unsafe version ofcr_mult()
. -
ncr_luma_mult
public static byte ncr_luma_mult(long struct) Unsafe version ofcr_luma_mult()
. -
ncr_offset
public static short ncr_offset(long struct) Unsafe version ofcr_offset()
. -
nflags
Unsafe version offlags
. -
ngrain_scaling_minus_8
public static void ngrain_scaling_minus_8(long struct, byte value) Unsafe version ofgrain_scaling_minus_8
. -
nar_coeff_lag
public static void nar_coeff_lag(long struct, byte value) Unsafe version ofar_coeff_lag
. -
nar_coeff_shift_minus_6
public static void nar_coeff_shift_minus_6(long struct, byte value) Unsafe version ofar_coeff_shift_minus_6
. -
ngrain_scale_shift
public static void ngrain_scale_shift(long struct, byte value) Unsafe version ofgrain_scale_shift
. -
ngrain_seed
public static void ngrain_seed(long struct, short value) Unsafe version ofgrain_seed
. -
nfilm_grain_params_ref_idx
public static void nfilm_grain_params_ref_idx(long struct, byte value) Unsafe version offilm_grain_params_ref_idx
. -
nnum_y_points
public static void nnum_y_points(long struct, byte value) Unsafe version ofnum_y_points
. -
npoint_y_value
Unsafe version ofpoint_y_value
. -
npoint_y_value
public static void npoint_y_value(long struct, int index, byte value) Unsafe version ofpoint_y_value
. -
npoint_y_scaling
Unsafe version ofpoint_y_scaling
. -
npoint_y_scaling
public static void npoint_y_scaling(long struct, int index, byte value) Unsafe version ofpoint_y_scaling
. -
nnum_cb_points
public static void nnum_cb_points(long struct, byte value) Unsafe version ofnum_cb_points
. -
npoint_cb_value
Unsafe version ofpoint_cb_value
. -
npoint_cb_value
public static void npoint_cb_value(long struct, int index, byte value) Unsafe version ofpoint_cb_value
. -
npoint_cb_scaling
Unsafe version ofpoint_cb_scaling
. -
npoint_cb_scaling
public static void npoint_cb_scaling(long struct, int index, byte value) Unsafe version ofpoint_cb_scaling
. -
nnum_cr_points
public static void nnum_cr_points(long struct, byte value) Unsafe version ofnum_cr_points
. -
npoint_cr_value
Unsafe version ofpoint_cr_value
. -
npoint_cr_value
public static void npoint_cr_value(long struct, int index, byte value) Unsafe version ofpoint_cr_value
. -
npoint_cr_scaling
Unsafe version ofpoint_cr_scaling
. -
npoint_cr_scaling
public static void npoint_cr_scaling(long struct, int index, byte value) Unsafe version ofpoint_cr_scaling
. -
nar_coeffs_y_plus_128
Unsafe version ofar_coeffs_y_plus_128
. -
nar_coeffs_y_plus_128
public static void nar_coeffs_y_plus_128(long struct, int index, byte value) Unsafe version ofar_coeffs_y_plus_128
. -
nar_coeffs_cb_plus_128
Unsafe version ofar_coeffs_cb_plus_128
. -
nar_coeffs_cb_plus_128
public static void nar_coeffs_cb_plus_128(long struct, int index, byte value) Unsafe version ofar_coeffs_cb_plus_128
. -
nar_coeffs_cr_plus_128
Unsafe version ofar_coeffs_cr_plus_128
. -
nar_coeffs_cr_plus_128
public static void nar_coeffs_cr_plus_128(long struct, int index, byte value) Unsafe version ofar_coeffs_cr_plus_128
. -
ncb_mult
public static void ncb_mult(long struct, byte value) Unsafe version ofcb_mult
. -
ncb_luma_mult
public static void ncb_luma_mult(long struct, byte value) Unsafe version ofcb_luma_mult
. -
ncb_offset
public static void ncb_offset(long struct, short value) Unsafe version ofcb_offset
. -
ncr_mult
public static void ncr_mult(long struct, byte value) Unsafe version ofcr_mult
. -
ncr_luma_mult
public static void ncr_luma_mult(long struct, byte value) Unsafe version ofcr_luma_mult
. -
ncr_offset
public static void ncr_offset(long struct, short value) Unsafe version ofcr_offset
.
-