[MPlayer-users] (NODAEMON) VIDIX and Rage128
Arpi
arpi at thot.banki.hu
Mon Oct 7 12:41:02 CEST 2002
Hi,
> There were some problems with r128 vidix and equalizer setttings. I posted
> this patch a few weeks ago. It cured my problems so far, maybe something has
> changed again. Try to apply this patch, or if it's already done, reverse it.
yes, it was applied (by me) at sept 23
> diff -r -u MPlayer-0.90pre8.copy/vidix/drivers/radeon_vid.c M
> Player-0.90pre8/vidix/drivers/radeon_vid.c
> --- MPlayer-0.90pre8.copy/vidix/drivers/radeon_vid.c Sun Sep 1 18:20:37 2002
> +++ MPlayer-0.90pre8/vidix/drivers/radeon_vid.c Sat Sep 21 11:16:04 2002
> @@ -1037,9 +1037,9 @@
>
> if(besr.deinterlace_on) OUTREG(OV0_DEINTERLACE_PATTERN,b
> esr.deinterlace_pattern);
> #ifdef RAGE128
> - OUTREG(OV0_COLOUR_CNTL, (besr.brightness & 0x7f) |
> - (besr.saturation << 8) |
> - (besr.saturation << 16));
> + OUTREG(OV0_COLOUR_CNTL, (((besr.brightness*64)/1000) & 0x7f) |
> + (((besr.saturation*31+31000)/2000) << 8) |
> + (((besr.saturation*31+31000)/2000) << 16));
> #endif
> radeon_fifo_wait(2);
> OUTREG(OV0_GRAPHICS_KEY_MSK, besr.graphics_key_msk);
>
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-users
mailing list