Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: dxr3-0.2.3-pre1 test results



> "Christian Gmeiner" <christian@visual-page.de> writes:
>
> > I have tried it with vdr-1.3.11 and dont see any differences :(
>
> Did you run it on big-endian environment?  My OSD palette had wrong
> colours until I disabled that code.

I have a little endian system (celeron 800).

>
> > Here is a screenshot: http://www.visual-page.de/dxr3/osd.jpg
>
> That is what it looks like here too, after my modification.  Before
> this I always got wrong colours on OSD, on any VDR and with any DXR3
> plugin I tried.

Ok... i have testet it with and without this lines:
#if __BYTE_ORDER == __BIG_ENDIAN
  // actually the driver itself should access the bytes according to the
current endianness!
  colors[i] = ((colors[i] & 0xFF) << 24) | ((colors[i] & 0xFF00) << 8) |
((colors[i] & 0xFF0000) >> 8) | ((colors[i] & 0xFF000000) >> 24);
#endif

So i think i will remove it.
Greets, Christian






Home | Main Index | Thread Index