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

2010-12-21 Thread Hans Verkuil
On Wednesday, December 15, 2010 00:50:44 Laurent Pinchart wrote: Hi Clemens, On Tuesday 14 December 2010 14:49:15 Clemens Ladisch wrote: Laurent Pinchart wrote: On Tuesday 14 December 2010 13:40:21 Hans Verkuil wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: *

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

2010-12-14 Thread Laurent Pinchart
Hi Clemens, On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: I wrote: I'll see if I can draw up the ALSA-specific media stuff over the weekend. Sorry, wrong weekend. Anyway, below are some remarks and a patch. Thank you. Please see my comments inline. * Entity types

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

2010-12-14 Thread Hans Verkuil
Hi Clemens, On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: I wrote: I'll see if I can draw up the ALSA-specific media stuff over the weekend. Sorry, wrong weekend. Anyway, below are some remarks and a patch. Thank you. Please see my comments inline. * Entity types

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

2010-12-14 Thread Laurent Pinchart
Hi Hans, On Tuesday 14 December 2010 13:40:21 Hans Verkuil wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: * Entity types TYPE_NODE was renamed to TYPE_DEVICE because node sounds like a node in a graph, which does not distinguish it from other entity types because

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

2010-12-14 Thread Clemens Ladisch
Laurent Pinchart wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: TYPE_EXT describes entities that represent some interface to the external world, TYPE_INT those that are internal to the entire device. (I'm not sure if that distinction is very useful, but TYPE_SUBDEV seems to

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

2010-12-14 Thread Clemens Ladisch
Laurent Pinchart wrote: On Tuesday 14 December 2010 13:40:21 Hans Verkuil wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: * Entity types TYPE_NODE was renamed to TYPE_DEVICE because node sounds like a node in a graph, which does not distinguish it from other entity

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

2010-12-14 Thread Takashi Iwai
At Tue, 14 Dec 2010 14:31:55 +0100, Clemens Ladisch wrote: Should we have an AUDIO category ? Probably not, because there are combined audio/video jacks, any maybe other entities. Yes, nowadays HDMI / DP are pretty common, for example. Takashi -- To unsubscribe from this list: send the

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

2010-12-14 Thread Laurent Pinchart
Hi Clemens, On Tuesday 14 December 2010 14:31:55 Clemens Ladisch wrote: Laurent Pinchart wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: TYPE_EXT describes entities that represent some interface to the external world, TYPE_INT those that are internal to the entire device.

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

2010-12-14 Thread Sakari Ailus
Hi Clemens, Laurent, Hans others! Clemens Ladisch wrote: I wrote: I'll see if I can draw up the ALSA-specific media stuff over the weekend. Sorry, wrong weekend. Anyway, below are some remarks and a patch. * Entity types TYPE_NODE was renamed to TYPE_DEVICE because node sounds

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

2010-12-14 Thread Hans Verkuil
Laurent Pinchart wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: TYPE_EXT describes entities that represent some interface to the external world, TYPE_INT those that are internal to the entire device. (I'm not sure if that distinction is very useful, but TYPE_SUBDEV seems

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

2010-12-14 Thread Laurent Pinchart
Hi Hans, On Tuesday 14 December 2010 15:51:08 Hans Verkuil wrote: Laurent Pinchart wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: TYPE_EXT describes entities that represent some interface to the external world, TYPE_INT those that are internal to the entire device.

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

2010-12-14 Thread Clemens Ladisch
Laurent Pinchart wrote: On Tuesday 14 December 2010 14:31:55 Clemens Ladisch wrote: Laurent Pinchart wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: EXT_SPEAKER also includes headphones; there might be made a case for having those as a separate subtype.

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

2010-12-14 Thread Laurent Pinchart
Hi Clemens, On Tuesday 14 December 2010 14:49:15 Clemens Ladisch wrote: Laurent Pinchart wrote: On Tuesday 14 December 2010 13:40:21 Hans Verkuil wrote: On Monday 13 December 2010 17:10:51 Clemens Ladisch wrote: * Entity types TYPE_NODE was renamed to TYPE_DEVICE because node

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

2010-12-13 Thread Clemens Ladisch
I wrote: I'll see if I can draw up the ALSA-specific media stuff over the weekend. Sorry, wrong weekend. Anyway, below are some remarks and a patch. * Entity types TYPE_NODE was renamed to TYPE_DEVICE because node sounds like a node in a graph, which does not distinguish it from other entity

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

2010-12-10 Thread Sakari Ailus
Hi Mark and others! Mark Brown wrote: On Tue, Dec 07, 2010 at 07:11:39PM +0100, Hans Verkuil wrote: Ah, now I understand what you mean. Would 'activated' be better than 'active'? Better, yes, though it still sounds a bit like something should be actively (IYSWIM) happening. In the

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

2010-12-09 Thread Laurent Pinchart
Hi, On Tuesday 07 December 2010 20:03:28 Mark Brown wrote: On Tue, Dec 07, 2010 at 07:11:39PM +0100, Hans Verkuil wrote: Ah, now I understand what you mean. Would 'activated' be better than 'active'? Better, yes, though it still sounds a bit like something should be actively (IYSWIM)

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

2010-12-07 Thread Hans Verkuil
On Friday, December 03, 2010 15:54:08 Mark Brown wrote: On Fri, Dec 03, 2010 at 02:50:58PM +0100, Laurent Pinchart wrote: On Friday 03 December 2010 13:06:18 Hans Verkuil wrote: Just to confirm thinks, Mark's proposal is to replace 'connected' by 'linked' and 'active' by 'connected'.

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

2010-12-07 Thread Mark Brown
On Tue, Dec 07, 2010 at 06:13:35PM +0100, Hans Verkuil wrote: 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

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

2010-12-07 Thread Hans Verkuil
On Tuesday, December 07, 2010 18:55:05 Mark Brown wrote: On Tue, Dec 07, 2010 at 06:13:35PM +0100, Hans Verkuil wrote: 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

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

2010-12-07 Thread Mark Brown
On Tue, Dec 07, 2010 at 07:11:39PM +0100, Hans Verkuil wrote: Ah, now I understand what you mean. Would 'activated' be better than 'active'? Better, yes, though it still sounds a bit like something should be actively (IYSWIM) happening. In the absence of better ideas I could go with this.

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

2010-12-03 Thread Laurent Pinchart
Hi Hans, Adding by the original CC list which was dropped by mistake. On Friday 03 December 2010 13:06:18 Hans Verkuil wrote: On Friday, December 03, 2010 11:19:36 Laurent Pinchart wrote: On Sunday 28 November 2010 16:57:00 you wrote: On Sunday, November 28, 2010 13:34:45 Laurent Pinchart

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

2010-12-03 Thread Mark Brown
On Fri, Dec 03, 2010 at 02:50:58PM +0100, Laurent Pinchart wrote: On Friday 03 December 2010 13:06:18 Hans Verkuil wrote: Just to confirm thinks, Mark's proposal is to replace 'connected' by 'linked' and 'active' by 'connected'. Are we on the same page here ? Yes, but when I read it

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

2010-11-28 Thread Laurent Pinchart
Hi Mark, On Friday 26 November 2010 15:14:42 Mark Brown wrote: On Fri, Nov 26, 2010 at 03:13:36PM +0100, Laurent Pinchart wrote: On Thursday 25 November 2010 16:49:52 Mark Brown wrote: On Thu, Nov 25, 2010 at 04:40:41PM +0100, Laurent Pinchart wrote: It's supposed to reflect whether the

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

2010-11-28 Thread Hans Verkuil
On Sunday, November 28, 2010 13:34:45 Laurent Pinchart wrote: Hi Mark, On Friday 26 November 2010 15:14:42 Mark Brown wrote: On Fri, Nov 26, 2010 at 03:13:36PM +0100, Laurent Pinchart wrote: On Thursday 25 November 2010 16:49:52 Mark Brown wrote: On Thu, Nov 25, 2010 at 04:40:41PM

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

2010-11-26 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 16:49:52 Mark Brown wrote: On Thu, Nov 25, 2010 at 04:40:41PM +0100, Laurent Pinchart wrote: On Thursday 25 November 2010 14:36:50 Mark Brown wrote: On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: + MEDIA_LINK_FLAG_ACTIVE

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

2010-11-26 Thread Mark Brown
On Fri, Nov 26, 2010 at 03:13:36PM +0100, Laurent Pinchart wrote: On Thursday 25 November 2010 16:49:52 Mark Brown wrote: On Thu, Nov 25, 2010 at 04:40:41PM +0100, Laurent Pinchart wrote: It's supposed to reflect whether the link can carry data. Think of the active flag as a valve on a

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: +Links have flags that describe the link capabilities and state. + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can be + used to transfer media data. When two or more links target a sink pad, + only

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

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 04:40:41PM +0100, Laurent Pinchart wrote: On Thursday 25 November 2010 14:36:50 Mark Brown wrote: On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can be + used to transfer media data.

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

2010-11-24 Thread Laurent Pinchart
As video hardware pipelines become increasingly complex and configurable, the current hardware description through v4l2 subdevices reaches its limits. In addition to enumerating and configuring subdevices, video camera drivers need a way to discover and modify at runtime how those subdevices are