summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-02-21 22:32:15 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-02-21 22:32:15 +0100
commit21433740f51f3166e2c13c59435463890f3b2dae (patch)
tree974b67d43acf9dcf3227ce4289364aedb32556e4 /linux/include/media/v4l2-common.h
parent2fe263c38ddb355e0c801c8f8c204f4d419b011e (diff)
downloadmediapointer-dvb-s2-21433740f51f3166e2c13c59435463890f3b2dae.tar.gz
mediapointer-dvb-s2-21433740f51f3166e2c13c59435463890f3b2dae.tar.bz2
Add support for VIDIOC_INT_G/S_STD_OUTPUT
From: Hans Verkuil <hverkuil@xs4all.nl> Added VIDIOC_INT_G_STD_OUTPUT and VIDIOC_INT_S_STD_OUTPUT to allow drivers to set the TV standard for video output separately from the video capture. This is needed for cx23415 support where the decoder is separate from the encoder and can have a different TV standard. Modified the saa7127 module to listen to VIDIOC_INT_G/S_STD_OUTPUT instead of VIDIOC_G/S_STD. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media/v4l2-common.h')
-rw-r--r--linux/include/media/v4l2-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h
index ef4f6cfcd..08a002966 100644
--- a/linux/include/media/v4l2-common.h
+++ b/linux/include/media/v4l2-common.h
@@ -252,4 +252,12 @@ struct v4l2_crystal_freq {
default values. */
#define VIDIOC_INT_INIT _IOW ('d', 114, u32)
+/* Set v4l2_std_id for video OUTPUT devices. This is ignored by
+ video input devices. */
+#define VIDIOC_INT_S_STD_OUTPUT _IOW ('d', 115, v4l2_std_id)
+
+/* Get v4l2_std_id for video OUTPUT devices. This is ignored by
+ video input devices. */
+#define VIDIOC_INT_G_STD_OUTPUT _IOW ('d', 116, v4l2_std_id)
+
#endif /* V4L2_COMMON_H_ */