From a04fe76a457ede6c8cab75471415484eb0b170f6 Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Fri, 13 Oct 2023 08:48:36 +0100 Subject: 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 Reviewed-by: David Plowman Reviewed-by: Jacopo Mondi Signed-off-by: Kieran Bingham --- src/libcamera/pipeline/rpi/common/pipeline_base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcamera/pipeline') 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 rawStreams_; std::vector 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 yuvColorSpace_; std::optional rgbColorSpace_; + +private: + const CameraData *data_; }; } /* namespace RPi */ -- cgit v1.2.1