Info about drivers

Peter Pregler Peter.Pregler@risc.uni-linz.ac.at
Thu, 04 Nov 1999 08:22:30 +0100 (CET)


On 03-Nov-99 ZioIvy wrote:
> Hi, my name is Ivan Ferrario, and I'm an italian (so sorry for my
> terrible english...) aerospace engineering student. I decided to use a
> WebCam-II on a martian rover (my thesys) for objects recognition.
> First of all, I would like to use the existing drivers on my rover
> (obviously iI will specify who is the real author); it is possible?

The software is published under the GPL. Just have a look at the COPYING
file and than consult your lawyer. :)

> I have to use an 8 bit laptop display and I'd like to know if the
> drivers support this colour depth.
> If not, can you help me in modifing the original drivers?

There are good an bad news. First of all display depth is not really a
matter of the hardware-driver. The camera itself supports yuvu and uyvy
formats. The v4l-layer I have written does conversions of this to
rgb15/rgb16/rgb24/rg32 for the sole reason that any v4l-application
expects that and it is easy and fast to implement. You could also implement
to just return the camera formats. Tell me if you need that. The more basic
cpia-module does no conversion at all, i.e. it returns the basic
yuvu/uyvy-stream. As for rgb8 it really does only make sense if you have
an accompanying color-map. So this is best done in user space, e.g. by
means of existing library such as gtk. Note that the v4l-test client
will do just that, i.e. it should (untested, but strong believe ;) run on
rgb8-displays. It gathers rgb24 from the camera.

Greetings, Peter


-------------------------------
Email: Peter.Pregler@risc.uni-linz.ac.at
WWW:   http://www.risc.uni-linz.ac.at/people/ppregler
-----------------------------------------------------------------------------
To unsubscribe from this mailinglist, send the line "unsubscribe vision-webcam" in the
body of a message to "majordomo@errors.no".