From patchwork Tue Feb 10 14:19:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Wang X-Patchwork-Id: 26127 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 F1C3EC3292 for ; Tue, 10 Feb 2026 14:19:52 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 80795621B6; Tue, 10 Feb 2026 15:19:52 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Ks262R9i"; 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 021226218B for ; Tue, 10 Feb 2026 15:19:48 +0100 (CET) Received: from rui-Precision-7560.tail5b760b.ts.net (unknown [209.216.103.65]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AE7131E2E; Tue, 10 Feb 2026 15:19:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1770733142; bh=NyfttAZDUB/oQhkVF4exhiq7r/8HcAtj75S7iQ3vmng=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ks262R9iyyOkDFYXRTTptkUbX3IpFJKsB0DcM9pOjq2XGPLXD0gX1hqq6LIQThJYl i98eR99MnAewqCu3i2gzZBWbkYjxD3utumE4aasq4tbbtSBIsWgipdvDuEvA0/li+e T+WMiFhvj/Rc9V1BYsSNNCNPZQpDbMYyK6tO/EQI= From: Rui Wang To: libcamera-devel@lists.libcamera.org Cc: Rui Wang , Jacopo Mondi Subject: [PATCH v14 7/7] ipa: rkisp1: algorithms: imx219: Add Dpf tuning data Date: Tue, 10 Feb 2026 09:19:25 -0500 Message-ID: <20260210141925.547284-8-rui.wang@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260210141925.547284-1-rui.wang@ideasonboard.com> References: <20260210141925.547284-1-rui.wang@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 Dpf tuning data to the RkISP1 version of the imx219 tuning file. - Add support for two configuration modes - Set "HighQuality" by default. Signed-off-by: Rui Wang Acked-by: Jacopo Mondi --- changelog since v7 : - move imx219 dpf tuning config - update tuning parameters since "key" update changelog since v9: - Update dpf tuning config regarding reduction mode format from list to dictionary - add ActiveMode for dpf default mode changelog since v10: - Modify ReductionMinimal - > NoiseReductionModeMinimal since parser code update changelog since v11: - Change "ActiveMode" to "activeMode" changelog since v12: - delete ov5647 tuning config - delete build config for ov5647 changelog since v13: - Update commit message as Code review comments --- src/ipa/rkisp1/data/imx219.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml index 0d99cb52..9a985e7f 100644 --- a/src/ipa/rkisp1/data/imx219.yaml +++ b/src/ipa/rkisp1/data/imx219.yaml @@ -111,4 +111,29 @@ algorithms: 1438, 1226, 1059, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1025, 1054, 1185, 1326, 1334, 1334, ] + - Dpf: + NoiseReductionModes: + NoiseReductionModeMinimal: + DomainFilter: + g: [ 14, 10, 7, 4, 2, 1 ] + rb: [ 14, 10, 8, 4, 2, 1 ] + NoiseLevelFunction: + coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392, 448, 508, 572, 640, 712 ] + scale-mode: "linear" + FilterStrength: + r: 60 + g: 60 + b: 60 + NoiseReductionModeHighQuality: + DomainFilter: + g: [ 12, 10, 8, 3, 2, 1 ] + rb: [ 12, 10, 8, 3, 2, 1 ] + NoiseLevelFunction: + coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392, 448, 508, 572, 640, 712 ] + scale-mode: "linear" + FilterStrength: + r: 130 + g: 130 + b: 130 + activeMode: "NoiseReductionModeHighQuality" ...