[FFmpeg-devel] GSoC Qual Task: Optimal Huffman Table

Michael Niedermayer michaelni
Sun Mar 29 23:25:03 CEST 2009

On Sun, Mar 29, 2009 at 04:06:47PM -0400, Indrani Kundu Saha wrote:
> Suppose I have the scan data as "F9 FE BE FF 00 AF 80 2B.." between
> the header and EOI. These symbols are for the encoded image. Now, I
> create a huffman tree over this symbols space. Can someone confirm if
> the following approach is correct?
> - Do I replace the original encoded  image with the codewords of the
> huffman table? i.e. ""F9 FE BE FF 00 AF 80 2B.." is now replaced with
> the huffman codewords.
> - How to inform the decoder of the presence of a huffman tree
> different from the DHT?

you will have to update the DHT

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090329/8f57c4b3/attachment.pgp>

More information about the ffmpeg-devel mailing list