swscale/arm/yuv2rgb: fix comments in load_args_yuv422p
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Thu, 31 Mar 2016 11:50:29 +0000 (13:50 +0200)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Fri, 1 Apr 2016 15:23:45 +0000 (17:23 +0200)
libswscale/arm/yuv2rgb_neon.S

index f40327b..6e6143a 100644 (file)
     vld1.16             {d1}, [r8]                                     @ d1  = *table
     add                 r11, r2, r3                                    @ r11 = dst + linesize (dst2)
     lsl                 r8, r0, #2
-    sub                 r3, r3, r8                                     @ r3 = linesize  * 2 - width * 4 (padding)
-    sub                 r5, r5, r0                                     @ r5 = linesizeY * 2 - width     (paddingY)
-    sub                 r7, r7, r0, lsr #1                             @ r7 = linesizeU     - width / 2 (paddingU)
-    sub                 r12,r12,r0, lsr #1                             @ r12 = linesizeV    - width / 2 (paddingV)
+    sub                 r3, r3, r8                                     @ r3  = linesize  - width * 4 (padding)
+    sub                 r5, r5, r0                                     @ r5  = linesizeY - width     (paddingY)
+    sub                 r7, r7, r0, lsr #1                             @ r7  = linesizeU - width / 2 (paddingU)
+    sub                 r12,r12,r0, lsr #1                             @ r12 = linesizeV - width / 2 (paddingV)
     ldr                 r10,[sp, #120]                                 @ r10 = srcV
 .endm