diag(aac-sbr): re-run feed-forward FIR vs all-pole A/B on the normative QMF bank
Browse files at this commit8ec0f40770fa56f65edc574f2a5c78f5c1d17ee0Parent: 9f92c741 changed file +15 -11
- crates/ec-aac/src/sbr_hf.rs +15 -11
crates/ec-aac/src/sbr_hf.rsmodified+15 -11
| @@ -38,17 +38,21 @@ | |||
| 38 | //! raw copy (`X_high[l] = X_src[l] + bw*a1*X_src[l-1] + bw^2*a2*X_src[l-2]`). | 38 | //! raw copy (`X_high[l] = X_src[l] + bw*a1*X_src[l-1] + bw^2*a2*X_src[l-2]`). |
| 39 | //! That version compiled, passed its own unit test, and is *closer* to a | 39 | //! That version compiled, passed its own unit test, and is *closer* to a |
| 40 | //! literal spec transcription -- but measured reproducibly WORSE on real | 40 | //! literal spec transcription -- but measured reproducibly WORSE on real |
| 41 | -//! content: full-band correlation against the reference decoder on | 41 | +//! content, then (round-50) and again re-tried and re-lost (later round) |
| 42 | -//! reeln dropped 0.972474->0.963863 (ch0) and 0.969785->0.961027 (ch1), | 42 | +//! after `sbr_qmf` became the normative ISO/IEC 14496-3 4.6.18.4/4.6.18.8.2 |
| 43 | -//! same direction on below-crossover and whole-file windowed-mean | 43 | +//! bank rather than the earlier fitted Kaiser one -- so the QMF bank change |
| 44 | -//! correlation too (round-50 A/B, ledger-recorded). This module reverted to | 44 | +//! was not the missing piece either. Full-band correlation against the |
| 45 | -//! the all-pole structure documented above on that measurement, not on the | 45 | +//! reference decoder on reeln: 0.986993/0.986238 (all-pole, ch0/ch1) vs |
| 46 | -//! spec reading: the bar this project holds itself to is matching the | 46 | +//! 0.965566/0.965680 (feed-forward); FMJ: 0.997880/0.993373 (all-pole) vs |
| 47 | -//! reference decoder's actual output, and a from-memory "more spec-literal" | 47 | +//! 0.994118/0.983006 (feed-forward); synthetic 48k-family above-crossover |
| 48 | -//! label does not outrank it. The feed-forward alternative and its | 48 | +//! band also regresses under feed-forward (e.g. 0.9882->0.9646 at 48k/48kbps). |
| 49 | -//! discriminating unit test remain in history (commit 8bc305b) as the | 49 | +//! This module keeps the all-pole structure documented above on that |
| 50 | -//! documented alternative, should some other change in this pipeline ever | 50 | +//! measurement, not on the spec reading: the bar this project holds itself |
| 51 | -//! make it the better match. | 51 | +//! to is matching the reference decoder's actual output, and a from-memory |
| 52 | +//! "more spec-literal" label does not outrank it. The feed-forward | ||
| 53 | +//! alternative and its discriminating unit test remain in history (commit | ||
| 54 | +//! 8bc305b) as the documented alternative, should some other change in this | ||
| 55 | +//! pipeline ever make it the better match. | ||
| 52 | 56 | ||
| 53 | use crate::sbr_bands::BandTables; | 57 | use crate::sbr_bands::BandTables; |
| 54 | use ec_dsp::Complex; | 58 | use ec_dsp::Complex; |