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>
This commit is contained in:
Naushir Patuck
2023-10-13 08:48:36 +01:00
committed by Kieran Bingham
parent 0d4342bf22
commit a04fe76a45

View File

@@ -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 */