[maemo-developers] [maemo-developers] Does camera in N800 support X11 Xv extension?

From: Daniel Stone daniel.stone at nokia.com
Date: Tue Feb 6 04:26:28 EET 2007
On Mon, Feb 05, 2007 at 11:17:48PM +0100, ext koos vriezen wrote:
> 4 Feb 2007 19:47:02 +0100, Tim Teulings <rael at edge.ping.de>:
> >Subject says it all:
> >
> >Does the camera in the N800 support the X11 Xv extension, that mean can
> >I use this extension for displaying images of the camera or must I use
> >v4l V2 (what about the V1 interface) or gstreamer?
> 
> I did a small test, see code below. And it seem you must use the gstreamer 
> or
> the v4l grabber unfortunately (lets hope the next version has XvPutVideo for
> this device, or I made a mistake :-) ).

Xv is not a nice API to use for retrieving video from the camera.  Use
V4L2 to get the video, and Xv, via Xv(Shm)PutImage, to send it.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070206/facfbd7c/attachment.pgp 
More information about the maemo-developers mailing list