swscale/arm/yuv2rgb: factorize lsl in load_args_nvx

pull/192/merge
Matthieu Bouron 9 years ago
parent 0649fe0fae
commit 0286b56f2f
  1. 3
      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

Loading…
Cancel
Save