FFmpeg
|
#include <float_dsp.h>
Data Fields | |
void(* | vector_fmul )(float *dst, const float *src0, const float *src1, int len) |
Calculate the product of two vectors of floats and store the result in a vector of floats. | |
void(* | vector_fmac_scalar )(float *dst, const float *src, float mul, int len) |
Multiply a vector of floats by a scalar float and add to destination vector. | |
void(* | vector_fmul_scalar )(float *dst, const float *src, float mul, int len) |
Multiply a vector of floats by a scalar float. | |
void(* | vector_dmul_scalar )(double *dst, const double *src, double mul, int len) |
Multiply a vector of double by a scalar double. | |
Definition at line 22 of file float_dsp.h.
Calculate the product of two vectors of floats and store the result in a vector of floats.
dst | output vector constraints: 32-byte aligned |
src0 | first input vector constraints: 32-byte aligned |
src1 | second input vector constraints: 32-byte aligned |
len | number of elements in the input constraints: multiple of 16 |
Definition at line 36 of file float_dsp.h.
Referenced by apply_mdct(), apply_window(), apply_window_and_mdct(), avpriv_float_dsp_init(), backward_filter(), do_hybrid_window(), ff_float_dsp_init_mips(), ff_float_dsp_init_neon(), ff_float_dsp_init_ppc(), ff_float_dsp_init_vfp(), ff_float_dsp_init_x86(), imlt(), read_and_decode_spectrum(), sbr_qmf_synthesis(), vorbis_parse_audio_packet(), and windowing_and_mdct_ltp().
Multiply a vector of floats by a scalar float and add to destination vector.
Source and destination vectors must overlap exactly or not at all.
dst | result vector constraints: 32-byte aligned |
src | input vector constraints: 32-byte aligned |
mul | scalar value |
len | length of vector constraints: multiple of 16 |
Definition at line 52 of file float_dsp.h.
Referenced by avpriv_float_dsp_init(), dca_decode_frame(), ff_float_dsp_init_neon(), ff_float_dsp_init_x86(), and output_frame().
Multiply a vector of floats by a scalar float.
Source and destination vectors must overlap exactly or not at all.
dst | result vector constraints: 16-byte aligned |
src | input vector constraints: 16-byte aligned |
mul | scalar value |
len | length of vector constraints: multiple of 4 |
Definition at line 67 of file float_dsp.h.
Referenced by apply_intensity_stereo(), apply_window_and_mdct(), avpriv_float_dsp_init(), decode_spectrum_and_dequant(), decode_subframe(), ff_float_dsp_init_neon(), ff_float_dsp_init_x86(), filter_frame(), inverse_channel_transform(), and mp3lame_encode_frame().
Multiply a vector of double by a scalar double.
Source and destination vectors must overlap exactly or not at all.
dst | result vector constraints: 32-byte aligned |
src | input vector constraints: 32-byte aligned |
mul | scalar value |
len | length of vector constraints: multiple of 8 |
Definition at line 82 of file float_dsp.h.
Referenced by avpriv_float_dsp_init(), ff_float_dsp_init_x86(), and filter_frame().