ipa: camera_sensor_helper: Add OV4689 support
Add support for Omnivision OV4689 image sensor to libipa. The sensor implements a linear gain equation with analogue gain control values 0-2047 corresponding to 0x-16x physical gain range. Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
This commit is contained in:
parent
13986d6ce3
commit
3643c59617
1 changed files with 11 additions and 0 deletions
|
@ -461,6 +461,17 @@ public:
|
|||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov2740", CameraSensorHelperOv2740)
|
||||
|
||||
class CameraSensorHelperOv4689 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperOv4689()
|
||||
{
|
||||
gainType_ = AnalogueGainLinear;
|
||||
gainConstants_.linear = { 1, 0, 0, 128 };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov4689", CameraSensorHelperOv4689)
|
||||
|
||||
class CameraSensorHelperOv5640 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue