From: Sylwester Nawrocki <snjw23@gmail.com>
To: linux-media <linux-media@vger.kernel.org>,
Hans Verkuil <hverkuil@xs4all.nl>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Sakari Ailus <sakari.ailus@iki.fi>,
David Cohen <dacohen@gmail.com>,
tuukkat76@gmail.com, Heungjun Kim <riverful.kim@samsung.com>,
Seung-Woo Kim <sw0312.kim@samsung.com>,
Mauro Carvalho Chehab <mchehab@redhat.com>,
Tomasz Stanislawski <t.stanislaws@samsung.com>
Subject: [ANN] Notes on the control classes and new camera controls on #v4l2-meeting 2012-02-03
Date: Sun, 05 Feb 2012 19:55:56 +0100 [thread overview]
Message-ID: <4F2ED0BC.1060104@gmail.com> (raw)
Hi all,
We had an IRC discussion (Sakari, Laurent and me) regarding the control
classes in general and new controls that are required by more advanced
camera sensors [3] (usually running a customizable firmware). More
details on the agenda can be found in the invitation message [1].
There was an agreement on selected topics however some issues remain
more or less open. The full meeting log can be found at [2].
The conclusions from the meeting could be summarized as follows:
- We are having multiple levels of controls that interact with each other,
on the lowest level are controls that are directly mapped to hardware
blocks - analogue gain for example; on the highest level are controls
that influence complex software algorithms implemented in a firmware;
The control classes are not much helpful in logical classification of
the various level controls, it is often difficult to clearly associate
particular control with specific class. Therefore the controls [3]
documentation should talk about of some sort of profile indicating which
controls to expose on which kind of device.
- The selection API should be used for specifying window-of-interest for
auto focus, exposure and white balance algorithms;
- We're going to use separate selection target base for AF, AE, AWB
and reserve a pull of targets for each of them, e.g. 256;
- A bitmask control can be used to determine which of multiple
rectangles are currently in use;
- In order to associate the selection targets with specific controls
(AF, AE, AWB) the queryctrl ioctl may be extended to return the
selection target base with the above mentioned bitmask control.
The number of bits in the control will indicate maximum number of
selection targets for each algorithm;
- Single point coordinates, where needed, should be specified by
rectangle width and height set to 0.
- Control names should not generally be prefixed with a control class
name, as it is not always clear which class a control should belong to;
- As there is no better alternative solution it has been initially agreed
to keep two new control classes: the image source and image processing
class [4];
[1] http://www.mail-archive.com/linux-media@vger.kernel.org/msg42735.html
[2] http://www.retiisi.org.uk/v4l2/notes/v4l2-control-classes-camera-2012-02-03.txt
[3] http://git.infradead.org/users/kmpark/linux-samsung/shortlog/refs/heads/camera-controls
[4] http://www.mail-archive.com/linux-media@vger.kernel.org/msg42823.html
http://www.mail-archive.com/linux-media@vger.kernel.org/msg42802.html
--
Regards,
Sylwester
reply other threads:[~2012-02-05 18:56 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=4F2ED0BC.1060104@gmail.com \
--to=snjw23@gmail.com \
--cc=dacohen@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=riverful.kim@samsung.com \
--cc=sakari.ailus@iki.fi \
--cc=sw0312.kim@samsung.com \
--cc=t.stanislaws@samsung.com \
--cc=tuukkat76@gmail.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