libcamera: ipa_module: match IPA module with pipeline handler
Add a method to IPAModule to check if it matches with a given pipeline handler and pipeline version range. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
#include <libcamera/ipa/ipa_module_info.h>
|
||||
|
||||
#include "pipeline_handler.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
class IPAModule
|
||||
@@ -29,6 +31,9 @@ public:
|
||||
|
||||
std::unique_ptr<IPAInterface> createInstance();
|
||||
|
||||
bool match(PipelineHandler *pipe,
|
||||
uint32_t minVersion, uint32_t maxVersion) const;
|
||||
|
||||
private:
|
||||
struct IPAModuleInfo info_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user