From patchwork Sun Dec 4 15:16:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 8716 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1RXDoD-0005Qc-4T; Sun, 04 Dec 2011 16:16:53 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtp id 1RXDoC-0001hU-HM; Sun, 04 Dec 2011 16:16:52 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754272Ab1LDPQu (ORCPT + 4 others); Sun, 4 Dec 2011 10:16:50 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]:35399 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754073Ab1LDPQt (ORCPT ); Sun, 4 Dec 2011 10:16:49 -0500 Received: by mail-ww0-f44.google.com with SMTP id dr13so5379144wgb.1 for ; Sun, 04 Dec 2011 07:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=cnZuhgFTbs0kNZPItrXIizlTE4bwe54N5Cd3wyI7KaI=; b=wQwtSHs8Hz0Sar/9osBA+cquxO65A2/3SZHz/OijpIZYlV53eRYr0XQMygOkITe/KS d9RgWzbMJPqB6gMN/gphVlmsUsI3P2Z8KUQpkE0j1xYLGWZTS8c/d08CPC3nwCmOAUXC ZHiq0Z/spZqmy1lMVX6AWjRcM5G4bjckp2ans= Received: by 10.180.106.70 with SMTP id gs6mr8509937wib.41.1323011808452; Sun, 04 Dec 2011 07:16:48 -0800 (PST) Received: from localhost.localdomain (84-dzi-26.acn.waw.pl. [85.222.29.84]) by mx.google.com with ESMTPS id 28sm19857228wby.3.2011.12.04.07.16.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 04 Dec 2011 07:16:47 -0800 (PST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, hverkuil@xs4all.nl, riverful.kim@samsung.com, s.nawrocki@samsung.com, Sylwester Nawrocki Subject: [RFC/PATCH 5/5] v4l: Add V4L2_CID_ISO and V4L2_CID_ISO_AUTO controls Date: Sun, 4 Dec 2011 16:16:16 +0100 Message-Id: <1323011776-15967-6-git-send-email-snjw23@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1323011776-15967-1-git-send-email-snjw23@gmail.com> References: <1323011776-15967-1-git-send-email-snjw23@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.12.4.150315 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FORGED_FROM_GMAIL 0.1, MULTIPLE_RCPTS 0.1, BODY_SIZE_4000_4999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __INT_PROD_LOC 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NS ' X-LSpam-Score: -4.2 (----) X-LSpam-Report: No, score=-4.2 required=5.0 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3, T_DKIM_INVALID=0.01 autolearn=ham Add manual and automatic ISO controls. The ISO values are related to the level of amplification of the analog signal between image sensor and ADC, but some sensors with an integrated SoC ISP expose an interface to accept the ISO values directly. Signed-off-by: Sylwester Nawrocki --- These controls depend on the integer menu control support. Corresponding patches from Sakari can be found here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg39733.html --- Documentation/DocBook/media/v4l/biblio.xml | 11 +++++++++++ Documentation/DocBook/media/v4l/controls.xml | 23 +++++++++++++++++++++++ drivers/media/video/v4l2-ctrls.c | 3 +++ include/linux/videodev2.h | 2 ++ 4 files changed, 39 insertions(+), 0 deletions(-) diff --git a/Documentation/DocBook/media/v4l/biblio.xml b/Documentation/DocBook/media/v4l/biblio.xml index afc8a0d..61f6ff3 100644 --- a/Documentation/DocBook/media/v4l/biblio.xml +++ b/Documentation/DocBook/media/v4l/biblio.xml @@ -177,6 +177,17 @@ in the frequency range from 87,5 to 108,0 MHz NTSC-4: United States RBDS Standard + + ISO 12232:2006 + + International Organization for Standardization +(http://www.iso.org) + + Photography — Digital still cameras — Determination + of exposure index, ISO speed ratings, standard output sensitivity, and + recommended exposure index + +