mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 08:25:07 +03:00
libipa: Add CameraSensorHelper for ov8865
Add a CameraSensorHelperOv8865 class. The gain coefficients are gleaned from the datasheet; the lowest 7 bits are reported there as fractional bits, so real gain is val/128. Signed-off-by: Daniel Scally <djrscally@gmail.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
48a380b389
commit
2c88a6dbc1
1 changed files with 10 additions and 0 deletions
|
@ -325,6 +325,16 @@ public:
|
|||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov5693", CameraSensorHelperOv5693)
|
||||
|
||||
class CameraSensorHelperOv8865 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperOv8865()
|
||||
{
|
||||
analogueGainConstants_ = { AnalogueGainLinear, 1, 0, 0, 128 };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov8865", CameraSensorHelperOv8865)
|
||||
|
||||
class CameraSensorHelperOv13858 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue