[v14,7/7] ipa: rkisp1: algorithms: imx219: Add Dpf tuning data
diff mbox series

Message ID 20260210141925.547284-8-rui.wang@ideasonboard.com
State New
Headers show
Series
  • refactor DPF parsing and initialization
Related show

Commit Message

Rui Wang Feb. 10, 2026, 2:19 p.m. UTC
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 <rui.wang@ideasonboard.com>
Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>

---
 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(+)

Patch
diff mbox series

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"
 ...