From: Steinar H. Gunderson Date: Mon, 16 Oct 2017 22:15:13 +0000 (+0200) Subject: Update a boring comment. X-Git-Url: https://git.sesse.net/?p=narabu;a=commitdiff_plain;h=dc3e3a2a88b2b1f0e177f613a8b355116e6020ff Update a boring comment. --- diff --git a/rans.shader b/rans.shader index 05ac120..925543e 100644 --- a/rans.shader +++ b/rans.shader @@ -97,7 +97,9 @@ void encode_coeff(int signed_k, uint sign_bias, inout RansEncoder enc) uint k = abs(signed_k); if (k >= ESCAPE_LIMIT) { - // ... boring stuff here + // Put the coefficient as a 1/(2^12) symbol _before_ + // the 255 coefficient, since the decoder will read the + // 255 coefficient first. RansEncPut(enc.rans, enc.rans_offset, k, 1, prob_bits); k = ESCAPE_LIMIT; }