From a55f9c34a7dd1eb3c009f1810d77d440d5d8aedc Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 4 Aug 2022 13:56:38 +0300 Subject: [PATCH] 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 Tested-by: Florian Sylvestre Reviewed-by: Florian Sylvestre Reviewed-by: Kieran Bingham --- src/ipa/rkisp1/data/imx219.yaml | 2 +- src/ipa/rkisp1/data/ov5640.yaml | 2 +- src/ipa/rkisp1/data/uncalibrated.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml index 232d8ae8d..ce3d547f7 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 93d7d1e70..45d4bb77f 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 bdbd5fda7..a7bbd8d84 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: