libcamera: stream: Rename StillCaptureRaw to Raw
With the buffer copy removed from all pipelines for raw capture rename StillCaptureRaw to Raw to better describe the role. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
@@ -348,7 +348,7 @@ CameraConfiguration *PipelineHandlerIPU3::generateConfiguration(Camera *camera,
|
||||
|
||||
break;
|
||||
|
||||
case StreamRole::StillCaptureRaw: {
|
||||
case StreamRole::Raw: {
|
||||
StreamConfiguration cio2Config =
|
||||
data->cio2_.generateConfiguration(sensorResolution);
|
||||
pixelFormat = cio2Config.pixelFormat;
|
||||
|
||||
@@ -461,7 +461,7 @@ CameraConfiguration *PipelineHandlerRPi::generateConfiguration(Camera *camera,
|
||||
unsigned int outCount = 0;
|
||||
for (const StreamRole role : roles) {
|
||||
switch (role) {
|
||||
case StreamRole::StillCaptureRaw:
|
||||
case StreamRole::Raw:
|
||||
size = data->sensor_->resolution();
|
||||
fmts = data->unicam_[Unicam::Image].dev()->formats();
|
||||
sensorFormat = findBestMode(fmts, size);
|
||||
|
||||
@@ -380,12 +380,11 @@ std::string StreamConfiguration::toString() const
|
||||
* are specified by applications and passed to cameras, that then select the
|
||||
* most appropriate streams and their default configurations.
|
||||
*
|
||||
* \var Raw
|
||||
* The stream is intended to capture raw frames from the sensor.
|
||||
* \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
|
||||
|
||||
Reference in New Issue
Block a user