Commits
Commits on
4c07cbc2ca9466907a3cbb5ccc7dab0eebf15b7eFiltered to crates/ec-opus/src/analysis.rsClear filter2026-09-12
perf(ec-opus): optional rustfft FFT backend becomes the default (fft-rustfft feature; pure Rust, no C; scratch preallocated so the steady-state encode stays zero-alloc) and stereo_itheta matches the reference float build's fast_atan2f instead of libm's f64 atan2 — 5.1 film decode 0.82 -> 0.95 of ruopus-FFT, stereo 0.87 -> 0.97, stereo encode 0.65 -> 0.69 of opus-rs (510k at parity 1.00); bits2pulses bisects a fixed row window; dependency-free build stays green under --no-default-featuresAhmet Kaan Gümüş · 68cf7a6
perf(ec-opus): optional rustfft FFT backend becomes the default (fft-rustfft feature; pure Rust, no C; scratch preallocated so the steady-state encode stays zero-alloc) and stereo_itheta matches the reference float build's fast_atan2f instead of libm's f64 atan2 — 5.1 film decode 0.82 -> 0.95 of ruopus-FFT, stereo 0.87 -> 0.97, stereo encode 0.65 -> 0.69 of opus-rs (510k at parity 1.00); bits2pulses bisects a fixed row window; dependency-free build stays green under --no-default-features
2026-09-06
fix(opus): keep the tonality analysis allocation-free in the steady-state encode loopAhmet Kaan Gümüş · 8a2183bBrowse files
feat(opus): port libopus's tonality analysis (MDCT features + MLP music_prob), consumers behind switchesAhmet Kaan Gümüş · 2d08e3d
feat(opus): port libopus's tonality analysis (MDCT features + MLP music_prob), consumers behind switches The analysis runs on the undelayed API frame exactly where opus_encode does; alloc_trim's tonality_slope term and compute_vbr's tonality/activity terms are wired but default off pending their gate rows. music_prob separates the gate's speech source (hein 0.161) from its music sources (reell 0.991, reelo 0.976).