diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-08-08 17:57:01 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-09-12 11:12:28 +0200 |
commit | 935f6ff2672a36c1e2b842bdcc23429a39ff535d (patch) | |
tree | 94fa4f899736f0578beb0fdd1e51a7d95829a973 | |
parent | 69b702d183bb2ea2ce3ba40fcde8d5f5cf80abcc (diff) |
libcamera: libipa: camera_sensor: Add IMX283 black level
Report the default sensor black level reported by the datasheet.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | src/ipa/libipa/camera_sensor_helper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp index ffc7c1d7..bb90b543 100644 --- a/src/ipa/libipa/camera_sensor_helper.cpp +++ b/src/ipa/libipa/camera_sensor_helper.cpp @@ -550,6 +550,8 @@ class CameraSensorHelperImx283 : public CameraSensorHelper public: CameraSensorHelperImx283() { + /* From datasheet: 0x32 at 10bits. */ + blackLevel_ = 3200; gainType_ = AnalogueGainLinear; gainConstants_.linear = { 0, 2048, -1, 2048 }; } |