summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/stream.h2
-rw-r--r--src/libcamera/stream.cpp5
2 files changed, 7 insertions, 0 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index 4b24dd84..89067836 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -17,6 +17,8 @@ struct StreamConfiguration {
unsigned int width;
unsigned int height;
unsigned int pixelFormat;
+
+ unsigned int bufferCount;
};
} /* namespace libcamera */
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 */