Revision f514b4f9

View differences:

libswscale/swscale_template.c
1226 1226
            if (CONFIG_SWSCALE_ALPHA && c->alpPixBuf) {
1227 1227
#if ARCH_X86_64
1228 1228
                __asm__ volatile(
1229
                    YSCALEYUV2RGB(%%REGBP, %5)
1230
                    YSCALEYUV2RGB_YA(%%REGBP, %5, %6, %7)
1229
                    YSCALEYUV2RGB(%%r8, %5)
1230
                    YSCALEYUV2RGB_YA(%%r8, %5, %6, %7)
1231 1231
                    "psraw                  $3, %%mm1       \n\t" /* abuf0[eax] - abuf1[eax] >>7*/
1232 1232
                    "psraw                  $3, %%mm7       \n\t" /* abuf0[eax] - abuf1[eax] >>7*/
1233 1233
                    "packuswb            %%mm7, %%mm1       \n\t"
1234
                    WRITEBGR32(%4, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
1234
                    WRITEBGR32(%4, 8280(%5), %%r8, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
1235 1235

  
1236 1236
                    :: "c" (buf0), "d" (buf1), "S" (uvbuf0), "D" (uvbuf1), "r" (dest),
1237 1237
                    "a" (&c->redDither)
1238 1238
                    ,"r" (abuf0), "r" (abuf1)
1239
                    : "%"REG_BP
1239
                    : "%r8"
1240 1240
                );
1241 1241
#else
1242 1242
                *(uint16_t **)(&c->u_temp)=abuf0;

Also available in: Unified diff