summaryrefslogtreecommitdiff
path: root/isp/omap3isp-priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-10-20 20:49:07 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-10-20 21:05:46 +0200
commit1922132a4facf53e71855fb3624ab29da99a6fe3 (patch)
tree918d8e20962db8a811108db6f0be8d81e783b1a7 /isp/omap3isp-priv.h
parent7e62380de5584b9edbd61048f5b16e521e893eeb (diff)
isp: Emulate global gain for sensors that only expose color gains
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/omap3isp-priv.h')
-rw-r--r--isp/omap3isp-priv.h5
1 files changed, 3 insertions, 2 deletions
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;