summaryrefslogtreecommitdiff
path: root/iq.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-03-19 14:50:14 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-05-01 12:13:56 +0200
commitcecf2f690a16ad8a99d739f42b3bdb6745fafc07 (patch)
tree7c17c0346c8a6649197a53120362eeefe5cac76e /iq.h
parent0e6faa79f6fae04321abfbb4be30df7d732d5d7f (diff)
iq: Add ae-delay and ae-interval parameters
The ae-delay parameter selects the number of frames to skip at stream startup before running the auto exposure algorithm. The ae-interval selects the number of frames between AE runs. This can be used to delay AE when the sensor needs one or more frames to apply exposure and/or gain values. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'iq.h')
-rw-r--r--iq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/iq.h b/iq.h
index a5c5028..74be0a2 100644
--- a/iq.h
+++ b/iq.h
@@ -30,6 +30,8 @@ struct omap3_isp_aewb_stats;
/**
* struct iq_params - Image quality tuning parameters
* @window: Statistics computation window (fraction of the image size)
+ * @ae_delay: Number of frames to skip at stream start before enabling AE
+ * @ae_interval: Number of frames between AE algorithm runs
* @mean_level: Target mean luminance level (fraction of the maximum)
* @exposure: Initial exposure value (sensor-specific units)
* @exposure_min: Minimum exposure value
@@ -47,6 +49,9 @@ struct iq_params {
float height;
} window;
+ unsigned int ae_delay;
+ unsigned int ae_interval;
+
float mean_level;
unsigned int exposure;