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 laurent.pinch...@ideasonboard.com 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

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 mche...@infradead.org 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 laurent.pinch...@ideasonboard.com wrote: As for the REQBUF, I've always thought

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 laurent.pinch...@ideasonboard.com wrote: As for the REQBUF, I've always

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

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 laurent.pinch...@ideasonboard.com wrote: On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: 1) The spec mentions that the memory field should be set for

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 laurent.pinch...@ideasonboard.com 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

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 laurent.pinch...@ideasonboard.com wrote: On Saturday 20 February 2010 15:00:21 Hans Verkuil wrote: 1) The spec mentions that the

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 laurent.pinch...@ideasonboard.com 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

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 laurent.pinch...@ideasonboard.com 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

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