summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-20 00:12:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 17:21:02 +0300
commit5f94b262da99428fa18d7b33a4230536c86f2ec8 (patch)
treeb3b35b295f08a765c02999b1ef23ba668106f116 /src
parent83df7854933c06ff51f4473e54b72b3eac36d321 (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/ipa/libipa/libipa.cpp22
-rw-r--r--src/ipa/libipa/meson.build1
-rw-r--r--src/ipa/libipa/module.cpp7
3 files changed, 7 insertions, 23 deletions
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 {
/**