aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/rv34dsp_init_neon.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-01-12 17:21:48 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-01-12 18:33:55 +0100
commite1e369049e3d2f88eed6ed38eb3dd704681c7f1a (patch)
treeecaa96dfa9a4220e504cc93d30494a3a45cb8b79 /libavcodec/arm/rv34dsp_init_neon.c
parent136ee32da3c728fb4e3490393efb947cc7c4e898 (diff)
downloadffmpeg-e1e369049e3d2f88eed6ed38eb3dd704681c7f1a.tar.gz
rv34: NEON optimised dc only inverse transform
30-50% faster than the C implementation, 0.5% overall speedup on bourne.rmvb.
Diffstat (limited to 'libavcodec/arm/rv34dsp_init_neon.c')
-rw-r--r--libavcodec/arm/rv34dsp_init_neon.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/arm/rv34dsp_init_neon.c b/libavcodec/arm/rv34dsp_init_neon.c
index 9a09fde7a9..16bda46658 100644
--- a/libavcodec/arm/rv34dsp_init_neon.c
+++ b/libavcodec/arm/rv34dsp_init_neon.c
@@ -26,8 +26,13 @@
void ff_rv34_inv_transform_neon(DCTELEM *block);
void ff_rv34_inv_transform_noround_neon(DCTELEM *block);
+void ff_rv34_inv_transform_dc_neon(DCTELEM *block);
+void ff_rv34_inv_transform_noround_dc_neon(DCTELEM *block);
+
void ff_rv34dsp_init_neon(RV34DSPContext *c, DSPContext* dsp)
{
- c->rv34_inv_transform_tab[0] = ff_rv34_inv_transform_neon;
- c->rv34_inv_transform_tab[1] = ff_rv34_inv_transform_noround_neon;
+ c->rv34_inv_transform_tab[0] = ff_rv34_inv_transform_neon;
+ c->rv34_inv_transform_tab[1] = ff_rv34_inv_transform_noround_neon;
+ c->rv34_inv_transform_dc_tab[0] = ff_rv34_inv_transform_dc_neon;
+ c->rv34_inv_transform_dc_tab[1] = ff_rv34_inv_transform_noround_dc_neon;
}