aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-04-27 11:31:04 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:43:22 -0400
commit045290b2a90ff1be60196a061aadecf70eb6bcc3 (patch)
treecbdf9547b5dbcc60f67793e4d64eff85f7accd35 /include
parentb2787845fb91da18ebb079dc9297f92d990e9fe1 (diff)
V4L/DVB (5290): Add support for VIDIOC_INT_G/S_STD_OUTPUT
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include')
-rw-r--r--include/media/v4l2-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index 6eaeec98ed89..abb9ce9b21b8 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -254,4 +254,12 @@ struct v4l2_crystal_freq {
254 default values. */ 254 default values. */
255#define VIDIOC_INT_INIT _IOW ('d', 114, u32) 255#define VIDIOC_INT_INIT _IOW ('d', 114, u32)
256 256
257/* Set v4l2_std_id for video OUTPUT devices. This is ignored by
258 video input devices. */
259#define VIDIOC_INT_S_STD_OUTPUT _IOW ('d', 115, v4l2_std_id)
260
261/* Get v4l2_std_id for video OUTPUT devices. This is ignored by
262 video input devices. */
263#define VIDIOC_INT_G_STD_OUTPUT _IOW ('d', 116, v4l2_std_id)
264
257#endif /* V4L2_COMMON_H_ */ 265#endif /* V4L2_COMMON_H_ */