edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust375.4 MiB5357ed1Tahinli17 minutes ago4120 commits
| 1 | //! Reference vectors for the `freq_tables` tests: 500 configurations sampled from the |
| 2 | //! same `freq_tables()` Python function the project ledger records as checked against a |
| 3 | //! reference decoder over 6387 configurations; regenerate with |
| 4 | //! `scripts/aac-tables/sbrtables.py`'s `freq_tables` if that function ever changes. |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | /// `(sbr_rate, start_freq, stop_freq, freq_scale, alter_scale, noise_bands, |
| 10 | /// xover_band, expected)`, `expected` being `(n_master, n_high, n_low, n_q, |
| 11 | /// f_high, f_low, f_noise)`. |
| 12 | |
| 13 | pub type Vector = |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | ; |
| 23 | |
| 24 | /// All reference vectors, in two parts. |
| 25 | pub static VECTORS: & = &; |