From patchwork Mon Jun 20 01:42:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16272 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 A04B0BE173 for ; Mon, 20 Jun 2022 01:43:31 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4E88C65648; Mon, 20 Jun 2022 03:43:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655689409; bh=oCOhFtxVSryoQnb8LtgrbwXQVOLE/FSIDXX+AGuIDP4=; 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=jlwxklg5eKBi0+fDE8dVDmlNEkF2GzKM6xCVYk4D5PtKHwHcygMfsrfh4GwwuMtE6 iFDXwc836ELh6qYQbpgdL8W8142h0cSACIm/83Hzp/L+4ZzdQ52To6trIxs2j+JQyx umcIGRPrALE/GU4vdqNeUe8RtoEN1ttSV4VW8xEwhOczYXMhqeyTsZVXtLtEiZGLe7 mTG597c06KwCHOB/93WG9kTkpphKOzw7HII0yg3H90ZrfsV+eksErXHdUBqJqz5dSb DH5A8n+3NaSiah26rJh4Z0t4+XXMCvf2YFN/inzs84yItgCuunsrSxcmnnsBFPTrQR 0gIsMsif5e6qA== 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 D4A9F601F1 for ; Mon, 20 Jun 2022 03:43:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Dfjrqor4"; 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 5A27B892; Mon, 20 Jun 2022 03:43:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1655689405; bh=oCOhFtxVSryoQnb8LtgrbwXQVOLE/FSIDXX+AGuIDP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dfjrqor4bwgLvytWEkHMk138RPeJ0xHankh9ny+DPL3p29ZzF8OIMudfhLrYdD4jk MAByyJ15P07I4Gdi8F4UXgVCQIHEsKhqK5ixh0OcEvowoV3U0McM4eRKt8cXbpcgAT AsF4JBwEOCZgSLmlFZOBd2+M0kUQS8CiAHcSKNLY= To: libcamera-devel@lists.libcamera.org Date: Mon, 20 Jun 2022 04:42:55 +0300 Message-Id: <20220620014305.26778-3-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 02/12] ipa: libipa: Move ipa namespace documentation to module.cpp 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" The libipa.cpp file exists for the sole purpose of documentating the ipa namespace. As we now have a top-level module.cpp file in libipa, move the documentation there, and drop libipa.cpp. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder --- src/ipa/libipa/libipa.cpp | 22 ---------------------- src/ipa/libipa/meson.build | 1 - src/ipa/libipa/module.cpp | 7 +++++++ 3 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 src/ipa/libipa/libipa.cpp diff --git a/src/ipa/libipa/libipa.cpp b/src/ipa/libipa/libipa.cpp deleted file mode 100644 index 08bc3541f4eb..000000000000 --- a/src/ipa/libipa/libipa.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: LGPL-2.1-or-later */ -/* - * Copyright (C) 2021, Ideas On Board - * - * libipa.cpp - libipa interface - */ - -namespace libcamera { - -/** - * \brief The IPA namespace - * - * The IPA namespace groups all types specific to IPA modules. It serves as the - * top-level namespace for the IPA library libipa, and also contains - * module-specific namespaces for IPA modules. - */ -namespace ipa { - -} /* namespace ipa */ - -} /* namespace libcamera */ - diff --git a/src/ipa/libipa/meson.build b/src/ipa/libipa/meson.build index 465cf7d6c4a7..fb894bc614af 100644 --- a/src/ipa/libipa/meson.build +++ b/src/ipa/libipa/meson.build @@ -11,7 +11,6 @@ libipa_sources = files([ 'algorithm.cpp', 'camera_sensor_helper.cpp', 'histogram.cpp', - 'libipa.cpp', 'module.cpp', ]) diff --git a/src/ipa/libipa/module.cpp b/src/ipa/libipa/module.cpp index 5a6f49a80e6d..d03cc8ef03ed 100644 --- a/src/ipa/libipa/module.cpp +++ b/src/ipa/libipa/module.cpp @@ -14,6 +14,13 @@ namespace libcamera { +/** + * \brief The IPA namespace + * + * The IPA namespace groups all types specific to IPA modules. It serves as the + * top-level namespace for the IPA library libipa, and also contains + * module-specific namespaces for IPA modules. + */ namespace ipa { /**