diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-02-18 23:14:13 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-02-18 23:14:13 +0100 |
commit | 1946d125ef7d0395323c771f6402dcd49fc67bb5 (patch) | |
tree | 27f3f36bef8d241889eec237d64bfa395834ace8 /linux/include | |
parent | d4626bcafa116dabbff5b8aef4a4043f4e25b2d2 (diff) | |
download | mediapointer-dvb-s2-1946d125ef7d0395323c771f6402dcd49fc67bb5.tar.gz mediapointer-dvb-s2-1946d125ef7d0395323c771f6402dcd49fc67bb5.tar.bz2 |
Add V4L2_CAP_VIDEO_OUTPUT_POS capability
From: Hans Verkuil <hverkuil@xs4all.nl>
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>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/videodev2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index 51b1967e4..ed0e473b0 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -227,6 +227,7 @@ struct v4l2_capability #define V4L2_CAP_SLICED_VBI_CAPTURE 0x00000040 /* Is a sliced VBI capture device */ #define V4L2_CAP_SLICED_VBI_OUTPUT 0x00000080 /* Is a sliced VBI output device */ #define V4L2_CAP_RDS_CAPTURE 0x00000100 /* RDS data capture */ +#define V4L2_CAP_VIDEO_OUTPUT_POS 0x00000200 /* Video output can have x,y coords */ #define V4L2_CAP_TUNER 0x00010000 /* has a tuner */ #define V4L2_CAP_AUDIO 0x00020000 /* has audio support */ @@ -249,6 +250,8 @@ struct v4l2_pix_format __u32 sizeimage; enum v4l2_colorspace colorspace; __u32 priv; /* private data, depends on pixelformat */ + __u32 x; /* only valid if V4L2_CAP_VIDEO_OUTPUT_POS is set */ + __u32 y; /* only valid if V4L2_CAP_VIDEO_OUTPUT_POS is set */ }; /* Pixel format FOURCC depth Description */ |