Revision 88e2a9ae libswscale/yuv2rgb.c

View differences:

libswscale/yuv2rgb.c
54 54
DECLARE_ASM_CONST(8, uint64_t, mmx_redmask) = 0xf8f8f8f8f8f8f8f8ULL;
55 55
DECLARE_ASM_CONST(8, uint64_t, mmx_grnmask) = 0xfcfcfcfcfcfcfcfcULL;
56 56

  
57
// The volatile is required because gcc otherwise optimizes some writes away
58
// not knowing that these are read in the ASM block.
59
static volatile uint64_t attribute_used __attribute__((aligned(8))) b5Dither;
60
static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither;
61
static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither;
62

  
63 57
#undef HAVE_MMX
64 58

  
65 59
//MMX versions

Also available in: Unified diff