diff options
-rw-r--r-- | src/libcamera/include/ipa_module.h | 1 | ||||
-rw-r--r-- | src/libcamera/ipa_module.cpp | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/libcamera/include/ipa_module.h b/src/libcamera/include/ipa_module.h index fec42371..b88ae5d2 100644 --- a/src/libcamera/include/ipa_module.h +++ b/src/libcamera/include/ipa_module.h @@ -26,6 +26,7 @@ public: bool isValid() const; const struct IPAModuleInfo &info() const; + const std::string &path() const; bool load(); diff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp index 2663b9ef..58e8d1d8 100644 --- a/src/libcamera/ipa_module.cpp +++ b/src/libcamera/ipa_module.cpp @@ -322,6 +322,19 @@ const struct IPAModuleInfo &IPAModule::info() const } /** + * \brief Retrieve the IPA module path + * + * The IPA module path is the file name and path of the IPA module shared + * object from which the IPA module was created. + * + * \return The IPA module path + */ +const std::string &IPAModule::path() const +{ + return libPath_; +} + +/** * \brief Load the IPA implementation factory from the shared object * * The IPA module shared object implements an IPAInterface class to be used |