summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Sylvestre <fsylvestre@baylibre.com>2022-06-17 11:23:14 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 17:21:14 +0300
commite7ec7d4de12b28e979879b8ebdd0e3731e5c6433 (patch)
treed0122b2c224b2f44f8ee53d695ad758b612b6537
parentf2869a41674e2dd920be548669196e08d42e4596 (diff)
ipa: rkisp1: Add OV5640 tuning file
Add the OV5640 tuning file containing default values for 'black level correction' algorithm. Signed-off-by: Florian Sylvestre <fsylvestre@baylibre.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/ipa/rkisp1/data/meson.build1
-rw-r--r--src/ipa/rkisp1/data/ov5640.yaml13
-rw-r--r--src/ipa/rkisp1/meson.build1
3 files changed, 15 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build
index 53ef7fe2..c3b4e388 100644
--- a/src/ipa/rkisp1/data/meson.build
+++ b/src/ipa/rkisp1/data/meson.build
@@ -2,6 +2,7 @@
conf_files = files([
'imx219.yaml',
+ 'ov5640.yaml',
'uncalibrated.yaml',
])
diff --git a/src/ipa/rkisp1/data/ov5640.yaml b/src/ipa/rkisp1/data/ov5640.yaml
new file mode 100644
index 00000000..232d8ae8
--- /dev/null
+++ b/src/ipa/rkisp1/data/ov5640.yaml
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: CC0-1.0
+%YAML 1.2
+---
+version: 1
+algorithms:
+ - Agc:
+ - Awb:
+ - BlackLevelCorrection:
+ R: 256
+ Gr: 256
+ Gb: 256
+ B: 256
+...
diff --git a/src/ipa/rkisp1/meson.build b/src/ipa/rkisp1/meson.build
index 8c822fbb..ccb84b27 100644
--- a/src/ipa/rkisp1/meson.build
+++ b/src/ipa/rkisp1/meson.build
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: CC0-1.0
subdir('algorithms')
+subdir('data')
ipa_name = 'ipa_rkisp1'