Expand description
Dead-stripping SIMD accelerator table (Accelerators) and process-wide registry.
Every accelerator slot holds a plain function pointer (Option<fn(...)>).
Any slot left None is never referenced by a binary, so the linker
dead-strips unused garb, SIMD strip codecs, sRGB, BT.709, Gamma 2.2,
F16C, PQ, HLG, and Oklab code completely.
Every SIMD accelerator is required to produce 0-bit identical output to
the universal scalar core (Accelerators::SCALAR)!
Structs§
- Accelerators
- Dead-stripping bundle of optional SIMD accelerators.
Functions§
- enable_
all - Enable all compiled SIMD accelerators process-wide (including gain-map SIMD if compiled).
- enable_
row_ pipeline - Enable all compiled
RowPlan/ImagePlanSIMD accelerators process-wide (excluding gain-map SIMD). - enable_
web_ hdr - Enable modern web HDR accelerators (
WEB_SDR+HDR+GAINMAPwhen compiled) process-wide. - enable_
web_ sdr - Enable common web SDR accelerators (
garblayouts + strip SIMD + sRGB + 3×3 gamut) process-wide. - install
- Register a custom process-wide
Acceleratorsbundle (first call wins; lock-free). - resolve
- Resolve the active
Acceleratorsbundle (policy override → global registry → feature default).