summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/libipa/camera_sensor_helper.cpp2
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 f870dc28..a0a5437a 100644
--- a/src/ipa/libipa/camera_sensor_helper.cpp
+++ b/src/ipa/libipa/camera_sensor_helper.cpp
@@ -576,6 +576,8 @@ class CameraSensorHelperImx290 : public CameraSensorHelper
public:
CameraSensorHelperImx290()
{
+ /* From datasheet: 0xf0 at 12bits. */
+ blackLevel_ = 3840;
gainType_ = AnalogueGainExponential;
gainConstants_.exp = { 1.0, expGainDb(0.3) };
}