LightCraftRaw — a C++20 port of the `lightcraft-raw` crate

This directory is a function-by-function C++20 (standard library only) port of the Rust crate
`lightcraft-raw` (crates/raw of LightCraft 0.4.0, repository https://github.com/storytold/lightcraft,
commit eeb136b9eec179805307c4626596f0ccc074368b), together with the parts of the workspace crates it
uses: lightcraft-tiff (TIFF / IFD reader, maker notes), lightcraft-meta (the Exif fields the decoders
read), lightcraft-color (3×3 matrices, RGB spaces, Bradford, CCT), lightcraft-raster (the RGB float
image, 2× box half) and lightcraft-geom (EXIF orientation).

Original work:
  LightCraft — Copyright (c) 2026 ArtCraft Team and the LightCraft contributors.
  Licensed under the MIT License or the Apache License, Version 2.0, at your option
  (LICENSE-MIT, LICENSE-APACHE in this directory, copied unchanged from the LightCraft repository).

Port:
  camera-raw-module (for Prism), 2026, under the same terms: MIT OR Apache-2.0, at your option.

The crate documents its clean-room sources in each module (public specifications, prose format
descriptions, tag-name documentation and black-box analysis of CC0 samples; no code from dcraw,
LibRaw, rawspeed, rawloader / rawler, darktable, RawTherapee or libopenraw). The port was made from the
crate's source only and adds no other source.

Not ported: the DNG writer (dngwrite), the lossless-JPEG encoder, embedded previews, the DNG profile
look tables (profile.rs) and the XMP / IPTC / GPS parts of lightcraft-meta. The two codecs the crate
takes from third-party crates (zune-jpeg for lossy-JPEG DNG tiles, miniz_oxide for Deflate DNG) are an
interface here (lcraw::Codecs), implemented by the host with the libraries it already has.

Port additions, marked as such where they live: developLinear (the as-shot development to linear
Rec. 709 / Rec. 2020 floats that a linear-light pipeline consumes) and the module bridge
(SkiaRaw/IBRawLightCraftDecoder.*).

Spot removal (SkiaRaw/IBRawSpots.h, outside this directory, same terms):
  a function-by-function C++20 (standard library only) port of crates/pipeline/src/spots.rs (Remove · Heal · Clone,
  ranked_sources / auto_source / pick_source / apply), crates/pipeline/src/dust.rs (detect), the Visualize Spots part
  of crates/pipeline/src/visualize.rs (spots / spot_threshold) and the Gaussian of crates/raster/src/blur.rs (box_radii,
  box passes, 32-row bands), with the Spot / SpotMode model of crates/develop/src/settings.rs — LightCraft 0.4.0, same
  repository and commit as above. Not ported: the crate's Frame (the host gives the frame ↔ pixel mapping) and the
  512 px resample inside pick_source (the host hands the image).

Calibration primaries (SkiaRaw/IBRawCalibration.h, outside this directory, same terms):
  a function-by-function C++20 (standard library only) port of calibration_matrix and the matrix part of calibrate
  (crates/pipeline/src/colorops.rs, CALIB_HUE / CALIB_SAT), with the OkLab of crates/color/src/perceptual.rs and the
  Mat3 / RgbSpace::to_xyz of crates/color/src/lib.rs — LightCraft 0.4.0, same repository and commit as above. Port
  addition: the matrix is also built for linear Rec. 709 (the module's working input), not only the crate's Rec. 2020.
  Not ported: the shadows tint of calibrate (the module has its own, SkiaRaw/IBRawShadowTint.h).
