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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sakari Ailus
Date: Tuesday, December 14, 2010 - 7:49 am

Hi Clemens, Laurent, Hans & others!

Clemens Ladisch wrote:

This naming already has been commented, but what do you think: should
the type explicitly tell what kind of interface, if any, is exported to
user space?

Only MEDIA_ENTITY_NODE_* types do this currently, and
MEDIA_ENTITY_TYPE_SUBDEV_* to some extent, but the way is not consistent
at the moment. MEDIA_ENTITY_NODE_* range has lost of different
interfaces whereas MEDIA_ENTITY_TYPE_SUBDEV_* are basically offering
v4l2_subdev and beyond that, suggesting what kind of controls might be
found from the nodes.

I would expect that the interfaces offered by the character devices
would be somewhat standardised in the end like v4l2_subdev user space
interface.

The types above are mostly describing the role of an entity, which might
be interesting as well.

Regards,

-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com
--
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)
Re: [alsa-devel] [RFC/PATCH v6 03/12] media: Entities, pad ..., Sakari Ailus, (Tue Dec 14, 7:49 am)