[libcamera-devel] [PATCH 1/7] libcamera: stream: Add StillCaptureRaw role
Niklas Söderlund
niklas.soderlund at ragnatech.se
Tue Mar 24 16:51:39 CET 2020
Add role to be used for streams capturing frames in a raw format for
still capture in a low frame rate.
Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
include/libcamera/stream.h | 1 +
src/libcamera/stream.cpp | 3 +++
2 files changed, 4 insertions(+)
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index b1441f8ec6749fda..18142dc997bb8885 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -58,6 +58,7 @@ private:
enum StreamRole {
StillCapture,
+ StillCaptureRaw,
VideoRecording,
Viewfinder,
};
diff --git a/src/libcamera/stream.cpp b/src/libcamera/stream.cpp
index ea3d214271ad287a..ef16aaa1b2f4586a 100644
--- a/src/libcamera/stream.cpp
+++ b/src/libcamera/stream.cpp
@@ -361,6 +361,9 @@ std::string StreamConfiguration::toString() const
* \var StillCapture
* The stream is intended to capture high-resolution, high-quality still images
* with low frame rate. The captured frames may be exposed with flash.
+ * \var StillCaptureRaw
+ * The stream is intended to capture high-resolution, raw still images with low
+ * frame rate.
* \var VideoRecording
* The stream is intended to capture video for the purpose of recording or
* streaming. The video stream may produce a high frame rate and may be
--
2.25.1
More information about the libcamera-devel
mailing list