Index: patched-ffmpeg-mt/libavcodec/arm/dsputil_init_neon.c |
=================================================================== |
--- patched-ffmpeg-mt/libavcodec/arm/dsputil_init_neon.c (revision 41250) |
+++ patched-ffmpeg-mt/libavcodec/arm/dsputil_init_neon.c (working copy) |
@@ -227,6 +227,11 @@ |
void ff_vorbis_inverse_coupling_neon(float *mag, float *ang, int blocksize); |
+int32_t ff_scalarproduct_int16_neon(int16_t *v1, int16_t *v2, int len, |
+ int shift); |
+int32_t ff_scalarproduct_and_madd_int16_neon(int16_t *v1, int16_t *v2, |
+ int16_t *v3, int len, int mul); |
+ |
void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx) |
{ |
if (!avctx->lowres) { |
@@ -406,4 +411,7 @@ |
if (CONFIG_VORBIS_DECODER) |
c->vorbis_inverse_coupling = ff_vorbis_inverse_coupling_neon; |
+ |
+ c->scalarproduct_int16 = ff_scalarproduct_int16_neon; |
+ c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_neon; |
} |