diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-02-05 11:21:38 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-02-24 09:36:52 +0000 |
commit | 417c4ae87e6963ca86f308b31793ef96cc33c71a (patch) | |
tree | 7d24d675abb08cc75297986b5e0a596a93b90515 /src/libcamera/include/ipa_manager.h | |
parent | 80d70e4fcf6c8aa92c3097414b90325e855bab6e (diff) |
libcamera: ipa_manager: Allow recursive parsing
Provide an optional means to recurse into subdirectories to search for IPA
libraries. This allows IPAs contained within their own build directory
to be found when loading from a non-installed build.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/include/ipa_manager.h')
-rw-r--r-- | src/libcamera/include/ipa_manager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcamera/include/ipa_manager.h b/src/libcamera/include/ipa_manager.h index f13a93d7..467658e4 100644 --- a/src/libcamera/include/ipa_manager.h +++ b/src/libcamera/include/ipa_manager.h @@ -32,7 +32,9 @@ private: IPAManager(); ~IPAManager(); - unsigned int addDir(const char *libDir); + void parseDir(const char *libDir, unsigned int maxDepth, + std::vector<std::string> &files); + unsigned int addDir(const char *libDir, unsigned int maxDepth = 0); }; } /* namespace libcamera */ |