diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 21:21:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 21:44:03 +0200 |
commit | 11512367d3c6f67b093b54c532328763c9b815e2 (patch) | |
tree | ee8c5e1e0d293a8c4f2917c1aecc85466c2accfe /libavcodec/celp_math.h | |
parent | 84f8aef40c7091274ed399a8aeaa933ea76d9476 (diff) | |
download | ffmpeg-11512367d3c6f67b093b54c532328763c9b815e2.tar.gz |
celp_math: cleanup ff_dot_product()
based on code & idea by vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/celp_math.h')
-rw-r--r-- | libavcodec/celp_math.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/celp_math.h b/libavcodec/celp_math.h index 476e668795..4b08c62c0c 100644 --- a/libavcodec/celp_math.h +++ b/libavcodec/celp_math.h @@ -68,11 +68,10 @@ static inline int bidir_sal(int value, int offset) * @param a input data array * @param b input data array * @param length number of elements - * @param shift the result is scaled by 2^shift * * @return dot product = sum of elementwise products */ -int ff_dot_product(const int16_t *a, const int16_t *b, int length, int shift); +int ff_dot_product(const int16_t *a, const int16_t *b, int length); /** * returns the dot product. |