mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-26 03:11:14 +00:00
7094ba1b6e
C-RAW is quantised wavelet coding: next to clipped highlights its reconstruction overshoots the sensor range by a few quantisation steps. On 17 CC0 CR3 files (SX70 HS, G5 X Mark II, M6 Mark II, EOS R, RP, 90D, M200, R5 Mark II, R6 Mark II, R6 Mark III, R8) samples reached 16384 to 16419 at 14 bits, never below 0, and decoding failed with "decoded sample outside its bit depth". Lossless files of the same bodies clip at exactly 16383. Wavelet samples are now clamped to the CMP1 bit depth; lossless samples outside it are still corrupt data. The other 93 CR3 files have no sample outside the range and render pixel-identically. Render cache version 13 -> 14.