From patchwork Mon Feb 7 13:59:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 15334 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 81EDDBDCBF for ; Mon, 7 Feb 2022 13:59:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9A7E36106C; Mon, 7 Feb 2022 14:59:44 +0100 (CET) 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="FSXPomDd"; 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 437E260E58 for ; Mon, 7 Feb 2022 14:59:42 +0100 (CET) Received: from tatooine.ideasonboard.com (unknown [IPv6:2a01:e0a:169:7140:f807:d5e7:1307:1df2]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D2424499; Mon, 7 Feb 2022 14:59:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1644242381; bh=zInMQLVsPgD8hoo+mul5aYLR3EbK0afO4I6L8zbMzSk=; h=From:To:Cc:Subject:Date:From; b=FSXPomDdEWctpXb9v8av0KZPn+OSMOailnCq7nGeOe3oZAKzKn/PVmGT9qKsVBDUV ZYWi8McPnDV7Gxbtupjb5wBgJRswk+YZP0IrAcNZvxixi5H0pUT4GVrfMiQ3guC3cb C3BCbDZ6yVKV/g5U6WPOgqgDIcmmN2hN3UOqFjiQ= From: Jean-Michel Hautbois To: libcamera-devel@lists.libcamera.org Date: Mon, 7 Feb 2022 14:59:34 +0100 Message-Id: <20220207135937.221226-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/3] ipa: ipu3: Misc clean up 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" Hello, While working on AGC porting from IPU3 to RkISP1, a few minor changes were proposed to clean the variables and function usage. Report those changes in IPU3. In v2: - Correct the filterExposure() calculation to use the same as RkISP1 - Rewrite some comments - Remove the caching of analogue gain and exposure Jean-Michel Hautbois (3): ipa: ipu3: Return filtered value ipa: ipu3: Shorten exposure and gain lines ipa: ipu3: agc: Introduce lineDuration in IPASessionConfiguration src/ipa/ipu3/algorithms/agc.cpp | 99 ++++++++++++++++++--------------- src/ipa/ipu3/algorithms/agc.h | 6 +- src/ipa/ipu3/ipa_context.cpp | 3 + src/ipa/ipu3/ipa_context.h | 1 + src/ipa/ipu3/ipu3.cpp | 7 ++- 5 files changed, 66 insertions(+), 50 deletions(-)