[PATCH 5/5] ipa: rkisp1: data: Update tuning files for imx219 and imx258
Jacopo Mondi
jacopo.mondi at ideasonboard.com
Tue Jul 2 10:53:55 CEST 2024
Hi Stefan
On Mon, Jul 01, 2024 at 04:38:28PM GMT, Stefan Klug wrote:
> For imx219 the black level was incorrectly set to 256. According to the
> datasheet it is 64d for raw 10. Mapped to 16bit, this becomes 4096.
Might it have been expressed in 12 bits maybe ?
(however the mainline imx219 driver only supports 10 and 8 bpp codes)
>
> For the imx258, BLC was not included at all. As only LSC data with
> rather low maximum values, the image quality is expected to only get
> better by adding black level correction.
Not sure if this last paragraph is necessary.
>
> Signed-off-by: Stefan Klug <stefan.klug at ideasonboard.com>
Anyway, we now have them in camera sensor helpers
Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
> ---
> src/ipa/rkisp1/data/imx219.yaml | 4 ----
> src/ipa/rkisp1/data/imx258.yaml | 1 +
> 2 files changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/src/ipa/rkisp1/data/imx219.yaml b/src/ipa/rkisp1/data/imx219.yaml
> index cbcc43b84ac7..0d99cb529392 100644
> --- a/src/ipa/rkisp1/data/imx219.yaml
> +++ b/src/ipa/rkisp1/data/imx219.yaml
> @@ -6,10 +6,6 @@ algorithms:
> - Agc:
> - Awb:
> - BlackLevelCorrection:
> - R: 256
> - Gr: 256
> - Gb: 256
> - B: 256
> - LensShadingCorrection:
> x-size: [ 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625 ]
> y-size: [ 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625 ]
> diff --git a/src/ipa/rkisp1/data/imx258.yaml b/src/ipa/rkisp1/data/imx258.yaml
> index 43dddf20dcd2..202af36afbee 100644
> --- a/src/ipa/rkisp1/data/imx258.yaml
> +++ b/src/ipa/rkisp1/data/imx258.yaml
> @@ -5,6 +5,7 @@ version: 1
> algorithms:
> - Agc:
> - Awb:
> + - BlackLevelCorrection:
> - LensShadingCorrection:
> x-size: [ 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625 ]
> y-size: [ 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625, 0.0625 ]
> --
> 2.43.0
>
More information about the libcamera-devel
mailing list