summaryrefslogtreecommitdiff
path: root/iq.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-16 19:15:01 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-05-01 12:13:56 +0200
commit0e6faa79f6fae04321abfbb4be30df7d732d5d7f (patch)
treeb24f9dc70c46403de7e80d5e52e04a199aed9994 /iq.h
parentf030d07589524d07d5eaf7c2dfff607656889b8b (diff)
iq: Add statistics window size and position parameters
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'iq.h')
-rw-r--r--iq.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/iq.h b/iq.h
index 2b043a8..a5c5028 100644
--- a/iq.h
+++ b/iq.h
@@ -29,6 +29,7 @@ struct omap3_isp_aewb_stats;
/**
* struct iq_params - Image quality tuning parameters
+ * @window: Statistics computation window (fraction of the image size)
* @mean_level: Target mean luminance level (fraction of the maximum)
* @exposure: Initial exposure value (sensor-specific units)
* @exposure_min: Minimum exposure value
@@ -39,6 +40,13 @@ struct omap3_isp_aewb_stats;
* @black_level: Black level offset
*/
struct iq_params {
+ struct {
+ float left;
+ float top;
+ float width;
+ float height;
+ } window;
+
float mean_level;
unsigned int exposure;