comparison libswscale/yuv2rgb.c @ 25935:6e477c9e5410

Make dither4 & dither8 const.
author cehoyos
date Sat, 09 Feb 2008 22:57:37 +0000
parents 2ad528dd42a0
children afd429e00184
comparison
equal deleted inserted replaced
25934:f0e227951c06 25935:6e477c9e5410
168 static volatile uint64_t attribute_used __attribute__((aligned(8))) b5Dither; 168 static volatile uint64_t attribute_used __attribute__((aligned(8))) b5Dither;
169 static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither; 169 static volatile uint64_t attribute_used __attribute__((aligned(8))) g5Dither;
170 static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither; 170 static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;
171 static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither; 171 static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither;
172 172
173 static uint64_t __attribute__((aligned(8))) dither4[2]={ 173 DECLARE_ASM_CONST(8, uint64_t, dither4[2])={
174 0x0103010301030103LL, 174 0x0103010301030103LL,
175 0x0200020002000200LL,}; 175 0x0200020002000200LL,};
176 176
177 static uint64_t __attribute__((aligned(8))) dither8[2]={ 177 DECLARE_ASM_CONST(8, uint64_t, dither8[2])={
178 0x0602060206020602LL, 178 0x0602060206020602LL,
179 0x0004000400040004LL,}; 179 0x0004000400040004LL,};
180 180
181 #undef HAVE_MMX 181 #undef HAVE_MMX
182 182