std/jpeg: comments for "read Huffman LUT earlier"

This commit is the second of two. It just adds comments to the code
added by the previous commit.
This commit is contained in:
Nigel Tao committed 2023-06-21 22:51:22 +10:00
1 parent d9c7740ea6
commit 255516bc21
5 files changed
+74 -6

No files matched your search

@@ -62,7 +62,7 @@ pri func decoder.decode_mcu_progressive_ac_low_bit!(workbuf: slice base.u8, mx:
while.ac_components true,
inv ac_huff_table_fast <> nullptr,
{
// Load at least 31 bits, by keeping 56 .. 64 loaded (call it 8
// Load at least 47 bits, by keeping 56 .. 64 loaded (call it 8
// bytes). Just like the other decode_mcu_etc functions, this
// is enough for the Huffman-encoded ac_symbol (up to 16 bits)
// and processing the ac_value (up to 15 bits).