aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/rv40dsp_init_neon.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-12-05 21:22:57 +0000
committerMans Rullgard <mans@mansr.com>2011-12-06 13:48:25 +0000
commit6c889888662168811389e209bfbc662d70c27627 (patch)
tree03cfeed3360fa8dfe86543fb184cb956aa3f740d /libavcodec/arm/rv40dsp_init_neon.c
parentf5c05b9aa5aeb6079b76f9da452f8ee4050e8955 (diff)
downloadffmpeg-6c889888662168811389e209bfbc662d70c27627.tar.gz
rv40: NEON optimised weighted prediction
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/rv40dsp_init_neon.c')
-rw-r--r--libavcodec/arm/rv40dsp_init_neon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/arm/rv40dsp_init_neon.c b/libavcodec/arm/rv40dsp_init_neon.c
index aa4a88da1a..3a863e1916 100644
--- a/libavcodec/arm/rv40dsp_init_neon.c
+++ b/libavcodec/arm/rv40dsp_init_neon.c
@@ -29,10 +29,16 @@ void ff_put_rv40_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
void ff_avg_rv40_chroma_mc8_neon(uint8_t *, uint8_t *, int, int, int, int);
void ff_avg_rv40_chroma_mc4_neon(uint8_t *, uint8_t *, int, int, int, int);
+void ff_rv40_weight_func_16_neon(uint8_t *, uint8_t *, uint8_t *, int, int, int);
+void ff_rv40_weight_func_8_neon(uint8_t *, uint8_t *, uint8_t *, int, int, int);
+
void ff_rv40dsp_init_neon(RV34DSPContext *c, DSPContext* dsp)
{
c->put_chroma_pixels_tab[0] = ff_put_rv40_chroma_mc8_neon;
c->put_chroma_pixels_tab[1] = ff_put_rv40_chroma_mc4_neon;
c->avg_chroma_pixels_tab[0] = ff_avg_rv40_chroma_mc8_neon;
c->avg_chroma_pixels_tab[1] = ff_avg_rv40_chroma_mc4_neon;
+
+ c->rv40_weight_pixels_tab[0] = ff_rv40_weight_func_16_neon;
+ c->rv40_weight_pixels_tab[1] = ff_rv40_weight_func_8_neon;
}