aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/v4l2-compat-ioctl32.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-09-07 17:07:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 16:28:57 -0400
commit09362ec25c3f42d00a4008d0622bfbca68e540f5 (patch)
tree8f9f27d2edad2647df00db89a70d180398b45bc9 /drivers/media/video/v4l2-compat-ioctl32.c
parent0934d94a52423fac35922c2e29d72a43db7ddd48 (diff)
[media] V4L: docbook documentation for struct v4l2_create_buffers
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/v4l2-compat-ioctl32.c')
-rw-r--r--drivers/media/video/v4l2-compat-ioctl32.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/media/video/v4l2-compat-ioctl32.c b/drivers/media/video/v4l2-compat-ioctl32.c
index e77e0cfc9312..c68531b88279 100644
--- a/drivers/media/video/v4l2-compat-ioctl32.c
+++ b/drivers/media/video/v4l2-compat-ioctl32.c
@@ -159,11 +159,20 @@ struct v4l2_format32 {
159 } fmt; 159 } fmt;
160}; 160};
161 161
162/**
163 * struct v4l2_create_buffers32 - VIDIOC_CREATE_BUFS32 argument
164 * @index: on return, index of the first created buffer
165 * @count: entry: number of requested buffers,
166 * return: number of created buffers
167 * @memory: buffer memory type
168 * @format: frame format, for which buffers are requested
169 * @reserved: future extensions
170 */
162struct v4l2_create_buffers32 { 171struct v4l2_create_buffers32 {
163 __u32 index; /* output: buffers index...index + count - 1 have been created */ 172 __u32 index;
164 __u32 count; 173 __u32 count;
165 enum v4l2_memory memory; 174 enum v4l2_memory memory;
166 struct v4l2_format32 format; /* filled in by the user, plane sizes calculated by the driver */ 175 struct v4l2_format32 format;
167 __u32 reserved[8]; 176 __u32 reserved[8];
168}; 177};
169 178