search for: _book_init_encode

Displaying 1 result from an estimated 1 matches for "_book_init_encode".

2009 Aug 16
1
VQ and Huffman codebooks creation
Hello, I'd like to know in detail how does the creation of VQ and Huffman codebooks work in Vorbis. I've used the source code from *encoder_example* as guide, but the only reference I've found is the function *_make_words *inside * vorbis_book_init_encode*, which creates the Huffman tree if I'm not wrong. So I have two doubts. The first is that, for creating the Huffman tree (and also the VQ codebooks), should be necessary some kind of histogram, and I don't find when nor where it is created (*_book_init_encode* is called before reading the...