Revision 986b6f8f libswscale/yuv2rgb.c

View differences:

libswscale/yuv2rgb.c
508 508
        switch (c->dstFormat) {
509 509
        case PIX_FMT_RGB32:
510 510
            if (CONFIG_SWSCALE_ALPHA && c->srcFormat == PIX_FMT_YUVA420P){
511
                if (HAVE_7REGS) return yuva420_rgb32_MMX2;
511
#if HAVE_7REGS
512
                return yuva420_rgb32_MMX2;
513
#else
514
                break;
515
#endif
512 516
            }else return yuv420_rgb32_MMX2;
513 517
        case PIX_FMT_BGR24:  return yuv420_rgb24_MMX2;
514 518
        case PIX_FMT_RGB565: return yuv420_rgb16_MMX2;
......
519 523
        switch (c->dstFormat) {
520 524
        case PIX_FMT_RGB32:
521 525
            if (CONFIG_SWSCALE_ALPHA && c->srcFormat == PIX_FMT_YUVA420P){
522
                if (HAVE_7REGS) return yuva420_rgb32_MMX;
526
#if HAVE_7REGS
527
                return yuva420_rgb32_MMX;
528
#else
529
                break;
530
#endif
523 531
            }else return yuv420_rgb32_MMX;
524 532
        case PIX_FMT_BGR24:  return yuv420_rgb24_MMX;
525 533
        case PIX_FMT_RGB565: return yuv420_rgb16_MMX;

Also available in: Unified diff