[MPlayer-cvslog] r25345 - trunk/vidix/radeon_vid.c
ben
subversion at mplayerhq.hu
Mon Dec 10 20:27:47 CET 2007
Author: ben
Date: Mon Dec 10 20:27:46 2007
New Revision: 25345
Log:
Fixed VIDIX color bug that was introduced when Radeon VIDIX driver
was synchronized with vidix.sf.net.
The red color was saturating.
Corrected value fixes the issue and restore the color to the level
it used to have before synchronization.
Meaning of the value remains unknow but was retrieved from
register's value of a Radeon 9000 card, so it may need further testing.
Patch by Guillaume Lecerf (foxcore at gmail dot com)
Modified:
trunk/vidix/radeon_vid.c
Modified: trunk/vidix/radeon_vid.c
==============================================================================
--- trunk/vidix/radeon_vid.c (original)
+++ trunk/vidix/radeon_vid.c Mon Dec 10 20:27:46 2007
@@ -1138,6 +1138,7 @@ static void radeon_vid_make_default(void
besr.graphics_key_msk=0;
besr.graphics_key_clr=0;
besr.ckey_cntl = VIDEO_KEY_FN_TRUE|GRAPHIC_KEY_FN_TRUE|CMP_MIX_AND;
+ besr.merge_cntl |= 0x00000100; /* DISP_RGB_OFFSET_EN */
}
static int find_chip(unsigned chip_id)
More information about the MPlayer-cvslog
mailing list