diff options
author | Måns Rullgård <mans@mansr.com> | 2010-05-29 15:29:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-05-29 15:29:40 +0000 |
commit | 41331b65f2d1b9275a725b871b8530f1d584690c (patch) | |
tree | dd30f74dab0967ba323acaeb942ba951ce9e804d /libavcodec/arm/mpegvideo_arm.c | |
parent | 2c780abfdbcf3331696f429d5eb841798cda5b8f (diff) | |
download | ffmpeg-41331b65f2d1b9275a725b871b8530f1d584690c.tar.gz |
ARM: NEON optimised dct_unquantize_h263_{intra,inter}
Originally committed as revision 23386 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/mpegvideo_arm.c')
-rw-r--r-- | libavcodec/arm/mpegvideo_arm.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/arm/mpegvideo_arm.c b/libavcodec/arm/mpegvideo_arm.c index 06eacdf08f..e7cb9c6633 100644 --- a/libavcodec/arm/mpegvideo_arm.c +++ b/libavcodec/arm/mpegvideo_arm.c @@ -23,6 +23,11 @@ #include "libavcodec/mpegvideo.h" #include "mpegvideo_arm.h" +void ff_dct_unquantize_h263_inter_neon(MpegEncContext *s, DCTELEM *block, + int n, int qscale); +void ff_dct_unquantize_h263_intra_neon(MpegEncContext *s, DCTELEM *block, + int n, int qscale); + void MPV_common_init_arm(MpegEncContext *s) { /* IWMMXT support is a superset of armv5te, so @@ -35,4 +40,9 @@ void MPV_common_init_arm(MpegEncContext *s) #if HAVE_IWMMXT MPV_common_init_iwmmxt(s); #endif + + if (HAVE_NEON) { + s->dct_unquantize_h263_intra = ff_dct_unquantize_h263_intra_neon; + s->dct_unquantize_h263_inter = ff_dct_unquantize_h263_inter_neon; + } } |