From 55aa03b9f8f11ebb7535424cc0e5635558590f49 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 19 Jan 2013 22:26:58 -0800 Subject: floatdsp: move vector_fmul_add from dsputil to avfloatdsp. --- libavutil/float_dsp.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'libavutil/float_dsp.h') 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; /** -- cgit v1.2.3