From patchwork Thu Dec 10 16:33:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 10637 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 A6183BD80A for ; Thu, 10 Dec 2020 16:33:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3044667F6E; Thu, 10 Dec 2020 17:33:45 +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="sLpAbJp9"; dkim-atps=neutral Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 065DF67F72 for ; Thu, 10 Dec 2020 17:33:43 +0100 (CET) Received: by mail-wr1-x42c.google.com with SMTP id a12so6121877wrv.8 for ; Thu, 10 Dec 2020 08:33:43 -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=sLpAbJp9B5X9I48iZo2Wc46nzTljh3MVv3E1hyKYjs5Fi+eysemaxK1pEl9DeanFE9 ekYqb8NuS350S6QZKpErPpBoh0F8x1djg0+gZ7YFkb4u/jT3+0FB+JE/2iPDnxS49zLo PVdKP+hHS74GPM7PS6uZMBs1XDZtuXalaVV1X+Z9TS6eY2YBAaja64MCvqdlH5tgQd6y A08lkybhNsKFyEReLNSn5qKSxnRqH47HRRUbjh8zNVVT0sQPNNBAKgUXwluLzFb2c3/r Ub1Z1MqeMAQzqmRCWHJoQhKgh7F9pJ8mxAX14cRHa2inJkUP/eRrQVGOFxDq943e1iJL Ulfg== 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=HosZ6p4BtriuAsWOMGuJadfMQevaDvgY2zl4H2R3RmwhZsmQN+32hVROEUo73DTQ9b +OqOncgKBdYx8VATw0W2BN++Kwwi2+pZgBmBwTogO6aEzpTUk+3oiY1QFmNgO2y76CSl Biuq2/pVODSUs6mX3qtESSN7tbk17bRnNE/dolXUMK9bEJsb/tPAwiMkvnSx2EJX8l5r OMWm3/kEg+1B1f4vH8L2IN+XDJjyEmTerhEX/U4kxqZEU2F+Fqfd27WQ1vmZJwG84Y50 jCypecD+1nZ5Cyzb8sCAGauYTRPsX7vsvZlw64reVcDxeKW/+M8rgPbMvBTErtCsUu5Y qGeg== X-Gm-Message-State: AOAM531T/mwMcNhEiYtqeTJAUb97DPpWPBRcOdw8Vhwt5UOfbmEmYBaG D2A+kP4xsmPLS57q75k7EpQz12kk+hWSuQ== X-Google-Smtp-Source: ABdhPJyb9wOXAHpS931pM1TgKWB1RTPPv9Xub3ZI0sMCmgKx1EZUcOMkj1Dstfc8uyZPoyN5CMQX+Q== X-Received: by 2002:a5d:6a05:: with SMTP id m5mr9078387wru.96.1607618022506; Thu, 10 Dec 2020 08:33:42 -0800 (PST) Received: from naushir-VirtualBox.pitowers.org ([2a00:1098:3142:14:a00:27ff:fe4d:f6a2]) by smtp.gmail.com with ESMTPSA id v7sm9589433wma.26.2020.12.10.08.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 08:33:41 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Thu, 10 Dec 2020 16:33:37 +0000 Message-Id: <20201210163337.212857-3-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201210163337.212857-1-naush@raspberrypi.com> References: <20201210163337.212857-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v6 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": [