summaryrefslogtreecommitdiff
path: root/libavcodec/arm/dsputil_init_neon.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-23 01:45:43 +0000
committerMans Rullgard <mans@mansr.com>2011-03-24 19:24:03 +0000
commit2d3b21ffb91610f806a6c550dc142520d7a11e50 (patch)
treeef82639c7628042e39fa8f8b6e06887cad6fbe1f /libavcodec/arm/dsputil_init_neon.c
parent245c78313fac79d3336f139fbca88c8d799f866a (diff)
downloadffmpeg-2d3b21ffb91610f806a6c550dc142520d7a11e50.tar.gz
ARM: NEON optimised apply_window_int16()
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/dsputil_init_neon.c')
-rw-r--r--libavcodec/arm/dsputil_init_neon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/arm/dsputil_init_neon.c b/libavcodec/arm/dsputil_init_neon.c
index 2b283c4ac1..eb0bc575e8 100644
--- a/libavcodec/arm/dsputil_init_neon.c
+++ b/libavcodec/arm/dsputil_init_neon.c
@@ -168,6 +168,9 @@ int32_t ff_scalarproduct_int16_neon(const int16_t *v1, const int16_t *v2, int le
int32_t ff_scalarproduct_and_madd_int16_neon(int16_t *v1, const int16_t *v2,
const int16_t *v3, int len, int mul);
+void ff_apply_window_int16_neon(int16_t *dst, const int16_t *src,
+ const int16_t *window, int n);
+
void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx)
{
if (!avctx->lowres) {
@@ -319,4 +322,6 @@ void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx)
c->scalarproduct_int16 = ff_scalarproduct_int16_neon;
c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_neon;
+
+ c->apply_window_int16 = ff_apply_window_int16_neon;
}