From patchwork Fri Dec 18 10:06:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 10680 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 82B4AC0F1A for ; Fri, 18 Dec 2020 10:07:04 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 510FD615D5; Fri, 18 Dec 2020 11:07:03 +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="eY2Z1NAo"; dkim-atps=neutral Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D8F4161593 for ; Fri, 18 Dec 2020 11:07:01 +0100 (CET) Received: by mail-wm1-x330.google.com with SMTP id y23so1949783wmi.1 for ; Fri, 18 Dec 2020 02:07:01 -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=eY2Z1NAocx9yFOiyR1wjbkFL9isX6hx1qnPwWgVBtU9thpiSYpN+xl49ptESMF/k9z TpUhVXnx9Uc9KbACmswnNrtLFcVacmwikzojclNtajGO/sG6tgTFafqV36NIzp16XO/u SfGDiYbB0MFJEP827e5MXB8SWoOvqUwWIo/Wla/kPPO3r0gl5qnvK26nV3KhupMAPPJR E2g5G4lpEFnbtlz2JhPbRa+9Pz1qV5f9/TAdUwIv1GqJW/HcLg9/GBWwfzACh68CGcua 0fJjrvn9jlqzLAzAzaafhuqSDBM6Lb/Ampdx3Cq7osAXMJfjOFHfLXvFS9dw+1fWEY0+ P0nw== 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=RRjzpbdI82GODUrIkBsL8SI7ZrtARhOXbpDjGmHLMOv+6U0Q8+wOOcxd1uA7cagJlp fT9V46Px5iMYTzAjM5AgrO81/nY+JJLwETHLGcPsxr+Zb8hPNXh4uVD2YmDDhlNEk5M9 ySxIjGJ5LqawyNSZgX9sUvrXyiOiqAFbtwe94J2QIs4VcsjzZEekSQ7wEFb+iDP+RvA3 ZU6q4NLX4ez7FCed+6WolCvDf1TiKVZmypouH1+PWI3OVrh7xgyaCBbv1VgU33nCtszT uoTvbUMyloz+PZZhSdryCbbOClFKVh4gipLNWpwL2R1FJ7lJZcCehcfUB1VcrDdjLkM9 iF4g== X-Gm-Message-State: AOAM530ajPq65ynFhX2MxyD/uP+b6kKHgdv6TNrj/4MJ8JaLU37pBwFo bi7kj3aHsrtjAzKae8p6O8EPAWtiCLUTWw== X-Google-Smtp-Source: ABdhPJzzBHjAnXlx9ly6AZFAaV1R39O8gz15byyaEmaLP0b0LPfzzs9d+boaaiQJhx/66+9yUVkHvg== X-Received: by 2002:a7b:c10e:: with SMTP id w14mr3419405wmi.161.1608286021402; Fri, 18 Dec 2020 02:07:01 -0800 (PST) Received: from naushir-VirtualBox.pitowers.org ([2a00:1098:3142:14:a00:27ff:fe4d:f6a2]) by smtp.gmail.com with ESMTPSA id c4sm11836424wmf.19.2020.12.18.02.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 02:07:00 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 18 Dec 2020 10:06:27 +0000 Message-Id: <20201218100626.205134-4-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201218100626.205134-1-naush@raspberrypi.com> References: <20201218100626.205134-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v10 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 Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- 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": [