Mercurial > mplayer.hg
comparison postproc/swscale_template.c @ 8254:772d6d27fd66
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
author | michael |
---|---|
date | Sat, 23 Nov 2002 10:58:14 +0000 |
parents | 11492d5b0896 |
children | 25baacd1c650 |
comparison
equal
deleted
inserted
replaced
8253:7eb9d868f2e9 | 8254:772d6d27fd66 |
---|---|
1254 * YV12 to RGB without scaling or interpolating | 1254 * YV12 to RGB without scaling or interpolating |
1255 */ | 1255 */ |
1256 static inline void RENAME(yuv2packed1)(SwsContext *c, uint16_t *buf0, uint16_t *uvbuf0, uint16_t *uvbuf1, | 1256 static inline void RENAME(yuv2packed1)(SwsContext *c, uint16_t *buf0, uint16_t *uvbuf0, uint16_t *uvbuf1, |
1257 uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y) | 1257 uint8_t *dest, int dstW, int uvalpha, int dstFormat, int flags, int y) |
1258 { | 1258 { |
1259 #ifdef HAVE_MMX | |
1259 int uvalpha1=uvalpha^4095; | 1260 int uvalpha1=uvalpha^4095; |
1261 #endif | |
1260 const int yalpha1=0; | 1262 const int yalpha1=0; |
1261 int i; | 1263 int i; |
1262 | 1264 |
1263 uint16_t *buf1= buf0; //FIXME needed for the rgb1/bgr1 | 1265 uint16_t *buf1= buf0; //FIXME needed for the rgb1/bgr1 |
1264 const int yalpha= 4096; //FIXME ... | 1266 const int yalpha= 4096; //FIXME ... |