From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Deepthy Ravi <deepthy.ravi@ti.com>
Subject: [PATCH 0/9] Media Controller for soc-camera
Date: Thu, 29 Sep 2011 18:18:48 +0200 [thread overview]
Message-ID: <1317313137-4403-1-git-send-email-g.liakhovetski@gmx.de> (raw)
This is the first attempt at extending soc-camera with Media Controller /
pad-level APIs. Yes, I know, that Laurent wasn't quite happy with "V4L:
add convenience macros to the subdevice / Media Controller API," maybe
we'll remove it eventually, but so far my patches use it, so, I kept it
for now. The general idea has been described in
http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/38083
In short: soc-camera implements a media controller device and two entities
per camera host (bridge) instance, linked statically to each other and to
the client. The host driver gets a chance to implement "local" only
configuration, as opposed to the standard soc-camera way of propagating the
configuration up the pipeline to the client (sensor / decoder) driver. An
example implementation is provided for sh_mobile_ceu_camera and two sensor
drivers. The whole machinery gets activated if the soc-camera core finds a
client driver, that implements pad operations. In that case both the
"standard" (V4L2) and the "new" (MC) ways of addressing the driver become
available. I.e., it is possible to run both standard V4L2 applications and
MC-aware ones.
Of course, applies on top of
git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.2
Deepthy: this is what I told you about in
http://article.gmane.org/gmane.linux.ports.arm.omap/64847
it just took me a bit longer, than I thought.
Guennadi Liakhovetski (9):
V4L: soc-camera: add a function to lookup xlate by mediabus code
sh_mobile_ceu_camera: simplify scaling and cropping algorithms
V4L: soc-camera: remove redundant parameter from the .set_bus_param()
method
V4L: add convenience macros to the subdevice / Media Controller API
V4L: soc-camera: move bus parameter configuration to
.vidioc_streamon()
V4L: soc-camera: prepare hooks for Media Controller wrapper
V4L: soc-camera: add a Media Controller wrapper
V4L: mt9t112: add pad level operations
V4L: imx074: add pad level operations
drivers/media/video/Makefile | 6 +-
drivers/media/video/atmel-isi.c | 12 +-
drivers/media/video/imx074.c | 85 +++-
drivers/media/video/mt9t112.c | 97 +++-
drivers/media/video/mx1_camera.c | 12 +-
drivers/media/video/mx2_camera.c | 13 +-
drivers/media/video/mx3_camera.c | 13 +-
drivers/media/video/omap1_camera.c | 16 +-
drivers/media/video/pxa_camera.c | 13 +-
drivers/media/video/sh_mobile_ceu_camera.c | 904 +++++++++++-----------------
drivers/media/video/soc_camera.c | 157 ++++-
drivers/media/video/soc_entity.c | 284 +++++++++
drivers/media/video/soc_mediabus.c | 16 -
include/media/soc_camera.h | 34 +-
include/media/soc_entity.h | 31 +
include/media/v4l2-subdev.h | 11 +
16 files changed, 1064 insertions(+), 640 deletions(-)
create mode 100644 drivers/media/video/soc_entity.c
create mode 100644 include/media/soc_entity.h
--
1.7.2.5
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
next reply other threads:[~2011-09-29 16:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 16:18 Guennadi Liakhovetski [this message]
2011-09-29 16:18 ` [PATCH 1/9] V4L: soc-camera: add a function to lookup xlate by mediabus code Guennadi Liakhovetski
2011-09-29 16:18 ` [PATCH 2/9] sh_mobile_ceu_camera: simplify scaling and cropping algorithms Guennadi Liakhovetski
2011-09-29 16:18 ` [PATCH 3/9] V4L: soc-camera: remove redundant parameter from the .set_bus_param() method Guennadi Liakhovetski
2011-09-29 16:18 ` [PATCH 4/9] V4L: add convenience macros to the subdevice / Media Controller API Guennadi Liakhovetski
2011-09-29 16:18 ` [PATCH 5/9] V4L: soc-camera: move bus parameter configuration to .vidioc_streamon() Guennadi Liakhovetski
2011-09-29 16:18 ` [PATCH 6/9] V4L: soc-camera: prepare hooks for Media Controller wrapper Guennadi Liakhovetski
2011-10-03 10:32 ` Laurent Pinchart
2011-09-29 16:18 ` [PATCH 7/9] V4L: soc-camera: add a " Guennadi Liakhovetski
2011-10-03 11:05 ` Laurent Pinchart
2011-10-03 15:29 ` Guennadi Liakhovetski
2011-10-03 20:44 ` Laurent Pinchart
2011-10-04 17:34 ` Guennadi Liakhovetski
2011-10-05 21:15 ` Laurent Pinchart
2011-09-29 16:18 ` [PATCH 8/9] V4L: mt9t112: add pad level operations Guennadi Liakhovetski
2011-10-03 11:14 ` Laurent Pinchart
2011-09-29 16:18 ` [PATCH 9/9] V4L: imx074: " Guennadi Liakhovetski
2011-10-03 11:21 ` [PATCH 0/9] Media Controller for soc-camera Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317313137-4403-1-git-send-email-g.liakhovetski@gmx.de \
--to=g.liakhovetski@gmx.de \
--cc=deepthy.ravi@ti.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.