{"id":25952,"url":"https://patchwork.libcamera.org/api/patches/25952/?format=json","web_url":"https://patchwork.libcamera.org/patch/25952/","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":"<20260122234709.2061370-7-rui.wang@ideasonboard.com>","date":"2026-01-22T23:47:08","name":"[v11,6/7] ipa: rkisp1: algorithms: data: enable DPF tuning for sensors","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"6aadc301640e39df3288f8b424b1a5c354a82b10","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/25952/mbox/","series":[{"id":5736,"url":"https://patchwork.libcamera.org/api/series/5736/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5736","date":"2026-01-22T23:47:02","name":"refactor DPF parsing and initialization","version":11,"mbox":"https://patchwork.libcamera.org/series/5736/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/25952/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25952/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 50BFCC327D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 22 Jan 2026 23:47:38 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1712661FDC;\n\tFri, 23 Jan 2026 00:47:38 +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 75CF261FCC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 23 Jan 2026 00:47:31 +0100 (CET)","from rui-Precision-7560.local (unknown [209.216.103.65])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4A44382E;\n\tFri, 23 Jan 2026 00:46:58 +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=\"oYu5lrqM\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769125618;\n\tbh=H6QLX3JmDSgO3S30M5sws0Fyqbl6nuV22xathvJgWuY=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=oYu5lrqMSvpKZU2n1hGpAi0FKLgN6/hFeVVZ1CsDd7uY/xIloMRmmdtevEaiDJG7+\n\tcoQk0/u35XcD2qzxH+sWyZOaCHDhdRXMUAa08T7vISMBhdhpUTySv503IRSnfvz7+7\n\tbAaphM+VM3/YsM+Lt14tEavUcWOtOa6oZoj6Gdgs=","From":"Rui Wang <rui.wang@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Rui Wang <rui.wang@ideasonboard.com>","Subject":"[PATCH v11 6/7] ipa: rkisp1: algorithms: data: enable DPF tuning for\n\tsensors","Date":"Thu, 22 Jan 2026 18:47:08 -0500","Message-ID":"<20260122234709.2061370-7-rui.wang@ideasonboard.com>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20260122234709.2061370-1-rui.wang@ideasonboard.com>","References":"<20260122234709.2061370-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":"Update the RkISP1 denoise pre-filter (DPF) for the ov5640\nsensor tuning config by adding the required DPF tuning block.\n\nSigned-off-by: Rui Wang <rui.wang@ideasonboard.com>\n\n---\nchangelog since v5:   No change\n\nchangelog since v6:\n add ov5647 as strong noise sensor for verification\n\nchangelog since v7:\n - move ov5647 yaml out this commit and will add brand new commit\n - Update dpf tuning paras format , delete base config following\n   parseConfig code change\n\nchange log since v8:\n - move imx219 out to another commit\n - update DPF tuning paramter for sample\nchange log since v9:\n - Update imx219/ov5647 dpf tuning structure as new parser required\n---\n src/ipa/rkisp1/data/ov5640.yaml | 64 +++++++++++++++++++++++++--------\n 1 file changed, 50 insertions(+), 14 deletions(-)","diff":"diff --git a/src/ipa/rkisp1/data/ov5640.yaml b/src/ipa/rkisp1/data/ov5640.yaml\nindex 4b21d412..00568f8d 100644\n--- a/src/ipa/rkisp1/data/ov5640.yaml\n+++ b/src/ipa/rkisp1/data/ov5640.yaml\n@@ -232,19 +232,55 @@ algorithms:\n             green: 2\n             red-blue: 2\n   - Dpf:\n-      DomainFilter:\n-        g: [ 16, 16, 16, 16, 16, 16 ]\n-        rb: [ 16, 16, 16, 16, 16, 16 ]\n-      NoiseLevelFunction:\n-        coeff: [\n-          1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023,\n-          1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023,\n-          1023\n-        ]\n-        scale-mode: \"linear\"\n-      FilterStrength:\n-        r: 64\n-        g: 64\n-        b: 64\n+      NoiseReductionModes:\n+        NoiseReductionModeMinimal:\n+          DomainFilter:\n+            g:  [ 14, 10,  7,  4,  2,  1 ]\n+            rb: [ 14, 11,  8,  4,  2,  1 ]\n+          NoiseLevelFunction:\n+            coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392,\n+            448, 508, 572, 640, 712 ]\n+            scale-mode: \"linear\"\n+          FilterStrength:\n+            r: 60\n+            g: 60\n+            b: 60\n+        NoiseReductionModeHighQuality:\n+          DomainFilter:\n+            g:  [ 22, 18, 13,  8,  5,  2 ]\n+            rb: [ 20, 18, 16, 11,  7,  3 ]\n+          NoiseLevelFunction:\n+            coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392,\n+            448, 508, 572, 640, 712 ]\n+            scale-mode: \"linear\"\n+          FilterStrength:\n+            r: 130\n+            g: 130\n+            b: 130\n+        NoiseReductionModeFast:\n+          DomainFilter:\n+            g:  [ 16, 12,  9,  5,  3,  1 ]\n+            rb: [ 16, 13, 10,  6,  4,  2 ]\n+          NoiseLevelFunction:\n+            coeff: [ 0, 16, 32, 48, 66, 86, 108, 132, 160, 192, 228, 268,\n+            312, 360, 412, 468, 528 ]\n+            scale-mode: \"linear\"\n+          FilterStrength:\n+            r: 90\n+            g: 90\n+            b: 90\n+        NoiseReductionModeZsl:\n+          DomainFilter:\n+            g:  [ 18, 14, 10,  6,  3,  1 ]\n+            rb: [ 18, 16, 13,  9,  5,  3 ]\n+          NoiseLevelFunction:\n+            coeff: [ 0, 20, 40, 60, 82, 106, 132, 160, 192, 228, 268, 312,\n+            360, 412, 468, 528, 592 ]\n+            scale-mode: \"linear\"\n+          FilterStrength:\n+            r: 110\n+            g: 110\n+            b: 110\n+      ActiveMode: \"NoiseReductionModeHighQuality\"\n   - Filter:\n ...\n","prefixes":["v11","6/7"]}