changeset 3049:2d2a1358d563

Direct YV12 support!!! But only in black and white mode :(
author nick
date Wed, 21 Nov 2001 10:34:06 +0000
parents b01551d725d4
children 9ed968c05954
files drivers/radeon/radeon_vid.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/radeon/radeon_vid.c	Wed Nov 21 10:30:59 2001 +0000
+++ b/drivers/radeon/radeon_vid.c	Wed Nov 21 10:34:06 2001 +0000
@@ -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;
     }