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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hans Verkuil
Date: Tuesday, December 7, 2010 - 10:13 am

On Friday, December 03, 2010 15:54:08 Mark Brown wrote:

OK, let's try this again.

The media controller has entities, entities have pads, and between pads there
are links.

Links can be active (data can flow) or inactive (no data can flow).

Active links can be idle (no data is flowing) or streaming (data is flowing
over the link).

Personally I think this is perfectly clear. The original confusion came from
the word 'active', which I understand means 'streaming' in alsa. By adding
a 'streaming' flag in addition to the active flag I think it will be clear
that 'active' and 'streaming' are two different things.

Regarding 'active': an alternative could be 'connected'. I think it is not
quite as good as 'active' since basically all links are always connected in
the usual sense of the word. It is just that a mux decides which one is
actually working. However, I won't object to using 'connected' instead of
'active' if others prefer that.

Regards,

	Hans

-- 
Hans Verkuil - video4linux developer - sponsored by Cisco
--
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] 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, Hans Verkuil, (Tue Dec 7, 10:13 am)
Re: [RFC/PATCH v6 03/12] media: Entities, pads and links, Laurent Pinchart, (Thu Dec 9, 5:53 am)