A Huffman code for a Theora DCT token. More...
|The bit pattern for the code, with the LSbit of the pattern aligned in the LSbit of the word. |
|The number of bits in the code. |
A Huffman code for a Theora DCT token.
Each set of Huffman codes in a given table must form a complete, prefix-free code. There is no requirement that all the tokens in a table have a valid code, but the current encoder is not optimized to take advantage of this. If each of the five grouops of 16 tables does not contain at least one table with a code for every token, then the encoder may fail to encode certain frames. The complete table in the first group of 16 does not have to be in the same place as the complete table in the other groups, but the complete tables in the remaining four groups must all be in the same place.
The number of bits in the code.
This must be between 0 and 32, inclusive.
The bit pattern for the code, with the LSbit of the pattern aligned in the LSbit of the word.