libcamera: libipa: camera_sensor: Add Sony IMX283 sensor properties
Provide the IMX283 camera sensor properties and registration with libipa for the gain code helpers. The test patterns exposed by the IMX283 do not map well to the current set of test pattern controls supplied by libcamera. These are left intentionally unimplemented. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
This commit is contained in:
committed by
Umang Jain
parent
fb74bb7df6
commit
2ac544cfd6
@@ -417,6 +417,17 @@ public:
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx258", CameraSensorHelperImx258)
|
||||
|
||||
class CameraSensorHelperImx283 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperImx283()
|
||||
{
|
||||
gainType_ = AnalogueGainLinear;
|
||||
gainConstants_.linear = { 0, 2048, -1, 2048 };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx283", CameraSensorHelperImx283)
|
||||
|
||||
class CameraSensorHelperImx290 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -99,6 +99,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
|
||||
{ controls::draft::TestPatternModePn9, 4 },
|
||||
},
|
||||
} },
|
||||
{ "imx283", {
|
||||
.unitCellSize = { 2400, 2400 },
|
||||
.testPatternModes = {},
|
||||
} },
|
||||
{ "imx290", {
|
||||
.unitCellSize = { 2900, 2900 },
|
||||
.testPatternModes = {},
|
||||
|
||||
Reference in New Issue
Block a user