[FFmpeg-devel] [PATCH] Compile libswscale without MMX, MMX2 and 3DNOW code
Carl Eugen Hoyos
cehoyos
Wed Jun 13 00:33:03 CEST 2007
Hi!
[...]
> > > the problem is code like
> > >
> > > #define HAVE_MMX
> > > #undef HAVE_MMX2
> > > ...
> > > #include "foobar_template.h"
> > >
> > > #define HAVE_MMX
> > > #define HAVE_MMX2
> > > ...
> > > #include "foobar_template.h"
> > >
> > > this cant be just put under #ifdef HAVE_MMX2 ...
> >
> > Such code is conflicting with the intention of the HAVE_* macros.
> > Temporary macros used with multiple inclusion of templates like this
> > should use some other name.
>
> Perhaps as in the attached patch?
Could someone comment on the patch?
I don't need it (it also makes not much sense for icc), but users can't disable
optimzed compilation in libswscale as it's possible in libpostproc.
Carl Eugen
More information about the ffmpeg-devel
mailing list