Re: [PATCH/RFC 0/4] V4L: new ioctl()s to support multi-sized video-buffers

2011-04-05 Thread Guennadi Liakhovetski
On Tue, 5 Apr 2011, Laurent Pinchart wrote: [snip] > > > - Are "holes" in buffer indexes allowed? I don't like the ability to > > > free an arbitrary span of buffers in the queue, it complicates checks > > > in many places and I don't think is worth it... > > > > That's how this ioctl() has been

Re: [PATCH/RFC 0/4] V4L: new ioctl()s to support multi-sized video-buffers

2011-04-05 Thread Laurent Pinchart
Hi Guennadi, On Monday 04 April 2011 09:15:55 Guennadi Liakhovetski wrote: > On Sun, 3 Apr 2011, Pawel Osciak wrote: > > On Fri, Apr 1, 2011 at 01:12, Guennadi Liakhovetski wrote: > > > Hi all > > > > > > As discussed at the last V4L2 meeting in Warsaw, one of the > > > prerequisites to support f

Re: [PATCH/RFC 0/4] V4L: new ioctl()s to support multi-sized video-buffers

2011-04-04 Thread Guennadi Liakhovetski
On Sun, 3 Apr 2011, Pawel Osciak wrote: > Hi Guennadi, > > On Fri, Apr 1, 2011 at 01:12, Guennadi Liakhovetski > wrote: > > Hi all > > > > As discussed at the last V4L2 meeting in Warsaw, one of the prerequisites > > to support fast switching between different image formats is an ability to > >

Re: [PATCH/RFC 0/4] V4L: new ioctl()s to support multi-sized video-buffers

2011-04-03 Thread Pawel Osciak
Hi Guennadi, On Fri, Apr 1, 2011 at 01:12, Guennadi Liakhovetski wrote: > Hi all > > As discussed at the last V4L2 meeting in Warsaw, one of the prerequisites > to support fast switching between different image formats is an ability to > preallocate buffers of different sizes and handle them over

[PATCH/RFC 0/4] V4L: new ioctl()s to support multi-sized video-buffers

2011-04-01 Thread Guennadi Liakhovetski
Hi all As discussed at the last V4L2 meeting in Warsaw, one of the prerequisites to support fast switching between different image formats is an ability to preallocate buffers of different sizes and handle them over to the driver in advance. This avoids the need to allocate buffers at the time