[libcamera-devel] [PATCH v4 11/12] ipa: rkisp1: Add OV5640 tuning file
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Jun 20 03:43:04 CEST 2022
From: Florian Sylvestre <fsylvestre at baylibre.com>
Add the OV5640 tuning file containing default values for 'black level
correction' algorithm.
Signed-off-by: Florian Sylvestre <fsylvestre at baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
Changes since v3:
- Add %YAML 1.2 tag
- Fix indentiation in BLC parameters
---
src/ipa/rkisp1/data/meson.build | 1 +
src/ipa/rkisp1/data/ov5640.yaml | 13 +++++++++++++
src/ipa/rkisp1/meson.build | 1 +
3 files changed, 15 insertions(+)
create mode 100644 src/ipa/rkisp1/data/ov5640.yaml
diff --git a/src/ipa/rkisp1/data/meson.build b/src/ipa/rkisp1/data/meson.build
index 53ef7fe28e1d..c3b4e3886490 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 000000000000..232d8ae8d58b
--- /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 8c822fbb9b1f..ccb84b27525b 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'
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list