From patchwork Fri Dec 11 15:45:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 10650 X-Patchwork-Delegate: laurent.pinchart@ideasonboard.com Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 730F7BD80A for ; Fri, 11 Dec 2020 15:45:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3D86F67F9E; Fri, 11 Dec 2020 16:45:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="MzcWlMyy"; dkim-atps=neutral Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B47A267FA1 for ; Fri, 11 Dec 2020 16:45:32 +0100 (CET) Received: by mail-wm1-x336.google.com with SMTP id 3so9004695wmg.4 for ; Fri, 11 Dec 2020 07:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UivwIO3ktu5j2EoxINYFa7ri9ABorkJNi+C3XacBQ4A=; b=MzcWlMyywIqWI9AGbTBhLo4dZRGCAj5WMUbgXR6gNi1O4jN2CGj0rwauA8sxxX5pbM zrDh0eGzi0PSX97M0WxSZZrOV79mwy5qvMPoNS5Izr8O142Cm3W2F0ffk7se1zOZy0Wk L52aqdgUxklxnNX2Z3ZHGiNGB4SRxG2CvFI4fL3A6zimjWhW++dDIDvnLSEFsLt2hAba 9aewvQXAtW6j5Uq6WXtpUVnxze06ctpl42lyKirW9xxIzTUp5lKb9/CEzOlnjkB8Str6 QZsq30ZRKzIem1zGcZaB3PgukadBibsqOf61eE+eD81BSQ9iALvlawkldE5i8oNfyepU raOA== 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=UivwIO3ktu5j2EoxINYFa7ri9ABorkJNi+C3XacBQ4A=; b=GpyHnEcOK3/TOeQgxWOBJbYwp0DGlUgldfQ3wt+PZr0prDkmPzt/j2wyV/L25BtmpN UsR4X3nZrMt/5F8Ul8MgT2hehIN1E8VtwJVnBZh0xTW1eGVFnjcrgw/kARB/0RGha5T2 pxaVZY/5Mgx8JlhaprrHV4yqhcVx+P16vrJZmo8g+m6C5CHekQrdj4TD0THyhMsQ0zBt GExNKA7iUadj/T6YdDL2hKN6XEqr5yab+/DFyqaWLYU1cPOP39w+iKbKD7DCPAJ59Kbt AjR+DP93QBdeABWsZsMjd/fkg5azwmcMrH0KxYZxKU1GZg3uXLKgMsK1v5s0CpqkYRVI m1aQ== X-Gm-Message-State: AOAM5338S1AMgkOJRFn4FFUpWyIEc+DdqRi8mJJxDbGS8X8K8ZrCXiXW 4Z4R/kXwrUsuOQzbIK8uN9tBVtOCT9zuvg== X-Google-Smtp-Source: ABdhPJxM6JMzUR/ddsqy0dVWfDYz6PKXnQnItfVbWtg0Q1H7PUNLT+LG8T4kKcpGeqkhZM0MiSJ1Gg== X-Received: by 2002:a05:600c:cc:: with SMTP id u12mr14590904wmm.42.1607701532164; Fri, 11 Dec 2020 07:45:32 -0800 (PST) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id 89sm16281248wre.51.2020.12.11.07.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Dec 2020 07:45:31 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 11 Dec 2020 15:45:25 +0000 Message-Id: <20201211154525.5141-3-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201211154525.5141-1-naush@raspberrypi.com> References: <20201211154525.5141-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v8 3/3] ipa: raspberrypi: config: Update shutter speeds for imx219/477 and ov5647 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Set the maximum shutter speed for the normal exposure profile to 66ms. Set the maximum shutter speed for the sport exposure profile to 33ms. Add a long exposure profile to allow shutter speeds of up to 120ms. Signed-off-by: Naushir Patuck Reviewed-by: David Plowman Tested-by: David Plowman --- src/ipa/raspberrypi/data/imx219.json | 15 +++++++++++++-- src/ipa/raspberrypi/data/imx477.json | 15 +++++++++++++-- src/ipa/raspberrypi/data/ov5647.json | 15 +++++++++++++-- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/src/ipa/raspberrypi/data/imx219.json b/src/ipa/raspberrypi/data/imx219.json index 212f8b9a..1ec338be 100644 --- a/src/ipa/raspberrypi/data/imx219.json +++ b/src/ipa/raspberrypi/data/imx219.json @@ -133,7 +133,7 @@ { "shutter": [ - 100, 10000, 30000, 30000, 30000 + 100, 10000, 30000, 60000, 66666 ], "gain": [ @@ -144,7 +144,18 @@ { "shutter": [ - 100, 5000, 10000, 20000, 30000 + 100, 5000, 10000, 20000, 33333 + ], + "gain": + [ + 1.0, 2.0, 4.0, 6.0, 6.0 + ] + }, + "long": + { + "shutter": + [ + 100, 10000, 30000, 60000, 120000 ], "gain": [ diff --git a/src/ipa/raspberrypi/data/imx477.json b/src/ipa/raspberrypi/data/imx477.json index 12fe2f41..9bee3f16 100644 --- a/src/ipa/raspberrypi/data/imx477.json +++ b/src/ipa/raspberrypi/data/imx477.json @@ -133,7 +133,7 @@ { "shutter": [ - 100, 10000, 30000, 60000, 120000 + 100, 10000, 30000, 60000, 66666 ], "gain": [ @@ -144,7 +144,18 @@ { "shutter": [ - 100, 5000, 10000, 20000, 120000 + 100, 5000, 10000, 20000, 33333 + ], + "gain": + [ + 1.0, 2.0, 4.0, 6.0, 6.0 + ] + }, + "long": + { + "shutter": + [ + 100, 10000, 30000, 60000, 120000 ], "gain": [ diff --git a/src/ipa/raspberrypi/data/ov5647.json b/src/ipa/raspberrypi/data/ov5647.json index 3d8a7c8f..1a354f7c 100644 --- a/src/ipa/raspberrypi/data/ov5647.json +++ b/src/ipa/raspberrypi/data/ov5647.json @@ -133,7 +133,7 @@ { "shutter": [ - 100, 10000, 30000, 30000, 30000 + 100, 10000, 30000, 60000, 66666 ], "gain": [ @@ -144,7 +144,18 @@ { "shutter": [ - 100, 5000, 10000, 20000, 30000 + 100, 5000, 10000, 20000, 33333 + ], + "gain": + [ + 1.0, 2.0, 4.0, 6.0, 6.0 + ] + }, + "long": + { + "shutter": + [ + 100, 10000, 30000, 60000, 120000 ], "gain": [