ipa: softisp: Add OV5675 tuning file
diff mbox series

Message ID 7a4a42bb-1156-4339-98bc-205a98782fc5@keithbcarter.com
State New
Headers show
Series
  • ipa: softisp: Add OV5675 tuning file
Related show

Commit Message

Keith Carter Nov. 17, 2026, 6:21 a.m. UTC
Add a tuning file for the OmniVision OV5675. The sensor is the front
camera of Intel IPU7 (Lunar Lake) laptops such as the MSI Prestige 13
AI+ Evo A2VMG, where it runs through the simple pipeline handler and
the software ISP.

The values come from the AIQB calibration blob of the laptop's Windows
camera driver (OV5675_BCAB65_LNL.aiqb in MSI's Camera_LNL_17232
package). Six light sources from 2717 K to 6554 K each give a white
point, a colour matrix and a lens shading table, so the three share one
colour temperature axis.

Awb uses the bayes algorithm. Each colour gain is the inverse of the
calibrated white point and the priors are flat. transverseNeg is 0.05:
under a warm white LED lamp the white point sits 0.044 off the colour
temperature curve towards green, and the default of 0.01 leaves a
yellow-green cast.

The colour matrices are the traditional matrices of the blob, copied as
they are; every row sums to 1.

The blob stores the lens shading as 63x47 grids per Bayer channel in
Q11. They are resampled to the 17x17 grid of the software ISP and
normalised on the centre. This lens needs x4.1 to x4.9 in the corners,
so the corner cells are clipped at 3.98. Only the luminance part is
used, the averaged green grid for all three channels. A raw flat field
on this laptop agrees with the colour shading of the blob in daylight,
but under a warm LED lamp the tables of the low colour temperatures,
through their strong colour matrices, turn the edges of the image
yellow.

The AGC keeps the default constraint (brightest 2% at least 0.5) and
adds an upper bound (brightest 2% at most 0.9) to limit highlight
clipping, such as from ceiling lamps in indoor scenes.

Signed-off-by: Keith Carter <oss@keithbcarter.com>
---

Notes:
    Tested on master (da6a6ed) on an MSI Prestige 13 AI+ Evo A2VMG at
    1920x1080 and 30 fps with the GPU debayer, against an earlier version
    of this file with a single hand-tuned daylight matrix:
    
    - daylight room: brightness now even to the corners (corner to centre
      luminance 0.60 -> 1.01), whites neutral
    - evening, warm white LED ceiling lamp: AWB reads about 2745 K (grey
      world with the daylight matrix read 3600 K and gave lilac walls); with
      transverseNeg 0.05 the gains match the grey world of the white walls
    - in a dim room the stronger matrices and the edge gains make chroma
      noise more visible, as expected without a denoiser
    
    What I tried before settling on this file (16-17 November 2026):
    
    - 16 Nov: a single daylight CCM fitted to a colour chart shown on a
      phone screen. Colour was fine in daylight, but cold under warm lamps,
      and the corners stayed dark. Replaced by the vendor calibration.
    - 16 Nov: the full vendor lens shading tables, at 100% and at 70%.
      Under the warm LED lamp the low colour temperature tables, through
      their strong matrices, turned the edges of the image yellow.
    - 16 Nov: bayes AWB with the default transverse range of 0.01. The LED
      lamp sits 0.044 off the colour temperature curve towards green, so the
      picture kept a yellow-green cast; transverseNeg 0.05 removes it.
    - 17 Nov: a raw flat field (white paper over the lens, cam with a raw
      stream). The colour shading it needs at the edges (R/G +4 to +11%,
      B/G -2 to -6%) matches the daylight table of the blob, which confirms
      the module (BCAB65, not S5VM17) and the channel order. The vendor
      colour shading is right in daylight; I left it out for the LED case
      above. Colour shading from the daylight table alone could follow.
    
    The colour matrices and white points were read with Javier Tia's AIQB
    parser (series 5948), which handles this Lunar Lake blob unchanged. I
    decoded the lens shading record (id 28) following ia_cmc_types.h from
    intel/ipu7-camera-bins. The script that writes this file, the test
    tools and the dated steps are public:
    https://github.com/cartek99/msi-prestige-evo-camera
    (tools/aiqb-to-softisp.py, docs/UPSTREAM.md). The numbers come from a
    vendor calibration blob, as in
    the OV2740 and Surface Pro 8 tuning files posted earlier; if that is a
    problem for a CC0 data file, please let me know.
    
    I picked the 0.9 upper bound from tests of a similar highlight guard on
    libcamera 0.7.2 in a bright meeting room, where it reduced clipping on a
    white shirt from 18% to 11%.
    
    A lux-dependent relativeLuminanceTarget would be the next step, to
    brighten dim rooms, but it needs a softisp Lux algorithm. I have written
    separately about Kieran's patch for that (patchwork 26491).
    
    Testing with cam: without FrameDurationLimits, the AGC lowers the frame
    rate to 15 fps in dim light. Setting [33333, 33333], as libcamerasrc
    does for 30 fps, keeps 30 fps and raises the gain instead.
    
    I prepared this patch with help from an AI assistant (Claude Code). The
    testing and the measurements are my own, on my own laptop. I have read
    the proposed AI policy (patchwork 28765). If it rules this patch out, I
    understand; the steps above and in the repository are enough to redo
    the file by hand.

 src/ipa/softisp/data/meson.build |   1 +
 src/ipa/softisp/data/ov5675.yaml | 448 +++++++++++++++++++++++++++++++
 2 files changed, 449 insertions(+)
 create mode 100644 src/ipa/softisp/data/ov5675.yaml

Patch
diff mbox series

diff --git a/src/ipa/softisp/data/meson.build b/src/ipa/softisp/data/meson.build
index fd9aa0f..991dabc 100644
--- a/src/ipa/softisp/data/meson.build
+++ b/src/ipa/softisp/data/meson.build
@@ -1,6 +1,7 @@ 
 # SPDX-License-Identifier: CC0-1.0
 
 conf_files = files([
+    'ov5675.yaml',
     'uncalibrated.yaml',
 ])
 
