Merge branch 'lane-names': prose names the replaced crates by role
Browse files at this commit7 changed files +8 -8
- crates/ec-aac/tests/oracle.rs +1 -1
- crates/ec-h265/tests/perf.rs +1 -1
- crates/ec-inflate/tests/inflate.rs +1 -1
- crates/ec-matroska/tests/matroska.rs +1 -1
- crates/ec-mp3/src/encode.rs +1 -1
- crates/ec-mp3/tests/encode_matrix.rs +2 -2
- crates/ec-probe/src/tags.rs +1 -1
crates/ec-aac/tests/oracle.rsmodified+1 -1
| @@ -373,7 +373,7 @@ fn sbr_is_reported_not_silently_upsampled() { | |||
| 373 | } | 373 | } |
| 374 | 374 | ||
| 375 | /// The incumbent encoder's per-channel correlation on these exact fixtures, | 375 | /// The incumbent encoder's per-channel correlation on these exact fixtures, |
| 376 | -/// measured by running `rusty_aac` 0.5.0 as a black box through the same | 376 | +/// measured by running the incumbent AAC encoder, 0.5.0, as a black box through the same |
| 377 | /// ffmpeg decode (2026-08-14). This is the bar the replacement has to clear. | 377 | /// ffmpeg decode (2026-08-14). This is the bar the replacement has to clear. |
| 378 | const INCUMBENT_BAR: &[(&str, usize, u32, f64)] = &[ | 378 | const INCUMBENT_BAR: &[(&str, usize, u32, f64)] = &[ |
| 379 | ("mono", 1, 96, 0.9846), | 379 | ("mono", 1, 96, 0.9846), |
crates/ec-h265/tests/perf.rsmodified+1 -1
| @@ -1,7 +1,7 @@ | |||
| 1 | //! The speed bar, measured the way the claim is made: one `encode_idr` call per | 1 | //! The speed bar, measured the way the claim is made: one `encode_idr` call per |
| 2 | //! picture, zero threads on the caller's side. | 2 | //! picture, zero threads on the caller's side. |
| 3 | //! | 3 | //! |
| 4 | -//! The incumbent this replaces (`oxideav-h265`) has no threads at all inside its | 4 | +//! The incumbent H.265 encoder this replaces has no threads at all inside its |
| 5 | //! encoder — edith fans whole access units out across twelve cores to reach 4.30 | 5 | //! encoder — edith fans whole access units out across twelve cores to reach 4.30 |
| 6 | //! fps at 1080p. The bar here is to beat that from *inside* one call, so the | 6 | //! fps at 1080p. The bar here is to beat that from *inside* one call, so the |
| 7 | //! measurement below hands one picture at a time to one encoder. | 7 | //! measurement below hands one picture at a time to one encoder. |
crates/ec-inflate/tests/inflate.rsmodified+1 -1
| @@ -1,6 +1,6 @@ | |||
| 1 | //! Round-trip, ceiling and malformed-input tests. | 1 | //! Round-trip, ceiling and malformed-input tests. |
| 2 | //! | 2 | //! |
| 3 | -//! flate2's default backend *is* miniz_oxide, so compressing here at every | 3 | +//! flate2's default backend *is* the incumbent DEFLATE encoder, so compressing here at every |
| 4 | //! level exercises exactly the encoder whose output edith has to inflate; the | 4 | //! level exercises exactly the encoder whose output edith has to inflate; the |
| 5 | //! comparison is against the original bytes, which is stricter than agreeing | 5 | //! comparison is against the original bytes, which is stricter than agreeing |
| 6 | //! with another decoder. | 6 | //! with another decoder. |
crates/ec-matroska/tests/matroska.rsmodified+1 -1
| @@ -414,7 +414,7 @@ fn every_fixture_remuxes_into_a_file_ffprobe_and_ffmpeg_agree_with() { | |||
| 414 | // ...and the `SeekHead` really names the elements it says it does. A | 414 | // ...and the `SeekHead` really names the elements it says it does. A |
| 415 | // demuxer that finds nothing there falls back to a walk and reads the | 415 | // demuxer that finds nothing there falls back to a walk and reads the |
| 416 | // file perfectly well, so nothing above this notices — while a stricter | 416 | // file perfectly well, so nothing above this notices — while a stricter |
| 417 | - // reader (symphonia's) follows the pointer into the middle of a cluster | 417 | + // reader (the incumbent's) follows the pointer into the middle of a cluster |
| 418 | // and refuses the file outright. Checked by resolving every entry. | 418 | // and refuses the file outright. Checked by resolving every entry. |
| 419 | seek_head_points_at_what_it_names(&dst); | 419 | seek_head_points_at_what_it_names(&dst); |
| 420 | 420 | ||
crates/ec-mp3/src/encode.rsmodified+1 -1
| @@ -27,7 +27,7 @@ use ec_dsp::{RealFft, Window}; | |||
| 27 | 27 | ||
| 28 | /// Encoder settings. | 28 | /// Encoder settings. |
| 29 | /// | 29 | /// |
| 30 | -/// The field names match the incumbent `rusty_mp3` shim's, because the replica | 30 | +/// The field names match the incumbent MP3 encoder shim's, because the replica |
| 31 | /// swaps one for the other without touching call sites. | 31 | /// swaps one for the other without touching call sites. |
| 32 | #[derive(Clone, Copy, Debug, Default, PartialEq)] | 32 | #[derive(Clone, Copy, Debug, Default, PartialEq)] |
| 33 | pub struct Mp3EncoderConfig { | 33 | pub struct Mp3EncoderConfig { |
crates/ec-mp3/tests/encode_matrix.rsmodified+2 -2
| @@ -1,7 +1,7 @@ | |||
| 1 | //! Our encoder measured the only way a lossy one can be: encode, decode the | 1 | //! Our encoder measured the only way a lossy one can be: encode, decode the |
| 2 | //! result with ffmpeg, correlate against the samples that went in. | 2 | //! result with ffmpeg, correlate against the samples that went in. |
| 3 | //! | 3 | //! |
| 4 | -//! The bar is the incumbent this crate replaces, `rusty_mp3` 0.6.1, measured on | 4 | +//! The bar is the incumbent MP3 encoder this crate replaces, 0.6.1, measured on |
| 5 | //! the same fixtures and the same metric (see `BAR`, and | 5 | //! the same fixtures and the same metric (see `BAR`, and |
| 6 | //! `scripts/mp3-incumbent-bar.md` for how those numbers were produced). | 6 | //! `scripts/mp3-incumbent-bar.md` for how those numbers were produced). |
| 7 | //! | 7 | //! |
| @@ -13,7 +13,7 @@ use std::process::Command; | |||
| 13 | 13 | ||
| 14 | use ec_mp3::{Mp3Encoder, Mp3EncoderConfig}; | 14 | use ec_mp3::{Mp3Encoder, Mp3EncoderConfig}; |
| 15 | 15 | ||
| 16 | -/// Correlation `rusty_mp3` 0.6.1 reaches on this corpus, measured with this | 16 | +/// Correlation the incumbent MP3 encoder, 0.6.1, reaches on this corpus, measured with this |
| 17 | /// same alignment and metric (its own encoder, ffmpeg's decoder). The tone | 17 | /// same alignment and metric (its own encoder, ffmpeg's decoder). The tone |
| 18 | /// fixtures reach 1.0 on both encoders and so cannot separate them; the | 18 | /// fixtures reach 1.0 on both encoders and so cannot separate them; the |
| 19 | /// `mp3src-*` material — glide, broadband noise and a click every half second — | 19 | /// `mp3src-*` material — glide, broadband noise and a click every half second — |
crates/ec-probe/src/tags.rsmodified+1 -1
| @@ -1,7 +1,7 @@ | |||
| 1 | //! The handful of tags a media library actually shows: title, artist, album, | 1 | //! The handful of tags a media library actually shows: title, artist, album, |
| 2 | //! date and track number, out of ID3v1, ID3v2 and Vorbis comments. | 2 | //! date and track number, out of ID3v1, ID3v2 and Vorbis comments. |
| 3 | //! | 3 | //! |
| 4 | -//! Deliberately small. edith reads no metadata at all today (its symphonia | 4 | +//! Deliberately small. edith reads no metadata at all today (its incumbent |
| 5 | //! reader passes `MetadataOptions::default()` and never asks for the result), | 5 | //! reader passes `MetadataOptions::default()` and never asks for the result), |
| 6 | //! so this exists to keep the door open rather than to be complete: no cover | 6 | //! so this exists to keep the door open rather than to be complete: no cover |
| 7 | //! art, no arbitrary user frames, and no mp4 `ilst` — an iTunes-tagged `.m4a` | 7 | //! art, no arbitrary user frames, and no mp4 `ilst` — an iTunes-tagged `.m4a` |