[libcamera-devel,v5,10/10] ipa: rkisp1: Add OV5675 tuning file
diff mbox series

Message ID 20230324142908.64224-11-dse@thaumatec.com
State Superseded
Headers show
Series
  • ipa: rkisp1: Add autofocus algorithm
Related show

Commit Message

Daniel Semkowicz March 24, 2023, 2:29 p.m. UTC
Add the OV5675 tuning file with default values and enabled AF algorithm.

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
---
 src/ipa/rkisp1/data/meson.build |  1 +
 src/ipa/rkisp1/data/ov5675.yaml | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 src/ipa/rkisp1/data/ov5675.yaml

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build
index f5e9fa75..1fdce2c9 100644
--- a/src/ipa/rkisp1/data/meson.build
+++ b/src/ipa/rkisp1/data/meson.build
@@ -4,6 +4,7 @@  conf_files = files([
     'imx219.yaml',
     'ov4689.yaml',
     'ov5640.yaml',
+    'ov5675.yaml',
     'uncalibrated.yaml',
 ])
 
diff --git a/src/ipa/rkisp1/data/ov5675.yaml b/src/ipa/rkisp1/data/ov5675.yaml
new file mode 100644
index 00000000..4f3da897
--- /dev/null
+++ b/src/ipa/rkisp1/data/ov5675.yaml
@@ -0,0 +1,18 @@ 
+# SPDX-License-Identifier: CC0-1.0
+%YAML 1.1
+---
+version: 1
+algorithms:
+  - Af:
+      coarse-search-step: 30
+      fine-search-step: 1
+      fine-search-range: 5
+      max-variance-change: 0.5
+      wait-frames-lens: 2 # tuned for 30fps stream
+      isp-threshold: 128
+      isp-var-shift: 4
+  - Agc:
+  - Awb:
+  - BlackLevelCorrection:
+  - ColorProcessing:
+...