comparison libswscale/rgb2rgb.c @ 19206:c629606a0702

Comment some #endif lines.
author diego
date Fri, 28 Jul 2006 09:07:09 +0000
parents c4dac777b44c
children 4f5e2e0529b1
comparison
equal deleted inserted replaced
19205:3f01e230c898 19206:c629606a0702
132 132
133 static uint64_t __attribute__((aligned(8))) dither8[2]={ 133 static uint64_t __attribute__((aligned(8))) dither8[2]={
134 0x0602060206020602LL, 134 0x0602060206020602LL,
135 0x0004000400040004LL,}; 135 0x0004000400040004LL,};
136 #endif 136 #endif
137 #endif 137 #endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
138 138
139 #define RGB2YUV_SHIFT 8 139 #define RGB2YUV_SHIFT 8
140 #define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5)) 140 #define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5))
141 #define BV ((int)(-0.071*(1<<RGB2YUV_SHIFT)+0.5)) 141 #define BV ((int)(-0.071*(1<<RGB2YUV_SHIFT)+0.5))
142 #define BU ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5)) 142 #define BU ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5))
285 rgb24toyv12= rgb24toyv12_MMX; 285 rgb24toyv12= rgb24toyv12_MMX;
286 interleaveBytes= interleaveBytes_MMX; 286 interleaveBytes= interleaveBytes_MMX;
287 vu9_to_vu12= vu9_to_vu12_MMX; 287 vu9_to_vu12= vu9_to_vu12_MMX;
288 yvu9_to_yuy2= yvu9_to_yuy2_MMX; 288 yvu9_to_yuy2= yvu9_to_yuy2_MMX;
289 }else 289 }else
290 #endif 290 #endif /* defined(ARCH_X86) || defined(ARCH_X86_64) */
291 { 291 {
292 rgb15to16= rgb15to16_C; 292 rgb15to16= rgb15to16_C;
293 rgb15to24= rgb15to24_C; 293 rgb15to24= rgb15to24_C;
294 rgb15to32= rgb15to32_C; 294 rgb15to32= rgb15to32_C;
295 rgb16to24= rgb16to24_C; 295 rgb16to24= rgb16to24_C;