[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.69,1.70
Michael Niedermayer CVS
michael at mplayerhq.hu
Fri Mar 7 13:59:59 CET 2003
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv10943
Modified Files:
radeon_vid.c
Log Message:
vidix rage128 ecp_div patch by (Magnus Damm <damm at opensource dot se>)
Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- radeon_vid.c 3 Feb 2003 01:45:49 -0000 1.69
+++ radeon_vid.c 7 Mar 2003 12:59:28 -0000 1.70
@@ -1417,6 +1417,14 @@
besr.v_inc = (src_h << 20) / dest_h;
if(radeon_is_interlace()) besr.v_inc *= 2;
h_inc = (src_w << 12) / dest_w;
+
+ {
+ unsigned int ecp_div;
+ ecp_div = (INPLL(VCLK_ECP_CNTL) >> 8) & 3;
+ h_inc <<= ecp_div;
+ }
+
+
step_by = 1;
while(h_inc >= (2 << 12)) {
step_by++;
More information about the MPlayer-cvslog
mailing list