From patchwork Fri Feb 20 22:16:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Wang X-Patchwork-Id: 26223 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 0CABDC31E9 for ; Fri, 20 Feb 2026 22:17:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BADA662275; Fri, 20 Feb 2026 23:17:04 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="b6qkVRcg"; 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 034E362295 for ; Fri, 20 Feb 2026 23:16:59 +0100 (CET) Received: from rui-Precision-7560.tail5b760b.ts.net (unknown [209.216.103.65]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7171AD2D; Fri, 20 Feb 2026 23:16:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1771625765; bh=oeF574Cvf3st9OG5vkqJ6WwZj8dnMf4GTLONG+JKoEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b6qkVRcg69EDJ9V2QEDrMfGUY6n3CDvIOTJqJUb9aHCAsvkKj9V4QmxgSHcCNc1qe ul2IBXTYiaSSsjpOoQ/SpN+9LoHHpy1hAugDZ2RMRzj4EH7WmfEa8zJ71TgZTuUuZM U+0XBnvBJDDtZmlVhuxn62aFVnmIBPZawvq1Df4I= From: Rui Wang To: libcamera-devel@lists.libcamera.org Cc: Rui Wang Subject: [PATCH v2 7/7] ipa: rkisp1: imx219: Add Filter tuning with manual noise reduction mode Date: Fri, 20 Feb 2026 17:16:36 -0500 Message-ID: <20260220221636.216353-8-rui.wang@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260220221636.216353-1-rui.wang@ideasonboard.com> References: <20260220221636.216353-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 Filter tuning section to imx219 with NoiseReductionModes (including Manual) - AddSharpness levels, Signed-off-by: Rui Wang --- 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..a3b5b0d2 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, ] + + - Filter: + NoiseReductionModes: + NoiseReductionModeFast: + [mode: 1, lum_weight: 2, thresh_sh0: 36, thresh_sh1: 51, thresh_bl0: 23, thresh_bl1: 10, grn_stage1: 4, chr_v_mode: 3, chr_h_mode: 3, fac_sh0: 4, fac_sh1: 4, fac_mid: 4, fac_bl0: 2, fac_bl1: 0] + NoiseReductionModeHighQuality: + [mode: 1, lum_weight: 2, thresh_sh0: 36, thresh_sh1: 51, thresh_bl0: 23, thresh_bl1: 10, grn_stage1: 4, chr_v_mode: 3, chr_h_mode: 3, fac_sh0: 4, fac_sh1: 4, fac_mid: 4, fac_bl0: 2, fac_bl1: 0] + NoiseReductionModeMinimal: + [mode: 1, lum_weight: 2, thresh_sh0: 18, thresh_sh1: 33, thresh_bl0: 8, thresh_bl1: 2, grn_stage1: 6, chr_v_mode: 3, chr_h_mode: 3, fac_sh0: 4, fac_sh1: 4, fac_mid: 4, fac_bl0: 2, fac_bl1: 0] + NoiseReductionModeManual: + [mode: 1, lum_weight: 2, thresh_sh0: 36, thresh_sh1: 51, thresh_bl0: 23, thresh_bl1: 10, grn_stage1: 4, chr_v_mode: 3, chr_h_mode: 3, fac_sh0: 4, fac_sh1: 4, fac_mid: 4, fac_bl0: 2, fac_bl1: 0] + NoiseReductionModeZSL: + [mode: 1, lum_weight: 2, thresh_sh0: 36, thresh_sh1: 51, thresh_bl0: 23, thresh_bl1: 10, grn_stage1: 4, chr_v_mode: 3, chr_h_mode: 3, fac_sh0: 4, fac_sh1: 4, fac_mid: 4, fac_bl0: 2, fac_bl1: 0] + Sharpness: + - [fac_sh0: 4, fac_sh1: 4, fac_mid: 4, fac_bl0: 2, fac_bl1: 0] # level 0 + - [fac_sh0: 7, fac_sh1: 8, fac_mid: 6, fac_bl0: 2, fac_bl1: 0] # level 1 + - [fac_sh0: 10, fac_sh1: 12, fac_mid: 8, fac_bl0: 4, fac_bl1: 0] # level 2 + - [fac_sh0: 12, fac_sh1: 16, fac_mid: 10, fac_bl0: 6, fac_bl1: 2] # level 3 + - [fac_sh0: 16, fac_sh1: 22, fac_mid: 12, fac_bl0: 8, fac_bl1: 4] # level 4 + - [fac_sh0: 20, fac_sh1: 27, fac_mid: 16, fac_bl0: 10, fac_bl1: 4] # level 5 + - [fac_sh0: 26, fac_sh1: 32, fac_mid: 19, fac_bl0: 12, fac_bl1: 6] # level 6 + - [fac_sh0: 30, fac_sh1: 38, fac_mid: 23, fac_bl0: 16, fac_bl1: 8] # level 7 + - [fac_sh0: 36, fac_sh1: 44, fac_mid: 29, fac_bl0: 21, fac_bl1: 13] # level 8 + - [fac_sh0: 42, fac_sh1: 48, fac_mid: 34, fac_bl0: 26, fac_bl1: 20] # level 9 + - [fac_sh0: 48, fac_sh1: 63, fac_mid: 40, fac_bl0: 36, fac_bl1: 32] # level 10 ...