summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/pipeline/imx8-isi/imx8-isi.cpp')
-rw-r--r--src/libcamera/pipeline/imx8-isi/imx8-isi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp b/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp
index e51457eb..0c67e35d 100644
--- a/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp
+++ b/src/libcamera/pipeline/imx8-isi/imx8-isi.cpp
@@ -599,7 +599,7 @@ PipelineHandlerISI::generateConfiguration(Camera *camera,
Size size;
switch (role) {
- case StillCapture:
+ case StreamRole::StillCapture:
/*
* \todo Make sure the sensor can produce non-RAW formats
* compatible with the ones supported by the pipeline.
@@ -608,8 +608,8 @@ PipelineHandlerISI::generateConfiguration(Camera *camera,
pixelFormat = formats::YUYV;
break;
- case Viewfinder:
- case VideoRecording:
+ case StreamRole::Viewfinder:
+ case StreamRole::VideoRecording:
/*
* \todo Make sure the sensor can produce non-RAW formats
* compatible with the ones supported by the pipeline.
@@ -618,7 +618,7 @@ PipelineHandlerISI::generateConfiguration(Camera *camera,
pixelFormat = formats::YUYV;
break;
- case Raw: {
+ case StreamRole::Raw: {
/*
* Make sure the sensor can generate a RAW format and
* prefer the ones with a larger bitdepth.