aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-03-24 17:33:28 +0100
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-04-01 17:23:45 +0200
commit0286b56f2fa53125b7e51e2a9b0f001702954e3b (patch)
treecfd6cd56ed1158f7e2320dbfa482a7e498876d46
parent0649fe0fae96790b0862528dde0cfac629b2103f (diff)
downloadffmpeg-0286b56f2fa53125b7e51e2a9b0f001702954e3b.tar.gz
swscale/arm/yuv2rgb: factorize lsl in load_args_nvx
-rw-r--r--libswscale/arm/yuv2rgb_neon.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/libswscale/arm/yuv2rgb_neon.S b/libswscale/arm/yuv2rgb_neon.S
index 4601a79e3e..ef7b0a6831 100644
--- a/libswscale/arm/yuv2rgb_neon.S
+++ b/libswscale/arm/yuv2rgb_neon.S
@@ -131,8 +131,7 @@
add r12, r4, r5 @ r12 = srcY + linesizeY (srcY2)
lsl r3, r3, #1
lsl r5, r5, #1
- lsl r8, r0, #2
- sub r3, r3, r8 @ r3 = linesize * 2 - width * 4 (padding)
+ sub r3, r3, r0, lsl #2 @ r3 = linesize * 2 - width * 4 (padding)
sub r5, r5, r0 @ r5 = linesizeY * 2 - width (paddingY)
sub r7, r7, r0 @ r7 = linesizeC - width (paddingC)
.endm