summaryrefslogtreecommitdiff
path: root/isp/omap3isp-priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-02-29 12:20:32 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-04-16 23:50:06 +0200
commit594c6519fddcf7c1ecec7a7fea30c96066ec9c4b (patch)
tree9fc2aac7f61b58fabce88661f02a2fedbf47e4db /isp/omap3isp-priv.h
parentdcefa4189bf3b012333771730c2a9b3bd7c1d576 (diff)
omap3isp: Make viewfinder optional
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/omap3isp-priv.h')
-rw-r--r--isp/omap3isp-priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/isp/omap3isp-priv.h b/isp/omap3isp-priv.h
index b6484de..18fbf76 100644
--- a/isp/omap3isp-priv.h
+++ b/isp/omap3isp-priv.h
@@ -111,18 +111,26 @@ struct omap3_isp_pool {
#define to_omap3_isp_pool(e) container_of(e, struct omap3_isp_pool, entity)
+enum omap3_isp_pipeline_state {
+ OMAP3_ISP_PIPELINE_STOPPED,
+ OMAP3_ISP_PIPELINE_RUNNING,
+ OMAP3_ISP_PIPELINE_SUSPENDED,
+};
+
/*
* struct omap3_isp_pipeline - OMAP3 pipeline
* @entitites: Entities in the pipeline
* @scaler: Whether scaling should be performed on the ISP or the sensor
* @pools: Pools in the pipeline
* @output: Video device at the output of the pipeline
+ * @state: Pipeline state
*/
struct omap3_isp_pipeline {
struct list_entry entities;
enum omap3_isp_scaler scaler;
struct list_entry pools;
struct omap3_isp_video *output;
+ enum omap3_isp_pipeline_state state;
};
struct omap3_isp_device {