summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/ipa_manager.h
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2020-06-05 14:58:58 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2020-06-08 17:11:26 +0900
commit6e730695deef37b9a66bb9547df41d17d2872028 (patch)
tree40f09253aa3e34c3c0fea1c342f5bd49c682e989 /include/libcamera/internal/ipa_manager.h
parent46d544345cbae270da533a737e334880720ceea5 (diff)
libcamera: IPAManager: remove instance() and make createIPA() static
As the only usage of IPAManager::instance() is by the pipeline handlers to call IPAManager::createIPA(), remove the former and make the latter static. Update the pipeline handlers and tests accordingly. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/libcamera/internal/ipa_manager.h')
-rw-r--r--include/libcamera/internal/ipa_manager.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/libcamera/internal/ipa_manager.h b/include/libcamera/internal/ipa_manager.h
index f17fd0a8..4a143b6a 100644
--- a/include/libcamera/internal/ipa_manager.h
+++ b/include/libcamera/internal/ipa_manager.h
@@ -25,11 +25,9 @@ public:
IPAManager();
~IPAManager();
- static IPAManager *instance();
-
- std::unique_ptr<IPAProxy> createIPA(PipelineHandler *pipe,
- uint32_t maxVersion,
- uint32_t minVersion);
+ static std::unique_ptr<IPAProxy> createIPA(PipelineHandler *pipe,
+ uint32_t maxVersion,
+ uint32_t minVersion);
private:
static IPAManager *self_;