aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-12-16 04:46:32 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:39:11 -0500
commit9768352ac1f9cc3aae675adb299452bd28a54734 (patch)
treeeac3d5caefbcccae4b6cdb877aa86b581ea1e7ba /drivers/media/video/uvc/uvcvideo.h
parent6df126f834c7f6972528cba43604ce0c97329886 (diff)
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 {
384 384
385 struct uvc_menu_info *menu_info; 385 struct uvc_menu_info *menu_info;
386 __u32 menu_count; 386 __u32 menu_count;
387
388 __s32 (*get) (struct uvc_control_mapping *mapping, __u8 query,
389 const __u8 *data);
390 void (*set) (struct uvc_control_mapping *mapping, __s32 value,
391 __u8 *data);
387}; 392};
388 393
389struct uvc_control { 394struct uvc_control {