Browse Source

ARM: small tweak of NEON H264 IDCT

Originally committed as revision 20697 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Måns Rullgård 16 years ago
parent
commit
5dad039bf7
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      libavcodec/arm/h264idct_neon.S

+ 2
- 6
libavcodec/arm/h264idct_neon.S View File

@@ -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


Loading…
Cancel
Save