aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
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 /include/linux/videodev2.h
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 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index cd512f07beed..66945a6f628d 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -2142,12 +2142,20 @@ struct v4l2_dbg_chip_ident {
2142 __u32 revision; /* chip revision, chip specific */ 2142 __u32 revision; /* chip revision, chip specific */
2143} __attribute__ ((packed)); 2143} __attribute__ ((packed));
2144 2144
2145/* VIDIOC_CREATE_BUFS */ 2145/**
2146 * struct v4l2_create_buffers - VIDIOC_CREATE_BUFS argument
2147 * @index: on return, index of the first created buffer
2148 * @count: entry: number of requested buffers,
2149 * return: number of created buffers
2150 * @memory: buffer memory type
2151 * @format: frame format, for which buffers are requested
2152 * @reserved: future extensions
2153 */
2146struct v4l2_create_buffers { 2154struct v4l2_create_buffers {
2147 __u32 index; /* output: buffers index...index + count - 1 have been created */ 2155 __u32 index;
2148 __u32 count; 2156 __u32 count;
2149 enum v4l2_memory memory; 2157 enum v4l2_memory memory;
2150 struct v4l2_format format; /* "type" is used always, the rest if sizeimage == 0 */ 2158 struct v4l2_format format;
2151 __u32 reserved[8]; 2159 __u32 reserved[8];
2152}; 2160};
2153 2161