@@ -702,6 +702,23 @@ public:
};
REGISTER_CAMERA_SENSOR_HELPER(CameraSensorHelperImx477, "imx477")
+/*
+ * Reusing CameraSensorHelperImx585 for multiple sensors, for convenience.
+ * They may need to be split apart if any differences are found later.
+ */
+class CameraSensorHelperImx585 : public CameraSensorHelper
+{
+public:
+ CameraSensorHelperImx585()
+ {
+ /* From datasheet: 0x32 at 10bits. */
+ blackLevel_ = 3200;
+ gain_ = AnalogueGainExp{ 1.0, expGainDb(0.3) };
+ exposureMargin_ = 8;
+ }
+};
+REGISTER_CAMERA_SENSOR_HELPER(CameraSensorHelperImx585, "imx585", "imx676")
+
/*
* Reusing CameraSensorHelperImx678 for multiple sensors, for convenience.
* They may need to be split apart if any differences are found later.
@@ -340,6 +340,16 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
.hblankDelay = 3
},
} },
+ { "imx585", {
+ .unitCellSize = { 2900, 2900 },
+ .testPatternModes = {},
+ .sensorDelays = {
+ .exposureDelay = 2,
+ .gainDelay = 2,
+ .vblankDelay = 2,
+ .hblankDelay = 2
+ },
+ } },
{ "imx662", {
.unitCellSize = { 2900, 2900 },
.testPatternModes = {},
@@ -360,6 +370,16 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
.hblankDelay = 2
},
} },
+ { "imx676", {
+ .unitCellSize = { 2000, 2000 },
+ .testPatternModes = {},
+ .sensorDelays = {
+ .exposureDelay = 2,
+ .gainDelay = 2,
+ .vblankDelay = 2,
+ .hblankDelay = 2
+ },
+ } },
{ "imx678", {
.unitCellSize = { 2000, 2000 },
.testPatternModes = {},