[Mplayer-cvslog] CVS: main/drivers/radeon radeon_vid.c,1.9,1.10

Nick Kurshev nick at mplayer.dev.hu
Wed Nov 21 11:34:08 CET 2001


Update of /cvsroot/mplayer/main/drivers/radeon
In directory mplayer:/var/tmp.root/cvs-serv3928/main/drivers/radeon

Modified Files:
	radeon_vid.c 
Log Message:
Direct YV12 support!!! But only in black and white mode :(

Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/radeon/radeon_vid.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- radeon_vid.c	21 Nov 2001 09:48:52 -0000	1.9
+++ radeon_vid.c	21 Nov 2001 10:34:06 -0000	1.10
@@ -14,7 +14,7 @@
  * Also here was used code from CVS of GATOS project and X11 trees.
  */
 
-#define RADEON_VID_VERSION "0.9.9"
+#define RADEON_VID_VERSION "0.9.9.1"
 
 /*
   It's entirely possible this major conflicts with something else
@@ -400,7 +400,7 @@
 	d1line = top * dstPitch;
 	d2line = (src_h * dstPitch) + ((top >> 1) * (dstPitch >> 1));
 	d3line = d2line + ((src_h >> 1) * (dstPitch >> 1));
-        besr.vid_buf0_base_adrs = (radeon_overlay_off + d1line) & VIF_BUF0_BASE_ADRS_MASK;
+        besr.vid_buf0_base_adrs = ((radeon_overlay_off + d1line) & VIF_BUF0_BASE_ADRS_MASK) | VIF_BUF1_PITCH_SEL;
         besr.vid_buf1_base_adrs = ((radeon_overlay_off + d2line) & VIF_BUF1_BASE_ADRS_MASK) | VIF_BUF1_PITCH_SEL;
         besr.vid_buf2_base_adrs = ((radeon_overlay_off + d3line) & VIF_BUF2_BASE_ADRS_MASK) | VIF_BUF2_PITCH_SEL;
     }




More information about the MPlayer-cvslog mailing list