libcamera: libipa: camera_sensor: Provide helper and properties for Sony IMX462

The sensor is largely compatible with the already supported
Sony IMX290 so we can reuse the same helpers for the analogue
gain conversion functions.

Signed-off-by: Geoffrey Van Landeghem <geoffrey.vl@gmail.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
This commit is contained in:
Geoffrey Van Landeghem
2024-11-24 20:29:46 +01:00
committed by Jacopo Mondi
parent e07ac56066
commit 8655ba6ffb
3 changed files with 10 additions and 0 deletions

View File

@@ -622,6 +622,11 @@ public:
};
REGISTER_CAMERA_SENSOR_HELPER("imx415", CameraSensorHelperImx415)
class CameraSensorHelperImx462 : public CameraSensorHelperImx290
{
};
REGISTER_CAMERA_SENSOR_HELPER("imx462", CameraSensorHelperImx462)
class CameraSensorHelperImx477 : public CameraSensorHelper
{
public:

View File

@@ -73,3 +73,4 @@ static CamHelper *create()
}
static RegisterCamHelper reg("imx290", &create);
static RegisterCamHelper reg462("imx462", &create);

View File

@@ -142,6 +142,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
.unitCellSize = { 1450, 1450 },
.testPatternModes = {},
} },
{ "imx462", {
.unitCellSize = { 2900, 2900 },
.testPatternModes = {},
} },
{ "imx477", {
.unitCellSize = { 1550, 1550 },
.testPatternModes = {},