[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [Fwd: low color dithering on big endian]
From: Francois-Xavier Duranceau <duranceau () free ! fr>
Date: 2000-09-15 18:22:44
[Download RAW message or body]
Stephan Kulow wrote:
>
> Hi!
>
It seems I have the same problem on my Solaris 8bpp box. After
commenting the call to KPixmap::LowColor in KDE (actually in kdesktop
and kcontrol/background) the desktop looks much better...
FX
> I forward here as I doubt Mark is still maintaining
> kpixmap and I have no idea either. So I forward it here,
> hoping that someone might find it.
>
> Greetings, Stephan
>
> -------- Original Message --------
> Subject: low color dithering on big endian
> Date: Thu, 14 Sep 2000 22:45:47 +0200 (CEST)
> From: Adrian Schroeter <adrian@suse.de>
> Reply-To: Adrian Schroeter <adrian@suse.de>
> To: Stephan Kulow <coolo@kde.org>
> CC: donohoe@kde.org
>
> hi,
>
> the KPixmap::LowColor dithering on a PPC with 8 bit color depth is
> broken. (I got always a wrong color). the problem is inside
> kdelibs/kdecore/kpixmap.cpp
>
> I did not really understand your code (good job ;-), but I commented out
> some lines which seems to be a candidate and it works. I do not know
> about any side effects, but the problem disappears. You may want to have
> a look at line 159:
>
> // if (endian) {
> // for (x=0; x<sw; x++)
> // *b++ = INDEXOF(pv[2][x],pv[1][x],pv[0][x]);
> // } else {
> for (x=0; x<sw; x++)
> *b++ = INDEXOF(pv[0][x],pv[1][x],pv[2][x]);
> //
> }
>
> but there are more problems on this architecture :-(
>
> thanx
> adrian
>
> ********************************************************************************
> Adrian Schröter
> SuSE GmbH, Schanzaeckerstr. 10, 90443 Nuernberg, Germany
> Email: adrian@suse.de
--
Francois-Xavier DURANCEAU
mailto:duranceau@free.fr, mailto:duranceau@kde.org
Visitez http://www.kde.org/fr/
KDE -- Color Outside The Lines !
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic