summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-08-04 13:56:38 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-08-04 18:33:03 +0300
commita55f9c34a7dd1eb3c009f1810d77d440d5d8aedc (patch)
tree6246d514c1a12ca9602d7cf23ef9aff31ca60c37
parent961a6cf7cac9b788cc285a58ae1b8a480f00b633 (diff)
ipa: rkisp1: Use YAML 1.1 for tuning data files
YAML 1.2 support has been added in libyaml in version 0.2.3. Debian stable ships version 0.2.2 of libyaml, which causes parse errors of the tuning tuning data files due to the YAML 1.2 directive at the beginning. As we don't use any feature of YAML 1.2, downgrade the data files to YAML 1.1. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Florian Sylvestre <fsylvestre@baylibre.com> Reviewed-by: Florian Sylvestre <fsylvestre@baylibre.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/ipa/rkisp1/data/imx219.yaml2
-rw-r--r--src/ipa/rkisp1/data/ov5640.yaml2
-rw-r--r--src/ipa/rkisp1/data/uncalibrated.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml
index 232d8ae8..ce3d547f 100644
--- a/src/ipa/rkisp1/data/imx219.yaml
+++ b/src/ipa/rkisp1/data/imx219.yaml
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: CC0-1.0
-%YAML 1.2
+%YAML 1.1
---
version: 1
algorithms:
diff --git a/src/ipa/rkisp1/data/ov5640.yaml b/src/ipa/rkisp1/data/ov5640.yaml
index 93d7d1e7..45d4bb77 100644
--- a/src/ipa/rkisp1/data/ov5640.yaml
+++ b/src/ipa/rkisp1/data/ov5640.yaml
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: CC0-1.0
-%YAML 1.2
+%YAML 1.1
---
version: 1
algorithms:
diff --git a/src/ipa/rkisp1/data/uncalibrated.yaml b/src/ipa/rkisp1/data/uncalibrated.yaml
index bdbd5fda..a7bbd8d8 100644
--- a/src/ipa/rkisp1/data/uncalibrated.yaml
+++ b/src/ipa/rkisp1/data/uncalibrated.yaml
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: CC0-1.0
-%YAML 1.2
+%YAML 1.1
---
version: 1
algorithms: