mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
libcamera: libipa: camera_sensor: Add Sony IMX415 sensor properties
Provide the Sony IMX415 camera sensor properties and registration with libipa for the gain code helpers. The test patterns exposed by the IMX415 do not map well to the current set of test pattern controls supplied by libcamera. These are left intentionally unimplemented. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
77269a2869
commit
7235248d38
2 changed files with 15 additions and 0 deletions
|
@ -466,6 +466,17 @@ public:
|
|||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx335", CameraSensorHelperImx335)
|
||||
|
||||
class CameraSensorHelperImx415 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperImx415()
|
||||
{
|
||||
gainType_ = AnalogueGainExponential;
|
||||
gainConstants_.exp = { 1.0, expGainDb(0.3) };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx415", CameraSensorHelperImx415)
|
||||
|
||||
class CameraSensorHelperImx477 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -119,6 +119,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
|
|||
.unitCellSize = { 2000, 2000 },
|
||||
.testPatternModes = {},
|
||||
} },
|
||||
{ "imx415", {
|
||||
.unitCellSize = { 1450, 1450 },
|
||||
.testPatternModes = {},
|
||||
} },
|
||||
{ "imx477", {
|
||||
.unitCellSize = { 1550, 1550 },
|
||||
.testPatternModes = {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue