[Gambas-devel] v4l2 patch for gb.v4l

Silvan Calarco silvan.calarco at ...531...
Fri Feb 20 10:51:57 CET 2009


In data venerdì 20 febbraio 2009 10:31:38, Gareth Bult ha scritto:
: > Erm, which version of Gambas is the patch against?
> (SVN already has full V4L2 support ... ????)

Really? :(
I've tried this patch against gambas 2.10.0 and 2.11.1.

Silvan

>
> ----- Original Message -----
> From: "Silvan Calarco" <silvan.calarco at ...531...>
> To: "Gambas-devel" <gambas-devel at lists.sourceforge.net>
> Sent: Friday, 20 February, 2009 3:32:01 AM GMT +00:00 GMT Britain, Ireland,
> Portugal Subject: [Gambas-devel] v4l2 patch for gb.v4l
>
> Hello.
> attached is a patch I wrote for a customer who needs support for a v4l2
> webcam (it's a Logitech QuickCam 9000 Pro) in gambas.
> The patch integrates the example code from v4l2 api documentation
> (http://v4l2spec.bytesex.org/spec/capture-example.html) in a way that
> should be backwards compatibile (v4l1). The patch is at a basic and ugly
> level and only supports YUYV to BGR24 pixel format conversion (the function
> is taken from libv4l though the library could be used for most pixel
> formats support), but with some work it might be of wider interest so I'm
> posting it here.
>
> Silvan
>
> --
> mambaSoft di Calarco Silvan
> Web: http://www.mambasoft.it
>
> mambaSoft Store @ http://shop.mambasoft.it
> openmamba GNU/Linux development @ http://www.openmamba.org
>
> ---------------------------------------------------------------------------
>--- Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing
> the Enterprise -Strategies to boost innovation and cut costs with open
> source participation -Receive a $600 discount off the registration fee with
> the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel

-- 
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
 
mambaSoft Store @ http://shop.mambasoft.it
openmamba GNU/Linux development @ http://www.openmamba.org




More information about the Devel mailing list