summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_alsc.py
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-09-24 16:06:41 +0200
committerStefan Klug <stefan.klug@ideasonboard.com>2024-12-03 17:47:15 +0100
commit9d61c09462e93106954e8c358506add3e719b48b (patch)
tree2c9b3d1549abcf1c09bf86f197b8e431b115cf40 /utils/raspberrypi/ctt/ctt_alsc.py
parent6f3b07e649e7a7859530f4e7d681b3915da6af6b (diff)
libcamera: Copy Matrix class from libipa to libcamera
In preparation to moving the matrix implementation from libipa to libcamera copy the corresponding files to the new location. The files are copied without modification to make upcoming integration changes easier to see. The new files are not included in the build and therefore have no negative side effects on the build. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_alsc.py')
0 files changed, 0 insertions, 0 deletions
wd">LOG_DECLARE_CATEGORY(IPAManager) class IPAManager { public: IPAManager(); ~IPAManager(); template<typename T> static std::unique_ptr<T> createIPA(PipelineHandler *pipe, uint32_t maxVersion, uint32_t minVersion) { IPAModule *m = nullptr; for (IPAModule *module : self_->modules_) { if (module->match(pipe, minVersion, maxVersion)) { m = module; break; } } if (!m) return nullptr; std::unique_ptr<T> proxy = std::make_unique<T>(m, !self_->isSignatureValid(m)); if (!proxy->isValid()) { LOG(IPAManager, Error) << "Failed to load proxy"; return nullptr; } return proxy; } private: static IPAManager *self_; void parseDir(const char *libDir, unsigned int maxDepth, std::vector<std::string> &files); unsigned int addDir(const char *libDir, unsigned int maxDepth = 0); bool isSignatureValid(IPAModule *ipa) const; std::vector<IPAModule *> modules_; #if HAVE_IPA_PUBKEY static const uint8_t publicKeyData_[]; static const PubKey pubKey_; #endif }; } /* namespace libcamera */ #endif /* __LIBCAMERA_INTERNAL_IPA_MANAGER_H__ */