[FFmpeg-devel] [PATCH] make building swscale rgb template conditional

Luca Barbato lu_zero
Wed Aug 25 16:24:03 CEST 2010

On 08/25/2010 10:52 AM, Michael Niedermayer wrote:
>> Why does libswscale have to be this disgustingly ugly?  There's none
>> of this ifdef hell in libavcodec, and it has many more different kinds
>> of asm.
> thats because swscale has more features. like being able to be compiled
> with just mmx2 code or just mmx code

It's just because of the convoluted template machinery, expanding the
whole thing or using make targets instead of multiple inclusions would
probably simplify a bit the whole thing.



Luca Barbato

More information about the ffmpeg-devel mailing list