[FFmpeg-cvslog] r28996 - trunk/libswscale/rgb2rgb_template.c

Michael Niedermayer michaelni
Thu Mar 19 01:19:07 CET 2009


On Wed, Mar 18, 2009 at 11:11:50PM +0100, reimar wrote:
> Author: reimar
> Date: Wed Mar 18 23:11:50 2009
> New Revision: 28996
> 
> Log:
> Fix libswscale compilation on non-x86, hopefully without breaking MinGW64 again.

[...]
> @@ -1628,10 +1634,11 @@ static inline void RENAME(yuvPlanartouyv
>                                             long lumStride, long chromStride, long dstStride, long vertLumPerChroma)
>  {
>      long y;
> -    const x86_reg chromWidth= width>>1;
> +    const long chromWidth= width>>1;
>      for (y=0; y<height; y++)
>      {
>  #if HAVE_MMX
> +        x86_reg cw = chromWidth;
>  //FIXME handle 2 lines at once (fewer prefetches, reuse some chroma, but very likely memory-limited anyway)
>          __asm__ volatile(
>          "xor                %%"REG_a", %%"REG_a"    \n\t"

are the object files identical on x86 ?
if not what is the difference in the generated code?
is it slower?



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

GMX, the mailprovider that uses RBL lists to reject mails from your friends
running their own mailserver at home. The mailprovider that obscures the
origin of mails (mis)identified as viruses. The mailprovider that improves
security my disallowing more secure forms of authentication.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090319/5a8bcbdb/attachment.pgp>



More information about the ffmpeg-cvslog mailing list