AW: [vorbis-dev] Huffman decompression

Tor-Einar Jarnbjo Tor-Einar_Jarnbjo at grosch-link.de
Thu Apr 24 12:09:33 PDT 2003



>
> Hello !
> A question to all 'Wheel-reinventers':
> I can build the huffmantrees by hand (on paper)
> but how to code it? Are there any good URLs
> out there? Or does the spec supply sufficient information?
>
> I tried figure out how oggdec (debugging) does this,
> but I couldn't get the clou.

You can take a look at the J-Ogg sourcecode, where at least the code for
building Huffmann trees is quite readable. You'll find info on CVS access to
the source code on http://www.j-ogg.de/core/main?/download-sources.html and
the Huffman class is in the ogg module. I can also mail you the code, if you
can't use the CVS repository.

Tor

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list