diff options
Diffstat (limited to 'include/libcamera/stream.h')
-rw-r--r-- | include/libcamera/stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index 1883d9e9..2e619cdf 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -85,12 +85,18 @@ public: protected: friend class Camera; + int mapBuffer(const Buffer *buffer); + void unmapBuffer(const Buffer *buffer); + void createBuffers(MemoryType memory, unsigned int count); void destroyBuffers(); BufferPool bufferPool_; StreamConfiguration configuration_; MemoryType memoryType_; + +private: + std::vector<std::pair<std::array<int, 3>, unsigned int>> bufferCache_; }; } /* namespace libcamera */ |