[alsa-devel] [RFC/PATCH v7 00/12] Media controller (core and V4L2)
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Dec 20 12:36:23 CET 2010
Hi everybody,
Here is the seventh version of the media controller core and V4L2 patches.
the first one to be sent outside of the linux-media mailing list.
Quick reminder for those who missed the previous version. let me quote the
documentation (Documentation/DocBook/v4l/media-controller.xml).
"Discovering a [media] device internal topology, and configuring it at runtime,
is one of the goals of the media controller API. To achieve this, hardware
devices are modelled as an oriented graph of building blocks called entities
connected through pads."
The code has been extensively reviewed by the V4L community, and this version
is the first one to incorporate comments from the ALSA community (big thanks
to Mark Brown and Clemens Ladisch). Two issues are not fully addressed yet,
namely power management (I need to discuss this some more with the ALSA
developers to really understand their requirements) and entities type names.
I'm still posting this for review, as other developers have showed interest in
commenting on the code.
I want to emphasize once again that the media controller API does not replace
the V4L, DVB or ALSA APIs. It complements them.
The first user of the media controller API is the OMAP3 ISP driver. You can
find it (as well as these patches and other V4L-specific patches) in a git tree
at http://git.linuxtv.org/pinchartl/media.git (media-0004-omap3isp branch). The
OMAP3 ISP driver patches are regularly posted for review on the linux-media
list.
Laurent Pinchart (10):
media: Media device node support
media: Media device
media: Entities, pads and links
media: Media device information query
media: Entities, pads and links enumeration
media: Links setup
media: Pipelines and media streams
v4l: Add a media_device pointer to the v4l2_device structure
v4l: Make video_device inherit from media_entity
v4l: Make v4l2_subdev inherit from media_entity
Sakari Ailus (2):
media: Entity graph traversal
media: Reference count and power handling
Documentation/DocBook/media-entities.tmpl | 24 +
Documentation/DocBook/media.tmpl | 3 +
Documentation/DocBook/v4l/media-controller.xml | 89 +++
Documentation/DocBook/v4l/media-func-close.xml | 59 ++
Documentation/DocBook/v4l/media-func-ioctl.xml | 116 ++++
Documentation/DocBook/v4l/media-func-open.xml | 94 +++
.../DocBook/v4l/media-ioc-device-info.xml | 133 ++++
.../DocBook/v4l/media-ioc-enum-entities.xml | 308 +++++++++
Documentation/DocBook/v4l/media-ioc-enum-links.xml | 207 ++++++
Documentation/DocBook/v4l/media-ioc-setup-link.xml | 93 +++
Documentation/media-framework.txt | 383 +++++++++++
Documentation/video4linux/v4l2-framework.txt | 72 ++-
drivers/media/Kconfig | 13 +
drivers/media/Makefile | 10 +-
drivers/media/media-device.c | 382 +++++++++++
drivers/media/media-devnode.c | 321 +++++++++
drivers/media/media-entity.c | 690 ++++++++++++++++++++
drivers/media/video/v4l2-dev.c | 49 ++-
drivers/media/video/v4l2-device.c | 52 ++-
drivers/media/video/v4l2-subdev.c | 41 ++-
include/linux/Kbuild | 1 +
include/linux/media.h | 132 ++++
include/media/media-device.h | 92 +++
include/media/media-devnode.h | 97 +++
include/media/media-entity.h | 148 +++++
include/media/v4l2-dev.h | 7 +
include/media/v4l2-device.h | 4 +
include/media/v4l2-subdev.h | 10 +
28 files changed, 3603 insertions(+), 27 deletions(-)
create mode 100644 Documentation/DocBook/v4l/media-controller.xml
create mode 100644 Documentation/DocBook/v4l/media-func-close.xml
create mode 100644 Documentation/DocBook/v4l/media-func-ioctl.xml
create mode 100644 Documentation/DocBook/v4l/media-func-open.xml
create mode 100644 Documentation/DocBook/v4l/media-ioc-device-info.xml
create mode 100644 Documentation/DocBook/v4l/media-ioc-enum-entities.xml
create mode 100644 Documentation/DocBook/v4l/media-ioc-enum-links.xml
create mode 100644 Documentation/DocBook/v4l/media-ioc-setup-link.xml
create mode 100644 Documentation/media-framework.txt
create mode 100644 drivers/media/media-device.c
create mode 100644 drivers/media/media-devnode.c
create mode 100644 drivers/media/media-entity.c
create mode 100644 include/linux/media.h
create mode 100644 include/media/media-device.h
create mode 100644 include/media/media-devnode.h
create mode 100644 include/media/media-entity.h
--
Regards,
Laurent Pinchart
More information about the Alsa-devel
mailing list