[FFmpeg-devel] [PATCH] Compile libswscale without MMX, MMX2 and 3DNOW code

Carl Eugen Hoyos cehoyos
Sun Jun 10 13:09:47 CEST 2007


Hi!

Michael Niedermayer <michaelni <at> gmx.at> writes:

> 
> Hi
> 
> On Sun, Jun 10, 2007 at 09:50:15AM +0100, M?ns Rullg?rd wrote:
[...]

> > What's wrong with HAVE_MMX and friends?  They are set by configure if
> > the toolchain can build mmx code.
> 
> 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"

Thank you for explaining.

> this cant be just put under #ifdef HAVE_MMX2 ...
> and we have more than 1 place with such code IIRC

AFAICT, not in libavcodec, libavutil and libavformat.

Carl Eugen

[...]







More information about the ffmpeg-devel mailing list