From 5f94b262da99428fa18d7b33a4230536c86f2ec8 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 20 Jun 2022 00:12:00 +0300 Subject: ipa: libipa: Move ipa namespace documentation to module.cpp 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 08bc3541..00000000 --- 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 465cf7d6..fb894bc6 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 5a6f49a8..d03cc8ef 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 { /** -- cgit v1.2.1