camera: add focus zone ioctrl id.
authorzyc <zyc@rock-chips.com>
Thu, 15 Nov 2012 08:37:32 +0000 (16:37 +0800)
committerzyc <zyc@rock-chips.com>
Thu, 15 Nov 2012 08:37:49 +0000 (16:37 +0800)
include/linux/videodev2.h

index a1a3296a720a5cfa353ffb2848be74614669acff..f8b5600bb88f6684c1c3ad4ef08e95546dc1b6b3 100644 (file)
@@ -1011,6 +1011,7 @@ struct v4l2_ext_control {
                __s64 value64;
                char *string;
        };
+       __s32 rect[4];
 } __attribute__ ((packed));
 
 struct v4l2_ext_controls {
@@ -1401,6 +1402,7 @@ enum  v4l2_exposure_auto_type {
 #define V4L2_CID_EFFECT                                (V4L2_CID_CAMERA_CLASS_BASE_ROCK+2)
 #define V4L2_CID_FLASH                         (V4L2_CID_CAMERA_CLASS_BASE_ROCK+3)
 #define V4L2_CID_FOCUS_CONTINUOUS              (V4L2_CID_CAMERA_CLASS_BASE_ROCK+4)
+#define V4L2_CID_FOCUSZONE       (V4L2_CID_CAMERA_CLASS_BASE_ROCK+5)
 
 /* FM Modulator class control IDs */
 #define V4L2_CID_FM_TX_CLASS_BASE              (V4L2_CTRL_CLASS_FM_TX | 0x900)