Mercurial > mplayer.hg
comparison dll_init.c @ 714:eb58bada8bce
removed debug printf
author | arpi_esp |
---|---|
date | Sun, 06 May 2001 21:58:44 +0000 |
parents | 9355b2ae634e |
children | cd1f0d4de0b8 |
comparison
equal
deleted
inserted
replaced
713:9355b2ae634e | 714:eb58bada8bce |
---|---|
217 default: | 217 default: |
218 printf("unsupported image format: 0x%x\n", outfmt); | 218 printf("unsupported image format: 0x%x\n", outfmt); |
219 return 0; | 219 return 0; |
220 } | 220 } |
221 | 221 |
222 printf("XXX w=%d h=%d b=%d\n", | |
223 sh_video->o_bih.biWidth, | |
224 sh_video->o_bih.biHeight, | |
225 sh_video->o_bih.biBitCount/8 | |
226 ); | |
227 | |
228 sh_video->o_bih.biSizeImage = sh_video->o_bih.biWidth * sh_video->o_bih.biHeight * (sh_video->o_bih.biBitCount/8); | 222 sh_video->o_bih.biSizeImage = sh_video->o_bih.biWidth * sh_video->o_bih.biHeight * (sh_video->o_bih.biBitCount/8); |
229 | 223 |
230 printf("XXX size=%d\n",sh_video->o_bih.biSizeImage); | |
231 | |
232 if(!(sh_video->codec->outflags[sh_video->outfmtidx]&CODECS_FLAG_FLIP)) { | 224 if(!(sh_video->codec->outflags[sh_video->outfmtidx]&CODECS_FLAG_FLIP)) { |
233 sh_video->o_bih.biHeight=-sh_video->bih->biHeight; // flip image! | 225 sh_video->o_bih.biHeight=-sh_video->bih->biHeight; // flip image! |
234 } | 226 } |
235 | 227 |
236 if(yuv && !(sh_video->codec->outflags[sh_video->outfmtidx] & CODECS_FLAG_YUVHACK)) | 228 if(yuv && !(sh_video->codec->outflags[sh_video->outfmtidx] & CODECS_FLAG_YUVHACK)) |
260 printf("ICDecompressQuery failed: Error %d\n", (int)ret); | 252 printf("ICDecompressQuery failed: Error %d\n", (int)ret); |
261 return 0; | 253 return 0; |
262 } | 254 } |
263 if(verbose) printf("ICDecompressQuery OK\n"); | 255 if(verbose) printf("ICDecompressQuery OK\n"); |
264 | 256 |
265 printf("XXX size=%d\n",sh_video->o_bih.biSizeImage); | |
266 | |
267 ret = ICDecompressBegin(sh_video->hic, sh_video->bih, &sh_video->o_bih); | 257 ret = ICDecompressBegin(sh_video->hic, sh_video->bih, &sh_video->o_bih); |
268 if(ret){ | 258 if(ret){ |
269 printf("ICDecompressBegin failed: Error %d\n", (int)ret); | 259 printf("ICDecompressBegin failed: Error %d\n", (int)ret); |
270 return 0; | 260 return 0; |
271 } | 261 } |
272 | |
273 printf("XXX size=%d\n",sh_video->o_bih.biSizeImage); | |
274 | 262 |
275 #if 0 | 263 #if 0 |
276 | 264 |
277 //sh_video->hic | 265 //sh_video->hic |
278 //ICSendMessage(HIC hic,unsigned int msg,long lParam1,long lParam2) | 266 //ICSendMessage(HIC hic,unsigned int msg,long lParam1,long lParam2) |