RE: More videobuf and streaming I/O questions

2010-02-26 Thread Karicheri, Muralidharan
>This being said, VIDIOC_S_INPUT was designed to switch analog sources. I'm >not >sure it would be the best would to multiplex streams from two digital >sensors >for instance. Even for analog signals, using the ioctl from userspace >usually >results in at least one corrupt frame if you don't synch

Re: More videobuf and streaming I/O questions

2010-02-26 Thread Laurent Pinchart
Hi, On Friday 26 February 2010 14:05:30 Muralidharan Karicheri wrote: > On Fri, Feb 26, 2010 at 7:04 AM, Mauro Carvalho Chehab wrote: > > Pawel Osciak wrote: > >>> On Tuesday 23 February 2010 08:41:49 Pawel Osciak wrote: > > On Mon, 22 Feb 2010 00:12:18 +0100 > > > Laurent Pinchart

Re: More videobuf and streaming I/O questions

2010-02-26 Thread Laurent Pinchart
Hi Pawel and Mauro, On Friday 26 February 2010 13:04:54 Mauro Carvalho Chehab wrote: > Pawel Osciak wrote: > >> On Tuesday 23 February 2010 08:41:49 Pawel Osciak wrote: > On Mon, 22 Feb 2010 00:12:18 +0100 > >>> > Laurent Pinchart wrote: > >>> As for the REQBUF, I've always thought it'

Re: More videobuf and streaming I/O questions

2010-02-26 Thread Muralidharan Karicheri
On Fri, Feb 26, 2010 at 7:04 AM, Mauro Carvalho Chehab wrote: > Pawel Osciak wrote: >>> On Tuesday 23 February 2010 08:41:49 Pawel Osciak wrote: > On Mon, 22 Feb 2010 00:12:18 +0100 > Laurent Pinchart wrote: As for the REQBUF, I've always thought it'd be nice to be able to ask the >>

Re: More videobuf and streaming I/O questions

2010-02-26 Thread Mauro Carvalho Chehab
Pawel Osciak wrote: >> On Tuesday 23 February 2010 08:41:49 Pawel Osciak wrote: On Mon, 22 Feb 2010 00:12:18 +0100 Laurent Pinchart wrote: >>> As for the REQBUF, I've always thought it'd be nice to be able to ask the >>> driver for the "recommended" number of buffers that should be used

RE: More videobuf and streaming I/O questions

2010-02-25 Thread Pawel Osciak
>On Tuesday 23 February 2010 08:41:49 Pawel Osciak wrote: >> >On Mon, 22 Feb 2010 00:12:18 +0100 >> >Laurent Pinchart wrote: >> As for the REQBUF, I've always thought it'd be nice to be able to ask the >> driver for the "recommended" number of buffers that should be used by >> issuing a REQBUF wit

Re: More videobuf and streaming I/O questions

2010-02-25 Thread Laurent Pinchart
Hi Pavel, On Tuesday 23 February 2010 08:41:49 Pawel Osciak wrote: > >On Mon, 22 Feb 2010 00:12:18 +0100 > >Laurent Pinchart wrote: > >> On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: > >> > 1) The spec mentions that the memory field should be set for > >> > VIDIOC_DQBUF. But videobuf

Re: More videobuf and streaming I/O questions

2010-02-23 Thread Laurent Pinchart
Hi Jean-François, On Monday 22 February 2010 10:47:41 Jean-Francois Moine wrote: > Hi Hans and Laurent, > > On Mon, 22 Feb 2010 00:12:18 +0100 > > Laurent Pinchart wrote: > > On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: > > > 1) The spec mentions that the memory field should be set

RE: More videobuf and streaming I/O questions

2010-02-22 Thread Pawel Osciak
Hello, >On Mon, 22 Feb 2010 00:12:18 +0100 >Laurent Pinchart wrote: >> On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: >> > 1) The spec mentions that the memory field should be set for >> > VIDIOC_DQBUF. But videobuf doesn't need it and it makes no sense to >> > me either unless it is f

Re: More videobuf and streaming I/O questions

2010-02-22 Thread Jean-Francois Moine
Hi Hans and Laurent, On Mon, 22 Feb 2010 00:12:18 +0100 Laurent Pinchart wrote: > On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: > > 1) The spec mentions that the memory field should be set for > > VIDIOC_DQBUF. But videobuf doesn't need it and it makes no sense to > > me either unless

Re: More videobuf and streaming I/O questions

2010-02-21 Thread Laurent Pinchart
Hi Hans, On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: > I have a few more questions regarding the streaming I/O API: > > 1) The spec mentions that the memory field should be set for VIDIOC_DQBUF. > But videobuf doesn't need it and it makes no sense to me either unless it > is for sym

More videobuf and streaming I/O questions

2010-02-20 Thread Hans Verkuil
I have a few more questions regarding the streaming I/O API: 1) The spec mentions that the memory field should be set for VIDIOC_DQBUF. But videobuf doesn't need it and it makes no sense to me either unless it is for symmetry with VIDIOC_QBUF. Strictly speaking QBUF doesn't need it either, but it