app: 渲染对齐官方手机 App——关闭灰度 CDF 的 75% pivot(实测同刻灰度分布 60.2->81.2,官方 82.2;偏暗/低对比根因)

This commit is contained in:
ZXCLI
2026-10-06 04:05:37 +08:00
parent 95ae4d46dd
commit 3b191e6bca
3 changed files with 50 additions and 2 deletions
@@ -318,6 +318,12 @@ class IrSession(context: Context) {
// 5) native startProcess(caliPath) == pipeline + loadDdt
val pipe = RenderPipeline(
w = identity.width, h = identity.height,
// The official PHONE app runs the gray CDF without the 75 % pivot: with the
// pivot on, our rendering was measurably darker than the official one
// (gray median 33 vs 61, mean 60 vs 82 in a same-moment comparison); with it
// off the two distributions coincide (median 50 vs 61, mean 80 vs 82).
// See docs/android_app/rendering_diff_phone_20261006.md §8.
cdfPivot75 = false,
onFfc = { param ->
sendCmd(
MagProtocol.cmd8(MagProtocol.CMD_SET_SHUTTER_STATE, param),