mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 07:40:00 +08:00
celp_math: cleanup ff_dot_product()
based on code & idea by vitor Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user