[FFmpeg-devel] [PATCH] hardcoding for pcm alaw/ulaw tables

Michael Niedermayer michaelni
Mon Mar 22 03:17:56 CET 2010


On Sun, Mar 21, 2010 at 10:44:32PM +0100, Reimar D?ffinger wrote:
> On Sun, Mar 21, 2010 at 10:13:54PM +0100, Michael Niedermayer wrote:
> > The point iam trying to make, and it seems quite unsccessfull is that
> > the generators as thay are are just lots of red tape that is unreadable,
> > and undocumented
> 
> Ok, but you must understand it doesn't feel like that to me (with the exception
> of the av_cold/CONFIG_... defines) since I wrote
> the code, and while I do copy existing code with this infrastructure it
> usually takes me only minutes to get a working version.

cant we get rid of av_cold by just not using av_cold ?


> 
> > what is needed IMO is
> > 1. the code must be readable by just looking at it without looking up
> >    everything and just accepting that some statements are there and it
> >    wont compile where they not.
> 
> While in principle I agree, due to having to support cross-compiling those
> table generators are tricky, and I have some doubts it is possible to make
> them quite as simple as you (and to a degree I) want them to be.

do we really need cross compileation support for them ?
i mean something like
1. configure + make for tables
2. configure + make for cross compile

that said, this is just a random idea ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- 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/20100322/ee6491de/attachment.pgp>



More information about the ffmpeg-devel mailing list