From patchwork Tue Aug 9 14:46:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17044 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 779B2C3272 for ; Tue, 9 Aug 2022 14:46:34 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 38C066332F; Tue, 9 Aug 2022 16:46:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1660056394; bh=47dO1xA4hg1ZJQ5JNWCpcZ5KS2f00jub9Vrwrj0cn5E=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DN8jeZeO/PWaWJyTxm8SskWlMgOIpVH2IcXQxhFaiqDNY4zyuq9LIfm6JnDiaTSuT XaiR3F/ejgzaRdr3k/A8Lm0juDySYhzR2UVqSB8IzKGIM6Un4doJPKb8K3ETADXieP wSi3ukcRbLmGv0nQUloJS5opaA0e8erfo2EwCaaI2r3BZM80FF+EYpqlPrWtTYdJWb +z0xLXjwZga5qR62Wkp6MV0tsDV7MeXV/f1qsmyctI4lBIM20NyBjwvv+5qIzdlpTb RqgwrSs9i/5nTCUs/LMrJ4aXDnPOAdVABr4aNdXX1DVs8tNw7cq+OoPhxGYTNPkscW 8wnLmWd6RUfag== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2B8F56332F for ; Tue, 9 Aug 2022 16:46:32 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hB6xQsl8"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9AB6B481 for ; Tue, 9 Aug 2022 16:46:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1660056391; bh=47dO1xA4hg1ZJQ5JNWCpcZ5KS2f00jub9Vrwrj0cn5E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hB6xQsl8jvRxICo/y7NwKzt55uQprVhuDnEK6LX/x7gXa7NeBKP9fBVIi477EV31G KCU+fggKbpmbpktk0IJejBqToVh8AAG9JO/wnqeBaI1g7nixUYbF+IX/kV/gTnUCQ5 p2xC75vYFl77NZIlhC08WRdWv5aD8RBvsGpSP+8s= To: libcamera-devel@lists.libcamera.org Date: Tue, 9 Aug 2022 17:46:15 +0300 Message-Id: <20220809144617.27983-3-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220809144617.27983-1-laurent.pinchart@ideasonboard.com> References: <20220809144617.27983-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 2/4] ipa: ipu3: Add an uncalibrated.yaml tuning data file X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add a tuning data file for uncalibrated sensors, picked by the pipeline handler when no sensor-specific tuning file is available. The file lists the 5 algorithms currently instantiated by the IPA module. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- Changes since v1: - Use YAML 1.1 --- src/ipa/ipu3/data/meson.build | 8 ++++++++ src/ipa/ipu3/data/uncalibrated.yaml | 11 +++++++++++ src/ipa/ipu3/meson.build | 1 + 3 files changed, 20 insertions(+) create mode 100644 src/ipa/ipu3/data/meson.build create mode 100644 src/ipa/ipu3/data/uncalibrated.yaml diff --git a/src/ipa/ipu3/data/meson.build b/src/ipa/ipu3/data/meson.build new file mode 100644 index 000000000000..1f50b6301f77 --- /dev/null +++ b/src/ipa/ipu3/data/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: CC0-1.0 + +conf_files = files([ + 'uncalibrated.yaml', +]) + +install_data(conf_files, + install_dir : ipa_data_dir / 'ipu3') diff --git a/src/ipa/ipu3/data/uncalibrated.yaml b/src/ipa/ipu3/data/uncalibrated.yaml new file mode 100644 index 000000000000..794ab3edbb77 --- /dev/null +++ b/src/ipa/ipu3/data/uncalibrated.yaml @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: CC0-1.0 +%YAML 1.1 +--- +version: 1 +algorithms: + - Af: + - Agc: + - Awb: + - BlackLevelCorrection: + - ToneMapping: +... diff --git a/src/ipa/ipu3/meson.build b/src/ipa/ipu3/meson.build index 3194111a5bad..658e7c9bc366 100644 --- a/src/ipa/ipu3/meson.build +++ b/src/ipa/ipu3/meson.build @@ -1,6 +1,7 @@ # SPDX-License-Identifier: CC0-1.0 subdir('algorithms') +subdir('data') ipa_name = 'ipa_ipu3'