Re: [GnomeMeeting-list] [PATCH] QCIF Small (Scaled) capture mode



> I think arbitrary scaling of the transmitted video (ie, from an arbitrary frame
> size to CIF or QCIF) sounds like a good idea.  Unforunately, I was using
> Gdk-pixbuf to do the actual scaling, which means I'd have to actually implement
> the scaler myself.  Or does PWLib have it somewhere already?
> 

No, PWLib is only able to "crop" the image. So if a given webcam can
only capture in CIF mode, only a part of the CIF picture will be
transmitted in QCIF mode. If you are interested to work on this in pwlib
itself, I think it would be a good contribution to gnomemeeting and
OpenH323, but it won't be easy.

If you want, you can already have a look in
pwlib/src/ptlib/unix/video4linux.cxx and perhaps rewrite the function
that crops picture to resize it instead. but again, that won't be easy.
You can perhaps reuse some code from gdk_pixbuf to achieve it.



> > 
> > Let me know if you are interested in doing this, and I will guide you
> > through the code, it is very uncommon to find people willing to help.
> 

-- 
 _	Damien Sandras
(o-	GnomeMeeting: http://www.gnomemeeting.org/
//\	FOSDEM 2003:  http://www.fosdem.org
v_/_	
	H.323 phone:  callto://ils.seconix.com/dsandras seconix com





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