Revision 8a322796 libswscale/yuv2rgb.c

View differences:

libswscale/yuv2rgb.c
39 39
#include "swscale.h"
40 40
#include "swscale_internal.h"
41 41

  
42
#define DITHER1XBPP // only for mmx
42
#define DITHER1XBPP // only for MMX
43 43

  
44 44
const uint8_t  __attribute__((aligned(8))) dither_2x2_4[2][8]={
45 45
{  1,   3,   1,   3,   1,   3,   1,   3, },
......
155 155
DECLARE_ASM_CONST(8, uint64_t, mmx_redmask) = 0xf8f8f8f8f8f8f8f8ULL;
156 156
DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL;
157 157

  
158
// the volatile is required because gcc otherwise optimizes some writes away not knowing that these
159
// are read in the asm block
158
// The volatile is required because gcc otherwise optimizes some writes away
159
// not knowing that these are read in the ASM block.
160 160
static volatile uint64_t attribute_used __attribute__((aligned(8))) b5Dither;
161 161
static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither;
162 162
static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;
......
641 641
    }
642 642
#endif
643 643

  
644
    av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found\n");
644
    av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found.\n");
645 645

  
646 646
    switch(c->dstFormat){
647 647
    case PIX_FMT_BGR32:

Also available in: Unified diff