Mercurial > mplayer.hg
comparison dec_video.c @ 1488:70652cb8c402
raw (uncompressed) video codec
author | arpi |
---|---|
date | Sat, 11 Aug 2001 23:11:16 +0000 |
parents | 194c2f643d2c |
children | f6b80dff8c25 |
comparison
equal
deleted
inserted
replaced
1487:93f0db9d1ef9 | 1488:70652cb8c402 |
---|---|
312 printf(" but compiled MPlayer without MPEG 1/2 postprocessing support!\n"); | 312 printf(" but compiled MPlayer without MPEG 1/2 postprocessing support!\n"); |
313 printf(" #define MPEG12_POSTPROC in config.h, and recompile libmpeg2!\n"); | 313 printf(" #define MPEG12_POSTPROC in config.h, and recompile libmpeg2!\n"); |
314 } | 314 } |
315 #endif | 315 #endif |
316 mpeg2_allocate_image_buffers (picture); | 316 mpeg2_allocate_image_buffers (picture); |
317 break; | |
318 } | |
319 case VFM_RAW: { | |
317 break; | 320 break; |
318 } | 321 } |
319 } | 322 } |
320 | 323 |
321 return 1; | 324 return 1; |
498 #endif | 501 #endif |
499 case VFM_MPEG: | 502 case VFM_MPEG: |
500 mpeg2_decode_data(video_out, start, start+in_size,drop_frame); | 503 mpeg2_decode_data(video_out, start, start+in_size,drop_frame); |
501 if(!drop_frame) blit_frame=1; | 504 if(!drop_frame) blit_frame=1; |
502 break; | 505 break; |
506 case VFM_RAW: | |
507 planes[0]=start; | |
508 blit_frame=2; | |
509 break; | |
503 } // switch | 510 } // switch |
504 //------------------------ frame decoded. -------------------- | 511 //------------------------ frame decoded. -------------------- |
505 | 512 |
506 #ifdef HAVE_MMX | 513 #ifdef HAVE_MMX |
507 // some codecs is broken, and doesn't restore MMX state :( | 514 // some codecs is broken, and doesn't restore MMX state :( |