From 4a5febd7ddd798c783ca5e1192b0e9c705c1ac77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Mon, 4 Feb 2019 17:18:09 +0100 Subject: libcamera: streams: extend stream configuration with buffer count MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The camera needs to be configured with the number of buffers required to satisfy the applications use case. While the application can request any number of buffers, the pipeline must take the constraints of the Linux driver into consideration. Signed-off-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- src/libcamera/stream.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libcamera/stream.cpp') diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp index b0b4efe3..dd9092d9 100644 --- a/src/libcamera/stream.cpp +++ b/src/libcamera/stream.cpp @@ -73,4 +73,9 @@ namespace libcamera { * format described in V4L2 using the V4L2_PIX_FMT_* definitions. */ +/** + * \var StreamConfiguration::bufferCount + * \brief Requested number of buffers to allocate for the stream + */ + } /* namespace libcamera */ -- cgit v1.2.1