Optional hand-tuned x86 assembly acceleration using openh264's BSD-2 kernels.
This crate is deliberately not #![forbid(unsafe_code)]: it links and calls
hand-written assembly through FFI. It is the opt-in "speed over the pure-safe-Rust
guarantee" path — the rest of the codec stays forbid(unsafe) and falls back to
the scalar/wide implementations when this crate is not enabled.
openh264 asm is BSD-2 licensed; attribution lives in openh264/LICENSE.
The vendored kernels are x86-64 only. On every other architecture this crate
compiles to an empty lib (the whole module is gated on target_arch = "x86_64") and
callers fall back to the pure-Rust scalar path — selected by the accel cfg that the
consumer crates' build scripts set only for x86_64 + the asm feature. This is what
lets a downstream default-features build (e.g. rff) succeed on arm64 macOS.