[PATCH v4 7/9] libcamera: software_isp: Add an example CCM to uncalibrated.yaml

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jan 27 00:58:17 CET 2025


Hi Milan,

Thank you for the patch.

On Mon, Jan 13, 2025 at 02:51:04PM +0100, Milan Zamazal wrote:
> For performance reasons, color correction matrix (CCM) is not applied by
> default in software ISP.  But let's add a commented out example how to
> define it to the default tuning file.
> 
> Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
> Acked-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> ---
>  src/ipa/simple/data/uncalibrated.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/src/ipa/simple/data/uncalibrated.yaml b/src/ipa/simple/data/uncalibrated.yaml
> index 3f147112..8df3cd4e 100644
> --- a/src/ipa/simple/data/uncalibrated.yaml
> +++ b/src/ipa/simple/data/uncalibrated.yaml
> @@ -5,6 +5,13 @@ version: 1
>  algorithms:
>    - BlackLevel:
>    - Awb:
> +  # Color correction matrices can be defined here:

You could explain why this is commented out:

  # Color correction matrices can be defined here. The CCM algorithm has a
  # significant performance impact, and should only be enabled if tuned.

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> +  # - Ccm:
> +  #     ccms:
> +  #       - ct: 6500
> +  #         ccm: [ 1, 0, 0,
> +  #                0, 1, 0,
> +  #                0, 0, 1]
>    - Lut:
>    - Agc:
>  ...

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list