[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170313123514.GH21222@n2100.armlinux.org.uk>
Date: Mon, 13 Mar 2017 12:35:14 +0000
From: Russell King - ARM Linux <linux@...linux.org.uk>
To: Mauro Carvalho Chehab <mchehab@...pensource.com>
Cc: Hans Verkuil <hverkuil@...all.nl>,
Steve Longerbeam <slongerbeam@...il.com>, mark.rutland@....com,
andrew-ct.chen@...iatek.com, minghsiu.tsai@...iatek.com,
nick@...anahar.org, songjun.wu@...rochip.com, pavel@....cz,
shuah@...nel.org, devel@...verdev.osuosl.org,
markus.heiser@...marIT.de,
laurent.pinchart+renesas@...asonboard.com, robert.jarzmik@...e.fr,
geert@...ux-m68k.org, p.zabel@...gutronix.de,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
kernel@...gutronix.de, arnd@...db.de, tiffany.lin@...iatek.com,
bparrot@...com, robh+dt@...nel.org, horms+renesas@...ge.net.au,
mchehab@...nel.org, linux-arm-kernel@...ts.infradead.org,
niklas.soderlund+renesas@...natech.se, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, Sakari Ailus <sakari.ailus@....fi>,
jean-christophe.trotin@...com, sakari.ailus@...ux.intel.com,
fabio.estevam@....com, shawnguo@...nel.org,
sudipm.mukherjee@...il.com
Subject: Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit
controls from a pipeline
On Mon, Mar 13, 2017 at 08:42:15AM -0300, Mauro Carvalho Chehab wrote:
> I don't have myself any hardware with i.MX6. Yet, I believe that
> a low cost board like SolidRun Hummingboard - with comes with a
> CSI interface compatible with RPi camera modules - will likely
> attract users who need to run generic applications on their
> devices.
As you've previously mentioned about camorama, I've installed it (I
run Ubuntu 16.04 with "gnome-flashback-metacity" on the HB) and I'm
able to use camorama to view the IMX219 camera sensor.
There's some gotcha's though:
* you need to start it on the command line, manually specifying
which /dev/video device to use, as it always wants to use
/dev/video0. With the CODA mem2mem driver loaded, this may not
be a camera device:
$ v4l2-ctl -d 0 --all
Driver Info (not using libv4l2):
Driver name : coda
Card type : CODA960
Bus info : platform:coda
Driver version: 4.11.0
* camorama seems to use the v4lconvert library, and looking at the
resulting image quality, is rather pixelated - my guess is that
v4lconvert is using a basic algorithm to de-bayer the data. It
also appears to only manage 7fps at best. The gstreamer neon
debayer plugin appears to be faster and higher quality.
* it provides five controls - brightness/contrast/color/hue/white
balance, each of which are not supported by the hardware (IMX219
supports gain and analogue gain only.) These controls appear to
have no effect on the resulting image.
However, using qv4l2 (with the segfault bug in
GeneralTab::updateFrameSize() fixed - m_frameSize, m_frameWidth and
m_frameHeight can be NULL) provides access to all controls. This
can happen if GeneralTab::inputSection() is not called.
The USB uvcvideo camera achieves around 24fps with functional controls
in camorama (mainly because it provides those exact controls to
userspace.)
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Powered by blists - more mailing lists