[libcamera-devel] [PATCH] libipa: Add CameraSensorHelper for OV13858
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed Jun 30 13:21:26 CEST 2021
Extend the CameraSensorHelper factory with support for an
OV13858 sensor as found in the Soraka Chromebook.
Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
src/ipa/libipa/camera_sensor_helper.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp
index 23335ed66b02..8e95b8b10102 100644
--- a/src/ipa/libipa/camera_sensor_helper.cpp
+++ b/src/ipa/libipa/camera_sensor_helper.cpp
@@ -313,6 +313,20 @@ public:
};
REGISTER_CAMERA_SENSOR_HELPER("ov5693", CameraSensorHelperOv5693)
+/**
+ * \class CameraSensorHelperOv13858
+ * \brief Create and give helpers for the ov13858 sensor
+ */
+class CameraSensorHelperOv13858 : public CameraSensorHelper
+{
+public:
+ CameraSensorHelperOv13858()
+ {
+ analogueGainConstants_ = { AnalogueGainLinear, 1, 0, 0, 256 };
+ }
+};
+REGISTER_CAMERA_SENSOR_HELPER("ov13858", CameraSensorHelperOv13858)
+
} /* namespace ipa */
} /* namespace libcamera */
--
2.30.2
More information about the libcamera-devel
mailing list