[Mplayer-cvslog] CVS: 0_90/vidix/drivers radeon_vid.c,1.69,1.70
Arpi of Ize
arpi at mplayerhq.hu
Mon Mar 17 01:57:17 CET 2003
Update of /cvsroot/mplayer/0_90/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv30662/vidix/drivers
Modified Files:
radeon_vid.c
Log Message:
backport: ecp_div fix
Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/0_90/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 17 Mar 2003 00:57:14 -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