From patchwork Fri Apr 5 14:53:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 19860 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 95747C327C for ; Fri, 5 Apr 2024 14:53:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8583C63368; Fri, 5 Apr 2024 16:53:57 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Nr7XxUHe"; 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 4B91163363 for ; Fri, 5 Apr 2024 16:53:54 +0200 (CEST) Received: from pyrite.hamster-moth.ts.net (h175-177-049-156.catv02.itscom.jp [175.177.49.156]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8A1A563B; Fri, 5 Apr 2024 16:53:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1712328795; bh=+ljZJt4yfW4RM+kzg5EmTmM/qLsK9Cdiiz6LFav08EE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nr7XxUHeSzebITHmmBfdqNeskvOmdZ63T4ZtzetJ5EjdgHWgrnRf1cQVbSa9/fT6R 5Xu2N+p3l6miFAxuSUUPGRxn38pK6zqZORWD6H76i64zvMop22fUOzXR+69YKOvC+G kzY/zaQGW3a1lrk48WX3YfQ2C9l9y+s7uua3dLnA= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Paul Elder Subject: [PATCH 4/5] utils: tuning: rkisp1: Add skeletal CTK to the rkisp1 tuning script Date: Fri, 5 Apr 2024 23:53:34 +0900 Message-Id: <20240405145335.3010479-5-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240405145335.3010479-1-paul.elder@ideasonboard.com> References: <20240405145335.3010479-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 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" Add the skeletal CTK module to the rkisp1 tuning script. For now it just spits out hardcoded values. Signed-off-by: Paul Elder Reviewed-by: Stefan Klug --- utils/tuning/rkisp1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/tuning/rkisp1.py b/utils/tuning/rkisp1.py index d42646de..e08ddf02 100755 --- a/utils/tuning/rkisp1.py +++ b/utils/tuning/rkisp1.py @@ -12,6 +12,7 @@ from libtuning.parsers import YamlParser from libtuning.generators import YamlOutput from libtuning.modules.lsc import LSCRkISP1 from libtuning.modules.agc import AGCRkISP1 +from libtuning.modules.ccm import CTKRkISP1 tuner = lt.Tuner('RkISP1') tuner.add(LSCRkISP1( @@ -34,9 +35,10 @@ tuner.add(LSCRkISP1( smoothing_function=lt.smoothing.MedianBlur(3), )) tuner.add(AGCRkISP1(debug=[lt.Debug.Plot], hw_rev='V10')) +tuner.add(CTKRkISP1(debug=[lt.Debug.Plot])) tuner.set_input_parser(YamlParser()) tuner.set_output_formatter(YamlOutput()) -tuner.set_output_order([AGCRkISP1, LSCRkISP1]) +tuner.set_output_order([AGCRkISP1, LSCRkISP1, CTKRkISP1]) if __name__ == '__main__': sys.exit(tuner.run(sys.argv))