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>
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user