[Mplayer-cvslog] CVS: main/drivers/radeon radeon_vid.c,1.7,1.8

Nick Kurshev nick at mplayer.dev.hu
Tue Nov 20 11:34:02 CET 2001


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

Modified Files:
	radeon_vid.c 
Log Message:
Minor fixes with the same results

Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/radeon/radeon_vid.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- radeon_vid.c	20 Nov 2001 10:00:58 -0000	1.7
+++ radeon_vid.c	20 Nov 2001 10:34:00 -0000	1.8
@@ -381,7 +381,7 @@
     
     besr.fourcc = config->format;
 
-    besr.v_inc = (config->src_height << 20) / XXX_DRW_H; /*9c0e0 -> 9c528*/
+    besr.v_inc = (config->src_height << 20) / XXX_DRW_H;
     h_inc = (config->src_width  << 12) / XXX_DRW_W;
     step_by = 1;
 
@@ -395,7 +395,7 @@
     if(is_420)
     {
         uint32_t dstPitch,d1line,d2line,d3line;
-	dstPitch = (XXX_WIDTH + 31) & ~31;  /* of luma */
+	dstPitch = (XXX_WIDTH + 15) & ~15;  /* of luma */
 	d1line = top * dstPitch;
 	d2line = (XXX_HEIGHT * dstPitch) + ((top >> 1) * (dstPitch >> 1));
 	d3line = d2line + ((XXX_HEIGHT >> 1) * (dstPitch >> 1));
@@ -439,7 +439,7 @@
     left = (left >> 16) & 7;
     besr.h_inc = h_inc | ((h_inc >> 1) << 16);
     besr.step_by = step_by | (step_by << 8);
-    besr.y_x_start = (config->x_org+8) | (config->y_org << 16); /*5c008->5d009*/
+    besr.y_x_start = (config->x_org+8) | (config->y_org << 16);
     besr.y_x_end = (config->x_org + config->dest_width+8) | ((config->y_org + config->dest_height) << 16);
     besr.p1_blank_lines_at_top = 0x00000fff | ((config->src_height - 1) << 16);
     besr.p23_blank_lines_at_top = is_420 ? 0x000007ff | ((((config->src_height+1)>>1) - 1) << 16) : 0;




More information about the MPlayer-cvslog mailing list