libipa: camera_sensor_helper: Add IMX296 helper
The IMX296 is a Sony sensor that expresses its gain in 0.1dB units. It thus maps to the exponential gain model. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
4011994780
commit
e342e522cb
1 changed files with 11 additions and 0 deletions
|
@ -385,6 +385,17 @@ public:
|
|||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx290", CameraSensorHelperImx290)
|
||||
|
||||
class CameraSensorHelperImx296 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperImx296()
|
||||
{
|
||||
gainType_ = AnalogueGainExponential;
|
||||
gainConstants_.exp = { 1.0, expGainDb(0.1) };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("imx296", CameraSensorHelperImx296)
|
||||
|
||||
class CameraSensorHelperOv2740 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue