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:
parent
6f53f01409
commit
b7ce7e1d34
1 changed files with 11 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue