From cecf2f690a16ad8a99d739f42b3bdb6745fafc07 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 19 Mar 2012 14:50:14 +0100 Subject: 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 --- iq.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'iq.h') 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; -- cgit v1.2.3