[Gambas-devel] v4l2 patch for gb.v4l

Gareth Bult gareth at ...623...
Fri Feb 20 15:36:40 CET 2009


Hi,

The v4l2 code should work in G2, however a number of changes were made to cope with some G3 changes in image manipulation and  memory management which would need to be backed out of .. I wouldn't have thought a backport would be too difficult ..

Incidentally, if you have SVN running, I'd be interested to hear if your camera works (!)

:)

Gareth.

----- Original Message -----
From: "Silvan Calarco" <silvan.calarco at ...531...>
To: "mailing list for gambas developers" <gambas-devel at ...494...t>
Sent: Friday, 20 February, 2009 1:43:20 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-devel] v4l2 patch for gb.v4l

In data venerdì 20 febbraio 2009 11:07:49, Gareth Bult ha scritto:
: > Ah .. there have been lots of changes relatively recently in SVN to the
> Image infrastructure including full support for V4L2. (so I'm guessing your
> patch is superfluous)
>
> On the Plus side, I've tested with Logitech QuickCam 3500 Pro and Logitech
> QuickCam 4000 so I'd be relatively confident that SVN is going to work on
> your camera. If not, the only reason is going to be output format and there
> is now a framework in place for easily adding output filters ..
>
> There's a little bit of documentation at http://components.gambasrad.org/
> ...

Nice, I suppose this will be in version 3 but I needed the implementation in a 
current stable release. If I checked svn before maybe it was easier for me to 
do a backport...
BTW thanks for your reply.

Regards,
Silvan

>
> hth
>
> Gareth.
>
>
> ----- Original Message -----
> From: "Silvan Calarco" <silvan.calarco at ...531...>
> To: "mailing list for gambas developers"
> <gambas-devel at lists.sourceforge.net> Sent: Friday, 20 February, 2009
> 9:51:57 AM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re:
> [Gambas-devel] v4l2 patch for gb.v4l
>
> 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
>
> ---------------------------------------------------------------------------
>--- 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

------------------------------------------------------------------------------
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

-- 
Gareth Bult (Gareth at ...624...)




More information about the Devel mailing list