From 1922132a4facf53e71855fb3624ab29da99a6fe3 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 20 Oct 2012 20:49:07 +0200 Subject: isp: Emulate global gain for sensors that only expose color gains Signed-off-by: Laurent Pinchart --- isp/omap3isp-priv.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'isp/omap3isp-priv.h') diff --git a/isp/omap3isp-priv.h b/isp/omap3isp-priv.h index 2f3dbb9..c71ed40 100644 --- a/isp/omap3isp-priv.h +++ b/isp/omap3isp-priv.h @@ -139,6 +139,9 @@ struct omap3_isp_device { struct { struct media_entity *entity; + struct v4l2_mbus_framefmt format; + bool has_color_gains; + bool has_global_gain; } sensor; struct { struct media_entity *entity; @@ -149,8 +152,6 @@ struct omap3_isp_device { } preview; struct omap3_isp_aewb aewb; - struct v4l2_mbus_framefmt sensor_format; - struct omap3_isp_pipeline viewfinder; struct omap3_isp_pipeline snapshot; -- cgit v1.2.3