summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/pen-tool.svg
blob: 0d26fa1e59de37040fafa821967290c32a0a551f (plain)
1
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-pen-tool"><path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle></svg>
espace libcamera; class PyCameraManager { public: PyCameraManager(); ~PyCameraManager(); pybind11::list cameras(); std::shared_ptr<Camera> get(const std::string &name) { return cameraManager_->get(name); } static const std::string &version() { return CameraManager::version(); } int eventFd() const { return eventFd_.get(); } std::vector<pybind11::object> getReadyRequests(); void handleRequestCompleted(Request *req); private: std::unique_ptr<CameraManager> cameraManager_; UniqueFD eventFd_; libcamera::Mutex completedRequestsMutex_; std::vector<Request *> completedRequests_ LIBCAMERA_TSA_GUARDED_BY(completedRequestsMutex_); void writeFd(); int readFd(); void pushRequest(Request *req); std::vector<Request *> getCompletedRequests(); };