diff options
Diffstat (limited to 'isp/omap3isp-priv.h')
| -rw-r--r-- | isp/omap3isp-priv.h | 20 | 
1 files changed, 16 insertions, 4 deletions
| diff --git a/isp/omap3isp-priv.h b/isp/omap3isp-priv.h index bb683b5..375c5c9 100644 --- a/isp/omap3isp-priv.h +++ b/isp/omap3isp-priv.h @@ -23,6 +23,8 @@  #ifndef __OMAP3ISP_PRIV_H  #define __OMAP3ISP_PRIV_H +#include <linux/v4l2-mediabus.h> +  #include "omap3isp.h"  /* @@ -50,17 +52,27 @@ struct omap3_isp_video {  };  /* + * struct omap3_isp_pad - OMAP3 entity pad + * @link: Link connected to the pad + * @format: Format on the pad + */ +struct omap3_isp_pad { +	struct media_entity_link *link; +	struct v4l2_mbus_framefmt format; +}; + +/*   * 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 + * @sink: Sink pad + * @source: Sink 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_pad sink; +	struct omap3_isp_pad source;  };  /* | 
