aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-02-27 17:24:51 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-03-27 16:27:28 +0100
commite9206124ccadc730e3fdc4ef401beda0467a856e (patch)
treebf0dd7e8d5ca48a9a24675048218fa72c9dc93a8
parent2fbab8b07748b790b5896c24a0aa09444ca48f97 (diff)
libcamera: stream: Add StillCaptureRaw role
Add a role for capturing high resolution, low frame rate, still images in RAW format. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--include/libcamera/stream.h1
-rw-r--r--src/libcamera/stream.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index b1441f8..18142dc 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 ea3d214..ef16aaa 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

Privacy Policy