[FFmpeg-devel] [PATCH] swscale: Put some altivec code under COMPILE_ALTIVEC and not HAVE_ALTIVEC.

Ramiro Polla ramiro.polla
Mon Jul 27 11:29:53 CEST 2009


On Mon, Jul 27, 2009 at 6:25 AM, Diego Biurrun<diego at biurrun.de> wrote:
> On Mon, Jul 27, 2009 at 03:31:19AM -0300, Ramiro Polla wrote:
>> On Fri, Jul 24, 2009 at 3:04 AM, Ramiro Polla<ramiro.polla at gmail.com> wrote:
>> > $subj, to make it consistent with the MMX2 code.
>>
>> Ping. Seems pretty trivial. MMX2 code is compiled not only if we HAVE
>> it, but if we want to COMPILE it, IMO altivec should do the same.
>
> Now that you changed all the other stuff this seems pretty obvious..

Well, they're a bit different. The HAVE->COMPILE_TEMPLATE change was
for templated code in swscale_template.c. This patch is for
initialization code in swscale.c. It makes no difference at the moment
since HAVE_ALTIVEC implies COMPILE_ALTIVEC (now that they're LGPL).
But still...



More information about the ffmpeg-devel mailing list