From patchwork Thu Sep 2 08:32:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 13602 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 2EE7EBD87D for ; Thu, 2 Sep 2021 08:32:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7C9F869175; Thu, 2 Sep 2021 10:32:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ieGdedYl"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DBCD360254 for ; Thu, 2 Sep 2021 10:32:11 +0200 (CEST) Received: from tatooine.ideasonboard.com (unknown [IPv6:2a01:e0a:169:7140:43b0:6633:e0bd:5dc6]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7D8A445E; Thu, 2 Sep 2021 10:32:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1630571531; bh=09aKNtwsu6OZvG6UN5NAZ4Exje0OVmFJ2tzMYf85nek=; h=From:To:Cc:Subject:Date:From; b=ieGdedYlcX/wR2N5QhKsmWE0qOmIAl/39gkBGOeAMV3e3sS7burK6PD+2KExZQUH8 hiHV0Gst7irGN2eseffibIn0m7XLfivydLdvAt0YZOZrJHG4l8XqHM/DZ8Qniu/8cZ 6N3gq/k7dOVERn7P0rkJ0UhmB4B6bEGY/bFNrDGs= From: Jean-Michel Hautbois To: libcamera-devel@lists.libcamera.org Date: Thu, 2 Sep 2021 10:32:03 +0200 Message-Id: <20210902083207.33976-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] Move and improve AWB structures 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" This is a preliminary series to introduce improvements in the AGC algorithm. Patch 1/4 moves the AWB structures to be able to use those from the ipa::ipu3::algorithms namespace (by AGC at least). Patch 2/4 renames the stats region structure to make it clear it is an accumulator structure. Patch 3/4 and 4/4 are improving the Accumulator structure to have the same layout as the IPAFrameContext::awb structure. Jean-Michel Hautbois (4): ipa: ipu3: Move the AWB stats structures ipa: ipu3: Rename IspStatsRegion to Accumulator ipa: ipu3: Replace Accumulator::uncounted to Accumulator::total ipa: ipu3: Change Accumulator structure layout src/ipa/ipu3/algorithms/awb.cpp | 58 ++++++++++++++++++++------------- src/ipa/ipu3/algorithms/awb.h | 41 ++++++++++++----------- 2 files changed, 57 insertions(+), 42 deletions(-)