Package org.lwjgl.vulkan.video
Class StdVideoAV1FilmGrain
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct StdVideoAV1FilmGrain {
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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aStdVideoAV1FilmGraininstance at the current position of the specifiedByteBuffercontainer. -
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.static StdVideoAV1FilmGraincalloc()Returns a newStdVideoAV1FilmGraininstance allocated withmemCalloc.static StdVideoAV1FilmGrain.Buffercalloc(int capacity) Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated withmemCalloc.static StdVideoAV1FilmGrain.Buffercalloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1FilmGraincalloc(MemoryStack stack) Returns a newStdVideoAV1FilmGraininstance allocated on the specifiedMemoryStackand initializes all its bits to zero.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.static StdVideoAV1FilmGraincreate()Returns a newStdVideoAV1FilmGraininstance allocated withBufferUtils.static StdVideoAV1FilmGrain.Buffercreate(int capacity) Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated withBufferUtils.static StdVideoAV1FilmGraincreate(long address) Returns a newStdVideoAV1FilmGraininstance for the specified memory address.static StdVideoAV1FilmGrain.Buffercreate(long address, int capacity) Create aStdVideoAV1FilmGrain.Bufferinstance at the specified memory.static @Nullable StdVideoAV1FilmGraincreateSafe(long address) static @Nullable StdVideoAV1FilmGrain.BuffercreateSafe(long address, int capacity) 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.static StdVideoAV1FilmGrainmalloc()Returns a newStdVideoAV1FilmGraininstance allocated withmemAlloc.static StdVideoAV1FilmGrain.Buffermalloc(int capacity) Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated withmemAlloc.static StdVideoAV1FilmGrain.Buffermalloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoAV1FilmGrainmalloc(MemoryStack stack) Returns a newStdVideoAV1FilmGraininstance allocated on the specifiedMemoryStack.static bytenar_coeff_lag(long struct) Unsafe version ofar_coeff_lag().static voidnar_coeff_lag(long struct, byte value) Unsafe version ofar_coeff_lag.static bytenar_coeff_shift_minus_6(long struct) Unsafe version ofar_coeff_shift_minus_6().static voidnar_coeff_shift_minus_6(long struct, byte value) Unsafe version ofar_coeff_shift_minus_6.static ByteBuffernar_coeffs_cb_plus_128(long struct) Unsafe version ofar_coeffs_cb_plus_128().static bytenar_coeffs_cb_plus_128(long struct, int index) Unsafe version ofar_coeffs_cb_plus_128.static voidnar_coeffs_cb_plus_128(long struct, int index, byte value) Unsafe version ofar_coeffs_cb_plus_128.static voidnar_coeffs_cb_plus_128(long struct, ByteBuffer value) Unsafe version ofar_coeffs_cb_plus_128.static ByteBuffernar_coeffs_cr_plus_128(long struct) Unsafe version ofar_coeffs_cr_plus_128().static bytenar_coeffs_cr_plus_128(long struct, int index) Unsafe version ofar_coeffs_cr_plus_128.static voidnar_coeffs_cr_plus_128(long struct, int index, byte value) Unsafe version ofar_coeffs_cr_plus_128.static voidnar_coeffs_cr_plus_128(long struct, ByteBuffer value) Unsafe version ofar_coeffs_cr_plus_128.static ByteBuffernar_coeffs_y_plus_128(long struct) Unsafe version ofar_coeffs_y_plus_128().static bytenar_coeffs_y_plus_128(long struct, int index) Unsafe version ofar_coeffs_y_plus_128.static voidnar_coeffs_y_plus_128(long struct, int index, byte value) Unsafe version ofar_coeffs_y_plus_128.static voidnar_coeffs_y_plus_128(long struct, ByteBuffer value) Unsafe version ofar_coeffs_y_plus_128.static bytencb_luma_mult(long struct) Unsafe version ofcb_luma_mult().static voidncb_luma_mult(long struct, byte value) Unsafe version ofcb_luma_mult.static bytencb_mult(long struct) Unsafe version ofcb_mult().static voidncb_mult(long struct, byte value) Unsafe version ofcb_mult.static shortncb_offset(long struct) Unsafe version ofcb_offset().static voidncb_offset(long struct, short value) Unsafe version ofcb_offset.static bytencr_luma_mult(long struct) Unsafe version ofcr_luma_mult().static voidncr_luma_mult(long struct, byte value) Unsafe version ofcr_luma_mult.static bytencr_mult(long struct) Unsafe version ofcr_mult().static voidncr_mult(long struct, byte value) Unsafe version ofcr_mult.static shortncr_offset(long struct) Unsafe version ofcr_offset().static voidncr_offset(long struct, short value) Unsafe version ofcr_offset.static bytenfilm_grain_params_ref_idx(long struct) Unsafe version offilm_grain_params_ref_idx().static voidnfilm_grain_params_ref_idx(long struct, byte value) Unsafe version offilm_grain_params_ref_idx.static StdVideoAV1FilmGrainFlagsnflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoAV1FilmGrainFlags value) Unsafe version offlags.static bytengrain_scale_shift(long struct) Unsafe version ofgrain_scale_shift().static voidngrain_scale_shift(long struct, byte value) Unsafe version ofgrain_scale_shift.static bytengrain_scaling_minus_8(long struct) Unsafe version ofgrain_scaling_minus_8().static voidngrain_scaling_minus_8(long struct, byte value) Unsafe version ofgrain_scaling_minus_8.static shortngrain_seed(long struct) Unsafe version ofgrain_seed().static voidngrain_seed(long struct, short value) Unsafe version ofgrain_seed.static bytennum_cb_points(long struct) Unsafe version ofnum_cb_points().static voidnnum_cb_points(long struct, byte value) Unsafe version ofnum_cb_points.static bytennum_cr_points(long struct) Unsafe version ofnum_cr_points().static voidnnum_cr_points(long struct, byte value) Unsafe version ofnum_cr_points.static bytennum_y_points(long struct) Unsafe version ofnum_y_points().static voidnnum_y_points(long struct, byte value) Unsafe version ofnum_y_points.static ByteBuffernpoint_cb_scaling(long struct) Unsafe version ofpoint_cb_scaling().static bytenpoint_cb_scaling(long struct, int index) Unsafe version ofpoint_cb_scaling.static voidnpoint_cb_scaling(long struct, int index, byte value) Unsafe version ofpoint_cb_scaling.static voidnpoint_cb_scaling(long struct, ByteBuffer value) Unsafe version ofpoint_cb_scaling.static ByteBuffernpoint_cb_value(long struct) Unsafe version ofpoint_cb_value().static bytenpoint_cb_value(long struct, int index) Unsafe version ofpoint_cb_value.static voidnpoint_cb_value(long struct, int index, byte value) Unsafe version ofpoint_cb_value.static voidnpoint_cb_value(long struct, ByteBuffer value) Unsafe version ofpoint_cb_value.static ByteBuffernpoint_cr_scaling(long struct) Unsafe version ofpoint_cr_scaling().static bytenpoint_cr_scaling(long struct, int index) Unsafe version ofpoint_cr_scaling.static voidnpoint_cr_scaling(long struct, int index, byte value) Unsafe version ofpoint_cr_scaling.static voidnpoint_cr_scaling(long struct, ByteBuffer value) Unsafe version ofpoint_cr_scaling.static ByteBuffernpoint_cr_value(long struct) Unsafe version ofpoint_cr_value().static bytenpoint_cr_value(long struct, int index) Unsafe version ofpoint_cr_value.static voidnpoint_cr_value(long struct, int index, byte value) Unsafe version ofpoint_cr_value.static voidnpoint_cr_value(long struct, ByteBuffer value) Unsafe version ofpoint_cr_value.static ByteBuffernpoint_y_scaling(long struct) Unsafe version ofpoint_y_scaling().static bytenpoint_y_scaling(long struct, int index) Unsafe version ofpoint_y_scaling.static voidnpoint_y_scaling(long struct, int index, byte value) Unsafe version ofpoint_y_scaling.static voidnpoint_y_scaling(long struct, ByteBuffer value) Unsafe version ofpoint_y_scaling.static ByteBuffernpoint_y_value(long struct) Unsafe version ofpoint_y_value().static bytenpoint_y_value(long struct, int index) Unsafe version ofpoint_y_value.static voidnpoint_y_value(long struct, int index, byte value) Unsafe version ofpoint_y_value.static voidnpoint_y_value(long struct, ByteBuffer value) Unsafe version ofpoint_y_value.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.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.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aStdVideoAV1FilmGraininstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoAV1FilmGrain>
-
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. -
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 newStdVideoAV1FilmGraininstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1FilmGraininstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1FilmGraininstance allocated withBufferUtils. -
create
Returns a newStdVideoAV1FilmGraininstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoAV1FilmGrain.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1FilmGraininstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1FilmGraininstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1FilmGrain.Bufferinstance allocated on the specifiedMemoryStackand 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.
-