[theora-dev] 35 max entropy tokens
Dan Miller
dan at on2.com
Wed Feb 26 00:02:38 PST 2003
God only knows, and I mean that literally. Certainly these sorts of things were tweaked during development.
I would put in a logging statement to see what the value actually is at runtime, if you really need to know.
<p>-----Original Message-----
From: Mike Melanson [mailto:melanson at pcisys.net]
Sent: Tuesday, February 25, 2003 11:16 PM
To: theora-dev at xiph.org
Subject: [theora-dev] 35 max entropy tokens
<p>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.
--- >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