[Mplayer-cvslog] CVS: main/libmpcodecs vd_cinepak.c,1.2,1.3

Arpi of Ize arpi at mplayer.dev.hu
Wed Mar 6 15:29:29 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv13163

Modified Files:
	vd_cinepak.c 
Log Message:
using new cinepak codec api

Index: vd_cinepak.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_cinepak.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vd_cinepak.c	1 Mar 2002 00:24:56 -0000	1.2
+++ vd_cinepak.c	6 Mar 2002 14:29:27 -0000	1.3
@@ -47,7 +47,8 @@
 
 //mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h);
 
-void decode_cinepak(void *context, unsigned char *buf, int size, unsigned char *frame, int width, int height, int bit_per_pixel, int stride_);
+//void decode_cinepak(void *context, unsigned char *buf, int size, unsigned char *frame, int width, int height, int bit_per_pixel, int stride_);
+void decode_cinepak(void *context, unsigned char *buf, int size, mp_image_t* mpi);
 
 // decode a frame
 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
@@ -61,8 +62,10 @@
 	return NULL;
     }
     
-    decode_cinepak(sh->context, data, len, mpi->planes[0], sh->disp_w, sh->disp_h,
-	(mpi->flags&MP_IMGFLAG_YUV)?16:(mpi->imgfmt&255), mpi->stride[0]);
+//    decode_cinepak(sh->context, data, len, mpi->planes[0], sh->disp_w, sh->disp_h,
+//	(mpi->flags&MP_IMGFLAG_YUV)?16:(mpi->imgfmt&255), mpi->stride[0]);
+
+    decode_cinepak(sh->context, data, len, mpi);
     
     return mpi;
 }




More information about the MPlayer-cvslog mailing list