{"id":26223,"url":"https://patchwork.libcamera.org/api/patches/26223/?format=json","web_url":"https://patchwork.libcamera.org/patch/26223/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260220221636.216353-8-rui.wang@ideasonboard.com>","date":"2026-02-20T22:16:36","name":"[v2,7/7] ipa: rkisp1: imx219: Add Filter tuning with manual noise reduction mode","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"7374dc4e9430b46a3dc7cb40242be4ef0788e79b","submitter":{"id":241,"url":"https://patchwork.libcamera.org/api/people/241/?format=json","name":"Rui Wang","email":"rui.wang@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26223/mbox/","series":[{"id":5806,"url":"https://patchwork.libcamera.org/api/series/5806/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5806","date":"2026-02-20T22:16:29","name":"ipa: rkisp1: make Filter tuning-driven and add manual controls","version":2,"mbox":"https://patchwork.libcamera.org/series/5806/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/26223/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26223/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 0CABDC31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 20 Feb 2026 22:17:05 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BADA662275;\n\tFri, 20 Feb 2026 23:17:04 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 034E362295\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Feb 2026 23:16:59 +0100 (CET)","from rui-Precision-7560.tail5b760b.ts.net (unknown\n\t[209.216.103.65])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7171AD2D;\n\tFri, 20 Feb 2026 23:16:04 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"b6qkVRcg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1771625765;\n\tbh=oeF574Cvf3st9OG5vkqJ6WwZj8dnMf4GTLONG+JKoEc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=b6qkVRcg69EDJ9V2QEDrMfGUY6n3CDvIOTJqJUb9aHCAsvkKj9V4QmxgSHcCNc1qe\n\tul2IBXTYiaSSsjpOoQ/SpN+9LoHHpy1hAugDZ2RMRzj4EH7WmfEa8zJ71TgZTuUuZM\n\tU+0XBnvBJDDtZmlVhuxn62aFVnmIBPZawvq1Df4I=","From":"Rui Wang <rui.wang@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Rui Wang <rui.wang@ideasonboard.com>","Subject":"[PATCH v2 7/7] ipa: rkisp1: imx219: Add Filter tuning with manual\n\tnoise 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","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"- Add Filter tuning section to imx219 with NoiseReductionModes (including Manual)\n - AddSharpness levels,\n\nSigned-off-by: Rui Wang <rui.wang@ideasonboard.com>\n---\n src/ipa/rkisp1/data/imx219.yaml | 25 +++++++++++++++++++++++++\n 1 file changed, 25 insertions(+)","diff":"diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml\nindex 0d99cb52..a3b5b0d2 100644\n--- a/src/ipa/rkisp1/data/imx219.yaml\n+++ b/src/ipa/rkisp1/data/imx219.yaml\n@@ -111,4 +111,29 @@ algorithms:\n                1438, 1226, 1059, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1025, 1054, 1185,\n                1326, 1334, 1334,\n              ]\n+  \n+  - Filter:\n+      NoiseReductionModes:\n+        NoiseReductionModeFast: \n+          [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]\n+        NoiseReductionModeHighQuality: \n+          [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]\n+        NoiseReductionModeMinimal: \n+          [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]\n+        NoiseReductionModeManual: \n+          [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]\n+        NoiseReductionModeZSL: \n+          [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]\n+      Sharpness:\n+        - [fac_sh0:  4, fac_sh1:  4, fac_mid:  4, fac_bl0:  2, fac_bl1:  0]  # level 0\n+        - [fac_sh0:  7, fac_sh1:  8, fac_mid:  6, fac_bl0:  2, fac_bl1:  0]  # level 1\n+        - [fac_sh0: 10, fac_sh1: 12, fac_mid:  8, fac_bl0:  4, fac_bl1:  0]  # level 2\n+        - [fac_sh0: 12, fac_sh1: 16, fac_mid: 10, fac_bl0:  6, fac_bl1:  2]  # level 3\n+        - [fac_sh0: 16, fac_sh1: 22, fac_mid: 12, fac_bl0:  8, fac_bl1:  4]  # level 4\n+        - [fac_sh0: 20, fac_sh1: 27, fac_mid: 16, fac_bl0: 10, fac_bl1:  4]  # level 5\n+        - [fac_sh0: 26, fac_sh1: 32, fac_mid: 19, fac_bl0: 12, fac_bl1:  6]  # level 6\n+        - [fac_sh0: 30, fac_sh1: 38, fac_mid: 23, fac_bl0: 16, fac_bl1:  8]  # level 7\n+        - [fac_sh0: 36, fac_sh1: 44, fac_mid: 29, fac_bl0: 21, fac_bl1: 13]  # level 8\n+        - [fac_sh0: 42, fac_sh1: 48, fac_mid: 34, fac_bl0: 26, fac_bl1: 20]  # level 9\n+        - [fac_sh0: 48, fac_sh1: 63, fac_mid: 40, fac_bl0: 36, fac_bl1: 32]  # level 10\n ...\n","prefixes":["v2","7/7"]}