[FFmpeg-devel] [RFC] allow hardcoding of huge dv_vlc_map table

Reimar Döffinger Reimar.Doeffinger
Sun Mar 14 22:14:32 CET 2010


Hello,
(note regression testing hasn't yet finished)
This is huge and ugly, but allows hardcoding the 256 kB large DV VLC map table.
The table is smaller with CONFIG_SMALL, but not sure what size exactly.
The dv_vlc_data.h is created from dvdata.h, but includes only the necessary
parts so it can be used without including other headers which are not available
for host compilation.
What do you think of it? Do you think this is taking hardcoding too far
(256 kB of tables in the binary sure is quite a bloat - however the whole
DV codec is very table-heavy anyway...).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dv_tablegen.diff
Type: text/x-diff
Size: 34080 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100314/b8580964/attachment.diff>



More information about the ffmpeg-devel mailing list