[FFmpeg-soc] Optimal Huffman tables for (M)JPEG

Michael Niedermayer michaelni at gmx.at
Tue Apr 1 05:23:47 CEST 2008


On Mon, Mar 31, 2008 at 09:24:59PM -0500, Deep Pal wrote:
[...]
> The call to ff_mjpeg_encode_picture_header takes place even before
> the DCT encoding takes place. However, jpeg_table_header
> includes the 4 Huffman tables in that function. So either
> 
>     a) I haveto defer the header call at a later stage
> or b) insert the huffman tables and move all the subsequent
>        header information as well for a later stage.

or c) overwrite the header.

There are many options, choose what is simplest+cleanest+fastest.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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-soc/attachments/20080401/6ef056c7/attachment.pgp>


More information about the FFmpeg-soc mailing list