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>
This commit is contained in:
Niklas Söderlund 2020-02-27 17:24:51 +01:00
parent 2fbab8b077
commit e9206124cc
2 changed files with 4 additions and 0 deletions

View file

@ -58,6 +58,7 @@ private:
enum StreamRole { enum StreamRole {
StillCapture, StillCapture,
StillCaptureRaw,
VideoRecording, VideoRecording,
Viewfinder, Viewfinder,
}; };

View file

@ -361,6 +361,9 @@ std::string StreamConfiguration::toString() const
* \var StillCapture * \var StillCapture
* The stream is intended to capture high-resolution, high-quality still images * The stream is intended to capture high-resolution, high-quality still images
* with low frame rate. The captured frames may be exposed with flash. * 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 * \var VideoRecording
* The stream is intended to capture video for the purpose of recording or * 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 * streaming. The video stream may produce a high frame rate and may be