mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 18:47:42 -06:00
A clipped pixel is never valid at full resolution, so its diffused chromaticity was always the bilinear sample of the half-resolution pyramid level; the full-resolution chroma field (288 MB at 24 MP) and its fill pass were wasted work. The pyramid now starts at half resolution straight from the image. Bit-identical to the previous implementation (kept as a test reference over odd sizes and clipping densities). 24 MP: 319 -> 145 ms isolated; real CR2/ARW loads 0.8-1.1 s -> 0.3-0.5 s under load. Runs on every full-resolution raw load (1:1 loupe, export). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>