mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-14 07:59:44 +03:00
libipa: Correct IMX219 in CameraSensorHelper
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@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
8178e01b36
commit
aad674c544
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue