From patchwork Mon Nov 23 07:37:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 10459 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 C62FABE08A for ; Mon, 23 Nov 2020 07:38:31 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 33866632E2; Mon, 23 Nov 2020 08:38:31 +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="kAdO9Zfu"; dkim-atps=neutral Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 31CF160332 for ; Mon, 23 Nov 2020 08:38:30 +0100 (CET) Received: by mail-wr1-x42f.google.com with SMTP id p8so17578042wrx.5 for ; Sun, 22 Nov 2020 23:38:30 -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:mime-version :content-transfer-encoding; bh=53Xi6X9S9Q+fDKf7RexXraALb6jnpILnS1oLF5CXnnQ=; b=kAdO9ZfukRGO7ZE0T+km/s8bNXRF+4tcTLj1BRLz7/MggASib6cFOTImWrlS9v6JLy 8XTSfch338Gn/Gal1bE3bVTSFpSPwbTdxkWVErtIgWzRf7vypMurB+m5W8aNqwtwtLpL pnlZkHTIg4adMa5+sL4Rm0V8i/IKC03EHJ78ie8kSifjFKkjjGU3nGnE61IGdhqnZKjd 6TT1HZxk2LQyX/ui4T88PP9mfuXXDwQESnTRFWjia8E0oKIboQIU7+ZOxOce1EOeQepc UrygUHDCUT/uEp9Li8MUAiSJ1ltdVfLPl+D5JJ3dbsU7ckS/yFIhqbTsrAEYSSPsrtdx Sx0w== 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:mime-version :content-transfer-encoding; bh=53Xi6X9S9Q+fDKf7RexXraALb6jnpILnS1oLF5CXnnQ=; b=OzdjZ71sG8wLNkZsWuq8ftmthMpvDVArED6u2g/XRwauG1EIvA+iGKJ3Y/LFHGjrOw v+vekTYDCf7A1pKRf5VLUKmRf2HQTmwHIAQREJCNIVZr/6a/sv5Ow5BR0p8K1nCqm1Kj Bdf9Fy2Ok4JooSyHMoB44YH5TJmtviuHz+IDsOeJPNEaheNDW7ine6FKWIUVC70R9S3O o3XYwLboZoEtqnScKGew/2Znyzf3mMEP3Wb3znb1P7qqYujfoxBR5S8bXrZbqG2vGR4k bYtSUpD2bmtAsQH2mu+ROgvmsyz+sOhRGHBemfo52CqapetUotTGjMAF/7SvUt50nRgd i1VQ== X-Gm-Message-State: AOAM530hapoTkH1/0fBFQhdtxDPkOZzxg3+ikV2ZwRfMB3Zo///c7UCF AVDxY94wBnVZojycIM2Y9BxBrz8Ht5di5lqA X-Google-Smtp-Source: ABdhPJxynnKNZZsEPfPdPiTHl1fM4EgNY5FRBE/I0LeeGGFUNiyWE9mdg/4t03VDf4HBMdCGyTEEmw== X-Received: by 2002:a5d:514f:: with SMTP id u15mr28268896wrt.385.1606117109650; Sun, 22 Nov 2020 23:38:29 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id h15sm17841822wrw.15.2020.11.22.23.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Nov 2020 23:38:29 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Mon, 23 Nov 2020 07:37:54 +0000 Message-Id: <20201123073804.3125-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 00/10] Raspberry Pi AGC 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 version 2 of this patch set, addressing some small points that Naush raised - so thanks for those! Other than that, there are no changes. Thanks and best regards David David Plowman (10): libcamera: ipa: raspberrypi: agc: Use libcamera debug libcamera: ipa: raspberrypi: agc: Remove unnecessary locking libcamera: ipa: raspberrypi: agc: Rename method to divideUpExposure libcamera: ipa: raspberrypi: agc: Improve centre-weighted luminance calucation libcamera: ipa: raspberrypi: agc: Fetch AWB status only once libcamera: ipa: raspberrypi: awb: Add SwitchMode method to output AWB status libcamera: ipa: raspberrypi: agc: Report fixed exposure/gain values during SwitchMode libcamera: src: ipa: raspberrypi: agc: Fix uninitialised members in Agc constructor libcamera: src: ipa: raspberrypi: agc: Improve gain update calculation for partly saturated images libcamera: src: ipa: raspberrypi: agc: Improve AE locked logic src/ipa/raspberrypi/controller/rpi/agc.cpp | 397 ++++++++++++--------- src/ipa/raspberrypi/controller/rpi/agc.hpp | 17 +- src/ipa/raspberrypi/controller/rpi/awb.cpp | 14 + src/ipa/raspberrypi/controller/rpi/awb.hpp | 1 + 4 files changed, 250 insertions(+), 179 deletions(-)