Mercurial > mplayer.hg
diff dec_video.c @ 4916:a41e0440edfb
Cinepak decoder now use mp_image_t -> YV12 worx, others disabled
author | arpi |
---|---|
date | Sat, 02 Mar 2002 23:43:23 +0000 |
parents | 6078b7894e20 |
children | 6c518133c3b8 |
line wrap: on
line diff
--- a/dec_video.c Sat Mar 02 22:08:19 2002 +0000 +++ b/dec_video.c Sat Mar 02 23:43:23 2002 +0000 @@ -156,11 +156,7 @@ void *context, unsigned char *buf, int size, - unsigned char *frame, - unsigned int width, - unsigned int height, - int bit_per_pixel, - int stride); + mp_image_t *mpi); void decode_cyuv( unsigned char *buf, @@ -865,9 +861,8 @@ blit_frame = 0; else { - decode_cinepak(sh_video->context, start, in_size, sh_video->our_out_buffer, - sh_video->disp_w, sh_video->disp_h, (out_fmt==IMGFMT_YV12)?12:(out_fmt==IMGFMT_YUY2)?16:(out_fmt&255), 0); - blit_frame = 3; + decode_cinepak(sh_video->context, start, in_size, mpi); + blit_frame = 2; } break; #ifdef USE_XANIM