[Mplayer-cvslog] CVS: main/libmpcodecs vd.c,1.43,1.44 vd.h,1.8,1.9

Alban Bedel CVS albeu at mplayerhq.hu
Thu Jul 11 22:17:30 CEST 2002


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

Modified Files:
	vd.c vd.h 
Log Message:
Add draw slice for the codecs


Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- vd.c	10 Jul 2002 20:56:57 -0000	1.43
+++ vd.c	11 Jul 2002 20:17:27 -0000	1.44
@@ -277,3 +277,9 @@
   return mpi;
 }
 
+void mpcodecs_draw_slice(sh_video_t *sh, unsigned char* src, int* stride, int w,int h, int x, int y) {
+  struct vf_instance_s* vf = sh->vfilter;
+
+  if(vf->draw_slice)
+    vf->draw_slice(vf,src,stride,w,h,x,y);
+}

Index: vd.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vd.h	11 Jul 2002 19:16:30 -0000	1.8
+++ vd.h	11 Jul 2002 20:17:27 -0000	1.9
@@ -25,5 +25,6 @@
 // callbacks:
 int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outfmt);
 mp_image_t* mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h);
+void mpcodecs_draw_slice(sh_video_t *sh, unsigned char* src, int* stride, int w,int h, int x, int y);
 
 #define VDFLAGS_DROPFRAME 3




More information about the MPlayer-cvslog mailing list