[vorbis-dev] Re: [vorbis] question about codebook
Segher Boessenkool
segher at koffie.nl
Wed Aug 6 14:29:12 PDT 2003
Áô©~ªº ¦Ñ¤H wrote:
> Dear Segher
>
> Thanks for your information. Besides, the mechanism of the huffman
> decoding seems can not work in a 24-bit processor if the code length
> exceeds 24, though I have checked several vorbis file from network and
> they are all below 24 bit
True; but you can special case the >24 bit codebook to use
a more "traditional" decoding approach.
> (It there possible for a codebook with
> codelength exceeding 24 bits).
Yes; the Vorbis I spec defines a maximum codeword length of 32 bits.
> So does it works for using traditional
> huffman decoding (huffman tree tranversal) or it needs to modified to use?
You can certainly just use the traditional algorithm.
> Sorry I am not familiar with arithmetic coding. And thanks a lot ....... :)
You're welcome.
<p>Segher
(vorbis-dev@ cc:'ed; hope you don't mind)
--- >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