From patchwork Wed May 13 09:11:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 3787 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A2FF060DFE for ; Wed, 13 May 2020 11:12:43 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="H7nR/8OX"; dkim-atps=neutral Received: by mail-wm1-x32b.google.com with SMTP id g12so27594580wmh.3 for ; Wed, 13 May 2020 02:12:43 -0700 (PDT) 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; bh=LHW2nB9x+abFMyGHTekGDeqkXMmqY8i4vljuUSnzCHs=; b=H7nR/8OXXZzXmgFcmNM7Crz29pHyp0WARqGbdIdvYsaffvBa1rDbwl1CxRCsXWH779 1mnCMLKnPYmrG5IagEYQ50tjSJnYlxO7iPdZsreU6+hx8Uh46iPuW9U06wx0UjzbTZru YMdRRWEmVDTn3hAvS31RAWZLOFnpjlJtEbO7vhKHfmf4pKejQwkYmvmeyxyPTsbrbCCG FsgO8tqjwHoaWG4aTd6p85/Yyljjdz5oyThAIS4HtsVDKutHAc+oHuQM+DHhiGCSQJ5b him04owUQExw3lsA8lEb2ZM1BH9trXsOv9pVE4Qe+Dcnu7UiVNCJrlsQgA+/3ylowJI4 WgjQ== 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; bh=LHW2nB9x+abFMyGHTekGDeqkXMmqY8i4vljuUSnzCHs=; b=hkMGXeiqR2KQL9VgKCdotS/jLt7ICcSJBJCtkJd8X92Y+Oegu+ws7HJOOlUlv9QewW vp1WEvGPpfy4zwDqHMvWgOAv6hBv4iEhIqcikTUr2i3N0pkONpfHoYGVyT1XXJy0DLq+ Gi//QthdyyhrEDgFHUNQ6u7Qfc4illrNcKKItPZsXE6ftUPBvUbHhgukWb8iZvznukV2 W4OXng/7MASP0S7/J9iP24dqHMl2EZjYhlglO6P03x/dxjyd3O5IEkTiM4oZao51G4AN v4a9bbwlbqg/+w2rIXc7d8u2cegjGvs8jppXXIjD7vhxKLcJixgfQ5s+dofYhDpN5DdB yS0Q== X-Gm-Message-State: AGi0PuZNI86/BqELPYVe9xU4+TQ+RvS+H8Kn47nj+gCQ6NcuGTc5hWT6 uYh3nfAq4qpUSRaQI5I5k45So7s5MTanrg== X-Google-Smtp-Source: APiQypLLekcP9NB49yechiDggjlTSETMWI9JLXUarh8wC9bQxhBRejudZxfohL2EwmvHRCDmOf3LhQ== X-Received: by 2002:a7b:c21a:: with SMTP id x26mr14737149wmi.82.1589361163148; Wed, 13 May 2020 02:12:43 -0700 (PDT) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id n128sm8500184wmb.47.2020.05.13.02.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 02:12:42 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 13 May 2020 10:11:20 +0100 Message-Id: <20200513091120.1653-4-naush@raspberrypi.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200513091120.1653-1-naush@raspberrypi.com> References: <20200513091120.1653-1-naush@raspberrypi.com> Subject: [libcamera-devel] [PATCH v2 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: , X-List-Received-Date: Wed, 13 May 2020 09:12:44 -0000 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 Acked-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 ce7ff36f..3b8b4e5e 100644 --- a/src/ipa/raspberrypi/data/imx219.json +++ b/src/ipa/raspberrypi/data/imx219.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/imx477.json b/src/ipa/raspberrypi/data/imx477.json index dce5234f..b038fb47 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 a2469059..7d0b9a1a 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": [