Re: Misleading informations on "official" v4l2 website

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



Hi duncan,

Op di 24-12-2002, om 23:24 schreef Duncan Haldane:
> Could there bee some more info on this?   In particular,
> is it worthwhile/not too dificult
> to try to convert v4l apps to v4l2, 
> and how is it to be done?

You can support both v4l1 and v4l2. Simply support the v4l2 ioctls,
that's all. See videodev2.h after you've patched your kernel with Gerd's
v4l2 patches.

> (I'm maintaining the v4l1 cpia webcam driver)
> I've already converted it to the new file-ops interface
> that was put into 2.4.19.
> 
> Is that part of v4l2?

Well, yes, but it's got little to do with video4linux. v4l/v4l2 are the
user-kernel-interaction interfaces. videodev (file-ops etc.) is the
in-kernel interface for v4l/v4l2 drivers with the videodev module.

> What advantages would v4l2 bring apart from multiple
> opens, etc.

Multiple opens are provided by file-ops, not by v4l2. v4l2 brings some
more specific ioctls for defining capture formats, norms, more specific
and high-end capturing, support for playback (rather than capture-only),
better streaming capture, etc. For webcams, I'm affraid it brings little
interesting things...

Ronald

-- 
Ronald Bultje <rbultje@xxxxxxxxxxxxxxxxxxx>





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux