From patchwork Mon Jun 8 13:36:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 3990 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1B03363CA4 for ; Mon, 8 Jun 2020 15:36:48 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="P6yZajft"; dkim-atps=neutral Received: by mail-wr1-x434.google.com with SMTP id x6so17374939wrm.13 for ; Mon, 08 Jun 2020 06:36:48 -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 :mime-version:content-transfer-encoding; bh=gOCgCMvgIRXP810ZH/BqT/Q5k89lSEk8c7T0Zet6FcA=; b=P6yZajftsXjVZrQBVeidwVWtWDVJdM02hwaHomgmmcdUGuBWx4+fvg5X5367Jrz0IK F7eli9cQd4FJQl9LUGTaxqzj/e1UNdl4foYvopkj3o5h8kjvkAYccV/2UDgBTNBeELwy Ot8wFzkcsRDupsn1zWQdP0R8zH0ytlf7ulVcujNN9HhVCb9Xvu9eK+UWc1k6M3C2SFHM 9geg+MewMEgGjWGYGMkVFAGmMxMnDjifYl8Av5KHUf1JQIKY4BlohQFGqlj9kkn5IgSb KVjnudh4jZgv1Drx1tUUxPryM+LqKmF3mscTOhZErCpRxxMXssFaUpd9y90JxvY62lRB SCBQ== 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=gOCgCMvgIRXP810ZH/BqT/Q5k89lSEk8c7T0Zet6FcA=; b=GWrhoxvAfNArJe6IXOlBaJzVYRqs58em8dtnhWIYV74ih8JBUvQBJmUSVHIAxomUyS Ufr86yRbqjY11GbCEUGG+XDwX9dbFBz3BzsZPB4GeNbzkqvJoSUbQJfc/kH1Fu12DjF+ YbnbwdCh8FMffvTi7qt9KzAMV3GFD3F27FD6E6qTXYJF3yXNLhPVAn4dGThhPKYsbGQ8 mCIK+KvtE2Jd0ivWzHBd//op+2t3WPdUfa9eRArjh6aH6VE8+v/h0OC0EiccrTCnrHeY pZmy+H3NdC5W2i1vqeKBuRKCvtQOpqVvv+pQVaxsUvf+LNlqCk8CWxcOJFFe26UcuRFD 2SaA== X-Gm-Message-State: AOAM532QITa2wkVlMAh3Hze0QSFT+uM5zDVcMDW9sm5WHvKqG2bhMUEW IGena9ZdBNPAxeRjAs0M6n4BD6p/UHY= X-Google-Smtp-Source: ABdhPJxUf4qtjCtlWdDoegoF4e68/tj64Difp0XfiSto3cm9vIZRvNeKHNj38BXrtdw9EP0yJ5G//A== X-Received: by 2002:a05:6000:10cf:: with SMTP id b15mr23101127wrx.214.1591623407538; Mon, 08 Jun 2020 06:36:47 -0700 (PDT) Received: from naushir-VirtualBox.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id o10sm23825072wrj.37.2020.06.08.06.36.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 06:36:46 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Mon, 8 Jun 2020 14:36:39 +0100 Message-Id: <20200608133639.533230-4-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608133639.533230-1-naush@raspberrypi.com> References: <20200608133639.533230-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 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: Mon, 08 Jun 2020 13:36:49 -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 --- 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": [