@@ -653,6 +653,24 @@ public:
};
REGISTER_CAMERA_SENSOR_HELPER("imx708", CameraSensorHelperImx708)
+class CameraSensorHelperOv02e10 : public CameraSensorHelper
+{
+public:
+ CameraSensorHelperOv02e10()
+ {
+ /*
+ * OV02E10 reports RAW10. The Intel IPU6 HAL configuration uses
+ * SGRBG10 at 1928x1088 and exposure/gain lag of 2 frames.
+ *
+ * The analogue gain model is not yet datasheet-validated.
+ * Use the common OmniVision 1/128 linear gain model as a
+ * conservative first approximation.
+ */
+ gain_ = AnalogueGainLinear{ 1, 0, 0, 16 };
+ }
+};
+REGISTER_CAMERA_SENSOR_HELPER("ov02e10", CameraSensorHelperOv02e10)
+
class CameraSensorHelperOv2685 : public CameraSensorHelper
{
public:
new file mode 100644
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: CC0-1.0
+%YAML 1.1
+---
+version: 1
+algorithms:
+ - BlackLevel:
+ - Awb:
+ # Color correction matrices can be defined here. The CCM algorithm
+ # has a significant performance impact, and should only be enabled
+ # if tuned.
+ # - Ccm:
+ # ccms:
+ # - ct: 6500
+ # ccm: [ 1, 0, 0,
+ # 0, 1, 0,
+ # 0, 0, 1]
+ - Adjust:
+ - Agc:
+...
@@ -325,6 +325,18 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
.hblankDelay = 3
},
} },
+ { "ov02e10", {
+ .unitCellSize = { 1120, 1120 },
+ .testPatternModes = {
+ { controls::draft::TestPatternModeOff, 0 },
+ },
+ .sensorDelays = {
+ .exposureDelay = 2,
+ .gainDelay = 2,
+ .vblankDelay = 2,
+ .hblankDelay = 2
+ },
+ } },
{ "ov2685", {
.unitCellSize = { 1750, 1750 },
.testPatternModes = {
Signed-off-by: Marcel Berger <marbe@gmx.de> --- Changes in v2: - Update the OV02E10 analogue gain model. - Treat gain code 0x10 as 1.0x, resulting in a 1.0x to 15.5x range. - Keep the simple IPA YAML intentionally minimal; image tuning is left for follow-up work. src/ipa/libipa/camera_sensor_helper.cpp | 18 ++++++++++++++++++ src/ipa/simple/data/ov02e10.yaml | 19 +++++++++++++++++++ .../sensor/camera_sensor_properties.cpp | 12 ++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 src/ipa/simple/data/ov02e10.yaml