summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-11-04 09:22:27 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-11-04 09:22:27 -0300
commit41fc665b267be50fef40573b8977e7e87ba98ca7 (patch)
treee0eab278afd423be44958daf03931286c2dc20d2 /linux/include/media
parent19a1085a8f018688d06141a9f9ce9d7b7e070c54 (diff)
downloadmediapointer-dvb-s2-41fc665b267be50fef40573b8977e7e87ba98ca7.tar.gz
mediapointer-dvb-s2-41fc665b267be50fef40573b8977e7e87ba98ca7.tar.bz2
A couple of V4L2 defines needed by Cafe Camara driver
From: Jonathan Corbet <corbet-v4l@lwn.net> Two defines for V4L2, needed by the Cafe camera driver: 1) Add the RGB444 image format 2) Add the "init" internal command which is separate from "reset". Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/v4l2-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-common.h b/linux/include/media/v4l2-common.h
index ce7df478d..8d47a9c2a 100644
--- a/linux/include/media/v4l2-common.h
+++ b/linux/include/media/v4l2-common.h
@@ -257,4 +257,8 @@ struct v4l2_crystal_freq {
If the frequency is not supported, then -EINVAL is returned. */
#define VIDIOC_INT_S_CRYSTAL_FREQ _IOW ('d', 113, struct v4l2_crystal_freq)
+/* Initialize the sensor registors to some sort of reasonable
+ default values. */
+#define VIDIOC_INT_INIT _IOW ('d', 114, u32)
+
#endif /* V4L2_COMMON_H_ */