From 594c6519fddcf7c1ecec7a7fea30c96066ec9c4b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 29 Feb 2012 12:20:32 +0100 Subject: omap3isp: Make viewfinder optional Signed-off-by: Laurent Pinchart --- isp/omap3isp-priv.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'isp/omap3isp-priv.h') 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 { -- cgit v1.2.3