From patchwork Thu Jun 16 08:07:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Sylvestre X-Patchwork-Id: 16230 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 6740CC3276 for ; Thu, 16 Jun 2022 08:07:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C9CA265641; Thu, 16 Jun 2022 10:07:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655366878; 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=Kw18CTTtTBZvE44Di5fUsbRv+YvtxzRxK9qhZ/L6jrcpAzB7WOPvU//lIxn8+DZ37 ssEnLFiFIvUT50jYPFryLn9GnwzBHI1tqlIs1m2Fe0rU0wEu1qv4C/E6t47ac9HoqR vRTSHmoRTdGqYZY45drbt5Y5XMZCweqnbEew6XmR9ohOPs7zuXGzgrC+3206udI3CZ 3trH8mfKO2hmM439ugkQ8qm/ahPF09qQzjEGMWDbRj/2I+mJ1HUkTLNjyheW55MY4C AqHigXlWHSfkR6677qFBSYKpTGnJXl9bcqMHU5wwF/uu01Q4vwKSzkk7dBljqwEK69 CwQ1q2e1vffQQ== Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6CA6565635 for ; Thu, 16 Jun 2022 10:07:55 +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="Tz2oWBhR"; dkim-atps=neutral Received: by mail-wr1-x42a.google.com with SMTP id c21so804560wrb.1 for ; Thu, 16 Jun 2022 01:07:55 -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=Tz2oWBhRLtsLPuPZwYPvOI8KTjwxGKt5Dh67wNLqDFye0IGqF4xwffssRqWguBUTu9 I8CnwpIQJjo/isZuR2TrdM4T/dMlROzJiN6EmFCLqctMHHfz4NAXOpv5cGgiVdEEBQ0u nWg8WzjxoQoew8Ez9HEg7EiLzBnQQoS8N+cL6dNq9kkpRjTuvW5R9B9Rk8iOz7voH6FD BjfZ8UmCCrOjSFMUGF9GcQdnhlRGEyRO49rRbREQ6dNtFm++NCfR6RcZa4bd9DrKzPtv 9tE5zPi4WvD463a6A8z7XM70nRRkL/R0x6JL5Z20fYnmIQB2TGXDI5wXuAkmFPtrV6MH hH0A== 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=X1s2ACDtsxuFWUWj4wWombkCTj21Y1nNgu6OwdWI37bcyRBR2L8FGytatPDoRNlkxw C6hdBxSnfbXU3K3Gw64z5jE0VXVRWHKZXatta3dRbKnSS2HgTuewd9y97jXDCdviQr/x l0/Bm5/+szWPKDJBlhu1+/HV9531Of49Id/vV55Xm4VU4iH5uvmgRNMzPJO7n0MjT6PC Mem+jbQRl9JDCBCKvJMRFqsGZES+IZhfMEi/v91FKFKPk+RI6CI0k7uX/FJQSn37xqkP YHJVmovKdyOYUVHd6KUj0DKapbBibtYTiKcXZohN0EXOsen3nHbGXL+mjc3IV6+qRtJG sKKw== X-Gm-Message-State: AJIora8julmXGKq+NYS9rTGWV3y4YgRD3/Tkb242fvNEE9a+oYR75bki ayptOMULdE9l4d66RHz0QQ+sd8ZP8M+Ytw== X-Google-Smtp-Source: AGRyM1uemHO1JxCwLUlVopERMgozf7LQph3xBk2l8ImETq8ooDaA4LL+oHycCdd2SggrSNFTRTVc8w== X-Received: by 2002:adf:eac4:0:b0:217:737b:e77a with SMTP id o4-20020adfeac4000000b00217737be77amr3367611wrn.121.1655366874786; Thu, 16 Jun 2022 01:07:54 -0700 (PDT) Received: from localhost.localdomain (lfbn-nic-1-76-188.w2-15.abo.wanadoo.fr. [2.15.166.188]) by smtp.gmail.com with ESMTPSA id r15-20020adff70f000000b002185d79dc7fsm1098868wrp.75.2022.06.16.01.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 01:07:54 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Thu, 16 Jun 2022 10:07:43 +0200 Message-Id: <20220616080744.548995-5-fsylvestre@baylibre.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220616080744.548995-1-fsylvestre@baylibre.com> References: <20220616080744.548995-1-fsylvestre@baylibre.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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 --- 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'