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

Måns Rullgård mans
Wed Aug 25 10:59:54 CEST 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> On Wed, Aug 25, 2010 at 09:50:23AM +0100, M?ns Rullg?rd wrote:
>> Ramiro Polla <ramiro.polla at gmail.com> writes:

[...]

>> 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

Libavcodec can be built with just Altivec or just NEON.  Even for
disabling selected x86 SIMD types, I don't see why such an enormous
amount of ifdeffery should be needed.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list