From patchwork Thu Feb 10 11:43:13 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: 15358 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 9CEE6BDCBF for ; Thu, 10 Feb 2022 11:43:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F3C94610AD; Thu, 10 Feb 2022 12:43:22 +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="Onj1DjrC"; 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 7E65960E70 for ; Thu, 10 Feb 2022 12:43:20 +0100 (CET) Received: from tatooine.ideasonboard.com (unknown [IPv6:2a01:e0a:169:7140:c44d:925d:d63:5b07]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1A7A893; Thu, 10 Feb 2022 12:43:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1644493400; bh=VLl9ccFenZ3nk7UU1AqN6Nzpu8rkV9UXYIYlgt/BOQc=; h=From:To:Cc:Subject:Date:From; b=Onj1DjrChfbbCr2xsl0uUGiCy+djROX3mL8Rt1fv1gK6aDlDD0T664KYcS5dzYVX2 sHgS52uydyMU/ERYAFWXGsvmswDJyoryI8kKiQHABWz0W9L+6msXpd8YjeOTBjp/Qt /b9Ce/o9Mj/UoySw2oe9SuE0z6LbevRAmUshC4a0= From: Jean-Michel Hautbois To: libcamera-devel@lists.libcamera.org Date: Thu, 10 Feb 2022 12:43:13 +0100 Message-Id: <20220210114316.1151170-1-jeanmichel.hautbois@ideasonboard.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 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 In v3: - Remove all local references to lineDuration_ and use the context everywhere in IPAIPU3 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 | 8 +++ src/ipa/ipu3/ipa_context.h | 4 ++ src/ipa/ipu3/ipu3.cpp | 34 ++++++----- 5 files changed, 88 insertions(+), 63 deletions(-)