diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-19 22:26:58 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-22 11:55:42 -0800 |
commit | 55aa03b9f8f11ebb7535424cc0e5635558590f49 (patch) | |
tree | e13b12d715aa32cb1d81ed066735af40ea6dbb8a /libavutil/float_dsp.h | |
parent | 0881cbf314982cce8448bd12644ce2a6e0b8c576 (diff) | |
download | ffmpeg-55aa03b9f8f11ebb7535424cc0e5635558590f49.tar.gz |
floatdsp: move vector_fmul_add from dsputil to avfloatdsp.
Diffstat (limited to 'libavutil/float_dsp.h')
-rw-r--r-- | libavutil/float_dsp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h index d0ceaaf5e1..b45c4560ff 100644 --- a/libavutil/float_dsp.h +++ b/libavutil/float_dsp.h @@ -100,6 +100,24 @@ typedef struct AVFloatDSPContext { */ void (*vector_fmul_window)(float *dst, const float *src0, const float *src1, const float *win, int len); + + /** + * Calculate the product of two vectors of floats, add a third vector of + * floats and store the result in a vector of floats. + * + * @param dst output vector + * constraints: 32-byte aligned + * @param src0 first input vector + * constraints: 32-byte aligned + * @param src1 second input vector + * constraints: 32-byte aligned + * @param src1 third input vector + * constraints: 32-byte aligned + * @param len number of elements in the input + * constraints: multiple of 16 + */ + void (*vector_fmul_add)(float *dst, const float *src0, const float *src1, + const float *src2, int len); } AVFloatDSPContext; /** |