From 3cd879ea8ae86b95333ba40554e8c1dc76f446ad Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 29 Nov 2023 21:02:14 +0100 Subject: libipa: camera_sensor_helper: Add OV64A40 helper Add a CameraSensorHelper for the OV64A40 camera sensor. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- src/ipa/libipa/camera_sensor_helper.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp index f0ecc383..ce29f423 100644 --- a/src/ipa/libipa/camera_sensor_helper.cpp +++ b/src/ipa/libipa/camera_sensor_helper.cpp @@ -547,6 +547,17 @@ public: }; REGISTER_CAMERA_SENSOR_HELPER("ov5693", CameraSensorHelperOv5693) +class CameraSensorHelperOv64a40 : public CameraSensorHelper +{ +public: + CameraSensorHelperOv64a40() + { + gainType_ = AnalogueGainLinear; + gainConstants_.linear = { 1, 0, 0, 128 }; + } +}; +REGISTER_CAMERA_SENSOR_HELPER("ov64a40", CameraSensorHelperOv64a40) + class CameraSensorHelperOv8858 : public CameraSensorHelper { public: -- cgit v1.2.1