Re: [PATCH 3/9 v7] V4L: document the new VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF ioctl()s

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

 



On Tue, 27 Sep 2011, Hans Verkuil wrote:

> On Thursday, September 08, 2011 09:46:26 Guennadi Liakhovetski wrote:
> > Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> > ---

[snip]

> > +    <para>When the ioctl is called with a pointer to this structure the driver
> > +will attempt to allocate up to the requested number of buffers and store the
> > +actual number allocated and the starting index in the
> > +<structfield>count</structfield> and the <structfield>index</structfield> fields
> > +respectively. On return <structfield>count</structfield> can be smaller than
> > +the number requested. The driver may also adjust buffer sizes as it sees fit,
> 
> Add: 'provided the size is greater than or equal to sizeimage'.

How about:

The driver may also increase buffer sizes if required, however, it will 
not update <structfield>sizeimage</structfield> field values. The
user has to use <constant>VIDIOC_QUERYBUF</constant> to retrieve that
information.</para>

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux