[libcamera-devel] [PATCH v2 01/11] libipa: Correct IMX219 in CameraSensorHelper
Jean-Michel Hautbois
jeanmichel.hautbois at ideasonboard.com
Tue Nov 23 10:14:41 CET 2021
The equation is badly reported in the CameraSensorHelper, as m1 and c0
are inverted. Correct it to have a proper gain calculation.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois at ideasonboard.com>
Acked-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
src/ipa/libipa/camera_sensor_helper.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp
index 0b0eb503..5d052612 100644
--- a/src/ipa/libipa/camera_sensor_helper.cpp
+++ b/src/ipa/libipa/camera_sensor_helper.cpp
@@ -290,7 +290,7 @@ class CameraSensorHelperImx219 : public CameraSensorHelper
public:
CameraSensorHelperImx219()
{
- analogueGainConstants_ = { AnalogueGainLinear, 0, -1, 256, 256 };
+ analogueGainConstants_ = { AnalogueGainLinear, 0, 256, -1, 256 };
}
};
REGISTER_CAMERA_SENSOR_HELPER("imx219", CameraSensorHelperImx219)
--
2.32.0
More information about the libcamera-devel
mailing list