shithub: dav1d

Download patch

ref: 84f938ecbee168b54c8d118cec1680ba37b3de91
parent: e16e2726e8c1019bfdd62b73caa8cba255b7ee1c
author: Martin Storsjö <[email protected]>
date: Wed May 15 07:45:37 EDT 2019

arm64: msac: Fix a typo in a comment

--- a/src/arm/64/msac.S
+++ b/src/arm/64/msac.S
@@ -192,7 +192,7 @@
         sub_n           v4,  v5,  v4,  v5,  v0,  v1,  \sz, \n     // (32768 - cdf[i]) or (-1 - cdf[i])
         dup             v6.8h,    w4                              // -rate
 
-        sub             w3,  w3,  w3, lsr #5                      // count + (count >= 32)
+        sub             w3,  w3,  w3, lsr #5                      // count - (count >= 32)
         sub_n           v0,  v1,  v0,  v1,  v2,  v3,  \sz, \n     // cdf + (i >= val ? 1 : 0)
         sshl_n          v4,  v5,  v4,  v5,  v6,  v6,  \sz, \n     // ({32768,-1} - cdf[i]) >> rate
         add             w3,  w3,  #1                              // count + (count < 32)