shithub: dav1d

Download patch

ref: 6ad9bd5f92621d81a227b6d271c29dfaa578000a
parent: ba23ac8cba19a0d685decc5033dedcd1ff12fa2a
author: Martin Storsjö <martin@martin.st>
date: Tue Jan 28 05:30:22 EST 2020

arm: cdef: Fix some comment typos

--- a/src/arm/32/cdef.S
+++ b/src/arm/32/cdef.S
@@ -407,7 +407,7 @@
 
         handle_pixel    q14, q15, r4,  q7,  q6,  lr
 
-        sub             r5,  r5,  #11        // x8 -= 2*(2+4); x8 += 1;
+        sub             r5,  r5,  #11        // r5 -= 2*(2+4); r5 += 1;
         subs            lr,  lr,  #1         // sec_tap-- (value)
         add             r8,  r8,  #1         // pri_taps++ (pointer)
         bne             2b
@@ -430,7 +430,7 @@
         vst1.32         {d0[1]}, [r0, :32], r1
 .endif
 
-        // Reset pri_taps/sec_taps back to the original point
+        // Reset pri_taps and directions back to the original point
         sub             r5,  r5,  #2
         sub             r8,  r8,  #2
 
--- a/src/arm/64/cdef.S
+++ b/src/arm/64/cdef.S
@@ -374,7 +374,7 @@
 
         handle_pixel    v4,  v5,  w4,  v27.8h, v26.8h, w11
 
-        sub             x5,  x5,  #11               // x8 -= 2*(2+4); x8 += 1;
+        sub             x5,  x5,  #11               // x5 -= 2*(2+4); x5 += 1;
         subs            w11, w11, #1                // sec_tap-- (value)
         add             x8,  x8,  #1                // pri_taps++ (pointer)
         b.ne            2b
@@ -397,7 +397,7 @@
         st1             {v0.s}[1], [x0], x1
 .endif
 
-        // Reset pri_taps/sec_taps back to the original point
+        // Reset pri_taps and directions back to the original point
         sub             x5,  x5,  #2
         sub             x8,  x8,  #2