From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80161C352AA for ; Tue, 1 Oct 2019 11:24:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D9A521906 for ; Tue, 1 Oct 2019 11:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569929084; bh=/khlmvyIF7dnAYuyK6pcvtYPvxWsRxXD/3cTxwU/l58=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=HG231pfRPRaWS4GD5vV3pIq9bt5ew5W4AtVcYd2gpDAA88jyy1PuzvnMKo9KUXdyd yvcbqLMgn1Bcd1SAZiTHInJnw5Uu5m6te+zn/QPrrl5gM5Jpvt5ISOwkJt9PSA5XBM tH7qXLoxjvP/nPcCoQHGp6craHf8n3XqI4PX8Vd4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732362AbfJALYn (ORCPT ); Tue, 1 Oct 2019 07:24:43 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:42829 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732215AbfJALYi (ORCPT ); Tue, 1 Oct 2019 07:24:38 -0400 Received: by mail-lf1-f66.google.com with SMTP id c195so9564739lfg.9; Tue, 01 Oct 2019 04:24:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6p4YV1zw75GWQJusYr45Q284S6H3/JdTSqt0G1D+1gg=; b=EJSX0n34DsU6oRkDnNORzhh0VjPNCy7NzeaFpaD7tArU4Nt7QtNsaCTpQM7+J/mHfA LvygwPtYJr6JpKeODL14o+ehp+5CZU+qDjUlVGJwhgugVUZ/ZaOMbj6LJZxThMzRNZWX XYY0PqNP2bjcrVwFyRIdfLQRz8mmohxpqWIBcr2jzEh7BpTQiQUM+N5KH/3Gc2FJkd8W T/bRSdSnadAPwEDCtjvDAw2ieU20DOHSqFFTxp/a4oomwLw1c87btjBmxaCP1ZvWbsNX xumihsF7xQkpONbQRKK9G76sW4cdpqFrhKqTEjGGhujEdEsVEF/eJfxbYrmzz7wKXsLQ 59hw== X-Gm-Message-State: APjAAAVlvXFBiU+I0Hp/c77yhk3PMmbAsBB0ygchmnnxozouyb0THvsB jBVgXRJD1TqFKeU9T6+Ry9c= X-Google-Smtp-Source: APXvYqxuuHGmYJw9Go+LXkMmgo5Wf6LKyGqIajb3dXZTvMvU2ZME6oKYjkhfQA/AxFrWBMKVeiLhrg== X-Received: by 2002:ac2:4196:: with SMTP id z22mr5218720lfh.54.1569929076043; Tue, 01 Oct 2019 04:24:36 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id 3sm3853894ljs.20.2019.10.01.04.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 04:24:34 -0700 (PDT) From: Ricardo Ribalda Delgado To: Philipp Zabel , Hans Verkuil , Jacopo Mondi , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ricardo Ribalda Delgado Subject: [PATCH v9 6/8] Documentation: media: Describe V4L2_CID_UNIT_CELL_SIZE Date: Tue, 1 Oct 2019 13:24:19 +0200 Message-Id: <20191001112421.2778-7-ribalda@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191001112421.2778-1-ribalda@kernel.org> References: <20191001112421.2778-1-ribalda@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org New control to pass to userspace the width/height of a pixel. Which is needed for calibration and lens selection. Reviewed-by: Philipp Zabel Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/ext-ctrls-image-source.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/media/uapi/v4l/ext-ctrls-image-source.rst b/Documentation/media/uapi/v4l/ext-ctrls-image-source.rst index 2c3ab5796d76..033672dcb43d 100644 --- a/Documentation/media/uapi/v4l/ext-ctrls-image-source.rst +++ b/Documentation/media/uapi/v4l/ext-ctrls-image-source.rst @@ -55,3 +55,12 @@ Image Source Control IDs ``V4L2_CID_TEST_PATTERN_GREENB (integer)`` Test pattern green (next to blue) colour component. + +``V4L2_CID_UNIT_CELL_SIZE (struct)`` + This control returns the unit cell size in nanometres. The struct + :c:type:`v4l2_area` provides the width and the height in separated + fields to take into consideration asymmetric pixels and/or hardware + binning. + The unit cell consists of the whole area of the pixel, sensitive and + non-sensitive. + This control is required for automatic calibration sensors/cameras. -- 2.23.0