From patchwork Mon May 23 09:24:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Sylvestre X-Patchwork-Id: 16004 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 D7029BD160 for ; Mon, 23 May 2022 09:24:52 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7BD5965669; Mon, 23 May 2022 11:24:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1653297892; bh=A30TSfEQWAvmMgeWpCg8k0fmAFMQVfN919s2hep5/tA=; 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=Mp9tfT0vDJ+tSI5QGZTVQowyI9586zvAsP2Nnj5ymNnZPLM2Yx8k0JqVzv9m/yCzK kNCWMa15FFc8adfHBYvP+nxS+CePUP0tFve7ACdh6A4QjfcMKNuqwYIoap1EsBRh+9 j3fVOTu7IkqGZ0ZsW4Ns3nT1JySmt+SIUsl6M94OstKAufODNQp2iDhmm9LpQnynxd btQrEM5AfujYk1xRnGGDRq0Nkbm7QDwabY31vYrSvFZpB0U6QMPANCQobkZvBw6EtD +F2I6xrqVF+py5hai9rv8BISghVN4NBv4+Po5aOb5B/YZfcKQkpdx0vpAUEJiYruxW a+WEsCdYH+s4g== 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 8DF716565E for ; Mon, 23 May 2022 11:24:47 +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="ace4ONp5"; dkim-atps=neutral Received: by mail-wr1-x42f.google.com with SMTP id f2so20452972wrc.0 for ; Mon, 23 May 2022 02:24:47 -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=lJfZdZg2a8ZwVKJYUOeGes9Vy/2r6KIGjKy4QIP7/ko=; b=ace4ONp5zYihIw6KYyEpMVl9S+9zcgj9XAB8opVcolZymE41qMW2uqNC6OsshDC+z6 e0Wt1vxEULCJzjvgKiBUs1rgXoGMifllcJa0fIUNlCw3SSawNrRJapvsY+FHu0YaM2mM moxz5JggBxoxJQ0Q3Bu6kZD20QsmMqhNcCrZoSf/ZLoDSSAuxSdSnta5cu+ZDc6O48ac E8fc3Ahat+EjIkXQL8ZJ1vveqYxIp0Hfx4PBpBAAktzPT7wb2v6sv5Rfqc8g9lwQNfEP 4zspocYZ7HYjXPjqG3FCqTbPC4Z+xNdJndZ0f+inp92D2mqzMjKPaunMc9a7KacSXZeu V9Xw== 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=lJfZdZg2a8ZwVKJYUOeGes9Vy/2r6KIGjKy4QIP7/ko=; b=eo8pZGJJRDDoyoUHefAM5J1UgohLzevhxUNBXO6d0uzoFqFWJ1QFPjHFvZRmStli0F pqzdZ+EPSHYGhV8Pzwj7pGs5LDcl0yAKbSC7f2k8EKt7u87oE5f0ogg7Sgdh2engnbK3 AHGYz6tGEDEu0bCvt4AoQHrdPdfGz2GGoPJ9FG/tSrhO5FU2cDiVvJXCSkrtRhgjgVSp IFuI8V17TJ4nuWdRD6DNqn1tow2aLgxNuPKpo2QyKElx8xCLZOoF2mpTuxEfHoud0XgD 4sOACh04CXm0o/roQX90zYC6QGuVmEBYN4O9Zh1pFb8pztvsXezhhmg6R6FLNDBxVvwA NrKw== X-Gm-Message-State: AOAM531lMZufd7Cgg0+GjZmtYxOPTW/DjX2ToNXyhAX0HokwB7d60SCg JZel0Fnp82p5aIcUrBVYYGYLVok3wQ00TA== X-Google-Smtp-Source: ABdhPJw2hqVx3Qyl33Ri8zOzvMgYV3mwT8G860xEDmxSVNkX3j2BB/3zkaWVzETITOfb+Zv1xYTqmA== X-Received: by 2002:adf:fdce:0:b0:20e:609d:b4c4 with SMTP id i14-20020adffdce000000b0020e609db4c4mr18081879wrs.664.1653297886993; Mon, 23 May 2022 02:24:46 -0700 (PDT) Received: from BL087.. ([2a01:e34:eea9:e630:1bc6:bcdb:60b7:f1d3]) by smtp.gmail.com with ESMTPSA id w22-20020a1cf616000000b003942a244eebsm8034250wmc.48.2022.05.23.02.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 02:24:46 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 23 May 2022 11:24:34 +0200 Message-Id: <20220523092435.475510-5-fsylvestre@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220523092435.475510-1-fsylvestre@baylibre.com> References: <20220523092435.475510-1-fsylvestre@baylibre.com> MIME-Version: 1.0 Subject: [libcamera-devel] [libcamera-devel 4/5] ipa: rkisp1: Add ov5640 configuration 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 | 8 ++++++++ src/ipa/rkisp1/meson.build | 1 + 3 files changed, 17 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..d8e56463 --- /dev/null +++ b/src/ipa/rkisp1/data/ov5640.yaml @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: CC0-1.0 +--- +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'