The patch number 9897 was added via Laurent Pinchart 
<laurent.pinch...@skynet.be>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        v4l-dvb-maintai...@linuxtv.org

------

From: Laurent Pinchart  <laurent.pinch...@skynet.be>
v4l2: Add camera zoom controls


The zoom controls move the zoom lens group to a an absolute position, as a
relative displacement or at a given speed until reaching physical device
limits. Positive values move the zoom lens group towards the telephoto
direction, negative values towards the wide-angle direction.

Priority: normal

Signed-off-by: Laurent Pinchart <laurent.pinch...@skynet.be>


---

 linux/include/linux/videodev2.h |    4 ++++
 1 file changed, 4 insertions(+)

diff -r eb855f5c9f38 -r a0d91cf08c96 linux/include/linux/videodev2.h
--- a/linux/include/linux/videodev2.h   Sun Dec 14 09:28:07 2008 -0200
+++ b/linux/include/linux/videodev2.h   Sun Dec 14 20:21:16 2008 +0100
@@ -1117,6 +1117,10 @@ enum  v4l2_exposure_auto_type {
 #define V4L2_CID_FOCUS_ABSOLUTE                        
(V4L2_CID_CAMERA_CLASS_BASE+10)
 #define V4L2_CID_FOCUS_RELATIVE                        
(V4L2_CID_CAMERA_CLASS_BASE+11)
 #define V4L2_CID_FOCUS_AUTO                    (V4L2_CID_CAMERA_CLASS_BASE+12)
+
+#define V4L2_CID_ZOOM_ABSOLUTE                 (V4L2_CID_CAMERA_CLASS_BASE+13)
+#define V4L2_CID_ZOOM_RELATIVE                 (V4L2_CID_CAMERA_CLASS_BASE+14)
+#define V4L2_CID_ZOOM_CONTINUOUS               (V4L2_CID_CAMERA_CLASS_BASE+15)
 
 /*
  *     T U N I N G


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/a0d91cf08c965f26ba757e328e397d9135648b31

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to