summaryrefslogtreecommitdiff
path: root/LICENSES
AgeCommit message (Expand)Author
2020-05-13licenses: License all meson files under CC0-1.0Laurent Pinchart
2020-05-11LICENSES: Add BSD-2-Clause licenseLaurent Pinchart
2020-04-15licenses: Move developer's certificate of origin to Documentation/Laurent Pinchart
2020-04-15licenses: Replace deprecated GPL-2.0 with GPL-2.0-onlyLaurent Pinchart
2020-04-15licenses: Remove unused LGPL-2.1Laurent Pinchart
2020-04-15licenses: Add missing licensesLaurent Pinchart
2020-04-15licenses: Rename license files according to REUSELaurent Pinchart
an class="hl opt">; class FileSink : public FrameSink { public: FileSink(const std::map<const libcamera::Stream *, std::string> &streamNames, const std::string &pattern = ""); ~FileSink(); int configure(const libcamera::CameraConfiguration &config) override; void mapBuffer(libcamera::FrameBuffer *buffer) override; bool processRequest(libcamera::Request *request) override; private: void writeBuffer(const libcamera::Stream *stream, libcamera::FrameBuffer *buffer); std::map<const libcamera::Stream *, std::string> streamNames_; std::string pattern_; std::map<libcamera::FrameBuffer *, std::unique_ptr<Image>> mappedBuffers_; };