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>
This commit is contained in:
committed by
Kieran Bingham
parent
b28037e6ee
commit
306b0f952f
@@ -15,6 +15,8 @@ namespace libcamera {
|
||||
|
||||
LOG_DEFINE_CATEGORY(IPASoftBL)
|
||||
|
||||
namespace ipa::soft {
|
||||
|
||||
/**
|
||||
* \class BlackLevel
|
||||
* \brief Object providing black point level for software ISP
|
||||
@@ -85,4 +87,7 @@ void BlackLevel::update(SwIspStats::Histogram &yHistogram)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
} /* namespace ipa::soft */
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
namespace ipa::soft {
|
||||
|
||||
class BlackLevel
|
||||
{
|
||||
public:
|
||||
@@ -26,4 +28,6 @@ private:
|
||||
bool blackLevelSet_;
|
||||
};
|
||||
|
||||
} /* namespace ipa::soft */
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
Reference in New Issue
Block a user