Logo Search packages:      
Sourcecode: libtheora version File versions

th_huff_code Struct Reference

#include <codec.h>

List of all members.

Detailed Description

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.

Definition at line 441 of file codec.h.

Public Attributes

int nbits
ogg_uint32_t pattern

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index