Commit 0649fe0f authored by Matthieu Bouron's avatar Matthieu Bouron

swscale/arm/yuv2rgb: factorize lsl in load_args_yuv420p

parent 2aec59c0
...@@ -152,8 +152,7 @@ ...@@ -152,8 +152,7 @@
add r12, r4, r5 @ r12 = srcY + linesizeY (srcY2) add r12, r4, r5 @ r12 = srcY + linesizeY (srcY2)
lsl r3, r3, #1 lsl r3, r3, #1
lsl r5, r5, #1 lsl r5, r5, #1
lsl r8, r0, #2 sub r3, r3, r0, lsl #2 @ r3 = linesize * 2 - width * 4 (padding)
sub r3, r3, r8 @ r3 = linesize * 2 - width * 4 (padding)
sub r5, r5, r0 @ r5 = linesizeY * 2 - width (paddingY) sub r5, r5, r0 @ r5 = linesizeY * 2 - width (paddingY)
ldr r10,[sp, #120] @ r10 = srcV ldr r10,[sp, #120] @ r10 = srcV
.endm .endm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment