summaryrefslogtreecommitdiff
path: root/isp/omap3isp-priv.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-07-24 14:23:08 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-04 15:35:35 +0200
commitab75d6ab59d1bccd08204dd5fe7bddae2e19e1ee (patch)
treebf6f3a01d59ee7c34851c13c995faa8d0dfef4fb /isp/omap3isp-priv.h
parent3e7b97b2b945b616de12ba466592820145976daf (diff)
Add entities to pipeline structure
Add a omap3_isp_pipeline_build() function to build a pipeline from a list of entity names. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/omap3isp-priv.h')
-rw-r--r--isp/omap3isp-priv.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/isp/omap3isp-priv.h b/isp/omap3isp-priv.h
index 3e78acc..bb683b5 100644
--- a/isp/omap3isp-priv.h
+++ b/isp/omap3isp-priv.h
@@ -50,10 +50,26 @@ struct omap3_isp_video {
};
/*
+ * struct omap3_isp_entity - OMAP3 entity in a pipeline
+ * @list: Entities list
+ * @entity: Media entity information
+ * @link_sink: Link connected to the sink pad
+ * @link_source: Link connected to the source pad
+ */
+struct omap3_isp_entity {
+ struct list_entry list;
+ struct media_entity *entity;
+ struct media_entity_link *link_sink;
+ struct media_entity_link *link_source;
+};
+
+/*
* struct omap3_isp_pipeline - OMAP3 pipeline
+ * @entitites: Entities in the pipeline
* @output: Video device at the output of the pipeline
*/
struct omap3_isp_pipeline {
+ struct list_entry entities;
struct omap3_isp_video output;
};