diff options
author | Måns Rullgård <mans@mansr.com> | 2009-12-02 00:37:39 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-12-02 00:37:39 +0000 |
commit | 5dad039bf760b6bad30186cd18526ebffc7fc291 (patch) | |
tree | df4a62efe1855c1301ed85420d1c10051ec566c7 | |
parent | 1025d19dd7b53631c77a66c9057fbf1f417fc769 (diff) | |
download | ffmpeg-5dad039bf760b6bad30186cd18526ebffc7fc291.tar.gz |
ARM: small tweak of NEON H264 IDCT
Originally committed as revision 20697 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/arm/h264idct_neon.S | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libavcodec/arm/h264idct_neon.S b/libavcodec/arm/h264idct_neon.S index d30e703403..f38ec2edfa 100644 --- a/libavcodec/arm/h264idct_neon.S +++ b/libavcodec/arm/h264idct_neon.S @@ -24,11 +24,7 @@ .text function ff_h264_idct_add_neon, export=1 - mov r3, #(1<<5) - vmov.i16 d16, #0 - vmov.16 d16[0], r3 vld1.64 {d0-d3}, [r1,:128] - vadd.i16 d0, d0, d16 vswp d1, d2 vadd.i16 d4, d0, d1 @@ -58,8 +54,8 @@ function ff_h264_idct_add_neon, export=1 vadd.i16 q0, q2, q3 vsub.i16 q1, q2, q3 - vshr.s16 q0, q0, #6 - vshr.s16 q1, q1, #6 + vrshr.s16 q0, q0, #6 + vrshr.s16 q1, q1, #6 vaddw.u8 q0, q0, d18 vaddw.u8 q1, q1, d19 |