{"id":26070,"url":"https://patchwork.libcamera.org/api/1.1/patches/26070/?format=json","web_url":"https://patchwork.libcamera.org/patch/26070/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20260201191607.2740223-8-rui.wang@ideasonboard.com>","date":"2026-02-01T19:16:07","name":"[v12,7/7] ipa: rkisp1: algorithms: data: Add OV5647/IMX219 tuning file","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"3b9270c18cf1dbe8172c77693aec5da1bb81bfaf","submitter":{"id":241,"url":"https://patchwork.libcamera.org/api/1.1/people/241/?format=json","name":"Rui Wang","email":"rui.wang@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26070/mbox/","series":[{"id":5764,"url":"https://patchwork.libcamera.org/api/1.1/series/5764/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5764","date":"2026-02-01T19:16:00","name":"refactor DPF parsing and initialization","version":12,"mbox":"https://patchwork.libcamera.org/series/5764/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/26070/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26070/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 33B26C32EA\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  1 Feb 2026 19:16:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E529D61FF6;\n\tSun,  1 Feb 2026 20:16:33 +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 8214361FF5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  1 Feb 2026 20:16:29 +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 136A3492;\n\tSun,  1 Feb 2026 20:15:48 +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=\"ibdt3isX\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769973349;\n\tbh=+631PZj/8JWsQ4cF05xjVyS14K+lj6t+Eutl+CQdFkw=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=ibdt3isXdPbKMMeAEBOK5iXcC22A1Gf9joSYU99RQ5+plbm6eKwdkgPhzPUCOM4K9\n\tXiwh+hkaLc03RdiMxeYDGYyKRKVPtHhNWrJ3o+YxT5JKS6hQHzXtxaeGELx0jjLNg3\n\tZ6XzCFrFDBsX3a2zX5WfKJ/L7GG35c4oHQX5JINo=","From":"Rui Wang <rui.wang@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Rui Wang <rui.wang@ideasonboard.com>","Subject":"[PATCH v12 7/7] ipa: rkisp1: algorithms: data: Add OV5647/IMX219\n\ttuning file","Date":"Sun,  1 Feb 2026 14:16:07 -0500","Message-ID":"<20260201191607.2740223-8-rui.wang@ideasonboard.com>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20260201191607.2740223-1-rui.wang@ideasonboard.com>","References":"<20260201191607.2740223-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 a new tuning configuration file for the OmniVision OV5647 sensor.\nThis includes initial settings for DPF algorithms.\n\nRegister the new tuning file in the build system.\n\nAdd Dpf tuning config into Imx219\n\nSigned-off-by: Rui Wang <rui.wang@ideasonboard.com>\n\n---\n changelog since v7 :\n  - move imx219 dpf tuning config\n  - update tuning parameters since \"key\" update\n\n changelog since v9:\n  - Update dpf tuning config regarding reduction mode format\n    from  list to dictionary\n  - add ActiveMode for dpf default mode\n\n changelog since v10:\n  - Modify ReductionMinimal - > NoiseReductionModeMinimal\n  since parser code update\n changelog since v11:\n  - Change  \"ActiveMode\" to \"activeMode\"\n---\n src/ipa/rkisp1/data/imx219.yaml | 25 ++++++++++++++++++++++++\n src/ipa/rkisp1/data/meson.build |  1 +\n src/ipa/rkisp1/data/ov5647.yaml | 34 +++++++++++++++++++++++++++++++++\n 3 files changed, 60 insertions(+)\n create mode 100644 src/ipa/rkisp1/data/ov5647.yaml","diff":"diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml\nindex 0d99cb52..e8d2acbb 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+  - Dpf:\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, 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, 448, 508, 572, 640, 712 ]\n+            scale-mode: \"linear\"\n+          FilterStrength:\n+            r: 130\n+            g: 130\n+            b: 130\n+      activeMode: \"NoiseReductionModeHighQuality\"\n ...\ndiff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build\nindex 1e3522b2..6388a8be 100644\n--- a/src/ipa/rkisp1/data/meson.build\n+++ b/src/ipa/rkisp1/data/meson.build\n@@ -6,6 +6,7 @@ conf_files = files([\n     'ov2685.yaml',\n     'ov4689.yaml',\n     'ov5640.yaml',\n+    'ov5647.yaml',\n     'ov5695.yaml',\n     'ov8858.yaml',\n     'uncalibrated.yaml',\ndiff --git a/src/ipa/rkisp1/data/ov5647.yaml b/src/ipa/rkisp1/data/ov5647.yaml\nnew file mode 100644\nindex 00000000..3d8a0be0\n--- /dev/null\n+++ b/src/ipa/rkisp1/data/ov5647.yaml\n@@ -0,0 +1,34 @@\n+# SPDX-License-Identifier: CC0-1.0\n+%YAML 1.1\n+---\n+version: 1\n+algorithms:\n+  - Agc:\n+  - Awb:\n+  - Dpf:\n+      NoiseReductionModes:\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, 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, 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":["v12","7/7"]}