Revision 40b433b6

View differences:

libswscale/rgb2rgb_template.c
1819 1819
            "movq       -1(%1, %%"REG_a"), %%mm5    \n\t"
1820 1820
            " js                       1b                       \n\t"
1821 1821
            :: "r" (src + mmxSize  ), "r" (src + srcStride + mmxSize  ),
1822
            "r" (dst + mmxSize*2), "r" (dst + dstStride + mmxSize*2),
1823
            "g" (-mmxSize)
1822
               "r" (dst + mmxSize*2), "r" (dst + dstStride + mmxSize*2),
1823
               "g" (-mmxSize)
1824 1824
            : "%"REG_a
1825

  
1826 1825
        );
1827 1826
#else
1828 1827
        const x86_reg mmxSize=1;
1828

  
1829 1829
        dst[0        ]= (3*src[0] +   src[srcStride])>>2;
1830 1830
        dst[dstStride]= (  src[0] + 3*src[srcStride])>>2;
1831 1831
#endif
......
2354 2354
        }
2355 2355
#endif
2356 2356
        dest += dstStride;
2357
                src1 += src1Stride;
2358
                src2 += src2Stride;
2357
        src1 += src1Stride;
2358
        src2 += src2Stride;
2359 2359
    }
2360 2360
#if HAVE_MMX
2361 2361
    __asm__(

Also available in: Unified diff