[PATCH v5 08/10] libcamera: software_isp: Add an example CCM to uncalibrated.yaml

Milan Zamazal mzamazal at redhat.com
Thu Jan 30 19:14:45 CET 2025


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>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 src/ipa/simple/data/uncalibrated.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/ipa/simple/data/uncalibrated.yaml b/src/ipa/simple/data/uncalibrated.yaml
index 3f147112..5508e668 100644
--- a/src/ipa/simple/data/uncalibrated.yaml
+++ b/src/ipa/simple/data/uncalibrated.yaml
@@ -5,6 +5,15 @@ version: 1
 algorithms:
   - BlackLevel:
   - Awb:
+  # Color correction matrices can be defined here. The CCM algorithm
+  # has a significant performance impact, and should only be enabled
+  # if tuned.
+  # - Ccm:
+  #     ccms:
+  #       - ct: 6500
+  #         ccm: [ 1, 0, 0,
+  #                0, 1, 0,
+  #                0, 0, 1]
   - Lut:
   - Agc:
 ...
-- 
2.48.1



More information about the libcamera-devel mailing list