summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-02-05 11:45:24 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-06 07:41:51 +0200
commit1b7051b4929786728c741aa358360b8ab0e2fad7 (patch)
treebe5888997f8ab7773e3c4ac47d0b6d136508b3ee /include
parent468176fa07d919782add1cb857434003198781f2 (diff)
libcamera: stream: Construct a stream
Construct a stream object with a default internal pool. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/stream.h8
1 files changed, 8 insertions, 0 deletions
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 <libcamera/buffer.h>
+
namespace libcamera {
class Stream final
{
+public:
+ Stream();
+ BufferPool &bufferPool() { return bufferPool_; }
+
+private:
+ BufferPool bufferPool_;
};
struct StreamConfiguration {