summaryrefslogtreecommitdiff
path: root/drivers/media/video/m5mols/m5mols.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2012-04-09 21:51:49 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 21:34:18 +0400
commit50d3f93e39d86d57af5df5f06c5b18ffe25ece79 (patch)
treeda68d9bd274ad0f82ac870bbe1c4da77501e2ed9 /drivers/media/video/m5mols/m5mols.h
parentefcb07c1bbd43846aff192f28ad755fc8c93ad81 (diff)
downloadlinux-50d3f93e39d86d57af5df5f06c5b18ffe25ece79.tar.xz
[media] m5mols: Add exposure metering control
This patch adds V4L2_CID_EXPOSURE_METERING control which allows to select the light metering mode for automatic exposure as one of the following modes: spot (small area at the frame center), center weighted and frame averaged. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/m5mols/m5mols.h')
-rw-r--r--drivers/media/video/m5mols/m5mols.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/m5mols/m5mols.h b/drivers/media/video/m5mols/m5mols.h
index 305a75bc6a9f..b7834654dc6c 100644
--- a/drivers/media/video/m5mols/m5mols.h
+++ b/drivers/media/video/m5mols/m5mols.h
@@ -163,6 +163,7 @@ struct m5mols_version {
* @auto_exposure: auto/manual exposure control
* @exposure_bias: exposure compensation control
* @exposure: manual exposure control
+ * @metering: exposure metering control
* @auto_iso: auto/manual ISO sensitivity control
* @iso: manual ISO sensitivity control
* @auto_wb: auto white balance control
@@ -198,6 +199,7 @@ struct m5mols_info {
struct v4l2_ctrl *auto_exposure;
struct v4l2_ctrl *exposure_bias;
struct v4l2_ctrl *exposure;
+ struct v4l2_ctrl *metering;
};
struct {
/* iso/auto iso cluster */