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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Laurent Pinchart
Date: Friday, December 3, 2010 - 6:50 am

Hi Hans,

Adding by the original CC list which was dropped by mistake.

On Friday 03 December 2010 13:06:18 Hans Verkuil wrote:
wrote:

I unfortunately agree that it's a bit confusing :-(


I don't really like the open/closed terminology to describe links.

I can think of two analogies: pipes with valves that can be opened/closed, or 
cables that can be connected/disconnected.

In the first case, connected/linked can be used to specify the pipes that 
exist in the system, but I'm not happy with open/closed.

In the second case, connected/linked can be used to specify whether a cable is 
connected, but in that case we will need another word to describe whether two 
pads are connectable or not.


Link refers to a pipe/possible cable connection. It's an object on both the 
kernel side and the userspace side. Using the above analogies, tt makes sense 
to use the word 'linked' to refer to two pads that are connected by a pipe, or 
between which a cable can be connected.

Now we need a word to descripe whether the valve is opened or closed, or 
whether the cable is connected or not. I don't really like 'open'/'closed' for 
the first analogy. 'connected' would make sense for the second analogy, but it 
can indeed be a bit confusing.

Thoughts ?

-- 
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] 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)