Re: Driver/Application support of V4L2 (was Re: Jpeg decompression)

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



On 28 Feb 2003, Ronald Bultje wrote:

> Hey John,
> 
> On Fri, 2003-02-28 at 17:19, PlasmaJohn wrote:
> > We're at the point where we need to do things like change inputs and
> > channels.  To that end, we've started coding up some ioctl support using the
> > V4L/V4L2 ioctls.  This is low-hanging fruit.  Real integration will require a
> > bit more effort, so that's deferred until the driver stabilizes a bit more.
> 
> I'd suggest to just use standard ioctl()s from the beginning on - that
> makes life much easier.

Oh, absolutely.  We've got case statements for both V4L1&2 versions of each
ioctl.  At this point, we're only interested in the property managment
functions so that's easy.

> > Is there a CONFIG_ directive for V4L2 so that we don't require people to
> > patch their kernel until absolutely necessary?
> 
> Yes, HAVE_V4L2 (#ifdef HAVE_V4L2 ... #endif).

Great!  Uh, is this 2.5.x specific or will it be valid for 2.4.something?  I
don't see it in Gerd's 11-v4l2-api-2.4.20.diff


John





[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