[FFmpeg-cvslog] r25121 - trunk/libavcodec/arm/h264idct_neon.S

mru subversion
Tue Sep 14 19:11:51 CEST 2010


Author: mru
Date: Tue Sep 14 19:11:51 2010
New Revision: 25121

Log:
ARM: fix NEON h264_idct_add8

Modified:
   trunk/libavcodec/arm/h264idct_neon.S

Modified: trunk/libavcodec/arm/h264idct_neon.S
==============================================================================
--- trunk/libavcodec/arm/h264idct_neon.S	Tue Sep 14 16:45:43 2010	(r25120)
+++ trunk/libavcodec/arm/h264idct_neon.S	Tue Sep 14 19:11:51 2010	(r25121)
@@ -150,13 +150,13 @@ function ff_h264_idct_add8_neon, export=
         mov             r2,  r3
         ldr             r6,  [sp, #32]
         movrel          r7,  scan8+16
-        mov             ip,  #8
+        mov             ip,  #7
 1:      ldrb            r8,  [r7], #1
         ldr             r0,  [r5], #4
         ldrb            r8,  [r6, r8]
         tst             ip,  #4
-        addeq           r0,  r0,  r4
-        addne           r0,  r0,  r9
+        addne           r0,  r0,  r4
+        addeq           r0,  r0,  r9
         cmp             r8,  #0
         ldrsh           r8,  [r1]
         adrne           lr,  ff_h264_idct_add_neon
@@ -165,7 +165,7 @@ function ff_h264_idct_add8_neon, export=
         blxne           lr
         subs            ip,  ip,  #1
         add             r1,  r1,  #32
-        bne             1b
+        bge             1b
         pop             {r4-r10,pc}
 endfunc
 



More information about the ffmpeg-cvslog mailing list