[v8,7/7] ipa: rkisp1: algorithms: data: Add OV5647 tuning file
diff mbox series

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

Commit Message

Rui Wang Jan. 15, 2026, 4:33 p.m. UTC
Add a new tuning configuration file for the OmniVision OV5647 sensor.
This includes initial settings for DPF algorithms.

Register the new tuning file in the build system.

Signed-off-by: Rui Wang <rui.wang@ideasonboard.com>
---
 src/ipa/rkisp1/data/meson.build |  1 +
 src/ipa/rkisp1/data/ov5647.yaml | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 src/ipa/rkisp1/data/ov5647.yaml

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build
index 1e3522b2..6388a8be 100644
--- a/src/ipa/rkisp1/data/meson.build
+++ b/src/ipa/rkisp1/data/meson.build
@@ -6,6 +6,7 @@  conf_files = files([
     'ov2685.yaml',
     'ov4689.yaml',
     'ov5640.yaml',
+    'ov5647.yaml',
     'ov5695.yaml',
     'ov8858.yaml',
     'uncalibrated.yaml',
diff --git a/src/ipa/rkisp1/data/ov5647.yaml b/src/ipa/rkisp1/data/ov5647.yaml
new file mode 100644
index 00000000..1d42e4c7
--- /dev/null
+++ b/src/ipa/rkisp1/data/ov5647.yaml
@@ -0,0 +1,32 @@ 
+# SPDX-License-Identifier: CC0-1.0
+%YAML 1.1
+---
+version: 1
+algorithms:
+  - Agc:
+  - Awb:
+  - Dpf:
+      modes:
+        - type: "minimal"
+          filter:
+            g:  [ 14, 10,  7,  4,  2,  1 ]
+            rb: [ 14, 11,  8,  4,  2,  1 ]
+          nll:
+            coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392, 448, 508, 572, 640, 712 ]
+            scale-mode: "linear"
+          strength:
+            r: 60
+            g: 60
+            b: 60
+        - type: "highquality"
+          filter:
+            g:  [ 22, 18, 13,  8,  5,  2 ]
+            rb: [ 20, 18, 16, 11,  7,  3 ]
+          nll:
+            coeff: [ 0, 26, 52, 78, 106, 138, 172, 208, 248, 292, 340, 392, 448, 508, 572, 640, 712 ]
+            scale-mode: "linear"
+          strength:
+            r: 1
+            g: 1
+            b: 1
+...