summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/server.svg
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/assets/feathericons/server.svg')
0 files changed, 0 insertions, 0 deletions
span class="hl opt">{ public: FrameBufferAllocator(std::shared_ptr<Camera> camera); ~FrameBufferAllocator(); int allocate(Stream *stream); int free(Stream *stream); bool allocated() const { return !buffers_.empty(); } const std::vector<std::unique_ptr<FrameBuffer>> &buffers(Stream *stream) const; private: LIBCAMERA_DISABLE_COPY(FrameBufferAllocator) std::shared_ptr<Camera> camera_; std::map<Stream *, std::vector<std::unique_ptr<FrameBuffer>>> buffers_; }; } /* namespace libcamera */ #endif /* __LIBCAMERA_FRAMEBUFFER_ALLOCATOR_H__ */