[FFmpeg-devel] [PATCH] H.264 data tables cleanup

Michael Niedermayer michaelni
Thu Nov 20 09:08:17 CET 2008


On Thu, Nov 20, 2008 at 12:49:03AM +0100, Diego Biurrun wrote:
> So I've (re)started working on splitting off svq3.c from h264.c.
> 
> Here are some simple first steps:
> 

> - Remove unused tables from h264data.h.

these tables are unused because we dont have an encoder ...
putting them under appropriate ifdef or in a seperate encoder
specific (not compiled) header seems better than removing them
even if there are no plans for an encoder ...


> - Move a table that is only used there to svq3.c.

there is
static const uint8_t slice_type_map[5]= {FF_P_TYPE, FF_B_TYPE, FF_I_TYPE, FF_SP_TYPE, FF_SI_TYPE};
in h264.c

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

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20081120/113bae5d/attachment.pgp>



More information about the ffmpeg-devel mailing list