Skip to main content

Module accelerators

Module accelerators 

Source
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 / ImagePlan SIMD accelerators process-wide (excluding gain-map SIMD).
enable_web_hdr
Enable modern web HDR accelerators (WEB_SDR + HDR + GAINMAP when compiled) process-wide.
enable_web_sdr
Enable common web SDR accelerators (garb layouts + strip SIMD + sRGB + 3×3 gamut) process-wide.
install
Register a custom process-wide Accelerators bundle (first call wins; lock-free).
resolve
Resolve the active Accelerators bundle (policy override → global registry → feature default).