libcamera: ipa_module: add isOpenSource
Add a method to IPAModule to check if the module is open source. This uses the license field of the member IPAModuleInfo. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -35,6 +35,8 @@ public:
|
||||
bool match(PipelineHandler *pipe,
|
||||
uint32_t minVersion, uint32_t maxVersion) const;
|
||||
|
||||
bool isOpenSource() const;
|
||||
|
||||
private:
|
||||
struct IPAModuleInfo info_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user