From patchwork Thu Dec 10 13:34:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 10634 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 F15A0BD80A for ; Thu, 10 Dec 2020 13:34:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7C8B367F7C; Thu, 10 Dec 2020 14:34:34 +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="Ciw1RRbT"; dkim-atps=neutral Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 63AD860323 for ; Thu, 10 Dec 2020 14:34:33 +0100 (CET) Received: by mail-wm1-x342.google.com with SMTP id a3so5327196wmb.5 for ; Thu, 10 Dec 2020 05:34:33 -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=Ciw1RRbTu9b5YJnV35NIrslY8JT0G0lWMsh/3UVQEH+3TVH6qceQ2Y2NIm5SHEZAqR UPgrsS5tIHr3xionYVNvuFQtW27B7eSpO+1/TuXjQmhRn2vpqFd1Daq0W40UsAtjypPv cmUa1ArAvW7wJ8rRLODITkWWeBsnRitg+zKillPlC/UTehomrwye2oI3J75Yi1+USU3J Mjx9HYjK2bGfZRWiAHsR/JyRSoFXTPX84hT1kGwTSxAcc/JyuCHAYO/n9wsFPFs8Ruu3 Fbmj2loHHRW5FDXu2fiqVLvIFBgguKuYLM7jbOcexaPjKHcq1vGHeAZhZvLMDw8/MaZV yf6g== 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=oJEcYBhj6CzT6AhgVfrE94yR8TYRH7h98iLQKIVzi6tQUNPFIxkBofg5swgTaiQbDI cextiOxgRU2ggTYdMGbeDcbzRnt+f+kyTdKtMnNOYBAReQ4LwS719o2Zix6eMyqxtQGf IIzyeo+NsGPbX+65asvULkc6xw3UW1zpb9o7CwuZ3VTdHmy/fJdKvZ4FFPGKuL598P4w OoLoOYoxLOy5znUXofEDCShiebl7vr2L5MXKDS8X1NoCHH+YsnvFyhHmoS7ALSgpBpdy 3U6vuE+8dBnv3IF4iticE1nW8VzYpPkJf+43C+ux8GoYpDulddWisKkvx/OYQez/aGBc O9bA== X-Gm-Message-State: AOAM531OckLVkHf5b+HK7LtYoJEpnuvVGwAPA+PQsbmOKX/aA69THTeL jdUnxkTq75aQOVirc7TgroOM1IaWBe5ALQ== X-Google-Smtp-Source: ABdhPJz1ZO4sFTpVrSuG6qeUAyvgTSDRVd743/U6YzbQ/Wdihb7rGvK8vO7ulWyBjheW7vhpYdhPNA== X-Received: by 2002:a1c:4645:: with SMTP id t66mr8125790wma.152.1607607272872; Thu, 10 Dec 2020 05:34:32 -0800 (PST) Received: from naushir-VirtualBox.pitowers.org ([2a00:1098:3142:14:a00:27ff:fe4d:f6a2]) by smtp.gmail.com with ESMTPSA id c129sm9395467wma.31.2020.12.10.05.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 05:34:32 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Thu, 10 Dec 2020 13:34:26 +0000 Message-Id: <20201210133426.206679-3-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201210133426.206679-1-naush@raspberrypi.com> References: <20201210133426.206679-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 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": [