summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-10-13 08:48:36 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-10-18 11:01:23 +0100
commita04fe76a457ede6c8cab75471415484eb0b170f6 (patch)
tree93a4a8a1fc29e975a692f749d0928a565e0c5270
parent0d4342bf2242d26775cd73dcdbcf146cc7425153 (diff)
pipeline: rpi: Make color space members in RPiCameraConfiguration public
This allows them to be accessed by the pipeline handlers when needed. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/libcamera/pipeline/rpi/common/pipeline_base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.h b/src/libcamera/pipeline/rpi/common/pipeline_base.h
index 0c4a59b7..267eef11 100644
--- a/src/libcamera/pipeline/rpi/common/pipeline_base.h
+++ b/src/libcamera/pipeline/rpi/common/pipeline_base.h
@@ -273,9 +273,6 @@ public:
std::vector<StreamParams> rawStreams_;
std::vector<StreamParams> outStreams_;
-private:
- const CameraData *data_;
-
/*
* Store the colour spaces that all our streams will have. RGB format streams
* will have the same colorspace as YUV streams, with YCbCr field cleared and
@@ -283,6 +280,9 @@ private:
*/
std::optional<ColorSpace> yuvColorSpace_;
std::optional<ColorSpace> rgbColorSpace_;
+
+private:
+ const CameraData *data_;
};
} /* namespace RPi */