fp6-img/aports/temp/libcamera
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 48cedac3c3 libcamera: stabilize AWB with a white point locus clamp + damping (r8)
The softISP AWB is pure gray world, so panning swings ColourGains with
the frame average (white wall renders green when the frame is
warm-dominated, dark desk renders red when cool-dominated) and the CCM,
interpolated over a CT estimated from those gains, amplifies and
quantizes the swings.

Patch 0015 (ours, original work) adds optional per-sensor Awb tuning to
the simple IPA: a piecewise-linear locus of calibrated illuminant white
points in gain space that the gray-world estimate is clamped to
(clampMargin), a per-stats-frame EMA on the applied gains (damping)
with a fast-converge path for persistent illuminant changes, and CT
interpolated from the applied gains' position along the locus - on the
same scale as the tuning file's ccms table - instead of the generic
estimateCCT(). Tuning files without whitePoints keep the previous
behaviour exactly, so every other sensor is unaffected.

imx896.yaml gains the locus from the stock tuning blob's 10-point
per-illuminant AWB calibration (white points and their exactly
reciprocal gain triplets, cross-validated): the 7 on-locus points as
nodes, the 3 fluorescent points admitted via clampMargin 0.35. The
5000 K label is the blob's own proven anchor; 2856 K (A) is locked by
the fluorescent trio projecting onto the 2856-5000 chord at ~3960 K
(TL84); the rest are geometry-derived approximations.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 03:24:56 +02:00
..
0001-libcamera-simple-Enable-softISP-for-the-Pinephone.patch camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
0002-libcamera-simple-Skip-hwISP-formats-if-swISP-is-acti.patch camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
0003-libipa-Add-OV13B10-camera-sensor-helper.patch camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
0004-libcamera-sensor-Add-OV13B10-sensor-properties.patch camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
0005-libipa-Add-camera-sensor-helper-for-IMX896.patch libcamera: add the IMX896 sensor helper and properties (r3) 2026-08-16 21:03:10 +02:00
0006-libcamera-sensor-Add-IMX896-sensor-properties.patch libcamera: add the IMX896 sensor helper and properties (r3) 2026-08-16 21:03:10 +02:00
0007-libcamera-software_isp-Add-focus-control.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0008-libcamera-software_isp-Add-autofocus.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0009-AF-detect-focus-loss.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0010-af-two-phase-sweep-over-a-brightness-normalised-cent.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0011-libcamera-pipeline-simple-Apply-the-lens-position-un.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0012-libcamera-software_isp-af-Harden-the-lens-control-ha.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0013-libcamera-software_isp-af-Add-AfMode-and-focus-witho.patch libcamera: backport contrast autofocus for the main camera (r4) 2026-08-17 02:02:45 +02:00
0014-libcamera-software_isp-af-Re-baseline-the-scene-refe.patch libcamera: af: re-baseline the scene reference after a sweep (r5) 2026-08-17 02:35:59 +02:00
0015-ipa-simple-awb-Add-optional-white-point-locus-clamp-.patch libcamera: stabilize AWB with a white point locus clamp + damping (r8) 2026-08-17 03:24:56 +02:00
APKBUILD libcamera: stabilize AWB with a white point locus clamp + damping (r8) 2026-08-17 03:24:56 +02:00
hi846.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx355.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx363.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx371.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx376.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx519.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx858.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
imx896.yaml libcamera: stabilize AWB with a white point locus clamp + damping (r8) 2026-08-17 03:24:56 +02:00
qcam.desktop camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
s5k3l6xx.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00
s5kjn1.yaml camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera) 2026-08-16 04:08:36 +02:00