libipa: camera_sensor_helper: Add Sony IMX477 helper
Add support for the Sony IMX477 sensor in the camera helper database. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
6f53f01409
commit
b7ce7e1d34
@@ -396,6 +396,17 @@ public:
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx296", CameraSensorHelperImx296)
|
||||
|
||||
class CameraSensorHelperImx477 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperImx477()
|
||||
{
|
||||
gainType_ = AnalogueGainLinear;
|
||||
gainConstants_.linear = { 0, 1024, -1, 1024 };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx477", CameraSensorHelperImx477)
|
||||
|
||||
class CameraSensorHelperOv2740 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user