[theora-dev] 35 max entropy tokens

Mike Melanson melanson at pcisys.net
Tue Feb 25 20:16:02 PST 2003



Hi,
        Here is something that confused me greatly at first. In Huffman.h,
the comment "35" sits above the definition of MAX_ENTROPY_TOKENS:

// 35
#define MAX_ENTROPY_TOKENS      (DCT_RUN_CATEGORY2 + 2)

Yet, if you do math from all the preceding #defines (not easy given that
each in a long chain of #defines is defined in terms of the previous
#define), there are actually 32 tokens.

        Were there originally 35 tokens? Just curious...

--
	-Mike Melanson

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Theora-dev mailing list