diff --git a/src/ipa/softisp/data/ov5675.yaml b/src/ipa/softisp/data/ov5675.yaml
new file mode 100644
index 0000000..a87993b
--- /dev/null
+++ b/src/ipa/softisp/data/ov5675.yaml
@@ -0,0 +1,448 @@ 
+# SPDX-License-Identifier: CC0-1.0
+# Calibrated from the AIQB of the Windows camera driver of the MSI Prestige 13
+# AI+ Evo A2VMG (OV5675_BCAB65_LNL.aiqb). The colour gains, lens
+# shading tables and colour matrices come from the same light sources, so
+# they share one colour temperature axis.
+%YAML 1.1
+---
+version: 1
+algorithms:
+  - BlackLevel:
+  - Awb:
+      algorithm: bayes
+      # Each gain is the inverse of the calibrated white point of its light
+      # source. Flat priors: no illuminant statistics for this module.
+      colourGains:
+        - ct: 2717
+          gains: [ 1.14048, 1.94715 ]
+        - ct: 2773
+          gains: [ 1.22749, 1.88246 ]
+        - ct: 3565
+          gains: [ 1.50000, 1.63265 ]
+        - ct: 4629
+          gains: [ 1.66207, 1.40525 ]
+        - ct: 5707
+          gains: [ 1.89431, 1.27671 ]
+        - ct: 6554
+          gains: [ 1.99383, 1.19630 ]
+      priors:
+        - lux: 0
+          ct: [ 2717, 2773, 3565, 4629, 5707, 6554 ]
+          probability: [ 0.166667, 0.166667, 0.166667, 0.166667, 0.166667, 0.166667 ]
+        - lux: 100
+          ct: [ 2717, 2773, 3565, 4629, 5707, 6554 ]
+          probability: [ 0.166667, 0.166667, 0.166667, 0.166667, 0.166667, 0.166667 ]
+      # LED room lighting sits on the green side of the calibrated sources
+      # (0.044 in R/G, B/G under a warm white LED); the default 0.01 leaves
+      # a yellow-green cast.
+      transverseNeg: 0.05
+      AwbMode:
+        Auto:
+          lo: 2517
+          hi: 7054
+  - Lsc:
+      # The 63x47 vendor grids resampled to 17x17 and normalised on the
+      # centre. The corners need x4.1-4.9; cells above 3.98 are clipped.
+      # Luminance only: the averaged green grid is used for all three
+      # channels. The vendor colour shading (a few percent at the edges)
+      # turns the edges yellow under warm LED light through the low
+      # colour temperature matrices.
+      type: table
+      sets:
+        - ct: 2717
+          r: [
+            255, 241, 209, 183, 162, 147, 136, 130, 128, 130, 136, 147, 162, 183, 209, 243, 255,
+            255, 221, 189, 164, 144, 129, 119, 113, 111, 113, 119, 130, 145, 165, 189, 222, 255,
+            241, 204, 173, 149, 129, 115, 105,  99,  97,  99, 105, 115, 130, 149, 173, 203, 243,
+            226, 189, 159, 135, 116, 102,  93,  88,  86,  88,  94, 103, 117, 136, 159, 188, 226,
+            213, 178, 148, 125, 106,  93,  84,  79,  77,  79,  85,  94, 107, 126, 149, 177, 213,
+            204, 169, 140, 117,  99,  86,  77,  72,  71,  73,  78,  87, 100, 118, 141, 168, 204,
+            197, 162, 134, 111,  93,  81,  73,  68,  67,  69,  74,  82,  95, 112, 135, 162, 197,
+            193, 158, 130, 107,  90,  78,  70,  66,  65,  66,  71,  79,  92, 109, 131, 158, 193,
+            192, 157, 129, 106,  89,  77,  69,  65,  64,  66,  70,  79,  91, 108, 130, 156, 191,
+            193, 158, 130, 108,  90,  78,  70,  66,  65,  67,  71,  80,  92, 109, 131, 158, 193,
+            197, 162, 134, 111,  94,  81,  73,  69,  67,  69,  74,  83,  95, 112, 135, 161, 196,
+            203, 168, 139, 117,  99,  86,  78,  73,  72,  74,  79,  88, 100, 118, 140, 167, 203,
+            214, 177, 148, 125, 107,  93,  84,  80,  78,  80,  85,  95, 108, 126, 149, 176, 213,
+            227, 189, 159, 135, 117, 103,  93,  88,  87,  89,  95, 104, 118, 136, 159, 188, 227,
+            242, 204, 172, 148, 129, 115, 105, 100,  98, 100, 106, 116, 130, 149, 172, 203, 243,
+            255, 222, 189, 164, 144, 130, 120, 114, 112, 114, 120, 131, 145, 165, 189, 221, 255,
+            255, 244, 211, 184, 163, 148, 137, 131, 128, 131, 138, 148, 164, 184, 210, 243, 255
+          ]
+          g: [
+            255, 241, 209, 183, 162, 147, 136, 130, 128, 130, 136, 147, 162, 183, 209, 243, 255,
+            255, 221, 189, 164, 144, 129, 119, 113, 111, 113, 119, 130, 145, 165, 189, 222, 255,
+            241, 204, 173, 149, 129, 115, 105,  99,  97,  99, 105, 115, 130, 149, 173, 203, 243,
+            226, 189, 159, 135, 116, 102,  93,  88,  86,  88,  94, 103, 117, 136, 159, 188, 226,
+            213, 178, 148, 125, 106,  93,  84,  79,  77,  79,  85,  94, 107, 126, 149, 177, 213,
+            204, 169, 140, 117,  99,  86,  77,  72,  71,  73,  78,  87, 100, 118, 141, 168, 204,
+            197, 162, 134, 111,  93,  81,  73,  68,  67,  69,  74,  82,  95, 112, 135, 162, 197,
+            193, 158, 130, 107,  90,  78,  70,  66,  65,  66,  71,  79,  92, 109, 131, 158, 193,
+            192, 157, 129, 106,  89,  77,  69,  65,  64,  66,  70,  79,  91, 108, 130, 156, 191,
+            193, 158, 130, 108,  90,  78,  70,  66,  65,  67,  71,  80,  92, 109, 131, 158, 193,
+            197, 162, 134, 111,  94,  81,  73,  69,  67,  69,  74,  83,  95, 112, 135, 161, 196,
+            203, 168, 139, 117,  99,  86,  78,  73,  72,  74,  79,  88, 100, 118, 140, 167, 203,
+            214, 177, 148, 125, 107,  93,  84,  80,  78,  80,  85,  95, 108, 126, 149, 176, 213,
+            227, 189, 159, 135, 117, 103,  93,  88,  87,  89,  95, 104, 118, 136, 159, 188, 227,
+            242, 204, 172, 148, 129, 115, 105, 100,  98, 100, 106, 116, 130, 149, 172, 203, 243,
+            255, 222, 189, 164, 144, 130, 120, 114, 112, 114, 120, 131, 145, 165, 189, 221, 255,
+            255, 244, 211, 184, 163, 148, 137, 131, 128, 131, 138, 148, 164, 184, 210, 243, 255
+          ]
+          b: [
+            255, 241, 209, 183, 162, 147, 136, 130, 128, 130, 136, 147, 162, 183, 209, 243, 255,
+            255, 221, 189, 164, 144, 129, 119, 113, 111, 113, 119, 130, 145, 165, 189, 222, 255,
+            241, 204, 173, 149, 129, 115, 105,  99,  97,  99, 105, 115, 130, 149, 173, 203, 243,
+            226, 189, 159, 135, 116, 102,  93,  88,  86,  88,  94, 103, 117, 136, 159, 188, 226,
+            213, 178, 148, 125, 106,  93,  84,  79,  77,  79,  85,  94, 107, 126, 149, 177, 213,
+            204, 169, 140, 117,  99,  86,  77,  72,  71,  73,  78,  87, 100, 118, 141, 168, 204,
+            197, 162, 134, 111,  93,  81,  73,  68,  67,  69,  74,  82,  95, 112, 135, 162, 197,
+            193, 158, 130, 107,  90,  78,  70,  66,  65,  66,  71,  79,  92, 109, 131, 158, 193,
+            192, 157, 129, 106,  89,  77,  69,  65,  64,  66,  70,  79,  91, 108, 130, 156, 191,
+            193, 158, 130, 108,  90,  78,  70,  66,  65,  67,  71,  80,  92, 109, 131, 158, 193,
+            197, 162, 134, 111,  94,  81,  73,  69,  67,  69,  74,  83,  95, 112, 135, 161, 196,
+            203, 168, 139, 117,  99,  86,  78,  73,  72,  74,  79,  88, 100, 118, 140, 167, 203,
+            214, 177, 148, 125, 107,  93,  84,  80,  78,  80,  85,  95, 108, 126, 149, 176, 213,
+            227, 189, 159, 135, 117, 103,  93,  88,  87,  89,  95, 104, 118, 136, 159, 188, 227,
+            242, 204, 172, 148, 129, 115, 105, 100,  98, 100, 106, 116, 130, 149, 172, 203, 243,
+            255, 222, 189, 164, 144, 130, 120, 114, 112, 114, 120, 131, 145, 165, 189, 221, 255,
+            255, 244, 211, 184, 163, 148, 137, 131, 128, 131, 138, 148, 164, 184, 210, 243, 255
+          ]
+        - ct: 2773
+          r: [
+            255, 229, 198, 174, 155, 140, 131, 125, 123, 125, 131, 140, 155, 173, 198, 229, 255,
+            245, 210, 180, 156, 138, 124, 115, 109, 108, 110, 115, 125, 138, 156, 179, 210, 247,
+            229, 193, 165, 142, 124, 111, 102,  96,  95,  97, 102, 112, 125, 142, 164, 193, 231,
+            215, 180, 152, 130, 113, 100,  91,  86,  85,  86,  92, 100, 113, 130, 152, 179, 215,
+            203, 169, 142, 120, 103,  91,  83,  78,  77,  78,  83,  92, 104, 121, 142, 168, 202,
+            194, 161, 134, 113,  96,  84,  76,  72,  71,  72,  77,  85,  97, 114, 134, 160, 192,
+            186, 155, 129, 107,  91,  80,  72,  68,  67,  68,  73,  81,  93, 109, 129, 154, 186,
+            183, 151, 125, 104,  89,  77,  70,  66,  65,  66,  70,  78,  90, 106, 126, 150, 182,
+            182, 150, 124, 103,  88,  76,  69,  65,  64,  65,  70,  78,  89, 105, 125, 149, 181,
+            183, 151, 125, 105,  89,  77,  70,  66,  65,  66,  71,  78,  90, 106, 126, 150, 182,
+            186, 155, 128, 108,  92,  80,  72,  68,  67,  69,  73,  81,  93, 109, 129, 154, 186,
+            193, 160, 134, 113,  96,  84,  77,  72,  71,  73,  78,  86,  98, 114, 134, 159, 192,
+            203, 169, 142, 120, 104,  91,  83,  79,  77,  79,  84,  92, 105, 121, 142, 167, 202,
+            216, 180, 152, 130, 113, 100,  91,  87,  85,  87,  92, 101, 114, 130, 152, 179, 215,
+            231, 194, 164, 142, 124, 111, 102,  97,  96,  97, 103, 112, 125, 142, 164, 193, 231,
+            248, 212, 180, 157, 139, 125, 116, 110, 108, 110, 116, 126, 139, 156, 179, 210, 248,
+            255, 233, 201, 175, 156, 142, 132, 126, 124, 126, 132, 142, 156, 175, 200, 231, 255
+          ]
+          g: [
+            255, 229, 198, 174, 155, 140, 131, 125, 123, 125, 131, 140, 155, 173, 198, 229, 255,
+            245, 210, 180, 156, 138, 124, 115, 109, 108, 110, 115, 125, 138, 156, 179, 210, 247,
+            229, 193, 165, 142, 124, 111, 102,  96,  95,  97, 102, 112, 125, 142, 164, 193, 231,
+            215, 180, 152, 130, 113, 100,  91,  86,  85,  86,  92, 100, 113, 130, 152, 179, 215,
+            203, 169, 142, 120, 103,  91,  83,  78,  77,  78,  83,  92, 104, 121, 142, 168, 202,
+            194, 161, 134, 113,  96,  84,  76,  72,  71,  72,  77,  85,  97, 114, 134, 160, 192,
+            186, 155, 129, 107,  91,  80,  72,  68,  67,  68,  73,  81,  93, 109, 129, 154, 186,
+            183, 151, 125, 104,  89,  77,  70,  66,  65,  66,  70,  78,  90, 106, 126, 150, 182,
+            182, 150, 124, 103,  88,  76,  69,  65,  64,  65,  70,  78,  89, 105, 125, 149, 181,
+            183, 151, 125, 105,  89,  77,  70,  66,  65,  66,  71,  78,  90, 106, 126, 150, 182,
+            186, 155, 128, 108,  92,  80,  72,  68,  67,  69,  73,  81,  93, 109, 129, 154, 186,
+            193, 160, 134, 113,  96,  84,  77,  72,  71,  73,  78,  86,  98, 114, 134, 159, 192,
+            203, 169, 142, 120, 104,  91,  83,  79,  77,  79,  84,  92, 105, 121, 142, 167, 202,
+            216, 180, 152, 130, 113, 100,  91,  87,  85,  87,  92, 101, 114, 130, 152, 179, 215,
+            231, 194, 164, 142, 124, 111, 102,  97,  96,  97, 103, 112, 125, 142, 164, 193, 231,
+            248, 212, 180, 157, 139, 125, 116, 110, 108, 110, 116, 126, 139, 156, 179, 210, 248,
+            255, 233, 201, 175, 156, 142, 132, 126, 124, 126, 132, 142, 156, 175, 200, 231, 255
+          ]
+          b: [
+            255, 229, 198, 174, 155, 140, 131, 125, 123, 125, 131, 140, 155, 173, 198, 229, 255,
+            245, 210, 180, 156, 138, 124, 115, 109, 108, 110, 115, 125, 138, 156, 179, 210, 247,
+            229, 193, 165, 142, 124, 111, 102,  96,  95,  97, 102, 112, 125, 142, 164, 193, 231,
+            215, 180, 152, 130, 113, 100,  91,  86,  85,  86,  92, 100, 113, 130, 152, 179, 215,
+            203, 169, 142, 120, 103,  91,  83,  78,  77,  78,  83,  92, 104, 121, 142, 168, 202,
+            194, 161, 134, 113,  96,  84,  76,  72,  71,  72,  77,  85,  97, 114, 134, 160, 192,
+            186, 155, 129, 107,  91,  80,  72,  68,  67,  68,  73,  81,  93, 109, 129, 154, 186,
+            183, 151, 125, 104,  89,  77,  70,  66,  65,  66,  70,  78,  90, 106, 126, 150, 182,
+            182, 150, 124, 103,  88,  76,  69,  65,  64,  65,  70,  78,  89, 105, 125, 149, 181,
+            183, 151, 125, 105,  89,  77,  70,  66,  65,  66,  71,  78,  90, 106, 126, 150, 182,
+            186, 155, 128, 108,  92,  80,  72,  68,  67,  69,  73,  81,  93, 109, 129, 154, 186,
+            193, 160, 134, 113,  96,  84,  77,  72,  71,  73,  78,  86,  98, 114, 134, 159, 192,
+            203, 169, 142, 120, 104,  91,  83,  79,  77,  79,  84,  92, 105, 121, 142, 167, 202,
+            216, 180, 152, 130, 113, 100,  91,  87,  85,  87,  92, 101, 114, 130, 152, 179, 215,
+            231, 194, 164, 142, 124, 111, 102,  97,  96,  97, 103, 112, 125, 142, 164, 193, 231,
+            248, 212, 180, 157, 139, 125, 116, 110, 108, 110, 116, 126, 139, 156, 179, 210, 248,
+            255, 233, 201, 175, 156, 142, 132, 126, 124, 126, 132, 142, 156, 175, 200, 231, 255
+          ]
+        - ct: 3565
+          r: [
+            255, 229, 198, 173, 155, 140, 130, 125, 123, 125, 131, 140, 155, 173, 198, 230, 255,
+            244, 209, 179, 156, 138, 124, 115, 109, 107, 109, 115, 125, 138, 157, 180, 211, 248,
+            229, 193, 164, 142, 124, 111, 101,  96,  95,  97, 102, 112, 125, 142, 165, 193, 231,
+            214, 180, 152, 130, 112,  99,  91,  86,  84,  86,  92, 100, 113, 131, 152, 180, 216,
+            202, 169, 142, 120, 103,  91,  82,  78,  77,  78,  83,  92, 104, 121, 142, 169, 204,
+            193, 161, 134, 113,  96,  84,  76,  72,  71,  72,  77,  85,  98, 114, 135, 161, 195,
+            187, 155, 128, 107,  91,  80,  72,  68,  67,  68,  73,  81,  93, 109, 129, 155, 188,
+            183, 151, 125, 104,  88,  77,  70,  66,  65,  66,  70,  78,  90, 106, 126, 152, 184,
+            182, 150, 124, 103,  87,  76,  69,  65,  64,  65,  70,  78,  89, 105, 125, 150, 183,
+            183, 151, 125, 104,  89,  77,  70,  66,  65,  66,  71,  78,  90, 106, 126, 151, 184,
+            187, 155, 128, 107,  91,  80,  72,  68,  67,  69,  73,  81,  93, 109, 129, 155, 188,
+            193, 160, 134, 113,  96,  84,  77,  72,  71,  73,  78,  86,  98, 114, 135, 161, 195,
+            203, 169, 141, 120, 103,  91,  83,  79,  77,  79,  84,  92, 105, 121, 142, 169, 204,
+            215, 180, 152, 130, 113, 100,  91,  87,  85,  87,  92, 101, 114, 131, 152, 180, 217,
+            231, 194, 164, 142, 124, 111, 102,  97,  96,  97, 103, 112, 125, 143, 164, 194, 232,
+            248, 211, 180, 156, 138, 125, 116, 110, 108, 110, 116, 126, 139, 157, 180, 211, 249,
+            255, 233, 201, 175, 156, 142, 132, 126, 124, 126, 132, 142, 156, 175, 200, 232, 255
+          ]
+          g: [
+            255, 229, 198, 173, 155, 140, 130, 125, 123, 125, 131, 140, 155, 173, 198, 230, 255,
+            244, 209, 179, 156, 138, 124, 115, 109, 107, 109, 115, 125, 138, 157, 180, 211, 248,
+            229, 193, 164, 142, 124, 111, 101,  96,  95,  97, 102, 112, 125, 142, 165, 193, 231,
+            214, 180, 152, 130, 112,  99,  91,  86,  84,  86,  92, 100, 113, 131, 152, 180, 216,
+            202, 169, 142, 120, 103,  91,  82,  78,  77,  78,  83,  92, 104, 121, 142, 169, 204,
+            193, 161, 134, 113,  96,  84,  76,  72,  71,  72,  77,  85,  98, 114, 135, 161, 195,
+            187, 155, 128, 107,  91,  80,  72,  68,  67,  68,  73,  81,  93, 109, 129, 155, 188,
+            183, 151, 125, 104,  88,  77,  70,  66,  65,  66,  70,  78,  90, 106, 126, 152, 184,
+            182, 150, 124, 103,  87,  76,  69,  65,  64,  65,  70,  78,  89, 105, 125, 150, 183,
+            183, 151, 125, 104,  89,  77,  70,  66,  65,  66,  71,  78,  90, 106, 126, 151, 184,
+            187, 155, 128, 107,  91,  80,  72,  68,  67,  69,  73,  81,  93, 109, 129, 155, 188,
+            193, 160, 134, 113,  96,  84,  77,  72,  71,  73,  78,  86,  98, 114, 135, 161, 195,
+            203, 169, 141, 120, 103,  91,  83,  79,  77,  79,  84,  92, 105, 121, 142, 169, 204,
+            215, 180, 152, 130, 113, 100,  91,  87,  85,  87,  92, 101, 114, 131, 152, 180, 217,
+            231, 194, 164, 142, 124, 111, 102,  97,  96,  97, 103, 112, 125, 143, 164, 194, 232,
+            248, 211, 180, 156, 138, 125, 116, 110, 108, 110, 116, 126, 139, 157, 180, 211, 249,
+            255, 233, 201, 175, 156, 142, 132, 126, 124, 126, 132, 142, 156, 175, 200, 232, 255
+          ]
+          b: [
+            255, 229, 198, 173, 155, 140, 130, 125, 123, 125, 131, 140, 155, 173, 198, 230, 255,
+            244, 209, 179, 156, 138, 124, 115, 109, 107, 109, 115, 125, 138, 157, 180, 211, 248,
+            229, 193, 164, 142, 124, 111, 101,  96,  95,  97, 102, 112, 125, 142, 165, 193, 231,
+            214, 180, 152, 130, 112,  99,  91,  86,  84,  86,  92, 100, 113, 131, 152, 180, 216,
+            202, 169, 142, 120, 103,  91,  82,  78,  77,  78,  83,  92, 104, 121, 142, 169, 204,
+            193, 161, 134, 113,  96,  84,  76,  72,  71,  72,  77,  85,  98, 114, 135, 161, 195,
+            187, 155, 128, 107,  91,  80,  72,  68,  67,  68,  73,  81,  93, 109, 129, 155, 188,
+            183, 151, 125, 104,  88,  77,  70,  66,  65,  66,  70,  78,  90, 106, 126, 152, 184,
+            182, 150, 124, 103,  87,  76,  69,  65,  64,  65,  70,  78,  89, 105, 125, 150, 183,
+            183, 151, 125, 104,  89,  77,  70,  66,  65,  66,  71,  78,  90, 106, 126, 151, 184,
+            187, 155, 128, 107,  91,  80,  72,  68,  67,  69,  73,  81,  93, 109, 129, 155, 188,
+            193, 160, 134, 113,  96,  84,  77,  72,  71,  73,  78,  86,  98, 114, 135, 161, 195,
+            203, 169, 141, 120, 103,  91,  83,  79,  77,  79,  84,  92, 105, 121, 142, 169, 204,
+            215, 180, 152, 130, 113, 100,  91,  87,  85,  87,  92, 101, 114, 131, 152, 180, 217,
+            231, 194, 164, 142, 124, 111, 102,  97,  96,  97, 103, 112, 125, 143, 164, 194, 232,
+            248, 211, 180, 156, 138, 125, 116, 110, 108, 110, 116, 126, 139, 157, 180, 211, 249,
+            255, 233, 201, 175, 156, 142, 132, 126, 124, 126, 132, 142, 156, 175, 200, 232, 255
+          ]
+        - ct: 4629
+          r: [
+            255, 235, 204, 178, 158, 143, 133, 127, 125, 127, 133, 144, 159, 178, 204, 236, 255,
+            251, 215, 185, 160, 141, 127, 117, 111, 109, 111, 117, 127, 142, 161, 185, 217, 255,
+            235, 198, 169, 145, 126, 112, 103,  97,  96,  98, 104, 113, 127, 146, 169, 199, 238,
+            220, 184, 155, 132, 114, 101,  92,  87,  85,  87,  93, 102, 115, 133, 155, 184, 222,
+            208, 173, 145, 122, 105,  92,  83,  78,  77,  79,  84,  93, 106, 123, 145, 172, 208,
+            198, 164, 137, 114,  97,  85,  77,  72,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            191, 158, 131, 109,  92,  80,  72,  68,  67,  68,  73,  82,  94, 110, 131, 158, 192,
+            188, 154, 127, 106,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 154, 188,
+            186, 153, 126, 105,  88,  77,  69,  65,  64,  65,  70,  78,  90, 106, 127, 153, 186,
+            188, 154, 127, 106,  89,  78,  70,  66,  65,  66,  71,  79,  91, 107, 128, 154, 188,
+            192, 158, 131, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 111, 131, 157, 192,
+            198, 164, 136, 114,  97,  85,  77,  73,  71,  73,  78,  87,  99, 116, 137, 163, 198,
+            208, 173, 144, 122, 105,  92,  84,  79,  78,  79,  85,  93, 106, 123, 145, 172, 208,
+            221, 184, 155, 132, 114, 101,  92,  87,  86,  88,  93, 102, 116, 133, 155, 184, 222,
+            237, 199, 168, 145, 127, 113, 104,  98,  97,  99, 104, 114, 128, 146, 169, 199, 239,
+            254, 217, 185, 160, 142, 127, 118, 112, 110, 112, 118, 128, 142, 161, 185, 217, 255,
+            255, 240, 206, 180, 160, 145, 135, 129, 127, 129, 135, 146, 160, 180, 207, 239, 255
+          ]
+          g: [
+            255, 235, 204, 178, 158, 143, 133, 127, 125, 127, 133, 144, 159, 178, 204, 236, 255,
+            251, 215, 185, 160, 141, 127, 117, 111, 109, 111, 117, 127, 142, 161, 185, 217, 255,
+            235, 198, 169, 145, 126, 112, 103,  97,  96,  98, 104, 113, 127, 146, 169, 199, 238,
+            220, 184, 155, 132, 114, 101,  92,  87,  85,  87,  93, 102, 115, 133, 155, 184, 222,
+            208, 173, 145, 122, 105,  92,  83,  78,  77,  79,  84,  93, 106, 123, 145, 172, 208,
+            198, 164, 137, 114,  97,  85,  77,  72,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            191, 158, 131, 109,  92,  80,  72,  68,  67,  68,  73,  82,  94, 110, 131, 158, 192,
+            188, 154, 127, 106,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 154, 188,
+            186, 153, 126, 105,  88,  77,  69,  65,  64,  65,  70,  78,  90, 106, 127, 153, 186,
+            188, 154, 127, 106,  89,  78,  70,  66,  65,  66,  71,  79,  91, 107, 128, 154, 188,
+            192, 158, 131, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 111, 131, 157, 192,
+            198, 164, 136, 114,  97,  85,  77,  73,  71,  73,  78,  87,  99, 116, 137, 163, 198,
+            208, 173, 144, 122, 105,  92,  84,  79,  78,  79,  85,  93, 106, 123, 145, 172, 208,
+            221, 184, 155, 132, 114, 101,  92,  87,  86,  88,  93, 102, 116, 133, 155, 184, 222,
+            237, 199, 168, 145, 127, 113, 104,  98,  97,  99, 104, 114, 128, 146, 169, 199, 239,
+            254, 217, 185, 160, 142, 127, 118, 112, 110, 112, 118, 128, 142, 161, 185, 217, 255,
+            255, 240, 206, 180, 160, 145, 135, 129, 127, 129, 135, 146, 160, 180, 207, 239, 255
+          ]
+          b: [
+            255, 235, 204, 178, 158, 143, 133, 127, 125, 127, 133, 144, 159, 178, 204, 236, 255,
+            251, 215, 185, 160, 141, 127, 117, 111, 109, 111, 117, 127, 142, 161, 185, 217, 255,
+            235, 198, 169, 145, 126, 112, 103,  97,  96,  98, 104, 113, 127, 146, 169, 199, 238,
+            220, 184, 155, 132, 114, 101,  92,  87,  85,  87,  93, 102, 115, 133, 155, 184, 222,
+            208, 173, 145, 122, 105,  92,  83,  78,  77,  79,  84,  93, 106, 123, 145, 172, 208,
+            198, 164, 137, 114,  97,  85,  77,  72,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            191, 158, 131, 109,  92,  80,  72,  68,  67,  68,  73,  82,  94, 110, 131, 158, 192,
+            188, 154, 127, 106,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 154, 188,
+            186, 153, 126, 105,  88,  77,  69,  65,  64,  65,  70,  78,  90, 106, 127, 153, 186,
+            188, 154, 127, 106,  89,  78,  70,  66,  65,  66,  71,  79,  91, 107, 128, 154, 188,
+            192, 158, 131, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 111, 131, 157, 192,
+            198, 164, 136, 114,  97,  85,  77,  73,  71,  73,  78,  87,  99, 116, 137, 163, 198,
+            208, 173, 144, 122, 105,  92,  84,  79,  78,  79,  85,  93, 106, 123, 145, 172, 208,
+            221, 184, 155, 132, 114, 101,  92,  87,  86,  88,  93, 102, 116, 133, 155, 184, 222,
+            237, 199, 168, 145, 127, 113, 104,  98,  97,  99, 104, 114, 128, 146, 169, 199, 239,
+            254, 217, 185, 160, 142, 127, 118, 112, 110, 112, 118, 128, 142, 161, 185, 217, 255,
+            255, 240, 206, 180, 160, 145, 135, 129, 127, 129, 135, 146, 160, 180, 207, 239, 255
+          ]
+        - ct: 5707
+          r: [
+            255, 235, 203, 178, 158, 143, 133, 127, 125, 127, 133, 143, 158, 178, 203, 236, 255,
+            250, 215, 184, 160, 141, 126, 116, 111, 109, 111, 117, 127, 141, 160, 184, 216, 254,
+            234, 198, 168, 145, 126, 112, 103,  97,  96,  98, 103, 113, 127, 145, 168, 198, 237,
+            219, 184, 155, 132, 114, 101,  92,  87,  85,  87,  92, 102, 115, 133, 156, 184, 222,
+            207, 173, 145, 122, 105,  92,  83,  78,  77,  79,  84,  93, 106, 123, 145, 173, 209,
+            198, 164, 136, 114,  97,  85,  77,  72,  71,  73,  78,  86,  99, 116, 137, 165, 200,
+            191, 158, 131, 109,  92,  80,  72,  68,  67,  68,  73,  81,  94, 110, 132, 159, 193,
+            188, 154, 127, 106,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            186, 153, 126, 105,  88,  77,  69,  65,  64,  65,  70,  78,  90, 106, 127, 154, 188,
+            188, 154, 127, 106,  89,  78,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            191, 158, 131, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 110, 132, 158, 193,
+            198, 164, 136, 114,  97,  85,  77,  73,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            208, 172, 144, 122, 105,  92,  84,  79,  78,  79,  84,  93, 106, 123, 145, 173, 209,
+            221, 184, 155, 132, 114, 101,  92,  87,  86,  88,  93, 102, 116, 133, 155, 184, 222,
+            236, 198, 168, 145, 126, 113, 103,  98,  97,  98, 104, 114, 127, 145, 168, 199, 238,
+            254, 217, 185, 160, 141, 127, 117, 112, 110, 112, 118, 128, 142, 161, 185, 216, 255,
+            255, 239, 206, 179, 159, 145, 134, 129, 126, 129, 135, 145, 160, 180, 206, 238, 255
+          ]
+          g: [
+            255, 235, 203, 178, 158, 143, 133, 127, 125, 127, 133, 143, 158, 178, 203, 236, 255,
+            250, 215, 184, 160, 141, 126, 116, 111, 109, 111, 117, 127, 141, 160, 184, 216, 254,
+            234, 198, 168, 145, 126, 112, 103,  97,  96,  98, 103, 113, 127, 145, 168, 198, 237,
+            219, 184, 155, 132, 114, 101,  92,  87,  85,  87,  92, 102, 115, 133, 156, 184, 222,
+            207, 173, 145, 122, 105,  92,  83,  78,  77,  79,  84,  93, 106, 123, 145, 173, 209,
+            198, 164, 136, 114,  97,  85,  77,  72,  71,  73,  78,  86,  99, 116, 137, 165, 200,
+            191, 158, 131, 109,  92,  80,  72,  68,  67,  68,  73,  81,  94, 110, 132, 159, 193,
+            188, 154, 127, 106,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            186, 153, 126, 105,  88,  77,  69,  65,  64,  65,  70,  78,  90, 106, 127, 154, 188,
+            188, 154, 127, 106,  89,  78,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            191, 158, 131, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 110, 132, 158, 193,
+            198, 164, 136, 114,  97,  85,  77,  73,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            208, 172, 144, 122, 105,  92,  84,  79,  78,  79,  84,  93, 106, 123, 145, 173, 209,
+            221, 184, 155, 132, 114, 101,  92,  87,  86,  88,  93, 102, 116, 133, 155, 184, 222,
+            236, 198, 168, 145, 126, 113, 103,  98,  97,  98, 104, 114, 127, 145, 168, 199, 238,
+            254, 217, 185, 160, 141, 127, 117, 112, 110, 112, 118, 128, 142, 161, 185, 216, 255,
+            255, 239, 206, 179, 159, 145, 134, 129, 126, 129, 135, 145, 160, 180, 206, 238, 255
+          ]
+          b: [
+            255, 235, 203, 178, 158, 143, 133, 127, 125, 127, 133, 143, 158, 178, 203, 236, 255,
+            250, 215, 184, 160, 141, 126, 116, 111, 109, 111, 117, 127, 141, 160, 184, 216, 254,
+            234, 198, 168, 145, 126, 112, 103,  97,  96,  98, 103, 113, 127, 145, 168, 198, 237,
+            219, 184, 155, 132, 114, 101,  92,  87,  85,  87,  92, 102, 115, 133, 156, 184, 222,
+            207, 173, 145, 122, 105,  92,  83,  78,  77,  79,  84,  93, 106, 123, 145, 173, 209,
+            198, 164, 136, 114,  97,  85,  77,  72,  71,  73,  78,  86,  99, 116, 137, 165, 200,
+            191, 158, 131, 109,  92,  80,  72,  68,  67,  68,  73,  81,  94, 110, 132, 159, 193,
+            188, 154, 127, 106,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            186, 153, 126, 105,  88,  77,  69,  65,  64,  65,  70,  78,  90, 106, 127, 154, 188,
+            188, 154, 127, 106,  89,  78,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            191, 158, 131, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 110, 132, 158, 193,
+            198, 164, 136, 114,  97,  85,  77,  73,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            208, 172, 144, 122, 105,  92,  84,  79,  78,  79,  84,  93, 106, 123, 145, 173, 209,
+            221, 184, 155, 132, 114, 101,  92,  87,  86,  88,  93, 102, 116, 133, 155, 184, 222,
+            236, 198, 168, 145, 126, 113, 103,  98,  97,  98, 104, 114, 127, 145, 168, 199, 238,
+            254, 217, 185, 160, 141, 127, 117, 112, 110, 112, 118, 128, 142, 161, 185, 216, 255,
+            255, 239, 206, 179, 159, 145, 134, 129, 126, 129, 135, 145, 160, 180, 206, 238, 255
+          ]
+        - ct: 6554
+          r: [
+            255, 234, 202, 177, 158, 143, 133, 127, 125, 127, 133, 143, 158, 177, 203, 236, 255,
+            249, 214, 184, 159, 140, 126, 116, 111, 109, 111, 117, 127, 141, 160, 184, 215, 254,
+            233, 197, 168, 145, 126, 112, 103,  97,  96,  98, 103, 113, 127, 145, 168, 198, 237,
+            219, 184, 155, 132, 114, 100,  91,  87,  85,  87,  92, 101, 115, 133, 155, 184, 221,
+            207, 172, 144, 122, 104,  91,  83,  78,  77,  79,  84,  93, 106, 123, 145, 173, 209,
+            198, 164, 136, 114,  97,  85,  77,  72,  71,  73,  77,  86,  99, 115, 137, 164, 199,
+            191, 157, 130, 109,  92,  80,  72,  68,  67,  68,  73,  81,  94, 110, 132, 159, 193,
+            187, 154, 127, 105,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            186, 153, 126, 104,  88,  76,  69,  65,  64,  65,  70,  78,  90, 106, 127, 153, 187,
+            187, 154, 127, 105,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            191, 158, 130, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 110, 132, 158, 193,
+            197, 163, 136, 114,  97,  85,  77,  73,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            207, 172, 144, 122, 104,  92,  83,  79,  78,  79,  84,  93, 106, 123, 145, 173, 209,
+            220, 183, 154, 132, 114, 101,  92,  87,  86,  88,  93, 102, 115, 133, 155, 184, 222,
+            235, 198, 168, 144, 126, 112, 103,  98,  96,  98, 104, 114, 127, 145, 168, 198, 238,
+            253, 216, 184, 160, 141, 127, 117, 112, 110, 112, 118, 128, 142, 160, 184, 216, 254,
+            255, 238, 205, 179, 159, 144, 134, 128, 126, 128, 134, 145, 159, 179, 205, 238, 255
+          ]
+          g: [
+            255, 234, 202, 177, 158, 143, 133, 127, 125, 127, 133, 143, 158, 177, 203, 236, 255,
+            249, 214, 184, 159, 140, 126, 116, 111, 109, 111, 117, 127, 141, 160, 184, 215, 254,
+            233, 197, 168, 145, 126, 112, 103,  97,  96,  98, 103, 113, 127, 145, 168, 198, 237,
+            219, 184, 155, 132, 114, 100,  91,  87,  85,  87,  92, 101, 115, 133, 155, 184, 221,
+            207, 172, 144, 122, 104,  91,  83,  78,  77,  79,  84,  93, 106, 123, 145, 173, 209,
+            198, 164, 136, 114,  97,  85,  77,  72,  71,  73,  77,  86,  99, 115, 137, 164, 199,
+            191, 157, 130, 109,  92,  80,  72,  68,  67,  68,  73,  81,  94, 110, 132, 159, 193,
+            187, 154, 127, 105,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            186, 153, 126, 104,  88,  76,  69,  65,  64,  65,  70,  78,  90, 106, 127, 153, 187,
+            187, 154, 127, 105,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            191, 158, 130, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 110, 132, 158, 193,
+            197, 163, 136, 114,  97,  85,  77,  73,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            207, 172, 144, 122, 104,  92,  83,  79,  78,  79,  84,  93, 106, 123, 145, 173, 209,
+            220, 183, 154, 132, 114, 101,  92,  87,  86,  88,  93, 102, 115, 133, 155, 184, 222,
+            235, 198, 168, 144, 126, 112, 103,  98,  96,  98, 104, 114, 127, 145, 168, 198, 238,
+            253, 216, 184, 160, 141, 127, 117, 112, 110, 112, 118, 128, 142, 160, 184, 216, 254,
+            255, 238, 205, 179, 159, 144, 134, 128, 126, 128, 134, 145, 159, 179, 205, 238, 255
+          ]
+          b: [
+            255, 234, 202, 177, 158, 143, 133, 127, 125, 127, 133, 143, 158, 177, 203, 236, 255,
+            249, 214, 184, 159, 140, 126, 116, 111, 109, 111, 117, 127, 141, 160, 184, 215, 254,
+            233, 197, 168, 145, 126, 112, 103,  97,  96,  98, 103, 113, 127, 145, 168, 198, 237,
+            219, 184, 155, 132, 114, 100,  91,  87,  85,  87,  92, 101, 115, 133, 155, 184, 221,
+            207, 172, 144, 122, 104,  91,  83,  78,  77,  79,  84,  93, 106, 123, 145, 173, 209,
+            198, 164, 136, 114,  97,  85,  77,  72,  71,  73,  77,  86,  99, 115, 137, 164, 199,
+            191, 157, 130, 109,  92,  80,  72,  68,  67,  68,  73,  81,  94, 110, 132, 159, 193,
+            187, 154, 127, 105,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            186, 153, 126, 104,  88,  76,  69,  65,  64,  65,  70,  78,  90, 106, 127, 153, 187,
+            187, 154, 127, 105,  89,  77,  70,  66,  65,  66,  71,  79,  91, 107, 128, 155, 189,
+            191, 158, 130, 109,  92,  80,  73,  68,  67,  69,  74,  82,  94, 110, 132, 158, 193,
+            197, 163, 136, 114,  97,  85,  77,  73,  71,  73,  78,  86,  99, 116, 137, 164, 199,
+            207, 172, 144, 122, 104,  92,  83,  79,  78,  79,  84,  93, 106, 123, 145, 173, 209,
+            220, 183, 154, 132, 114, 101,  92,  87,  86,  88,  93, 102, 115, 133, 155, 184, 222,
+            235, 198, 168, 144, 126, 112, 103,  98,  96,  98, 104, 114, 127, 145, 168, 198, 238,
+            253, 216, 184, 160, 141, 127, 117, 112, 110, 112, 118, 128, 142, 160, 184, 216, 254,
+            255, 238, 205, 179, 159, 144, 134, 128, 126, 128, 134, 145, 159, 179, 205, 238, 255
+          ]
+  - Ccm:
+      # The traditional colour matrices of the vendor calibration, copied
+      # as they are; every row sums to 1.
+      ccms:
+        - ct: 2717
+          ccm: [  1.74478, -0.36841, -0.37637,
+                 -0.61519,  2.17332, -0.55813,
+                 -0.42132, -1.97389,  3.39521 ]
+          offsets: [ 0, 0, 0 ]
+        - ct: 2773
+          ccm: [  2.09205, -0.96775, -0.12430,
+                 -0.61301,  2.05881, -0.44580,
+                 -0.15537, -1.46136,  2.61674 ]
+          offsets: [ 0, 0, 0 ]
+        - ct: 3565
+          ccm: [  2.24765, -1.16883, -0.07882,
+                 -0.51132,  1.96134, -0.45002,
+                 -0.11574, -1.11976,  2.23550 ]
+          offsets: [ 0, 0, 0 ]
+        - ct: 4629
+          ccm: [  2.08503, -0.87940, -0.20563,
+                 -0.40541,  1.94369, -0.53827,
+                 -0.10341, -0.99874,  2.10216 ]
+          offsets: [ 0, 0, 0 ]
+        - ct: 5707
+          ccm: [  2.17299, -1.04418, -0.12881,
+                 -0.39089,  2.09833, -0.70744,
+                 -0.07236, -0.98352,  2.05588 ]
+          offsets: [ 0, 0, 0 ]
+        - ct: 6554
+          ccm: [  2.33124, -1.21258, -0.11865,
+                 -0.37429,  2.07891, -0.70462,
+                 -0.06365, -0.89633,  1.95998 ]
+          offsets: [ 0, 0, 0 ]
+  - Adjust:
+  - Agc:
+      AeConstraintMode:
+        Normal:
+          # The default constraint: the brightest 2% at least 0.5.
+          lower:
+            qLo: 0.98
+            qHi: 1.0
+            yTarget: 0.5
+          # Limit highlight clipping: the brightest 2% at most 0.9.
+          upper:
+            qLo: 0.98
+            qHi: 1.0
+            yTarget: 0.9
+...