[Mplayer-cvslog] CVS: main/libvo vo_zr.c,1.16,1.17

Rik Snel CVS rik at mplayerhq.hu
Mon Aug 5 22:03:26 CEST 2002


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

Modified Files:
	vo_zr.c 
Log Message:
cinerama support in -vo zr for people with more than one zoran card, documentation contained in -zrhelp

Index: vo_zr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_zr.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- vo_zr.c	30 May 2002 11:20:58 -0000	1.16
+++ vo_zr.c	5 Aug 2002 20:03:22 -0000	1.17
@@ -40,61 +40,77 @@
 	""
 };
 
+#define	ZR_MAX_DEVICES 4
 /* General variables */
 
-static int image_width;
-static int image_height;
-static int off_y, off_c, stride; /* for use by 'draw slice/frame' */
-static int framenum;
-static int fields = 1; /* currently no interlacing */
[...1041 lines suppressed...]
+    zr->g.set = zr->g.xoff = zr->g.yoff = 0;
   else if (!strcasecmp(param, "zrhdec"))
-    hdec = 1;
+    zr->hdec = 1;
   else if (!strcasecmp(param, "zrvdec"))
-    vdec = 1;
+    zr->vdec = 1;
+  else if (!strcasecmp(param, "zrxdoff"))
+    zr->vdec = -1;
+  else if (!strcasecmp(param, "zrydoff"))
+    zr->vdec = -1;
   else if (!strcasecmp(param, "zrquality"))
-    quality = 2;
+    zr->quality = 2;
   else if (!strcasecmp(param, "zrnorm"))
-    norm = VIDEO_MODE_AUTO;
+    zr->norm = VIDEO_MODE_AUTO;
 
 }
 




More information about the MPlayer-cvslog mailing list