From: <mi...@us...> - 2004-02-03 03:12:56
|
Update of /cvsroot/gc-linux/linux/drivers/video In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27659/drivers/video Modified Files: gamecubefb.c Log Message: sharper picture Index: gamecubefb.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/video/gamecubefb.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gamecubefb.c 2 Feb 2004 09:51:04 -0000 1.6 +++ gamecubefb.c 3 Feb 2004 03:10:48 -0000 1.7 @@ -139,9 +139,13 @@ pb = GC_Video_RGBToYCbCrFixed (r, g, b); - fb_writel_real((pa & 0xFF000000) | (pb & 0x0000FF00) | - (((pa & 0x00FF0000) + (pb & 0x00FF0000)) >> 1) | - (((pa & 0x000000FF) + (pb & 0x000000FF)) >> 1), address); + fb_writel_real((pa & 0xFF000000) | (pb & 0x0000FF00) | + ((((pa & 0x00FF0000) + (pb & 0x00FF0000)) >> 1) & 0x00FF0000) | + ((((pa & 0x000000FF) + (pb & 0x000000FF)) >> 1) & 0x000000FF), address); + + //fb_writel_real((pa & 0xFF000000) | (pb & 0x0000FF00) | + // (((pa & 0x00FF0000) + (pb & 0x00FF0000)) >> 1) | + // (((pa & 0x000000FF) + (pb & 0x000000FF)) >> 1), address); } /* --------------------------------------------------------------------- */ @@ -348,7 +352,7 @@ unsigned int *VIDEO_Mode; - printk("tv_encoding = %i\n", tv_encoding); +// printk("tv_encoding = %i\n", tv_encoding); if (tv_encoding == TV_ENC_NTSC) VIDEO_Mode = VIDEO_Mode640X480NtscYUV16; |