Files
Acelogic 3c995cc8d8 compat: convert a swap record's brightness to 16.16 nits
The A16 kext now takes the panel brightness from the swap record
IOMobileFramebufferSwapSetBrightness fills: an IEEE double in nits,
unaligned, straight from a client. edp_bl_double_to_q16 turns its bits
into 16.16 nits in integer arithmetic, rounded to nearest and capped,
refuses NaN, infinities and negative values (which name no
brightness), and maps zero and subnormals to 0 (the darkest request).

The model test checks it bit-exact against the host's double
arithmetic for chosen values and for every exponent with a spread of
mantissas, and four mutations (NaN or negative accepted, truncation,
no cap) must fail it. Header-only and unused by the monitor: the
SNAP_EDP_BACKLIGHT monitors built with run next1b's flags, with and
without the define, are byte-identical to org next's.
2026-10-24 20:19:14 -04:00
..
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-23 04:04:44 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-23 04:04:44 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00
2026-10-21 21:26:36 -04:00