diff options
author | Christophe GISQUET <christophe.gisquet@gmail.com> | 2012-03-03 15:09:36 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-07 10:29:52 -0800 |
commit | 7e1ce6a6acd83cf2d5b21df94d2134b1553635ef (patch) | |
tree | 641b0483bf41da2c03c2a6cf4cad2e777c12c2f7 /libavcodec/arm/dsputil_init_neon.c | |
parent | dabf8dd34afdbb6dc9dc7603d7a5228fc67de4c8 (diff) | |
download | ffmpeg-7e1ce6a6acd83cf2d5b21df94d2134b1553635ef.tar.gz |
dsputil: remove shift parameter from scalarproduct_int16
There is only one caller, which does not need the shifting. Other use cases
are situations where different roundings would be needed.
The x86 and neon versions are modified accordingly.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/arm/dsputil_init_neon.c')
-rw-r--r-- | libavcodec/arm/dsputil_init_neon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/arm/dsputil_init_neon.c b/libavcodec/arm/dsputil_init_neon.c index 68e5b3ed42..b2931fe525 100644 --- a/libavcodec/arm/dsputil_init_neon.c +++ b/libavcodec/arm/dsputil_init_neon.c @@ -171,8 +171,7 @@ void ff_vector_clip_int32_neon(int32_t *dst, const int32_t *src, int32_t min, void ff_vorbis_inverse_coupling_neon(float *mag, float *ang, int blocksize); -int32_t ff_scalarproduct_int16_neon(const int16_t *v1, const int16_t *v2, int len, - int shift); +int32_t ff_scalarproduct_int16_neon(const int16_t *v1, const int16_t *v2, int len); int32_t ff_scalarproduct_and_madd_int16_neon(int16_t *v1, const int16_t *v2, const int16_t *v3, int len, int mul); |