[FFmpeg-devel] [PATCH v2 5/9] swscale/arm/yuv2rgb: factorize lsl in load_args_nvx
Matthieu Bouron
matthieu.bouron at gmail.com
Mon Mar 28 21:19:56 CEST 2016
From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
---
libswscale/arm/yuv2rgb_neon.S | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libswscale/arm/yuv2rgb_neon.S b/libswscale/arm/yuv2rgb_neon.S
index 4601a79..ef7b0a6 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
--
2.7.4
More information about the ffmpeg-devel
mailing list