summaryrefslogtreecommitdiff
path: root/src/ipa/simple/black_level.h
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-09-27 15:46:08 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-09-27 15:01:57 +0100
commit306b0f952fa4191df92770d2b754d594f1cfb0cb (patch)
treeb0aa6a12475d33cc22b4a0921e9d71395faf4bcd /src/ipa/simple/black_level.h
parentb28037e6ee7445055c5db62274f456821345ec58 (diff)
libcamera: software_isp: Move BlackLevel to libcamera::ipa::soft
IPA modules use custom namespaces for all their internal components to avoid namespace clashes. The simple IPA module for the software ISP uses libcamera::ipa::soft for this purpose. It however defines an internal class named BlackLevel in the root of the libcamera namespace, making it prone to clashes. Move it to the ipa::soft namespace along with the rest of the code. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/simple/black_level.h')
-rw-r--r--src/ipa/simple/black_level.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/simple/black_level.h b/src/ipa/simple/black_level.h
index 5e032f9f..a04230c9 100644
--- a/src/ipa/simple/black_level.h
+++ b/src/ipa/simple/black_level.h
@@ -14,6 +14,8 @@
namespace libcamera {
+namespace ipa::soft {
+
class BlackLevel
{
public:
@@ -26,4 +28,6 @@ private:
bool blackLevelSet_;
};
+} /* namespace ipa::soft */
+
} /* namespace libcamera */