From patchwork Tue Nov 17 06:21:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keith Carter X-Patchwork-Id: 28936 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id B86D1C3304 for ; Tue, 17 Nov 2026 06:21:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C4A9E6A855; Tue, 17 Nov 2026 07:21:50 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=keithbcarter.com header.i=@keithbcarter.com header.b="QTJgdHwh"; dkim-atps=neutral Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 03BF468ECB for ; Tue, 17 Nov 2026 07:21:47 +0100 (CET) Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-3ace1f3897cso2373675a91.0 for ; Mon, 16 Nov 2026 22:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=keithbcarter.com; s=google; t=1794896506; x=1795501306; darn=lists.libcamera.org; h=content-transfer-encoding:content-type:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=s036sytM4cR950QwZallN56AFMma9A242mHFzbfbQkk=; b=QTJgdHwhNSFJprIPonhGencmCDIMOHxaqeGXqUgmzgsS63PFItJWHDiBUf9/LduQf1 uJTUlpGR66NN+nr7mM6MCipz9by1HPbH/lXzx77ISgxLMmydN4ZhXVEc2ANdZqdvDHna oaMNHnrBQuKc7vXgoeKOxHZ20oI0K/XZ7wDeAEB1nk4zgo2awBdP79x7mhGSoFneog+U hjr5pZ5yPIu0ZVsZcD+Y74yRB4Rb8rYFxf+qvbY0Kgcaezk27ZiZr/toaGSk6nT3y1SU 9Rd/GbOpNDU+JrL1/+k3WLBV8dVSTU3YIo2eesU14w8X9Oax9HukVqKuv/jWtDO/alHY X+sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794896506; x=1795501306; h=content-transfer-encoding:content-type:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=s036sytM4cR950QwZallN56AFMma9A242mHFzbfbQkk=; b=eGdhUefoXwD6sK2uPuf+1tHnEcPUNr7/bwC6Vvc6AG12EgZWhNzUdLLhj8kAmc2noU d31wldbjbvh1XYf0TXshqBZNk8ZAka84b+g7aMU78llPQrHLlzxf/sI3S3qh3mSTKtXy mINbT9LjQ3qIPtt55OsEfRBQ4YXwqhbhNzqnBWbcVfJPnga3GOCm6vq0Haeh0AMPrxpj LVWOKRIYjxmWQLeQkeHG6yeSP3WpAqujdchcjTblzqZAPzbYdOq0+UVOTN3P1viSryoo qs4uWBCVlXmmQQgbEccSEzUfx+7xrpkYHV3Fh0MasdtssCUr95bYM6o6S5T7ensItHAA nSPQ== X-Gm-Message-State: APuU4Z9fcOVuYaPHDoOJw08yJkkH+6kc6nH95yvIYdb+wx56pCn0H3Hh N1VIwZPG2LvvCWsVCy/J4KoinKWLdKTRYs9MXYsroxQ6Q1thXQ/wT1wFvt12fHc42trvom/Oe6T UtnScONo= X-Gm-Gg: AZFdTZereuVxaQOJ6+xRACC9zUAAmoqBGOD0IyKoY6E1H/pqOjUWzE1LzQw8ljY4yuc sGsfQ0/Dw1Cdml9DAwk90LTvNH+iF4r3uFDEERZMnIbahm5hl7dp1sA53jV85Op8xaqkvihaGMV uUALWr8ioYh/50ejtGbzU5+990/V+y9p5Jv7kY87UN8tnZFQQK6EIMpf5/4kt3sqsL6yfcquSWk RRjsLJwnzIh1I2y/rKFwd/ckNpt7i3C8vo0w/7sJw4RsSL5TAAgX1zCPaKN2zV4RQWpeqvvNVg0 xcwtzMipcmOwJ/W85RefDnC0xyom/B5Sl1y7G7bz9Je/78x/nBM7/sEWBc6dYfcmHidWV3qcB58 qOUar7xCLtPqJZNLlkbDEDLo2TnxDdD8z8NT/YcwbsrJHnQ5ThQfEU5rQy9qW5KNSlqsetlzbe5 5Jd/UBIt0fsTgWqr81fYtl/49NTUhuS98INCLzpRKUzOavRL8WtI0Guq+cajUmB/BAmCMrhNVaW 6R6szIdW8KFtRoEKkL+JW9ETGclcVBvmn8c2D3bIgwCOqGs92rZpF+RX0cCJDp0rNMJy/O5w4oa IomwEM8P84wYI1LWRFlWcZh/hjCpUQpol9XUwBqpMb2oRWnT3GDkKSybv3RaYfEQLl8= X-Received: by 2002:a17:90b:3c4e:b0:3b1:8380:a9a0 with SMTP id 98e67ed59e1d1-3b1b0b67c8amr12671963a91.46.1794896505353; Mon, 16 Nov 2026 22:21:45 -0800 (PST) Received: from [192.168.10.17] ([132.147.66.130]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b3abd063e8sm2365764a91.8.2026.11.16.22.21.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2026 22:21:44 -0800 (PST) Message-ID: <7a4a42bb-1156-4339-98bc-205a98782fc5@keithbcarter.com> Date: Tue, 17 Nov 2026 14:21:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: libcamera-devel@lists.libcamera.org Cc: mzamazal@redhat.com, kieran.bingham@ideasonboard.com From: Keith Carter Subject: [PATCH] ipa: softisp: Add OV5675 tuning file X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 --- 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 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 +...