[MPlayer-dev-eng] [PATCH] Mach64 vidix 16bits
Michael Niedermayer
michaelni at gmx.at
Tue Oct 22 12:20:01 CEST 2002
Hi
On Tuesday 22 October 2002 10:45, Colin Leroy wrote:
> Hi
>
> 16bpp vidix output on mach64 PPC remained black screen. This patch fixes
> it. don't ask me why, though :-/ I don't understand, but it works.
[...]
> case 16:
>+#ifdef WORDS_BIGENDIAN
>+ besr.graphics_key_msk=0x0;
>+#else
> besr.graphics_key_msk=0xFFFF;
>+#endif
> besr.graphics_key_clr=
> ((mach64_grkey.ckey.blue &0xF8)>>3)
> | ((mach64_grkey.ckey.green&0xFC)<<3)
this just disables the colorkey stuff, but doesnt fix it, the correct fix
would be to fix the graphics_key_clr below, r & b are very likely exchanged
perhaps the bytes too
[...]
Michael
More information about the MPlayer-dev-eng
mailing list