Re: buffer index when streaming user-ptr buffers

2011-06-14 Thread Laurent Pinchart
Hi Michael, On Tuesday 14 June 2011 17:50:13 Michael Jones wrote: > In the V4L2 spec, the description for v4l2_buffer.index says "This field > is only used for memory mapping I/O..." > > However, in v4l-utils/contrib/capture-example.c, even user-pointer > buffers are indeed given a buf.index befo

buffer index when streaming user-ptr buffers

2011-06-14 Thread Michael Jones
In the V4L2 spec, the description for v4l2_buffer.index says "This field is only used for memory mapping I/O..." However, in v4l-utils/contrib/capture-example.c, even user-pointer buffers are indeed given a buf.index before being passed to VIDIOC_QBUF. And at least in the OMAP ISP driver, this in