From patchwork Fri Apr 5 14:53:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 19856 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 87791BD16B for ; Fri, 5 Apr 2024 14:53:49 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4B55663334; Fri, 5 Apr 2024 16:53:48 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="EzbollH0"; 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 F037461C29 for ; Fri, 5 Apr 2024 16:53:46 +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 2EFD563B; Fri, 5 Apr 2024 16:53:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1712328788; bh=0IYxwpouriqWV0vgLBnyb5ZrwgOVAbAvr15WlKVAxfU=; h=From:To:Cc:Subject:Date:From; b=EzbollH0ewdltR4fOuG7KylXmMUo6/4/0mbZ9ub3L/o/ZLwj7TXoE7VfgY6GLKWf3 IW134LSItliX4nAY2cBkYxaxxGdccfI4vd13CqS9QcijMvlnlFaoQTDLYzQ3dhF+AJ cWaQFHRrTM5lH+PSY1EpWzzpYLlu/Nony+dt10Tg= From: Paul Elder To: libcamera-devel@lists.libcamera.org Cc: Paul Elder Subject: [PATCH 0/5] utils: tuning: Add AGC and CCM Date: Fri, 5 Apr 2024 23:53:30 +0900 Message-Id: <20240405145335.3010479-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.39.2 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" This series adds skeletal tuning modules for AGC and CCM/CTK (color correction matrix / crosstalk correction), mainly for rkisp1. They are hardcoded values for now, copied from ctt. This also adds a tuning file for the imx335 for rkisp1. Paul Elder (5): utils: libtuning: modules: Add skeletal AGC module utils: tuning: rkisp1: Add skeletal AGC to the rkisp1 tuning script utils: libtuning: modules: Add skeletal CCM module utils: tuning: rkisp1: Add skeletal CTK to the rkisp1 tuning script ipa: rkisp1: data: Add hardcoded tuning file for imx335 src/ipa/rkisp1/data/imx335.yaml | 145 ++++++++++++++++++ src/ipa/rkisp1/data/meson.build | 1 + .../tuning/libtuning/modules/agc/__init__.py | 6 + utils/tuning/libtuning/modules/agc/agc.py | 24 +++ utils/tuning/libtuning/modules/agc/rkisp1.py | 95 ++++++++++++ .../tuning/libtuning/modules/ccm/__init__.py | 6 + utils/tuning/libtuning/modules/ccm/ccm.py | 22 +++ utils/tuning/libtuning/modules/ccm/rkisp1.py | 75 +++++++++ utils/tuning/rkisp1.py | 6 +- 9 files changed, 379 insertions(+), 1 deletion(-) create mode 100644 src/ipa/rkisp1/data/imx335.yaml create mode 100644 utils/tuning/libtuning/modules/agc/__init__.py create mode 100644 utils/tuning/libtuning/modules/agc/agc.py create mode 100644 utils/tuning/libtuning/modules/agc/rkisp1.py create mode 100644 utils/tuning/libtuning/modules/ccm/__init__.py create mode 100644 utils/tuning/libtuning/modules/ccm/ccm.py create mode 100644 utils/tuning/libtuning/modules/ccm/rkisp1.py