Re: [Ekiga-devel-list] Frame format in GMVideoDisplay_XXX



Zitat von Damien Sandras <dsandras seconix com>:

> Le mardi 25 septembre 2007 à 16:32 +0200, Swen Walkowski a écrit :
> > Hello all,
> >
> > a short question to the function:
> > void GMVideoDisplay_???::DisplayPiPFrames (gpointer gtk_image,
> >                                           const guchar *lframe,
> >                                           guint lwidth,
> >                                           guint lheight,
> >                                           const guchar *rframe,
> >                                           guint rwidth,
> >                                           guint rheight,
> >                                           double zoom)
> >
> > I have implemented a interface who give me the lframe and rframe out
> > to my application. Now I just write the frames to the HDD. My question
> > is, what kind of format is it? I want to convert it to an jpeg and
> > also do some more on the picture. But for that I need to know in with
> > format I have the picture.
> >
>
> It is pure RGB24 code...
> --
>  _     Damien Sandras
> (o-
> //\    Ekiga Softphone : http://www.ekiga.org/
> v_/_   NOVACOM         : http://www.novacom.be/
>        FOSDEM          : http://www.fosdem.org/
>        SIP Phone       : sip:dsandras ekiga net
>
>

Damien,
allow me to correct you,
but it is RGB24 only when drawing the GDK output. In case XV or DX is used, the
frame is not colorspace converted and thus in YUV420P. I.e. it dependeds if
GMVideoDisplay_??? is GDK, XV or DX

Matthias


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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