summaryrefslogtreecommitdiff
path: root/libavcodec/arm/h264idct_neon.S
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-09-14 17:11:51 +0000
committerMåns Rullgård <mans@mansr.com>2010-09-14 17:11:51 +0000
commit4a6cc8fa25dcfc8b707635b81161211c8d3395fb (patch)
treec19ef076e90bcc925d10fc7edb0cfa9df4760fdf /libavcodec/arm/h264idct_neon.S
parentbc6f0af289b4e43ff745db6f4ea4bc508d19453e (diff)
downloadffmpeg-4a6cc8fa25dcfc8b707635b81161211c8d3395fb.tar.gz
ARM: fix NEON h264_idct_add8
Originally committed as revision 25121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/h264idct_neon.S')
-rw-r--r--libavcodec/arm/h264idct_neon.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/arm/h264idct_neon.S b/libavcodec/arm/h264idct_neon.S
index abe086221f..6b6a669f35 100644
--- a/libavcodec/arm/h264idct_neon.S
+++ b/libavcodec/arm/h264idct_neon.S
@@ -150,13 +150,13 @@ function ff_h264_idct_add8_neon, export=1
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=1
blxne lr
subs ip, ip, #1
add r1, r1, #32
- bne 1b
+ bge 1b
pop {r4-r10,pc}
endfunc