diff options
Diffstat (limited to 'Documentation/DocBook/media/v4l/vidioc-querybuf.xml')
-rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-querybuf.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-querybuf.xml b/Documentation/DocBook/media/v4l/vidioc-querybuf.xml index 6e414d7b6df..a597155c052 100644 --- a/Documentation/DocBook/media/v4l/vidioc-querybuf.xml +++ b/Documentation/DocBook/media/v4l/vidioc-querybuf.xml | |||
@@ -48,8 +48,8 @@ | |||
48 | <refsect1> | 48 | <refsect1> |
49 | <title>Description</title> | 49 | <title>Description</title> |
50 | 50 | ||
51 | <para>This ioctl is part of the <link linkend="mmap">memory | 51 | <para>This ioctl is part of the <link linkend="mmap">streaming |
52 | mapping</link> I/O method. It can be used to query the status of a | 52 | </link> I/O method. It can be used to query the status of a |
53 | buffer at any time after buffers have been allocated with the | 53 | buffer at any time after buffers have been allocated with the |
54 | &VIDIOC-REQBUFS; ioctl.</para> | 54 | &VIDIOC-REQBUFS; ioctl.</para> |
55 | 55 | ||
@@ -71,6 +71,7 @@ the structure.</para> | |||
71 | 71 | ||
72 | <para>In the <structfield>flags</structfield> field the | 72 | <para>In the <structfield>flags</structfield> field the |
73 | <constant>V4L2_BUF_FLAG_MAPPED</constant>, | 73 | <constant>V4L2_BUF_FLAG_MAPPED</constant>, |
74 | <constant>V4L2_BUF_FLAG_PREPARED</constant>, | ||
74 | <constant>V4L2_BUF_FLAG_QUEUED</constant> and | 75 | <constant>V4L2_BUF_FLAG_QUEUED</constant> and |
75 | <constant>V4L2_BUF_FLAG_DONE</constant> flags will be valid. The | 76 | <constant>V4L2_BUF_FLAG_DONE</constant> flags will be valid. The |
76 | <structfield>memory</structfield> field will be set to the current | 77 | <structfield>memory</structfield> field will be set to the current |
@@ -79,8 +80,10 @@ contains the offset of the buffer from the start of the device memory, | |||
79 | the <structfield>length</structfield> field its size. For the multi-planar API, | 80 | the <structfield>length</structfield> field its size. For the multi-planar API, |
80 | fields <structfield>m.mem_offset</structfield> and | 81 | fields <structfield>m.mem_offset</structfield> and |
81 | <structfield>length</structfield> in the <structfield>m.planes</structfield> | 82 | <structfield>length</structfield> in the <structfield>m.planes</structfield> |
82 | array elements will be used instead. The driver may or may not set the remaining | 83 | array elements will be used instead and the <structfield>length</structfield> |
83 | fields and flags, they are meaningless in this context.</para> | 84 | field of &v4l2-buffer; is set to the number of filled-in array elements. |
85 | The driver may or may not set the remaining fields and flags, they are | ||
86 | meaningless in this context.</para> | ||
84 | 87 | ||
85 | <para>The <structname>v4l2_buffer</structname> structure is | 88 | <para>The <structname>v4l2_buffer</structname> structure is |
86 | specified in <xref linkend="buffer" />.</para> | 89 | specified in <xref linkend="buffer" />.</para> |