From patchwork Wed Sep 30 14:16:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 28392 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 F398BBDCB2 for ; Wed, 30 Sep 2026 14:16:39 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id ADD9068AA9; Wed, 30 Sep 2026 16:16:38 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ri3gqvTH"; 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 AC8FF68A6B for ; Wed, 30 Sep 2026 16:16:36 +0200 (CEST) Received: from pb-laptop.local (185.182.214.55.nat.pool.zt.hu [185.182.214.55]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A04A9981 for ; Wed, 30 Sep 2026 16:14:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1790777684; bh=bs88ppAKoRWXRA1O8sgaJFBalBsvjunClBBy21CJ098=; h=From:To:Subject:Date:From; b=ri3gqvTHeGqBn0U2TxjnLTTgiqqyhF2npxQsUAbYIap0Z4z08HKBg2OFQjaDV1yU+ 4J+wte5zj4pbT6aDTQTXYQwpstIWGH7Gae3kkCJuL3xfRtleLfRQmwpws7Dd6Ffiy7 kcF+gikyKUg0p/Nw/4HdE5kywQPLdQ5gln6JuHyU= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] ipa: {rkisp1, mali-c55}: Expand uncalibrated tuning files Date: Wed, 30 Sep 2026 16:16:33 +0200 Message-ID: <20260930141633.363166-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.55.0 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" The `Ccm` algorithm provides the manual `ColourCorrectionMatrix` control even without any specific tuning, which can be useful. And gamma correction provides the manual `Gamma` control, with a default of 2.2, without which most image will seem too dark. So these two algorithms usually have no reason to be missing even without any sensor specific tuning data. So add them to the rkisp1 and mali-c55 default tuning files. Signed-off-by: Barnabás Pőcze --- src/ipa/mali-c55/data/uncalibrated.yaml | 1 + src/ipa/rkisp1/data/uncalibrated.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ipa/mali-c55/data/uncalibrated.yaml b/src/ipa/mali-c55/data/uncalibrated.yaml index 6dcc0295ca..05c7b448ce 100644 --- a/src/ipa/mali-c55/data/uncalibrated.yaml +++ b/src/ipa/mali-c55/data/uncalibrated.yaml @@ -4,4 +4,5 @@ version: 1 algorithms: - Agc: + - Ccm: ... diff --git a/src/ipa/rkisp1/data/uncalibrated.yaml b/src/ipa/rkisp1/data/uncalibrated.yaml index 609012967e..3057df83b0 100644 --- a/src/ipa/rkisp1/data/uncalibrated.yaml +++ b/src/ipa/rkisp1/data/uncalibrated.yaml @@ -6,4 +6,6 @@ algorithms: - Agc: - Awb: - BlackLevelCorrection: + - Ccm: + - GammaOutCorrection: ...