From patchwork Fri Jun 17 09:23:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Sylvestre X-Patchwork-Id: 16261 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 ABF3BC3276 for ; Fri, 17 Jun 2022 09:23:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F408965634; Fri, 17 Jun 2022 11:23:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655457836; bh=Zm0q2+fDTO3v0d8ntZUHeYYkaOvP3B22s+Yq3cOguZY=; 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=NOYHtLTrIZq2VwNp6mWLGBEo7BIyFfPajr/9jZNmvY2kWcIg3TnfsRx/Pn9SvSP3g Y5KJqCV0tRHLcwbNEMJ5eWuESMEtm+ce/jSHq5ChAmd+U0N6dWMOXsR+mD0SIHcU62 kRtvlhql8g9Y1J1LcMOZ+NISRDbdQTXM3PTOtSA6DKXtmJWq1kyoQCJAD/jrFwY9sJ Y5nest04KKBd8Q97oiZFXZSqisMlKGBIJnOySEWBOhPa2VBOKnBKs5J/IIYSPIy7ms SJ6Eg9QnIRKLTIRr9RY10noOhhUsfKuOVOtLkWC2eqeOt0x1t9jPGDJ0vec/aB9uox 1FZfJNpiXscFw== Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B2DBE65638 for ; Fri, 17 Jun 2022 11:23:51 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20210112.gappssmtp.com header.i=@baylibre-com.20210112.gappssmtp.com header.b="5SdMRIID"; dkim-atps=neutral Received: by mail-wr1-x42f.google.com with SMTP id e25so1107180wrc.13 for ; Fri, 17 Jun 2022 02:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y/IN9VPQLpqaq1dEesAKGCcXOJ2owySiNcWWeYibdCg=; b=5SdMRIID743ZqnxL2uMLzFH2S49bzUN/eci90Oa7bYaq1/lmtokZDPp9LYKqLb2O6W Np/RereGOf2NF/VrMDIMJayJTZF8vYtdrs8XmzqCxHFLAtgidcJSgjBVjzA1YLkw26DL FQFJTIxt349CkM6uRe9t3gneVzNnJAmI+IO7BXuPqV186Nw+DFTA9r+TWHj+XQADLf6V KlPbMCNFpsEmayrp0vmobznKf5FrC6Dq/gXGsQ7tri0766AyF/Qa1hBZ/MuuwbuDNfjt cS9omhOLCq3TqbMJs5ZInRnkw1R2HeLLzrgN20d6vWjmBP1xO69fWkDEDlXx0/Sysktk XGqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y/IN9VPQLpqaq1dEesAKGCcXOJ2owySiNcWWeYibdCg=; b=G2R3RtL04uBmf1LbfpXoL3zWVrx7TJ4aNaJRc0/Td7sz8nuO6eV2nxjWIPdF4/MYbo AVEjPtNl+l2OE1+PPKhWMsWSXSybn7m194nAXDQ/fZscaBtv3v8++3IiaiiL2+2AiI9y BSMxTs2EQRAxOxsppevSkmkL7LwdfmvPvoR/jgf7bfnx/Wu2S8l4qOekC3hOI+hN64Qn mYX0Kf/HoWPWh/vp/b/WZfv1nIWCyDcDuQTXazzNoHeHPFegVGOxcShPKc37dmeDsZim cE5ch3YA5PqMe9SGkcF1DJPjou4LHS2t8sr0yaIqs/lBTA/xrMdyQP529z9LLllI4YwW w9fw== X-Gm-Message-State: AJIora/NK3Z4Ugn4P5boIEwDIbTqpMNA77VSRDlkVwxSld/ZXhyyJ1SB gK7Yxko93laf/efTRUQPW8VJ1XzTc90WiQ== X-Google-Smtp-Source: AGRyM1ufnC6D4MnH1Mw+ngsARV0yEV/mbquWHRSBM0elqVd59TkPU3pwh3/4osW+A1D+IABPoP9uDA== X-Received: by 2002:a5d:698a:0:b0:21a:3972:7a60 with SMTP id g10-20020a5d698a000000b0021a39727a60mr5260366wru.549.1655457831176; Fri, 17 Jun 2022 02:23:51 -0700 (PDT) Received: from BL087.. ([2a01:e34:eea9:e630:4718:73b:d035:3786]) by smtp.gmail.com with ESMTPSA id h81-20020a1c2154000000b0039c41686421sm7962328wmh.17.2022.06.17.02.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 02:23:50 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 17 Jun 2022 11:23:14 +0200 Message-Id: <20220617092315.120781-5-fsylvestre@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220617092315.120781-1-fsylvestre@baylibre.com> References: <20220617092315.120781-1-fsylvestre@baylibre.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 4/5] 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: Florian Sylvestre via libcamera-devel From: Florian Sylvestre Reply-To: Florian Sylvestre Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 --- src/ipa/rkisp1/data/meson.build | 8 ++++++++ src/ipa/rkisp1/data/ov5640.yaml | 10 ++++++++++ src/ipa/rkisp1/meson.build | 1 + 3 files changed, 19 insertions(+) create mode 100644 src/ipa/rkisp1/data/meson.build 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 new file mode 100644 index 00000000..2656bb2e --- /dev/null +++ b/src/ipa/rkisp1/data/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: CC0-1.0 + +conf_files = files([ + 'ov5640.yaml', +]) + +install_data(conf_files, + install_dir : ipa_data_dir / 'rkisp1') diff --git a/src/ipa/rkisp1/data/ov5640.yaml b/src/ipa/rkisp1/data/ov5640.yaml new file mode 100644 index 00000000..c4eda49b --- /dev/null +++ b/src/ipa/rkisp1/data/ov5640.yaml @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: CC0-1.0 +--- +version: 1 +algorithms: + - BlackLevelCorrection: + R: 256 + Gr: 256 + Gb: 256 + B: 256 +... diff --git a/src/ipa/rkisp1/meson.build b/src/ipa/rkisp1/meson.build index 8c822fbb..ccb84b27 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'