[libcamera-devel] [PATCH] libipa: camera_sensor_helper: Add Sony IMX477 helper
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed May 25 14:39:57 CEST 2022
Hi Naush,
Thank you for the patch.
On Wed, May 25, 2022 at 01:27:35PM +0100, Naushir Patuck via libcamera-devel wrote:
> Add suport for the Sony IMX477 sensor in the cameara helper database.
s/suport/support/
I'll fix that when applying.
> Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
It would be nice to use the CameraSensorHelper in the Raspberry Pi IPA
at some point :-) We're missing support for integration time
calculation, delays and embedded data parsing. I'll try to implement at
least the first two at some point, and may then send a patch series to
switch.
> ---
> 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 0f1561370c9c..2ddbf01cdeac 100644
> --- a/src/ipa/libipa/camera_sensor_helper.cpp
> +++ b/src/ipa/libipa/camera_sensor_helper.cpp
> @@ -396,6 +396,17 @@ public:
> };
> REGISTER_CAMERA_SENSOR_HELPER("imx296", CameraSensorHelperImx296)
>
> +class CameraSensorHelperImx477 : public CameraSensorHelper
> +{
> +public:
> + CameraSensorHelperImx477()
> + {
> + gainType_ = AnalogueGainLinear;
> + gainConstants_.linear = { 0, 1024, -1, 1024 };
> + }
> +};
> +REGISTER_CAMERA_SENSOR_HELPER("imx477", CameraSensorHelperImx477)
> +
> class CameraSensorHelperOv2740 : public CameraSensorHelper
> {
> public:
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list