Re: [RFC/PATCH v6 03/12] [alsa-devel] media: Entities, pads and links

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Laurent Pinchart
Date: Thursday, November 25, 2010 - 8:29 am

Hi Mark,

On Thursday 25 November 2010 14:41:35 Mark Brown wrote:

It depends on how you define nodes. I can certainly imagine a graph with 100 
controls, but maybe several controls can be part of the same node ? On the 
video side we've decided to split entities depending on the possible data 
paths configurations. As I'm not a fluent ascii-art speaker, please have a 
look at pages 4 and 5 of http://www.ideasonboard.org/media/20101103-lpc-
media.pdf

Page 4 shows the internal topology of the OMAP3 ISP. The major blocks in that 
diagram are reported as entities. Page 5 shows the internal topology of one of 
the blocks, the OMAP3 ISP preview engine. As you can see the pipeline is made 
of sub-blocks that implement a single image processing function. As the 
pipeline is linear (don't worry about the non-linear part in the beginning, 
it's just there to take into account link configurability at the higher level) 
we don't export all the sub-blocks as entities, but we expose the controls on 
the preview engine entity instead.


That could be easily added (provided the string is not too long).

-- 
Regards,

Laurent Pinchart
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC/PATCH v6 00/12] Media controller (core and V4L2), Laurent Pinchart, (Wed Nov 24, 7:28 pm)
[RFC/PATCH v6 01/12] media: Media device node support, Laurent Pinchart, (Wed Nov 24, 7:28 pm)
[RFC/PATCH v6 02/12] media: Media device, Laurent Pinchart, (Wed Nov 24, 7:28 pm)
[RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Wed Nov 24, 7:28 pm)
[RFC/PATCH v6 04/12] media: Entity graph traversal, Laurent Pinchart, (Wed Nov 24, 7:28 pm)
[RFC/PATCH v6 06/12] media: Media device information query, Laurent Pinchart, (Wed Nov 24, 7:28 pm)
[RFC/PATCH v6 08/12] media: Links setup, Laurent Pinchart, (Wed Nov 24, 7:28 pm)
Re: [RFC/PATCH v6 02/12] media: Media device, Clemens Ladisch, (Thu Nov 25, 2:33 am)
Re: [RFC/PATCH v6 02/12] media: Media device, Laurent Pinchart, (Thu Nov 25, 7:42 am)
Re: [RFC/PATCH v6 03/12] [alsa-devel] media: Entities, pad ..., Laurent Pinchart, (Thu Nov 25, 8:29 am)
Re: [RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Thu Nov 25, 8:40 am)
Re: [RFC/PATCH v6 05/12] media: Reference count and power ..., Laurent Pinchart, (Thu Nov 25, 8:43 am)
Re: [RFC/PATCH v6 00/12] Media controller (core and V4L2), Laurent Pinchart, (Fri Nov 26, 7:07 am)
Re: [RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Fri Nov 26, 7:13 am)
Re: [RFC/PATCH v6 05/12] media: Reference count and power ..., Laurent Pinchart, (Sun Nov 28, 5:33 am)
Re: [RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Sun Nov 28, 5:34 am)
Re: [RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Fri Dec 3, 6:50 am)
Re: [RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Thu Dec 9, 5:53 am)