[Vorbis-dev] VQ and Huffman codebooks creation

Petr Tomasek tomasek at etf.cuni.cz
Mon Aug 17 03:37:54 PDT 2009


On Mon, Aug 17, 2009 at 11:21:02AM +0200, Jesús Díaz Vico wrote:
> Ok, thanks for your answers, they've been all very helpfull.
> 
> But
> 
> "currently the codebook is constant over all of the encoded files. It's an
> > average case codebook, statically compiled against a typical training set of
> > tracks,"
> >
> 
> actually poses me a new question, of a more _philosophical_ nature. If the
> codebooks are obtained in that way, why don't just say "I'm using codebook
> N" instead of packing the whole codebook within the setup header? I suppose
> the reason is to let people create their own codebooks (may be specialized
> in some specific kind of audio) and therefore obtain standalone audio files.
> Am I right?

Not just "people", but even the developers themselves: i.e. it allows for tuning
the codebooks and maintaining a backwards-compatibility with previous decoders...

> Thank you again.
> 
> Jesús


-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus at jabbim.cz
SIP: butrus at ekiga.net


More information about the Vorbis-dev mailing list