Re: [Ekiga-list] ekiga 3 and 16bpp displays
- From: Damien Sandras <dsandras seconix com>
- To: Ekiga mailing list <ekiga-list gnome org>
- Subject: Re: [Ekiga-list] ekiga 3 and 16bpp displays
- Date: Sun, 15 Feb 2009 21:58:32 +0100
Le dimanche 15 février 2009 à 14:14 +0100, Olivier Blin a écrit :
> Damien Sandras <dsandras seconix com> writes:
>
> > Le vendredi 13 février 2009 à 18:35 +0100, Olivier Blin a écrit :
> >> Hello,
> >>
> >> I have a crash with ekiga (3.0.x or 3.1.x) when using a 16bpp display.
> >> Here is an interesting pointer in the trace:
> >> Could not find visual with colordepth of 24 bits per pixel
> >>
> >> It seems that XWindow::checkDepth() fallbacks to 24bpp, but it does not
> >> support 16bpp.
> >>
> >> The log + trace can be found here:
> >> http://people.mandriva.com/~blino/ekiga-crash-16bpp.log
> >>
> >> Is ekiga supposed to work with only 24bpp and 32bpp displays?
> >
> > I think so yes.
> >
> >> What can be done to make it work on 16bpp displays?
> >
> > Fix the code so that it works with 16bpp too :-)
>
> Ok, so it mostly needs to be implemented in ptlib?
>
> That would mean:
> - in ptlib, src/ptlib/common/vconvert.cxx:
> o add support for RGB565 in PStandardColourConverter::YUV420PtoRGB()
> o add wrappers for this RGB565 mode
> - in ekiga, lib/gui/xwindow.cpp:
> o add a new xFormats entry:
> {"RGB16", 16, 2, LSBFirst, 0x0000F800, 0x000007E0, 0x0000001F},
> o fallback to 16bpp in XWindow::checkDepth() when appropriate
>
> Does it sound sensible?
>
It seems so. It should be implemented in ptlib (for the conversion) and
in the display code (in Ekiga : xvideo, x11 and directdraw, ie at 3
places).
--
_ Damien Sandras
(o-
//\ Ekiga Softphone : http://www.ekiga.org/
v_/_ Be IP : http://www.beip.be/
FOSDEM : http://www.fosdem.org/
SIP Phone : sip:dsandras ekiga net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]