From patchwork Wed Sep 22 13:29:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 13884 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 49A05BF01C for ; Wed, 22 Sep 2021 13:29:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6A3516918E; Wed, 22 Sep 2021 15:29:26 +0200 (CEST) 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="AydgxZtZ"; 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 95D4C6917F for ; Wed, 22 Sep 2021 15:29:24 +0200 (CEST) Received: by mail-wr1-x42a.google.com with SMTP id q26so6800634wrc.7 for ; Wed, 22 Sep 2021 06:29:24 -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:mime-version :content-transfer-encoding; bh=3O7vb/y5w+PlZ6C55BdlW43CM2S1e8GRmcALN14eAdI=; b=AydgxZtZPRaw4LepVKE6US7C77YDGyT9K+1s2K4YpKzRln5TUgHAyQlcp3ArDse7Ep y8IwJTMezUe/gADN48EMUBWCcWUp6zXID+c8Dy+5mZzX/r3H7Qu0dlr8ZJE0/F2eyDA2 5OdVUAbCvC9jHdQJ7JmcIoMtMCDnLAKHZmNALdLxtxW4oymoJPo+Sh/eW+uE0iCJzXIR BguaFvrsxXmnHfRl6RzXPaCGAj3+8o+VnYOaLI6RGz9H87fzs+SysdV8luu0XXF/VRbw bihmb7C+PaKYmzRq6u37M5udZEYXSebEIrkzsPSucneYUU7nBqDBK0pqZX8ys0IRH4hW 0E3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3O7vb/y5w+PlZ6C55BdlW43CM2S1e8GRmcALN14eAdI=; b=ppvfTBh8Uqm687LazYSMXqEKIG/a9mUXH6DzYAxarBfIoXP9NvozCg8kvrkUgjwh6M FC+zGsbesGSijBGRI1X/f2l5xfSxOtIzqA6Ug4ckCcXtbEMciJaFMeMX9mcv3Q3G5npH 1X1uT8qXA01baKS40XshdNNA+m0mLt9cCj6yXh7v5KgldxYzehZ6gfXGIs/lyYpDQEX2 8wcRWHVk3CrlotcxOnGMkZ4iWY3XIPy3dgR1SMw2X9SwuLt/ahYzrvqAo/ntIMDxCo1Z pUgbJfvJCCz70/zzQlC0rYzSjj1cmyL/o49wSXMwkBLXXw32etSmjwwLkZx0QH0ejSXS 0XXA== X-Gm-Message-State: AOAM531qPkC28rNnvuxkY6t+z+sioJ9vqZFDorBVG1hcSXOlP+qG614a f4a7UZPQQlO9KPFMG2jhJb3iwgP9LU+bFX5Y X-Google-Smtp-Source: ABdhPJxPgMfov3QjLjkTRes8s5vNMvQtKfnSI6yIW9n3TFA7CJazNQL6EH1rhBAsxGKQHl1DzySa6A== X-Received: by 2002:a05:600c:4f4c:: with SMTP id m12mr10207268wmq.164.1632317363664; Wed, 22 Sep 2021 06:29:23 -0700 (PDT) Received: from pi4-davidp.pitowers.org ([2a00:1098:3142:14:1ce1:9965:4328:89c4]) by smtp.gmail.com with ESMTPSA id q126sm5776310wma.10.2021.09.22.06.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 06:29:23 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Wed, 22 Sep 2021 14:29:13 +0100 Message-Id: <20210922132915.14881-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] Application support for per-mode sensitivities 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" Hi everyone Here's that rather old patch set that I sent a "nudge" round for a short while ago. It didn't seem to be applying cleanly any more so I thought a rebase might be worthwhile. Anyway, there are no changes over the original version except for some fixed capitalisation in the commit messages! So we still have 2 patches: the first adds a modeSensitivity field to the CameraConfiguration, and the second causes the Raspberry Pi PH to fill it in. Thanks David David Plowman (2): libcamera: camera: Add a mode sensitivity field libcamera: raspberrypi: Fetch correct value for sensor's modeSensitivity include/libcamera/camera.h | 2 ++ include/libcamera/ipa/raspberrypi.mojom | 7 ++++++- src/ipa/raspberrypi/raspberrypi.cpp | 7 +++++-- src/libcamera/camera.cpp | 16 +++++++++++++++- .../pipeline/raspberrypi/raspberrypi.cpp | 10 +++++++--- 5 files changed, 35 insertions(+), 7 deletions(-)