search for: th_encctl_set_vp3_compat

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

2010 Dec 10
2
Bitstream encoded huffman tables always the same
...that the tables are listed as TH_VP31_HUFF_CODES in the file huffenc.c. I tried to investigate a little bit more to see who was setting the bitstream to those tables, but I ended in the fact that this is dependent whether the function th_encode_ctl is called with TH_ENCCTL_SET_HUFFMAN_CODES or TH_ENCCTL_SET_VP3_COMPATIBLE, but I could figure myself who is calling it using what parameter. Is that true that libtheora will always set the huffman codes to the same ones? Isn't this approach a little bit inefficient since the distribution of the probabilities of the symbols is not always the ones in the 80 tab...