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

@@ -47,7 +47,7 @@ pri func decoder.decode_mcu_progressive_dc_high_bits!(workbuf: slice base.u8, mx
while.dc_component true,
inv this.mcu_current_block < 10,
{
// Load at least 31 bits, by keeping 56 .. 64 loaded.
// Load at least 47 bits, by keeping 56 .. 64 loaded.
if r.length() < 8 {
ret = 1 // Request another fill_bitstream call.
break.goto_done