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 --- src/libcamera/stream.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/libcamera/stream.cpp') 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 @@ -47,6 +47,24 @@ namespace libcamera { * optimal stream for the task. */ +/** + * \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 -- cgit v1.2.1