From patchwork Tue Jan 19 15:30:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 10902 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 0110FC0F1C for ; Tue, 19 Jan 2021 15:30:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 799AD68165; Tue, 19 Jan 2021 16:30:56 +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="TcsBsWQx"; dkim-atps=neutral Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E8E366815A for ; Tue, 19 Jan 2021 16:30:54 +0100 (CET) Received: by mail-wr1-x42a.google.com with SMTP id w5so20125505wrm.11 for ; Tue, 19 Jan 2021 07:30:54 -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=R6nrMbyhXO9BMSJttWjg2nXYMZuCVQpLluw5KYD+yPA=; b=TcsBsWQxlWc7OiAqmsIUT5XwFIVSB40uizr04AiUacakl65DxW6IdmmQ1os0XKuQtV bWKP82gdq2Ko2vAPJNhkELWk7kHeS4ywFxWesp+hvzFIedDC5tCUQ9g/MqfES1KB82oS 87pmOKVRKluFo+EKPnxqKUFL7LOCFnrUFM7jkuoySPgyLvSxr2vmgw8GB24w4gzwRkAy CvKiTwWEDgAGFFjGPLa863oedUjx6U2+ZCv6GFMb/0SqbOpmbVbFuGVjqTmch7maQ3Z3 RmrgQmYQnADsRtWol6aECQo9k+X1DwOwZiTErumDZNtIS0tQKGrE8w2z45GvuVUCWI6Q 4dBw== 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=R6nrMbyhXO9BMSJttWjg2nXYMZuCVQpLluw5KYD+yPA=; b=rAoG525d4kni1AYAL5dsYCdJZX5iGI+eja2r80jah7l4gDfqshMRdLlq/f4Px1WWnB zSsBpJ0EmCKT8b3CJooifMB/mhwCZJIozu5L51uk57aaW7hyH8SkTS8FwzRs18Xt6n69 8NYOKUoYMwqpF8mSEF4eY1QAXwiGQqjNs0zNozPA1j9xP3cidWhyZ0xNS3Om7ecRWcrk PsdqVT3KJ+/SK1Dbnt4Kqe5bvEjn39wdWZHxPvnXSZ1X3jRLwhU7NdnMQCcMXl+MCLb+ 9SV0/i/jMKZOdB9joxet5q5mOavBMpKzP9srAP6H1EcB+nJYV51PWZNTpoo5cwWv64vj f9Dg== X-Gm-Message-State: AOAM532vpNovgeXmaTqqyUAmpzE+a4FEIr7B7RL1/N67BKB4aFe76Dc/ w2Cfwtc3nZ3W3aCK9TAsag1S4zRNe/nU9A== X-Google-Smtp-Source: ABdhPJyLeWdQRMCRZjOmlPX8jEdFwanHx3xE1sH4RVttfMNNDwNdEGY7pth4j/BGtQBglOJ7j7OdAQ== X-Received: by 2002:a5d:62c7:: with SMTP id o7mr4865287wrv.257.1611070254441; Tue, 19 Jan 2021 07:30:54 -0800 (PST) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id k9sm5373970wma.17.2021.01.19.07.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 07:30:53 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Tue, 19 Jan 2021 15:30:47 +0000 Message-Id: <20210119153047.468190-3-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210119153047.468190-1-naush@raspberrypi.com> References: <20210119153047.468190-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v12 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, allowing viewfinder framerates to go down to approx. 15fps. Set the maximum shutter speed for the sport exposure profile to 33ms, limiting the minimum framerate to approx. 30fps. 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 212f8b9af460..1ec338be2ccb 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 12fe2f418560..9bee3f16e108 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 3d8a7c8f15c7..1a354f7cb036 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": [