forge
Explore
Log in

Don't you dare go Hollow

Merge branch 'lane-names': prose names the replaced crates by role

Browse files at this commit

272e46f72c9e6b82514959b982a850879b0693b2Ahmet Kaan GümüşParent: 5aa2305e0132cd
Eight comment and doc lines across six crates named the incumbent decoders, encoders and readers this workspace replaced; they now describe the role (the incumbent AAC encoder, the incumbent MP3 encoder shim, the incumbent DEFLATE backend, the incumbent reader) with every version and measurement kept. Identifiers, dependency lines, shim package names and their own surface docs, and the ffmpeg oracle's encoder ids are unchanged by design.
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 same376+/// 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 per1 //! 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 its4+//! 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.305 //! 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 the6 //! 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 every3+//! 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; the4 //! level exercises exactly the encoder whose output edith has to inflate; the
5 //! comparison is against the original bytes, which is stricter than agreeing5 //! 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. A414 // ...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 the415 // demuxer that finds nothing there falls back to a walk and reads the
416 // file perfectly well, so nothing above this notices — while a stricter416 // file perfectly well, so nothing above this notices — while a stricter
417- // reader (symphonia's) follows the pointer into the middle of a cluster417+ // 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 replica30+/// 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 the1 //! 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 on4+//! 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`, and5 //! 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 this16+/// 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 tone17 /// 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; the18 /// 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 symphonia4+//! 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 cover6 //! 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`