@@ -642,6 +642,18 @@ public:
};
REGISTER_CAMERA_SENSOR_HELPER("imx477", CameraSensorHelperImx477)
+class CameraSensorHelperImx662 : public CameraSensorHelper
+{
+public:
+ CameraSensorHelperImx662()
+ {
+ /* From datasheet: 0xc8 at 12bits. */
+ blackLevel_ = 3200;
+ gain_ = AnalogueGainExp{ 1.0, expGainDb(0.3) };
+ }
+};
+REGISTER_CAMERA_SENSOR_HELPER("imx662", CameraSensorHelperImx662)
+
class CameraSensorHelperImx678 : public CameraSensorHelper
{
public:
@@ -309,6 +309,16 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
.hblankDelay = 3
},
} },
+ { "imx662", {
+ .unitCellSize = { 2900, 2900 },
+ .testPatternModes = {},
+ .sensorDelays = {
+ .exposureDelay = 2,
+ .gainDelay = 2,
+ .vblankDelay = 2,
+ .hblankDelay = 2
+ },
+ } },
{ "imx678", {
.unitCellSize = { 2000, 2000 },
.testPatternModes = {},
Add the camera sensor properties and camera helper entry for the Sony IMX662 sensor. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> --- src/ipa/libipa/camera_sensor_helper.cpp | 12 ++++++++++++ src/libcamera/sensor/camera_sensor_properties.cpp | 10 ++++++++++ 2 files changed, 22 insertions(+)