From 0e6faa79f6fae04321abfbb4be30df7d732d5d7f Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 16 Mar 2012 19:15:01 +0100 Subject: iq: Add statistics window size and position parameters Signed-off-by: Laurent Pinchart --- iq.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'iq.h') 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; -- cgit v1.2.3