diff options
Diffstat (limited to 'include/libcamera/stream.h')
-rw-r--r-- | include/libcamera/stream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index 5b4fea32..f595a630 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -8,6 +8,7 @@ #define __LIBCAMERA_STREAM_H__ #include <map> +#include <memory> #include <string> #include <vector> @@ -66,6 +67,9 @@ class Stream { public: Stream(); + + std::unique_ptr<Buffer> createBuffer(unsigned int index); + BufferPool &bufferPool() { return bufferPool_; } const StreamConfiguration &configuration() const { return configuration_; } |