[Ffmpeg-devel] Compile swscale examples

Michael Niedermayer michaelni
Mon Aug 21 00:40:40 CEST 2006


Hi

On Sun, Aug 20, 2006 at 09:51:52PM +0200, Luca Abeni wrote:
> Hi Michael,
> 
> On Sun, 2006-08-20 at 19:44 +0200, Michael Niedermayer wrote:
> [...]
> > > > iam against this, whichever code uses mp_msg in swscale should be changed
> > > Well, it's not in swscale :)
> > > cs_test needs ../cpudetect.c, which uses mp_msg.
> > > I did the simplest change that permitted to compile the test without
> > > changing its semantic. If needed, I can try to modify it to avoid using
> > > files outside libswscale
> > 
> > either that (pass cpu capailities from command line maybe?) or put a
> > #warn FIXME this is a quick hack to make it compile 
> > or similar there so we wont forget that this isnt really how its supposed
> > to be
> Ok, I implemented the settings of cpu capabilities from command line
> (for the moment, only MMX, MMX2, and 3DNOW are implemented).
> 
> Is the attached patch ok?

yes


> 
> I tried to play a little bit with the resulting cs_test (trying to
> enable MMX, MMX2, and 3DNOW on an AMD turion in 32 bit mode, under
> linux), and it always said that all the tests are passed.

good

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

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list