aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-04-27 11:31:01 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:43:19 -0400
commit206ebaf32795cf1582b1e2ff2ec6a560c9e986b8 (patch)
tree9c4d72fdf06eb4eb07bbda40e3aca797ac48a790 /include/linux/videodev2.h
parent5eee72e88416ef11f55791626440ac3c9018c4c0 (diff)
V4L/DVB (5272): Add V4L2_CAP_VIDEO_OUTPUT_POS capability
Add V4L2_CAP_VIDEO_OUTPUT_POS capability and x, y position coordinates to struct v4l2_pix_format. This is needed to support positioning the MPEG/YUV output of the cx23415. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 7b83d17c4cd..e4ed5667a55 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -227,6 +227,7 @@ struct v4l2_capability
227#define V4L2_CAP_SLICED_VBI_CAPTURE 0x00000040 /* Is a sliced VBI capture device */ 227#define V4L2_CAP_SLICED_VBI_CAPTURE 0x00000040 /* Is a sliced VBI capture device */
228#define V4L2_CAP_SLICED_VBI_OUTPUT 0x00000080 /* Is a sliced VBI output device */ 228#define V4L2_CAP_SLICED_VBI_OUTPUT 0x00000080 /* Is a sliced VBI output device */
229#define V4L2_CAP_RDS_CAPTURE 0x00000100 /* RDS data capture */ 229#define V4L2_CAP_RDS_CAPTURE 0x00000100 /* RDS data capture */
230#define V4L2_CAP_VIDEO_OUTPUT_POS 0x00000200 /* Video output can have x,y coords */
230 231
231#define V4L2_CAP_TUNER 0x00010000 /* has a tuner */ 232#define V4L2_CAP_TUNER 0x00010000 /* has a tuner */
232#define V4L2_CAP_AUDIO 0x00020000 /* has audio support */ 233#define V4L2_CAP_AUDIO 0x00020000 /* has audio support */
@@ -249,6 +250,8 @@ struct v4l2_pix_format
249 __u32 sizeimage; 250 __u32 sizeimage;
250 enum v4l2_colorspace colorspace; 251 enum v4l2_colorspace colorspace;
251 __u32 priv; /* private data, depends on pixelformat */ 252 __u32 priv; /* private data, depends on pixelformat */
253 __u32 left; /* only valid if V4L2_CAP_VIDEO_OUTPUT_POS is set */
254 __u32 top; /* only valid if V4L2_CAP_VIDEO_OUTPUT_POS is set */
252}; 255};
253 256
254/* Pixel format FOURCC depth Description */ 257/* Pixel format FOURCC depth Description */