summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorJames Yu <james.yu@linaro.org>2014-05-17 12:21:10 +0800
committerJanne Grunau <janne-libav@jannau.net>2014-07-21 23:18:29 +0200
commit16e6652286213014c28a9c3af70435e767d28638 (patch)
treef8fddbad76278d87ffca8e607e2b034e8e30af4b /libavcodec/mpegvideo.c
parentd45ebd4876ab8fc07736a644de07e1b1d11a8e5d (diff)
aarch64: NEON intrinsics dct_unquantize_h263.
Intrinsics only used on aarch64 since the existing ARMv7 NEON asm is slightly faster (Cortex-A9, gcc-4.8, micro-benchmarks and full decoding time). Signed-off-by: James Yu <james.yu@linaro.org> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e1daa2aee0..da425414b6 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -393,6 +393,9 @@ av_cold int ff_dct_common_init(MpegEncContext *s)
s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_bitexact;
s->dct_unquantize_mpeg2_inter = dct_unquantize_mpeg2_inter_c;
+ if (HAVE_INTRINSICS_NEON)
+ ff_MPV_common_init_neon(s);
+
if (ARCH_ARM)
ff_MPV_common_init_arm(s);
if (ARCH_PPC)