libcamera: set the measured IMX896 black level (r7)
Some checks failed
image / image (push) Failing after 3m59s

Raw-RDI dark frames (phone face-down, minimum analogue gain) put the
pedestal at exactly 64 in 10-bit (mean 63.98, median 64, p1/p99 63/65)
= 4096 on the 16-bit scale. The softISP's dynamic estimate ran at 48;
the 16-code residual was amplified by the CCM into colour casts in
dark image regions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jorijn van der Graaf 2026-08-17 03:07:52 +02:00
commit a5e3d1626c
2 changed files with 8 additions and 7 deletions

View file

@ -3,7 +3,7 @@ maintainer="Robert Mader <robert.mader@collabora.com>"
pkgname=libcamera pkgname=libcamera
_pkgver=0.7.2 _pkgver=0.7.2
pkgver=9999$_pkgver pkgver=9999$_pkgver
pkgrel=6 pkgrel=7
pkgdesc="Linux camera framework" pkgdesc="Linux camera framework"
url="https://libcamera.org/" url="https://libcamera.org/"
arch="all" arch="all"
@ -207,7 +207,7 @@ dce81c2863ff6b9374115325f4af14ac5d396a6e2aee12f87d55a47d1d0bda860ae2af5a9d6885b1
55dab9dcb9b1982143b9d63e4e51138c5bffd7c8f4a8e4e122750b3ad9d475446956bc297d9f564819ade4be75a575d06633a064e14f8ba3ef77986783c5f067 imx376.yaml 55dab9dcb9b1982143b9d63e4e51138c5bffd7c8f4a8e4e122750b3ad9d475446956bc297d9f564819ade4be75a575d06633a064e14f8ba3ef77986783c5f067 imx376.yaml
2ee566653b17d565d2c0de67cbe6ebad25df5aac6051cad78e6bae52016fa2ca0247e964d735ac776b3e0bd447ead9c4fcb26cd7629228cdba3ceb91b46f378f imx519.yaml 2ee566653b17d565d2c0de67cbe6ebad25df5aac6051cad78e6bae52016fa2ca0247e964d735ac776b3e0bd447ead9c4fcb26cd7629228cdba3ceb91b46f378f imx519.yaml
55dab9dcb9b1982143b9d63e4e51138c5bffd7c8f4a8e4e122750b3ad9d475446956bc297d9f564819ade4be75a575d06633a064e14f8ba3ef77986783c5f067 imx858.yaml 55dab9dcb9b1982143b9d63e4e51138c5bffd7c8f4a8e4e122750b3ad9d475446956bc297d9f564819ade4be75a575d06633a064e14f8ba3ef77986783c5f067 imx858.yaml
821f4ebfe73b98bade5ee44696680693370a33f076466d662b6bc1c6ffef3c5bd5b1f7a7bd8529d1df63ae58299e770e175dcda9a67f8b0796a724e6e90be0a5 imx896.yaml cbb6204657fdb4bc35e9ee686200900291c8bb74678d3f19f8ed30120e5d939836534f8724726c58e8b7aa2eb99e99edace96350b11472fbbf4878cc1025c3f5 imx896.yaml
2ee566653b17d565d2c0de67cbe6ebad25df5aac6051cad78e6bae52016fa2ca0247e964d735ac776b3e0bd447ead9c4fcb26cd7629228cdba3ceb91b46f378f s5k3l6xx.yaml 2ee566653b17d565d2c0de67cbe6ebad25df5aac6051cad78e6bae52016fa2ca0247e964d735ac776b3e0bd447ead9c4fcb26cd7629228cdba3ceb91b46f378f s5k3l6xx.yaml
d59020e62520ee622282c85ce7bcdfe453c99becf48cc1005c5f8a4bb8b2511b19c89f38fb3c994e7c6a79d1f84e2ed5f5a09b4c5bdc1dc4a44b071dbccf0d44 s5kjn1.yaml d59020e62520ee622282c85ce7bcdfe453c99becf48cc1005c5f8a4bb8b2511b19c89f38fb3c994e7c6a79d1f84e2ed5f5a09b4c5bdc1dc4a44b071dbccf0d44 s5kjn1.yaml
" "

View file

@ -13,11 +13,11 @@
# CT nodes = the chromatix CCT trigger midpoints: 2800 (A), 4000 (TL84), # CT nodes = the chromatix CCT trigger midpoints: 2800 (A), 4000 (TL84),
# 5750 (merged D50/D65 region). # 5750 (merged D50/D65 region).
# #
# No blackLevel is set: the IMX896 pedestal has not been measured on this # blackLevel: measured on the FP6 2026-08-17 (raw RDI dark frames, phone
# hardware and no datasheet value is available (the softISP then estimates # face-down, min analogue gain): 10-bit pedestal 64.0 exact (mean 63.98,
# it dynamically per frame). Once a dark-frame measurement exists, add # median 64, p1/p99 63/65) -> 4096 on the 16-bit scale. The softISP's
# - BlackLevel: # dynamic estimate ran at 48, leaving a 16-code residual the CCM amplified
# blackLevel: <16-bit value> # into colour casts in dark regions.
# #
# PROVENANCE / LICENSE: the matrices are numeric calibration data read out # PROVENANCE / LICENSE: the matrices are numeric calibration data read out
# of the proprietary vendor blob (measured spectral response of this # of the proprietary vendor blob (measured spectral response of this
@ -30,6 +30,7 @@
version: 1 version: 1
algorithms: algorithms:
- BlackLevel: - BlackLevel:
blackLevel: 4096
- Awb: - Awb:
- Ccm: - Ccm:
ccms: ccms: