ISO spec: check out this other ISO spec for the exact definition of the function.
other ISO spec: here's the exact definition of the function:
"The function 1Dhuff_dec() is used as: data = 1Dhuff_dec(hcod_huff, codeword), where hcod_huff is the selected Huffman table and codeword is the word read from the bitstream."
This was the EXACT definition.
Vibe-defined function.

@lynne@mk.pars.ee huh

JPEG XL basically says 'hey, huffman endcoded data is done in exactly the same way as brotli', with little detail on how exactly it's packaged, but at least there's reference software

(and considering that both of brotli authors worked on JPEG XL, kinda makes sense lmao)

Follow

@ignaloidas @lynne

Which part of packaging do you mean? Brotli describes bit order and how to deal with intra-byte boundaries between Huffman-encoded and constant-bitwidth stuff. I'm probably missing something, because that seems to me to be sufficient?

Disclaimer: I was somewhat involved in both.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.