On 07/31/2012 06:17 PM, Diego Biurrun wrote: > --- a/libswscale/x86/swscale.c > +++ b/libswscale/x86/swscale.c > @@ -77,7 +77,7 @@ DECLARE_ALIGNED(8, const uint64_t, ff_w1111) = > 0x0001000100010001ULL; > #include "swscale_template.c" > #endif > > -//MMX2 versions > +//MMXEXT versions
add a space > #if HAVE_MMXEXT > #undef RENAME > #undef COMPILE_TEMPLATE_MMXEXT > diff --git a/libswscale/x86/swscale_template.c > b/libswscale/x86/swscale_template.c > index e9816cf..09aee7a 100644 > --- a/libswscale/x86/swscale_template.c > +++ b/libswscale/x86/swscale_template.c > @@ -1615,7 +1615,7 @@ static av_cold void RENAME(sws_init_swScale)(SwsContext > *c) > } > > if (c->srcBpc == 8 && c->dstBpc <= 10) { > - // Use the new MMX scaler if the MMX2 one can't be used (it is faster > than the x86 ASM one). > + // Use the new MMX scaler if the MMXEXT one can't be used (it is faster > than the x86 ASM one). > #if COMPILE_TEMPLATE_MMXEXT > if (c->flags & SWS_FAST_BILINEAR && c->canMMX2BeUsed) > { > diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c > index 501993a..2c946cf 100644 > --- a/libswscale/x86/yuv2rgb.c > +++ b/libswscale/x86/yuv2rgb.c > @@ -3,7 +3,7 @@ > * > * Copyright (C) 2009 Konstantin Shishkov > * > - * MMX/MMX2 template stuff (needed for fast movntq support), > + * MMX/MMXEXT template stuff (needed for fast movntq support), > * 1,4,8bpp support and context / deglobalize stuff > * by Michael Niedermayer (michae...@gmx.at) > * > @@ -58,7 +58,7 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = > 0x0707070707070707ULL; > #include "yuv2rgb_template.c" > #endif /* HAVE_MMX */ > > -//MMX2 versions > +//MMXEXT versions ditto. The rest looks fine. -Justin _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel