From ab75d6ab59d1bccd08204dd5fe7bddae2e19e1ee Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 24 Jul 2011 14:23:08 +0200 Subject: 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 --- isp/omap3isp-priv.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'isp/omap3isp-priv.h') 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 @@ -49,11 +49,27 @@ struct omap3_isp_video { bool running; }; +/* + * 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; }; -- cgit v1.2.3