diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-09-19 16:14:39 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-06 03:25:17 +0200 |
commit | e3b1b4e732e18befcfa428bac1c487f681fbc36a (patch) | |
tree | d79f2e6f15a27b0ecf8c6f6c4a4e1feee241bc9f /Documentation/DocBook/media/v4l/io.xml | |
parent | [media] v4l2-ioctl.c: handle PREPARE_BUF like QUERYBUF (diff) | |
download | linux-e3b1b4e732e18befcfa428bac1c487f681fbc36a.tar.xz linux-e3b1b4e732e18befcfa428bac1c487f681fbc36a.zip |
[media] DocBook: various updates w.r.t. v4l2_buffer and multiplanar
Clarify the behavior of v4l2_buffer in the multiplanar case,
including fixing a false statement: you can't set m.planes to NULL
when calling DQBUF.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l/io.xml')
-rw-r--r-- | Documentation/DocBook/media/v4l/io.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/DocBook/media/v4l/io.xml b/Documentation/DocBook/media/v4l/io.xml index 97f785add841..b5d1cbdc558b 100644 --- a/Documentation/DocBook/media/v4l/io.xml +++ b/Documentation/DocBook/media/v4l/io.xml @@ -677,8 +677,10 @@ memory, set by the application. See <xref linkend="userp" /> for details. <entry><structfield>length</structfield></entry> <entry></entry> <entry>Size of the buffer (not the payload) in bytes for the - single-planar API. For the multi-planar API should contain the - number of elements in the <structfield>planes</structfield> array. + single-planar API. For the multi-planar API the application sets + this to the number of elements in the <structfield>planes</structfield> + array. The driver will fill in the actual number of valid elements in + that array. </entry> </row> <row> |