summaryrefslogtreecommitdiff
path: root/src/libcamera/stream.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-04 17:18:09 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-02-04 20:21:19 +0100
commit4a5febd7ddd798c783ca5e1192b0e9c705c1ac77 (patch)
treeee405a813cdf2aea87ba16544e0bbf1d0f39829e /src/libcamera/stream.cpp
parent08c31d2a868656fb967618957fdf9e122422606e (diff)
libcamera: streams: extend stream configuration with buffer count
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 <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/libcamera/stream.cpp')
-rw-r--r--src/libcamera/stream.cpp5
1 files changed, 5 insertions, 0 deletions
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 */