From patchwork Mon Jun 20 01:43:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16281 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 36848BE173 for ; Mon, 20 Jun 2022 01:43:41 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D7B6A6564B; Mon, 20 Jun 2022 03:43:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655689420; bh=9355/k5sv3E+w7xzjqszBidVdZgPRGh9jEMeXm1tWeI=; 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=MkVf7cODBtXavfgVrnL0zHvIVdgSxAFZslZOZVw47e+MToscdlXJHGk6v+NGx/fcz 1JvDODZglUsOPyM2TIkpkqQeVhvqBzQlNM/FCueftmRM+L1OTlMPE7+dFS/DsMKJch mLWh5CLWodtCA7Lzbhjb9cH2MVnqLPQt1p/3JjeXceCvppHT7eqY35k1tTEQ4GbFwX 2q364wG9gYfCnYm0BbCfiSlG6UlbI0YDFPEmx3Xx5rnxJCV7v0gcLi+NzpctPbDK7D 2ndpEj7vQcEqBHuVjwQDUALpBXJap77t6HsuPU6aXTfHK8+cmRtt8jXCfU1kdEgsmi 19WrHfG3bIG4g== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 417AD6563F for ; Mon, 20 Jun 2022 03:43:30 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="o96/R6Xb"; dkim-atps=neutral Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B98F9883; Mon, 20 Jun 2022 03:43:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1655689410; bh=9355/k5sv3E+w7xzjqszBidVdZgPRGh9jEMeXm1tWeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o96/R6XbCcJ9uLbWLZPQXhmJt85xaqoHNMVKYzSitRNuWbf2JzFJL7zSVb0J/LdxU bwVOO05sZpLbUDUZBxzwVuBRUUoXyjKwtzkZzbei2XFeRmJRl2Dt1TA4RwnlYnHqgo Xe7tp7N0DThq7x8xDaImv/BvKbikfIbSmZAfHhos= To: libcamera-devel@lists.libcamera.org Date: Mon, 20 Jun 2022 04:43:04 +0300 Message-Id: <20220620014305.26778-12-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220620014305.26778-1-laurent.pinchart@ideasonboard.com> References: <20220620014305.26778-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 11/12] ipa: rkisp1: Add OV5640 tuning 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" From: Florian Sylvestre Add the OV5640 tuning file containing default values for 'black level correction' algorithm. Signed-off-by: Florian Sylvestre Reviewed-by: Laurent Pinchart Reviewed-by: Paul Elder Signed-off-by: Laurent Pinchart --- 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'