summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/libcamera/stream.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp
index dd9092d9..b6238946 100644
--- a/src/libcamera/stream.cpp
+++ b/src/libcamera/stream.cpp
@@ -48,6 +48,24 @@ namespace libcamera {
*/
/**
+ * \brief Construct a stream with default parameters
+ */
+Stream::Stream()
+{
+}
+
+/**
+ * \fn Stream::bufferPool()
+ * \brief Retrieve the buffer pool for the stream
+ *
+ * The buffer pool handles the buffers used to capture frames at the output of
+ * the stream. It is initially created empty and shall be populated with
+ * buffers before being used.
+ *
+ * \return A reference to the buffer pool
+ */
+
+/**
* \struct StreamConfiguration
* \brief Configuration parameters for a stream
*