comparison postproc/swscale.c @ 4794:45f652f8b7c8

101++
author michael
date Thu, 21 Feb 2002 19:41:50 +0000
parents 68e7ed0c22be
children a14eff26f66a
comparison
equal deleted inserted replaced
4793:68e7ed0c22be 4794:45f652f8b7c8
66 66
67 //#undef HAVE_MMX2 67 //#undef HAVE_MMX2
68 //#define HAVE_3DNOW 68 //#define HAVE_3DNOW
69 //#undef HAVE_MMX 69 //#undef HAVE_MMX
70 //#undef ARCH_X86 70 //#undef ARCH_X86
71 //#define WORDS_BIGENDIAN
71 #define DITHER1XBPP 72 #define DITHER1XBPP
72 73
73 #define FAST_BGR2YV12 // use 7 bit coeffs instead of 15bit 74 #define FAST_BGR2YV12 // use 7 bit coeffs instead of 15bit
74 75
75 #define RET 0xC3 //near return opcode for X86 76 #define RET 0xC3 //near return opcode for X86
292 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, 293 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
293 uint8_t *dest, int dstW, int dstFormat) 294 uint8_t *dest, int dstW, int dstFormat)
294 { 295 {
295 if(dstFormat==IMGFMT_BGR32) 296 if(dstFormat==IMGFMT_BGR32)
296 { 297 {
298 int i;
297 #ifdef WORDS_BIGENDIAN 299 #ifdef WORDS_BIGENDIAN
298 dest++; 300 dest++;
299 #endif 301 #endif
300 int i;
301 for(i=0; i<(dstW>>1); i++){ 302 for(i=0; i<(dstW>>1); i++){
302 int j; 303 int j;
303 int Y1=0; 304 int Y1=0;
304 int Y2=0; 305 int Y2=0;
305 int U=0; 306 int U=0;