mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 18:35:07 +03:00
libipa: camera_sensor_helper: Add OV5675 helper
The OV5675 is an OmniVision sensor with a linear gain model, expressed in 1/128 steps. Cc: Quentin Schulz <foss+libcamera@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
d3d7bc433e
commit
5efb6c8e2a
1 changed files with 11 additions and 0 deletions
|
@ -429,6 +429,17 @@ public:
|
|||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov5670", CameraSensorHelperOv5670)
|
||||
|
||||
class CameraSensorHelperOv5675 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperOv5675()
|
||||
{
|
||||
gainType_ = AnalogueGainLinear;
|
||||
gainConstants_.linear = { 1, 0, 0, 128 };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov5675", CameraSensorHelperOv5675)
|
||||
|
||||
class CameraSensorHelperOv5693 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue