summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-12-16 06:46:32 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:11 -0200
commit9768352ac1f9cc3aae675adb299452bd28a54734 (patch)
treeeac3d5caefbcccae4b6cdb877aa86b581ea1e7ba /drivers/media/video/uvc/uvcvideo.h
parent6df126f834c7f6972528cba43604ce0c97329886 (diff)
downloadblackbird-op-linux-9768352ac1f9cc3aae675adb299452bd28a54734.tar.gz
blackbird-op-linux-9768352ac1f9cc3aae675adb299452bd28a54734.zip
V4L/DVB (9903): uvcvideo: V4L2 zoom controls support
Add support for absolute and continuous zoom controls (mapped to absolute and relative UVC zoom controls). Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvcvideo.h')
-rw-r--r--drivers/media/video/uvc/uvcvideo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h
index 00d593776b86..2a5bdacbaf27 100644
--- a/drivers/media/video/uvc/uvcvideo.h
+++ b/drivers/media/video/uvc/uvcvideo.h
@@ -384,6 +384,11 @@ struct uvc_control_mapping {
struct uvc_menu_info *menu_info;
__u32 menu_count;
+
+ __s32 (*get) (struct uvc_control_mapping *mapping, __u8 query,
+ const __u8 *data);
+ void (*set) (struct uvc_control_mapping *mapping, __s32 value,
+ __u8 *data);
};
struct uvc_control {
OpenPOWER on IntegriCloud