[libcamera-devel] [PATCH] ipa: libipa: Add OV5647 Camera Sensor Helper
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Mar 8 23:02:05 CET 2023
Hi Kieran,
Thank you for the patch.
On Wed, Mar 08, 2023 at 03:53:29PM +0000, Kieran Bingham via libcamera-devel wrote:
> Provide a CameraSensorHelper for the OV5647 as used in the Raspberry Pi
> Camera Module v1.
>
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> src/ipa/libipa/camera_sensor_helper.cpp | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp
> index 15d92395a7ae..693b628a438a 100644
> --- a/src/ipa/libipa/camera_sensor_helper.cpp
> +++ b/src/ipa/libipa/camera_sensor_helper.cpp
> @@ -498,6 +498,17 @@ public:
> };
> REGISTER_CAMERA_SENSOR_HELPER("ov5640", CameraSensorHelperOv5640)
>
> +class CameraSensorHelperOv5647 : public CameraSensorHelper
> +{
> +public:
> + CameraSensorHelperOv5647()
> + {
> + gainType_ = AnalogueGainLinear;
> + gainConstants_.linear = { 1, 0, 0, 16 };
> + }
> +};
> +REGISTER_CAMERA_SENSOR_HELPER("ov5647", CameraSensorHelperOv5647)
> +
> class CameraSensorHelperOv5670 : public CameraSensorHelper
> {
> public:
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list