From: Philipp Zabel <p.zabel@pengutronix.de>
To: Ricardo Ribalda Delgado <ribalda@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] Documentation: media: Describe V4L2_CID_UNIT_CELL_SIZE
Date: Tue, 20 Aug 2019 17:42:49 +0200 [thread overview]
Message-ID: <1566315769.3030.20.camel@pengutronix.de> (raw)
In-Reply-To: <20190820094027.4144-2-ribalda@kernel.org>
On Tue, 2019-08-20 at 11:40 +0200, Ricardo Ribalda Delgado wrote:
> New control to pass to userspace the width/height of a pixel. Which is
> needed for calibration and lens selection.
>
> Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
> ---
> Documentation/media/uapi/v4l/ext-ctrls-camera.rst | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/media/uapi/v4l/ext-ctrls-camera.rst b/Documentation/media/uapi/v4l/ext-ctrls-camera.rst
> index 51c1d5c9eb00..b43047d4e7a1 100644
> --- a/Documentation/media/uapi/v4l/ext-ctrls-camera.rst
> +++ b/Documentation/media/uapi/v4l/ext-ctrls-camera.rst
> @@ -510,6 +510,14 @@ enum v4l2_scene_mode -
> value down. A value of zero stops the motion if one is in progress
> and has no effect otherwise.
>
> +``V4L2_CID_UNIT_CELL_SIZE (struct)``
> + This control returns the unit cell size in nanometres. The struct provides
> + the width and the height in separated fields to take into consideration
> + asymmetric pixels and/or hardware binning.
> + The unit cell consist on the whole area of the pixel, sensitive and
> + non-sensitive.
"consists of", otherwise this looks unambiguous to me.
I'm not sure if it is required to add a table for struct v4l2_area,
similarly to the other compound controls.
> + This control is required for automatic calibration sensors/cameras.
> +
> .. [#f1]
> This control may be changed to a menu control in the future, if more
> options are required.
regards
Philipp
next prev parent reply other threads:[~2019-08-20 15:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-20 9:40 [PATCH v2 1/3] media: add V4L2_CID_UNIT_CELL_SIZE control Ricardo Ribalda Delgado
2019-08-20 9:40 ` [PATCH v2 2/3] Documentation: media: Describe V4L2_CID_UNIT_CELL_SIZE Ricardo Ribalda Delgado
2019-08-20 15:42 ` Philipp Zabel [this message]
2019-08-21 16:40 ` Ricardo Ribalda Delgado
2019-08-20 9:40 ` [PATCH v2 3/3] media: imx214: Add new control with V4L2_CID_UNIT_CELL_SIZE Ricardo Ribalda Delgado
2019-08-22 9:31 ` Philipp Zabel
2019-08-22 9:35 ` Ricardo Ribalda Delgado
2019-08-22 7:56 ` [PATCH v2 1/3] media: add V4L2_CID_UNIT_CELL_SIZE control Hans Verkuil
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=1566315769.3030.20.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=hverkuil-cisco@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=ribalda@kernel.org \
--cc=sakari.ailus@linux.intel.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
all inboxes | Powered by JetHome®