[Ffmpeg-devel] [PATCH] theora huffamn table

matthieu castet castet.matthieu
Thu May 19 19:40:38 CEST 2005


Hi,

Mike Melanson wrote:
> matthieu castet wrote:
> 
>> Hi,
>>
>> matthieu castet wrote:
>>
>>> Hi,
>>>
>>> this patch allow to read the huffman table in theora header.
>>>
>>>
>> Any comments ?
>>
>> Does huffman_table is need after init_vlc ?
>> If not if could directly init the vlc.
> 
> 
>     Do you have any Theora samples that use non-VP31 Huffman tables so 
> that we can test this?
In libtheora source, you have :
#define NEW_FREQS 0 /* dbm - test new frequency tables */

#if NEW_FREQS
/* New baseline frequency tables for encoder version >= 2 */

but the even if version >= 2, they used the old tables...

Changing the define could allow us to generate Theora samples with an 
non-VP31 Huffman tables.

I don't know if new encoder like theora-exp 
(http://svn.xiph.org/experimental/derf/theora-exp/) allow to change the 
huffman tables.

Matthieu





More information about the ffmpeg-devel mailing list