From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Sakari Ailus <sakari.ailus@iki.fi>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
"HeungJun Kim/Mobile S/W Platform Lab(DMC)/E3"
<riverful.kim@samsung.com>,
"Seung-Woo Kim/Mobile S/W Platform Lab(DMC)/E4"
<sw0312.kim@samsung.com>, Sylwester Nawrocki <snjw23@gmail.com>
Subject: [ANN] IRC meeting on camera controls
Date: Wed, 01 Feb 2012 11:05:06 +0100 [thread overview]
Message-ID: <4F290E52.5090503@samsung.com> (raw)
Hi all,
I would like to invite everyone interested to a short IRC meeting on
#v4l-meeting channel we are going to have at 14:00 CET, this Friday
2012-02-03. The main topics are camera exposure and auto focus control
API. There were previous discussions on the mailing list regarding this
and patches from HeungJun Kim and me [1], [2]. Most of the patches are
now available at gitweb interface [4]. They incorporate comments from
the discussions and the documentation is improved slightly. Some controls
will depend on the new integer menu control type patches from Sakari [3].
There were suggestions to create a new class for the proposed controls
as they are relatively high level. However as we're going to also have
a low level "image source" control class there are doubts whether it's
a good thing to do.
The proposed controls can be divided into following groups:
Exposure controls:
* V4L2_CID_METERING_MODE - light metering mode for auto exposure
* V4L2_CID_EXPOSURE_BIAS - auto exposure bias
* V4L2_CID_ISO - manual ISO sensitivity
* V4L2_CID_ISO_AUTO - enable disable automatic ISO adjustments
* V4L2_CID_ISO_PRESET - sensitivity preset
White balance:
* V4L2_CID_WHITE_BALANCE_PRESET - white balance preset
Auto focus controls:
* V4L2_CID_AUTO_FOCUS_START - one-shot auto focus start
* V4L2_CID_AUTO_FOCUS_STOP - one-shot auto focus stop
* V4L2_CID_AUTO_FOCUS_STATUS - auto focus status
* V4L2_CID_AUTO_FOCUS_DISTANCE - auto focus scan range selection
* V4L2_CID_AUTO_FOCUS_AREA - auto focus area selection
* V4L2_CID_AUTO_FOCUS_X_POSITION - horizontal AF spot position
* V4L2_CID_AUTO_FOCUS_Y_POSITION - vertical AF spot position
* V4L2_CID_AUTO_FOCUS_FACE_PRIORITY - enable/disable face priority
Other:
* V4L2_CID_WIDE_DYNAMIC_RANGE - enable/disable wide dynamic range
* V4L2_CID_IMAGE_STABILIZATION - enable/disable image stabilization
* V4L2_CID_SCENEMODE - scene preset, it's a bit questionable
due to influencing many other controls
A debatable topic is setting up the coordinates (spot and rectangles) for auto
focus sensors, exposure and white balance. In some modes only spot needs to be
specified (x, y) while some only need a rectangle, or multiple rectangles -
however in practice I didn't have a need for them yet.
Some attributes have mixed series of values and presets, like for instance ISO:
ISO_AUTO
ISO_100
ISO_200
ISO_400
ISO_SPORTS
ISO_NIGHT
ISO_INDOOR
I would assume it's best to create 3 controls for such ones, e.g.
V4L2_CID_ISO_AUTO
V4L2_CID_ISO
V4L2_CID_ISO_PRESET
Then devices that do not support ISO presets would only implement the first
two or just the second one for instance.
All comments are welcome.
[1] http://www.spinics.net/lists/linux-media/msg40970.html
[2] http://www.spinics.net/lists/linux-media/msg42152.html
[3] http://www.spinics.net/lists/linux-media/msg40796.html
[4] http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/camera-controls
Best regards,
--
Sylwester Nawrocki
Samsung Poland R&D Center
reply other threads:[~2012-02-01 10:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4F290E52.5090503@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=g.liakhovetski@gmx.de \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=riverful.kim@samsung.com \
--cc=sakari.ailus@iki.fi \
--cc=snjw23@gmail.com \
--cc=sw0312.kim@samsung.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox