[PATCH v3 7/7] ipa: rpi: Add accessor function for monoSensor_
Naushir Patuck
naush at raspberrypi.com
Fri May 10 12:02:08 CEST 2024
The monoSensor_ member variable will be used by the derived IPAs in an
upcoming commit, so add an accessor function for it.
Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
---
src/ipa/rpi/common/ipa_base.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/ipa/rpi/common/ipa_base.h b/src/ipa/rpi/common/ipa_base.h
index 074b304e9fd8..a95cda1ffe51 100644
--- a/src/ipa/rpi/common/ipa_base.h
+++ b/src/ipa/rpi/common/ipa_base.h
@@ -49,6 +49,11 @@ public:
void processStats(const ProcessParams ¶ms) override;
protected:
+ bool monoSensor()
+ {
+ return monoSensor_;
+ }
+
/* Raspberry Pi controller specific defines. */
std::unique_ptr<RPiController::CamHelper> helper_;
RPiController::Controller controller_;
--
2.34.1
More information about the libcamera-devel
mailing list