From patchwork Thu Feb 25 17:01:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 11380 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 40279BD1F1 for ; Thu, 25 Feb 2021 17:01:49 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 999F468A50; Thu, 25 Feb 2021 18:01:48 +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="Y3M05azJ"; dkim-atps=neutral Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F423D6040F for ; Thu, 25 Feb 2021 18:01:46 +0100 (CET) Received: by mail-wr1-x432.google.com with SMTP id d11so5953530wrj.7 for ; Thu, 25 Feb 2021 09:01:46 -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=Ks3oD9Cyi39gszy7GlLg2tndKQPnZZ0YanSUHJSXzJ8=; b=Y3M05azJwqUvOaKGgLb6IK8N9XhfLqdokX2ErNtZeJWQNBRQLzhEQ5kDgVgiwIMtMf QTkzDT8QbUKP7qtOhvAYGmgkA46cRjxl5tEZCWxJ8T7hdAQvDkN+u8LNG0nug+aMUfWh 0ARyjf2bhJU5pQPgz7mggz3Nr9eLYN1PtnVuZOFWBnAOdlaBS5ui2wxV3klilqAheHBf gjXhM4agsgcCpEirMh8b+qCuR9eXyoUBcfFDEVBgggqpHtwJAfROklIWW1i8FandnmQ0 GztygII+igDMpfY9kTu6WlU+wc0KPbrg460UVAKzzJcPXm1jO2EQiQY3AYiaYR3OCpRi e15A== 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=Ks3oD9Cyi39gszy7GlLg2tndKQPnZZ0YanSUHJSXzJ8=; b=NZKCKWj53KrV8QSdKN350gNxR0V+w1NmcZogxqDXGl/7/1t4zSCIZM9yQocyGcGyGk OmEexRF8Hlth3gHtMHh38Kni1GAkTgPtzKm2b8LIqGuAQhfgjvCHd7iuGK6Jv6EPXo8F b8SCQwUN9jU+99wlF4Giseq0GCChZWDZEzIyMCbBBJgnuGguglNfZtINybnkQF79KjpM mRtnoOZvPnML9gzNMmkokc5UWb7XqFBZ0GDq9LL9fFhlPljT4zx6hFQTEI/g+nR2+8aZ 2lTQ0sSzoyyPY0iKRxv4bco6JWJUf657Hidew9V7QivpXqzHRy0NwDfR/bKj2nQO9Jeu GyFw== X-Gm-Message-State: AOAM533c98gVeCbTkmGoHv29LbtgZ4iPBCX56d0bNQXOLRYxLIPT/N1W p8UIMAgekvhb/AuHNwtxO/De1ZlR0ss6OZTH X-Google-Smtp-Source: ABdhPJzqrKtqZjDnZCyNSpMCg+wJg/o80r3pkiv9jnKvvH5KUxhIbmV0uX6BRh3OQ19CPT+dk7Hi2Q== X-Received: by 2002:a5d:4905:: with SMTP id x5mr4386001wrq.201.1614272506088; Thu, 25 Feb 2021 09:01:46 -0800 (PST) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id e3sm1526337wrt.12.2021.02.25.09.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 09:01:45 -0800 (PST) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Thu, 25 Feb 2021 17:01:39 +0000 Message-Id: <20210225170141.5184-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] Raspberry Pi AWB tidying 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 These two small patches complete some tidying up that I evidently did a rather poor job of a long time ago, perhaps even before libcamera (was there ever such a time??). The first patch removes some code that is unused, but makes no functional change. The second patch fixes up some slightly broken behaviour that I'd managed to leave behind, though it's not the kind of thing you would ever really see. Still, if nothing else the code is easier to understand if it behaves like it was intended! Thanks David David Plowman (2): ipa: raspberrypi: AWB: Remove unused code ipa: raspberrypi: AWB: Ignore invalid statistics zones correctly src/ipa/raspberrypi/controller/rpi/awb.cpp | 7 +++---- src/ipa/raspberrypi/controller/rpi/awb.hpp | 7 +------ 2 files changed, 4 insertions(+), 10 deletions(-)