From 1b7051b4929786728c741aa358360b8ab0e2fad7 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 5 Feb 2019 11:45:24 +0100 Subject: libcamera: stream: Construct a stream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Construct a stream object with a default internal pool. Signed-off-by: Kieran Bingham Signed-off-by: Jacopo Mondi Signed-off-by: Laurent Pinchart Signed-off-by: Niklas Söderlund --- include/libcamera/stream.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h index 89067836..111f2c93 100644 --- a/include/libcamera/stream.h +++ b/include/libcamera/stream.h @@ -7,10 +7,18 @@ #ifndef __LIBCAMERA_STREAM_H__ #define __LIBCAMERA_STREAM_H__ +#include + namespace libcamera { class Stream final { +public: + Stream(); + BufferPool &bufferPool() { return bufferPool_; } + +private: + BufferPool bufferPool_; }; struct StreamConfiguration { -- cgit v1.2.1