Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1026)

Unified Diff: patched-ffmpeg-mt/libavcodec/arm/dsputil_init_neon.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698