[Libre-soc-isa] [Bug 933] prefix-code (like huffman code) decode/encode instructions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Sep 27 03:15:15 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=933

--- Comment #34 from Jacob Lifshay <programmerjake at gmail.com> ---
well, unfortunately, it turns out that every codec I looked at (JPEG, DEFLATE,
tried looking at MP3 but gave up after reading a bunch of LAME's source)
interleaves prefix-codes with plain binary codes, making the best they can do
be to use pcdec. once=1. If we don't need to decode multiple prefix-codes in
sequence, pcdec. looses a bunch of its advantage over just using an in-memory
look-up table, though it still may be worth it.

I'm currently working on a demo jpeg partial decoder.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list