[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.16,1.17
Nick Kurshev
nick at mplayer.dev.hu
Fri Jan 18 10:21:10 CET 2002
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mplayer:/var/tmp.root/cvs-serv27933/main/vidix/drivers
Modified Files:
radeon_vid.c
Log Message:
Fixed saturation computing for rage128
Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- radeon_vid.c 18 Jan 2002 09:11:11 -0000 1.16
+++ radeon_vid.c 18 Jan 2002 09:21:06 -0000 1.17
@@ -1089,7 +1089,7 @@
#ifdef RAGE128
br = equal.brightness * 64 / 1000;
if(br < -64) br = -64; if(br > 63) br = 63;
- sat = (equal.saturation + 1000) * 32 / 1000;
+ sat = (equal.saturation + 1000) * 16 / 1000;
if(sat < 0) sat = 0; if(sat > 31) sat = 31;
OUTREG(OV0_COLOUR_CNTL, (br & 0x7f) | (sat << 8) | (sat << 16));
#else
More information about the MPlayer-cvslog
mailing list