Merge branch 'lane-av1clipprobe'
Browse files at this commit9 changed files +933 -241
- crates/ec-av1/src/encode.rs +79 -49
- crates/ec-av1/src/encoder.rs +101 -39
- crates/ec-av1/src/lib.rs +7 -3
- crates/ec-av1/src/library_fixture.rs +161 -0
- crates/ec-av1/src/stream.rs +14 -10
- lanes/av1clipprobe.report.md +344 -0
- scripts/fixture-library.tsv +129 -139
- scripts/gen-fixture-library.sh +70 -0
- scripts/verify-fixture-library.sh +28 -1
crates/ec-av1/src/encode.rsmodified+79 -49
| @@ -16843,12 +16843,22 @@ mod tests { | |||
| 16843 | fn probe_intrabc_key_frame() { | 16843 | fn probe_intrabc_key_frame() { |
| 16844 | let _knobs = crate::speed::knob_write(); | 16844 | let _knobs = crate::speed::knob_write(); |
| 16845 | let fctx = &crate::decode::FrameCtx::for_encoder(); | 16845 | let fctx = &crate::decode::FrameCtx::for_encoder(); |
| 16846 | - let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"); | 16846 | + // lane-av1clipprobe: the manifest is a real-library file, so it |
| 16847 | - let Ok(manifest) = std::fs::read_to_string(fixtures.join("real-library-manifest.tsv")) | 16847 | + // resolves through the crate's one fixture root (EC_FIXTURES first) |
| 16848 | + // and its absence is reported by the one probe instead of an inline | ||
| 16849 | + // SKIP that named no path. A file that IS there but unreadable is not | ||
| 16850 | + // an absence, so it is a hard error rather than a second silent skip. | ||
| 16851 | + let Some(manifest_path) = | ||
| 16852 | + crate::library_fixture::require("real-library-manifest.tsv", "probe_intrabc_key_frame") | ||
| 16848 | else { | 16853 | else { |
| 16849 | - eprintln!("SKIP probe_intrabc_key_frame: no real-library manifest"); | ||
| 16850 | return; | 16854 | return; |
| 16851 | }; | 16855 | }; |
| 16856 | + let manifest = std::fs::read_to_string(&manifest_path).unwrap_or_else(|e| { | ||
| 16857 | + panic!( | ||
| 16858 | + "probe_intrabc_key_frame: {} is present but unreadable ({e})", | ||
| 16859 | + manifest_path.display() | ||
| 16860 | + ) | ||
| 16861 | + }); | ||
| 16852 | let Some(clip) = manifest | 16862 | let Some(clip) = manifest |
| 16853 | .lines() | 16863 | .lines() |
| 16854 | .skip(1) | 16864 | .skip(1) |
| @@ -19732,7 +19742,11 @@ mod tests { | |||
| 19732 | eprintln!("SKIP pricer_error_census_on_clips: no ffmpeg"); | 19742 | eprintln!("SKIP pricer_error_census_on_clips: no ffmpeg"); |
| 19733 | return; | 19743 | return; |
| 19734 | } | 19744 | } |
| 19735 | - let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"); | 19745 | + // lane-av1clipprobe: the crate's one fixture root (EC_FIXTURES first), |
| 19746 | + // so this probe reads the same tree the preflight validates. Its | ||
| 19747 | + // `assert!(!clips.is_empty())` below was already a hard failure, so no | ||
| 19748 | + // skip shape changes here — only the root does. | ||
| 19749 | + let fixtures = crate::library_fixture::root(); | ||
| 19736 | let mut clips: Vec<(String, std::path::PathBuf)> = Vec::new(); | 19750 | let mut clips: Vec<(String, std::path::PathBuf)> = Vec::new(); |
| 19737 | let film = fixtures.join("video/h264-1080p-23.976-8bit.mp4"); | 19751 | let film = fixtures.join("video/h264-1080p-23.976-8bit.mp4"); |
| 19738 | if film.exists() { | 19752 | if film.exists() { |
| @@ -20341,15 +20355,16 @@ mod tests { | |||
| 20341 | eprintln!("SKIP real_clip_encodes_within_its_quality_and_size_budget: no ffmpeg"); | 20355 | eprintln!("SKIP real_clip_encodes_within_its_quality_and_size_budget: no ffmpeg"); |
| 20342 | return; | 20356 | return; |
| 20343 | } | 20357 | } |
| 20344 | - let clip = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 20358 | + // lane-av1clipprobe: the clip's absence was a bare `clip.exists()` |
| 20345 | - .join("../../fixtures/video/h264-1080p-23.976-8bit.mp4"); | 20359 | + // -> SKIP with no env escape, so this gate reported green on a tree |
| 20346 | - if !clip.exists() { | 20360 | + // with no root `fixtures/`. The probe prints that one line (naming the |
| 20347 | - eprintln!( | 20361 | + // resolved path) and fails under the require envs. |
| 20348 | - "SKIP real_clip_encodes_within_its_quality_and_size_budget: {} missing", | 20362 | + let Some(clip) = crate::library_fixture::require( |
| 20349 | - clip.display() | 20363 | + "video/h264-1080p-23.976-8bit.mp4", |
| 20350 | - ); | 20364 | + "real_clip_encodes_within_its_quality_and_size_budget", |
| 20365 | + ) else { | ||
| 20351 | return; | 20366 | return; |
| 20352 | - } | 20367 | + }; |
| 20353 | let (width, height, frame_count) = (640usize, 384usize, 12usize); | 20368 | let (width, height, frame_count) = (640usize, 384usize, 12usize); |
| 20354 | let source = clip_frames(clip.to_str().unwrap(), "0", width, height, frame_count); | 20369 | let source = clip_frames(clip.to_str().unwrap(), "0", width, height, frame_count); |
| 20355 | let encoded = encode_sequence_with_ctx(&source, 100, 0.5, fctx).unwrap(); | 20370 | let encoded = encode_sequence_with_ctx(&source, 100, 0.5, fctx).unwrap(); |
| @@ -20406,16 +20421,14 @@ mod tests { | |||
| 20406 | ); | 20421 | ); |
| 20407 | return; | 20422 | return; |
| 20408 | } | 20423 | } |
| 20409 | - let clip = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 20424 | + // lane-av1clipprobe: see the sibling gate above -- the bare |
| 20410 | - .join("../../fixtures/video/h264-1080p-23.976-8bit.mp4"); | 20425 | + // `clip.exists()` -> SKIP had no env escape. |
| 20411 | - if !clip.exists() { | 20426 | + let Some(clip) = crate::library_fixture::require( |
| 20412 | - eprintln!( | 20427 | + "video/h264-1080p-23.976-8bit.mp4", |
| 20413 | - "SKIP real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size: \ | 20428 | + "real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size", |
| 20414 | - {} missing", | 20429 | + ) else { |
| 20415 | - clip.display() | ||
| 20416 | - ); | ||
| 20417 | return; | 20430 | return; |
| 20418 | - } | 20431 | + }; |
| 20419 | let (width, height, frame_count) = (704usize, 400usize, 8usize); | 20432 | let (width, height, frame_count) = (704usize, 400usize, 8usize); |
| 20420 | let source = clip_frames(clip.to_str().unwrap(), "0", width, height, frame_count); | 20433 | let source = clip_frames(clip.to_str().unwrap(), "0", width, height, frame_count); |
| 20421 | let encoded = encode_sequence_with_ctx(&source, 100, 0.5, fctx).unwrap(); | 20434 | let encoded = encode_sequence_with_ctx(&source, 100, 0.5, fctx).unwrap(); |
| @@ -20490,13 +20503,16 @@ mod tests { | |||
| 20490 | "h264-1080p-23.976-8bit.mp4", // film-ish, 23.976fps | 20503 | "h264-1080p-23.976-8bit.mp4", // film-ish, 23.976fps |
| 20491 | "h264-1080p-60-8bit.mp4", // higher motion, 60fps | 20504 | "h264-1080p-60-8bit.mp4", // higher motion, 60fps |
| 20492 | ] { | 20505 | ] { |
| 20493 | - let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 20506 | + // lane-av1clipprobe: the crate's one fixture root and its one |
| 20494 | - .join("../../fixtures/video") | 20507 | + // presence probe -- the bare `path.exists()` -> SKIP -> `continue` |
| 20495 | - .join(clip); | 20508 | + // had no env escape, and with every clip absent the sweep looped |
| 20496 | - if !path.exists() { | 20509 | + // zero times and passed. |
| 20497 | - eprintln!("SKIP {clip}: fixture missing"); | 20510 | + let Some(path) = crate::library_fixture::require( |
| 20511 | + &format!("video/{clip}"), | ||
| 20512 | + &format!("calibration_sweep_base_q_idx: {clip}"), | ||
| 20513 | + ) else { | ||
| 20498 | continue; | 20514 | continue; |
| 20499 | - } | 20515 | + }; |
| 20500 | let source = clip_frames(path.to_str().unwrap(), "0", width, height, frames); | 20516 | let source = clip_frames(path.to_str().unwrap(), "0", width, height, frames); |
| 20501 | eprintln!("--- {clip} ---"); | 20517 | eprintln!("--- {clip} ---"); |
| 20502 | for q in [40u8, 70, 100, 130, 160, 190, 220, 240] { | 20518 | for q in [40u8, 70, 100, 130, 160, 190, 220, 240] { |
| @@ -20909,12 +20925,15 @@ mod tests { | |||
| 20909 | eprintln!("SKIP the_encoders_own_streams_are_byte_identical_to_their_pins: no ffmpeg"); | 20925 | eprintln!("SKIP the_encoders_own_streams_are_byte_identical_to_their_pins: no ffmpeg"); |
| 20910 | return; | 20926 | return; |
| 20911 | } | 20927 | } |
| 20912 | - let clip = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 20928 | + // lane-av1clipprobe: the bare `clip.exists()` -> SKIP had no env escape, |
| 20913 | - .join("../../fixtures/video/h264-1080p-23.976-8bit.mp4"); | 20929 | + // so a tree with no root `fixtures/` reported this gate green having |
| 20914 | - if !clip.exists() { | 20930 | + // compared nothing at all. |
| 20915 | - eprintln!("SKIP the_encoders_own_streams_are_byte_identical_to_their_pins: no clip"); | 20931 | + let Some(clip) = crate::library_fixture::require( |
| 20932 | + "video/h264-1080p-23.976-8bit.mp4", | ||
| 20933 | + "the_encoders_own_streams_are_byte_identical_to_their_pins", | ||
| 20934 | + ) else { | ||
| 20916 | return; | 20935 | return; |
| 20917 | - } | 20936 | + }; |
| 20918 | let source = clip_frames(clip.to_str().unwrap(), "0", 640, 384, 4); | 20937 | let source = clip_frames(clip.to_str().unwrap(), "0", 640, 384, 4); |
| 20919 | // FNV-1a over the stream: a witness that every coded bit is where it | 20938 | // FNV-1a over the stream: a witness that every coded bit is where it |
| 20920 | // was, which a byte count alone is not. | 20939 | // was, which a byte count alone is not. |
| @@ -21177,7 +21196,8 @@ mod tests { | |||
| 21177 | eprintln!("SKIP probe_screen_library: no ffmpeg"); | 21196 | eprintln!("SKIP probe_screen_library: no ffmpeg"); |
| 21178 | return; | 21197 | return; |
| 21179 | } | 21198 | } |
| 21180 | - let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"); | 21199 | + // lane-av1clipprobe: the crate's one fixture root (EC_FIXTURES first). |
| 21200 | + let fixtures = crate::library_fixture::root(); | ||
| 21181 | let Ok(manifest) = std::fs::read_to_string(fixtures.join("real-library-manifest.tsv")) | 21201 | let Ok(manifest) = std::fs::read_to_string(fixtures.join("real-library-manifest.tsv")) |
| 21182 | else { | 21202 | else { |
| 21183 | eprintln!("SKIP probe_screen_library: no real-library manifest"); | 21203 | eprintln!("SKIP probe_screen_library: no real-library manifest"); |
| @@ -21559,7 +21579,8 @@ mod tests { | |||
| 21559 | eprintln!("SKIP bd_rate_vs_libaom_and_rav1e: no ffmpeg"); | 21579 | eprintln!("SKIP bd_rate_vs_libaom_and_rav1e: no ffmpeg"); |
| 21560 | return; | 21580 | return; |
| 21561 | } | 21581 | } |
| 21562 | - let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"); | 21582 | + // lane-av1clipprobe: the crate's one fixture root (EC_FIXTURES first). |
| 21583 | + let fixtures = crate::library_fixture::root(); | ||
| 21563 | let mut clips: Vec<(String, std::path::PathBuf)> = Vec::new(); | 21584 | let mut clips: Vec<(String, std::path::PathBuf)> = Vec::new(); |
| 21564 | // testsrc2 COLOUR BARS, not film -- labelled so no reader takes these | 21585 | // testsrc2 COLOUR BARS, not film -- labelled so no reader takes these |
| 21565 | // rows for real content (the real rows live in the native gate). | 21586 | // rows for real content (the real rows live in the native gate). |
| @@ -21567,11 +21588,13 @@ mod tests { | |||
| 21567 | ("bars 1080p", "h264-1080p-23.976-8bit.mp4"), | 21588 | ("bars 1080p", "h264-1080p-23.976-8bit.mp4"), |
| 21568 | ("bars 2160p", "h264-2160p-23.976-8bit.mp4"), | 21589 | ("bars 2160p", "h264-2160p-23.976-8bit.mp4"), |
| 21569 | ] { | 21590 | ] { |
| 21570 | - let path = fixtures.join("video").join(name); | 21591 | + // lane-av1clipprobe: the one probe, so a missing clip is RED under |
| 21571 | - if path.exists() { | 21592 | + // the require envs instead of a drop-with-no-escape. |
| 21593 | + if let Some(path) = crate::library_fixture::require( | ||
| 21594 | + &format!("video/{name}"), | ||
| 21595 | + &format!("bd_rate_vs_libaom_and_rav1e: {label}"), | ||
| 21596 | + ) { | ||
| 21572 | clips.push((label.to_string(), path)); | 21597 | clips.push((label.to_string(), path)); |
| 21573 | - } else { | ||
| 21574 | - eprintln!("SKIP clip {name}: missing"); | ||
| 21575 | } | 21598 | } |
| 21576 | } | 21599 | } |
| 21577 | // Screen capture: the repo carries no screen-capture fixture, so take | 21600 | // Screen capture: the repo carries no screen-capture fixture, so take |
| @@ -22110,7 +22133,8 @@ mod tests { | |||
| 22110 | /// clips the keep table is read off. Selector env vars as documented on | 22133 | /// clips the keep table is read off. Selector env vars as documented on |
| 22111 | /// the gate; a missing clip prints a SKIP and drops its row. | 22134 | /// the gate; a missing clip prints a SKIP and drops its row. |
| 22112 | fn native_gate_clips() -> Vec<(String, String, String)> { | 22135 | fn native_gate_clips() -> Vec<(String, String, String)> { |
| 22113 | - let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"); | 22136 | + // lane-av1clipprobe: the crate's one fixture root (EC_FIXTURES first). |
| 22137 | + let fixtures = crate::library_fixture::root(); | ||
| 22114 | let on = |k: &str| std::env::var(k).ok().as_deref() == Some("1"); | 22138 | let on = |k: &str| std::env::var(k).ok().as_deref() == Some("1"); |
| 22115 | let (film, film4k, screen) = ( | 22139 | let (film, film4k, screen) = ( |
| 22116 | on("EC_AV1_NATIVE_FILM"), | 22140 | on("EC_AV1_NATIVE_FILM"), |
| @@ -22130,14 +22154,17 @@ mod tests { | |||
| 22130 | if !want { | 22154 | if !want { |
| 22131 | continue; | 22155 | continue; |
| 22132 | } | 22156 | } |
| 22133 | - let path = fixtures.join("video").join(file); | 22157 | + // lane-av1clipprobe: the one probe, so a missing clip is RED under |
| 22134 | - match path.exists() { | 22158 | + // the require envs instead of a dropped row with no escape. |
| 22135 | - true => clips.push(( | 22159 | + if let Some(path) = crate::library_fixture::require( |
| 22160 | + &format!("video/{file}"), | ||
| 22161 | + &format!("the native BD-rate gate: {label}"), | ||
| 22162 | + ) { | ||
| 22163 | + clips.push(( | ||
| 22136 | label.to_string(), | 22164 | label.to_string(), |
| 22137 | path.to_str().unwrap().to_string(), | 22165 | path.to_str().unwrap().to_string(), |
| 22138 | "0".into(), | 22166 | "0".into(), |
| 22139 | - )), | 22167 | + )); |
| 22140 | - false => eprintln!("SKIP {label}: {file} missing"), | ||
| 22141 | } | 22168 | } |
| 22142 | } | 22169 | } |
| 22143 | let manifest = std::fs::read_to_string(fixtures.join("real-library-manifest.tsv")); | 22170 | let manifest = std::fs::read_to_string(fixtures.join("real-library-manifest.tsv")); |
| @@ -22670,16 +22697,19 @@ mod tests { | |||
| 22670 | eprintln!("SKIP tpl_intra_denominator_histogram: no ffmpeg"); | 22697 | eprintln!("SKIP tpl_intra_denominator_histogram: no ffmpeg"); |
| 22671 | return; | 22698 | return; |
| 22672 | } | 22699 | } |
| 22673 | - let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"); | ||
| 22674 | for (label, file) in [ | 22700 | for (label, file) in [ |
| 22675 | ("bars 1080p", "h264-1080p-23.976-8bit.mp4"), | 22701 | ("bars 1080p", "h264-1080p-23.976-8bit.mp4"), |
| 22676 | ("bars 2160p", "h264-2160p-23.976-8bit.mp4"), | 22702 | ("bars 2160p", "h264-2160p-23.976-8bit.mp4"), |
| 22677 | ] { | 22703 | ] { |
| 22678 | - let path = fixtures.join("video").join(file); | 22704 | + // lane-av1clipprobe: the one probe, so a missing clip is RED under |
| 22679 | - if !path.exists() { | 22705 | + // the require envs. With both clips absent this histogram used to |
| 22680 | - eprintln!("SKIP {label}: {file} missing"); | 22706 | + // loop zero times and pass having printed nothing. |
| 22707 | + let Some(path) = crate::library_fixture::require( | ||
| 22708 | + &format!("video/{file}"), | ||
| 22709 | + &format!("tpl_intra_denominator_histogram: {label}"), | ||
| 22710 | + ) else { | ||
| 22681 | continue; | 22711 | continue; |
| 22682 | - } | 22712 | + }; |
| 22683 | let path = path.to_str().unwrap(); | 22713 | let path = path.to_str().unwrap(); |
| 22684 | let Some((nw, nh)) = probe_dims(path) else { | 22714 | let Some((nw, nh)) = probe_dims(path) else { |
| 22685 | eprintln!("SKIP {label}: ffprobe gave no size"); | 22715 | eprintln!("SKIP {label}: ffprobe gave no size"); |
crates/ec-av1/src/encoder.rsmodified+101 -39
| @@ -2878,10 +2878,14 @@ mod tests { | |||
| 2878 | fn the_facade_codes_the_same_bytes_as_encode_sequence() { | 2878 | fn the_facade_codes_the_same_bytes_as_encode_sequence() { |
| 2879 | let _knobs = crate::speed::knob_read(); | 2879 | let _knobs = crate::speed::knob_read(); |
| 2880 | let frames = 12usize; | 2880 | let frames = 12usize; |
| 2881 | - let film = h264_clip_frames(640, 384, frames).unwrap_or_else(|| { | 2881 | + let film = h264_clip_frames("the facade identity film arm", 640, 384, frames) |
| 2882 | - eprintln!("no h264 clip: the facade identity gate runs on a synthetic card"); | 2882 | + .unwrap_or_else(|| { |
| 2883 | - (0..frames).map(|t| test_card(64, 64, t)).collect() | 2883 | + // The probe inside already printed the ONE line naming the |
| 2884 | - }); | 2884 | + // resolved path and the escape hatch, so this is a note about |
| 2885 | + // what runs instead — not a second SKIP. | ||
| 2886 | + eprintln!(" ...so the film arm runs on a synthetic card, not real film"); | ||
| 2887 | + (0..frames).map(|t| test_card(64, 64, t)).collect() | ||
| 2888 | + }); | ||
| 2885 | let screen: Vec<Picture> = (0..frames).map(|t| screen_card(64, 64, t)).collect(); | 2889 | let screen: Vec<Picture> = (0..frames).map(|t| screen_card(64, 64, t)).collect(); |
| 2886 | let pyramid = Pyramid::from_env().expect("the pyramid is this build's default"); | 2890 | let pyramid = Pyramid::from_env().expect("the pyramid is this build's default"); |
| 2887 | for (content, pictures, is_screen) in [("film", &film, false), ("screen", &screen, true)] { | 2891 | for (content, pictures, is_screen) in [("film", &film, false), ("screen", &screen, true)] { |
| @@ -3248,8 +3252,24 @@ mod tests { | |||
| 3248 | /// to this facade's own input size, and re-coded through the facade so the | 3252 | /// to this facade's own input size, and re-coded through the facade so the |
| 3249 | /// rate-target surface is exercised at the entry point a caller actually | 3253 | /// rate-target surface is exercised at the entry point a caller actually |
| 3250 | /// drives. | 3254 | /// drives. |
| 3251 | - fn h264_clip_frames(width: usize, height: usize, frames: usize) -> Option<Vec<Picture>> { | 3255 | + /// |
| 3256 | + /// lane-av1clipprobe: the ABSENCE of this clip used to be a bare | ||
| 3257 | + /// `clip.exists()` -> `None`, and every caller turned that into a `SKIP` | ||
| 3258 | + /// line and a return -- so a tree with no root `fixtures/` printed | ||
| 3259 | + /// `SKIP the 1080p tile round trip: no fixture` and libtest reported `ok`: | ||
| 3260 | + /// green with nothing asserted, and no env that made it RED. The presence | ||
| 3261 | + /// check now lives in the crate's one library-fixture probe | ||
| 3262 | + /// (`library_fixture::require_at`), which fails under `EC_REQUIRE_FIXTURES` / | ||
| 3263 | + /// `EC_AV1_REQUIRE_FFMPEG` / `EC_AV1_REQUIRE_AOMENC` and otherwise prints | ||
| 3264 | + /// that ONE line. | ||
| 3265 | + fn h264_clip_frames( | ||
| 3266 | + what: &str, | ||
| 3267 | + width: usize, | ||
| 3268 | + height: usize, | ||
| 3269 | + frames: usize, | ||
| 3270 | + ) -> Option<Vec<Picture>> { | ||
| 3252 | if !have_ffmpeg() { | 3271 | if !have_ffmpeg() { |
| 3272 | + eprintln!("SKIP {what}: no ffmpeg"); | ||
| 3253 | return None; | 3273 | return None; |
| 3254 | } | 3274 | } |
| 3255 | // lane-av1speed3: the wall tables below are read on REAL film as | 3275 | // lane-av1speed3: the wall tables below are read on REAL film as |
| @@ -3257,14 +3277,24 @@ mod tests { | |||
| 3257 | // gate's own vocabulary), and the film crop lives outside the repo -- | 3277 | // gate's own vocabulary), and the film crop lives outside the repo -- |
| 3258 | // `EC_AV1_WALL_CLIP` names it. Unset everywhere else, so every other | 3278 | // `EC_AV1_WALL_CLIP` names it. Unset everywhere else, so every other |
| 3259 | // caller still gets the fixture. | 3279 | // caller still gets the fixture. |
| 3280 | + // | ||
| 3281 | + // lane-av1clipprobe: the default path resolves through `EC_FIXTURES` | ||
| 3282 | + // first, which is the root `scripts/verify-fixture-library.sh` | ||
| 3283 | + // validates -- so the preflight's verdict and these bytes are the same | ||
| 3284 | + // tree, and GREEN-with-an-absent-root is no longer reachable by | ||
| 3285 | + // pointing EC_FIXTURES somewhere the gates do not read. | ||
| 3260 | let clip = match std::env::var("EC_AV1_WALL_CLIP") { | 3286 | let clip = match std::env::var("EC_AV1_WALL_CLIP") { |
| 3261 | Ok(p) => std::path::PathBuf::from(p), | 3287 | Ok(p) => std::path::PathBuf::from(p), |
| 3262 | - Err(_) => std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 3288 | + Err(_) => crate::library_fixture::path("video/h264-1080p-23.976-8bit.mp4"), |
| 3263 | - .join("../../fixtures/video/h264-1080p-23.976-8bit.mp4"), | ||
| 3264 | }; | 3289 | }; |
| 3265 | - if !clip.exists() { | 3290 | + // `what` is the CALLING GATE's name, carried in so that both exits from |
| 3291 | + // this function print exactly one line naming it: the ffmpeg line | ||
| 3292 | + // above, and the probe's line naming the resolved path. Callers | ||
| 3293 | + // therefore `return` on `None` WITHOUT printing a second one -- the | ||
| 3294 | + // second "no fixture" line per gate was the noise that hid this defect. | ||
| 3295 | + let Some(clip) = crate::library_fixture::require_at(clip, what) else { | ||
| 3266 | return None; | 3296 | return None; |
| 3267 | - } | 3297 | + }; |
| 3268 | let out = Command::new("ffmpeg") | 3298 | let out = Command::new("ffmpeg") |
| 3269 | .args(["-v", "error", "-i", clip.to_str().unwrap()]) | 3299 | .args(["-v", "error", "-i", clip.to_str().unwrap()]) |
| 3270 | .args(["-frames:v", &frames.to_string()]) | 3300 | .args(["-frames:v", &frames.to_string()]) |
| @@ -3313,8 +3343,12 @@ mod tests { | |||
| 3313 | #[test] | 3343 | #[test] |
| 3314 | fn bytes_per_frame_target_settles_within_20_percent() { | 3344 | fn bytes_per_frame_target_settles_within_20_percent() { |
| 3315 | let _knobs = crate::speed::knob_read(); | 3345 | let _knobs = crate::speed::knob_read(); |
| 3316 | - let Some(pictures) = h264_clip_frames(640, 384, 24) else { | 3346 | + let Some(pictures) = h264_clip_frames( |
| 3317 | - eprintln!("SKIP bytes_per_frame_target_settles_within_20_percent: no ffmpeg/fixture"); | 3347 | + "bytes_per_frame_target_settles_within_20_percent", |
| 3348 | + 640, | ||
| 3349 | + 384, | ||
| 3350 | + 24, | ||
| 3351 | + ) else { | ||
| 3318 | return; | 3352 | return; |
| 3319 | }; | 3353 | }; |
| 3320 | let target_bytes = 4_000u32; | 3354 | let target_bytes = 4_000u32; |
| @@ -3364,10 +3398,12 @@ mod tests { | |||
| 3364 | fn bitrate_target_lands_within_5_percent_over_48_frames() { | 3398 | fn bitrate_target_lands_within_5_percent_over_48_frames() { |
| 3365 | let _knobs = crate::speed::knob_read(); | 3399 | let _knobs = crate::speed::knob_read(); |
| 3366 | let (width, height, frames) = (640usize, 384usize, 48usize); | 3400 | let (width, height, frames) = (640usize, 384usize, 48usize); |
| 3367 | - let Some(pictures) = h264_clip_frames(width, height, frames) else { | 3401 | + let Some(pictures) = h264_clip_frames( |
| 3368 | - eprintln!( | 3402 | + "bitrate_target_lands_within_5_percent_over_48_frames", |
| 3369 | - "SKIP bitrate_target_lands_within_5_percent_over_48_frames: no ffmpeg/fixture" | 3403 | + width, |
| 3370 | - ); | 3404 | + height, |
| 3405 | + frames, | ||
| 3406 | + ) else { | ||
| 3371 | return; | 3407 | return; |
| 3372 | }; | 3408 | }; |
| 3373 | let fps = 24.0; | 3409 | let fps = 24.0; |
| @@ -3457,10 +3493,12 @@ mod tests { | |||
| 3457 | #[test] | 3493 | #[test] |
| 3458 | fn bytes_per_frame_controller_never_oscillates_past_its_clamp() { | 3494 | fn bytes_per_frame_controller_never_oscillates_past_its_clamp() { |
| 3459 | let _knobs = crate::speed::knob_read(); | 3495 | let _knobs = crate::speed::knob_read(); |
| 3460 | - let Some(pictures) = h264_clip_frames(640, 384, 24) else { | 3496 | + let Some(pictures) = h264_clip_frames( |
| 3461 | - eprintln!( | 3497 | + "bytes_per_frame_controller_never_oscillates_past_its_clamp", |
| 3462 | - "SKIP bytes_per_frame_controller_never_oscillates_past_its_clamp: no ffmpeg/fixture" | 3498 | + 640, |
| 3463 | - ); | 3499 | + 384, |
| 3500 | + 24, | ||
| 3501 | + ) else { | ||
| 3464 | return; | 3502 | return; |
| 3465 | }; | 3503 | }; |
| 3466 | let config = EncoderConfig { | 3504 | let config = EncoderConfig { |
| @@ -5573,8 +5611,7 @@ mod tests { | |||
| 5573 | let _knobs = crate::speed::knob_write(); | 5611 | let _knobs = crate::speed::knob_write(); |
| 5574 | let _gate_lock = crate::stream::tests::lock_gate_counters(); | 5612 | let _gate_lock = crate::stream::tests::lock_gate_counters(); |
| 5575 | let (width, height) = (1920usize, 1080usize); | 5613 | let (width, height) = (1920usize, 1080usize); |
| 5576 | - let Some(sources) = h264_clip_frames(width, height, 8) else { | 5614 | + let Some(sources) = h264_clip_frames("tile_wall_table_at_1080p", width, height, 8) else { |
| 5577 | - eprintln!("SKIP tile_wall_table_at_1080p: no fixture"); | ||
| 5578 | return; | 5615 | return; |
| 5579 | }; | 5616 | }; |
| 5580 | let layouts = [(0u32, 0u32), (1, 0), (1, 1), (2, 1)]; | 5617 | let layouts = [(0u32, 0u32), (1, 0), (1, 1), (2, 1)]; |
| @@ -5817,11 +5854,9 @@ mod tests { | |||
| 5817 | } | 5854 | } |
| 5818 | // Real gate content, where the CDEF preset search actually chooses | 5855 | // Real gate content, where the CDEF preset search actually chooses |
| 5819 | // `bits > 0` and the tile is re-coded, one tile and four. | 5856 | // `bits > 0` and the tile is re-coded, one tile and four. |
| 5820 | - if let Some(sources) = h264_clip_frames(640, 384, 3) { | 5857 | + if let Some(sources) = h264_clip_frames("the gate-clip arm", 640, 384, 3) { |
| 5821 | run(&sources, 640, 384, (0, 0)); | 5858 | run(&sources, 640, 384, (0, 0)); |
| 5822 | run(&sources, 640, 384, (1, 1)); | 5859 | run(&sources, 640, 384, (1, 1)); |
| 5823 | - } else { | ||
| 5824 | - eprintln!("SKIP the gate-clip arm: no fixture or no ffmpeg"); | ||
| 5825 | } | 5860 | } |
| 5826 | crate::decode::set_verify_final_replay(false); | 5861 | crate::decode::set_verify_final_replay(false); |
| 5827 | } | 5862 | } |
| @@ -5869,8 +5904,8 @@ mod tests { | |||
| 5869 | threads: &[usize], | 5904 | threads: &[usize], |
| 5870 | ) { | 5905 | ) { |
| 5871 | let _gate_lock = crate::stream::tests::lock_gate_counters(); | 5906 | let _gate_lock = crate::stream::tests::lock_gate_counters(); |
| 5872 | - let Some(sources) = h264_clip_frames(width, height, frames) else { | 5907 | + let Some(sources) = h264_clip_frames("the filter-stage breakdown", width, height, frames) |
| 5873 | - eprintln!("SKIP the filter-stage breakdown: no fixture or no ffmpeg"); | 5908 | + else { |
| 5874 | return; | 5909 | return; |
| 5875 | }; | 5910 | }; |
| 5876 | crate::par::set_stage_times(true); | 5911 | crate::par::set_stage_times(true); |
| @@ -5941,8 +5976,8 @@ mod tests { | |||
| 5941 | threads: &[usize], | 5976 | threads: &[usize], |
| 5942 | ) { | 5977 | ) { |
| 5943 | let _gate_lock = crate::stream::tests::lock_gate_counters(); | 5978 | let _gate_lock = crate::stream::tests::lock_gate_counters(); |
| 5944 | - let Some(sources) = h264_clip_frames(width, height, frames) else { | 5979 | + let Some(sources) = h264_clip_frames("the tile-search wall table", width, height, frames) |
| 5945 | - eprintln!("SKIP the tile-search wall table: no fixture or no ffmpeg"); | 5980 | + else { |
| 5946 | return; | 5981 | return; |
| 5947 | }; | 5982 | }; |
| 5948 | let run = |cols_log2: u32, rows_log2: u32, t: usize| -> (std::time::Duration, usize) { | 5983 | let run = |cols_log2: u32, rows_log2: u32, t: usize| -> (std::time::Duration, usize) { |
| @@ -6038,18 +6073,27 @@ mod tests { | |||
| 6038 | layouts: &[(u32, u32)], | 6073 | layouts: &[(u32, u32)], |
| 6039 | threads: &[usize], | 6074 | threads: &[usize], |
| 6040 | ) { | 6075 | ) { |
| 6041 | - let clip = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | ||
| 6042 | - .join("../../fixtures/video/h264-1080p-23.976-8bit.mp4"); | ||
| 6043 | let listed = Command::new("ffmpeg") | 6076 | let listed = Command::new("ffmpeg") |
| 6044 | .args(["-hide_banner", "-encoders"]) | 6077 | .args(["-hide_banner", "-encoders"]) |
| 6045 | .output(); | 6078 | .output(); |
| 6046 | let has_rav1e = listed | 6079 | let has_rav1e = listed |
| 6047 | .map(|o| String::from_utf8_lossy(&o.stdout).contains("librav1e")) | 6080 | .map(|o| String::from_utf8_lossy(&o.stdout).contains("librav1e")) |
| 6048 | .unwrap_or(false); | 6081 | .unwrap_or(false); |
| 6049 | - if !has_rav1e || !clip.exists() { | 6082 | + // lane-av1clipprobe: this was `!has_rav1e || !clip.exists()` behind ONE |
| 6050 | - eprintln!("SKIP the rav1e reference: no librav1e or no fixture"); | 6083 | + // line, which is how the clip's absence hid inside a tool-absence |
| 6084 | + // message and could not fail under any require env. The two causes are | ||
| 6085 | + // now separate, and only the clip goes through the fixture probe, so | ||
| 6086 | + // either way this helper prints exactly ONE line. | ||
| 6087 | + if !has_rav1e { | ||
| 6088 | + eprintln!("SKIP the rav1e reference: ffmpeg has no librav1e encoder"); | ||
| 6051 | return; | 6089 | return; |
| 6052 | } | 6090 | } |
| 6091 | + let Some(clip) = crate::library_fixture::require( | ||
| 6092 | + "video/h264-1080p-23.976-8bit.mp4", | ||
| 6093 | + "the rav1e reference", | ||
| 6094 | + ) else { | ||
| 6095 | + return; | ||
| 6096 | + }; | ||
| 6053 | eprintln!("| rav1e layout | threads | wall | fps | bytes |"); | 6097 | eprintln!("| rav1e layout | threads | wall | fps | bytes |"); |
| 6054 | for &(c, r) in layouts { | 6098 | for &(c, r) in layouts { |
| 6055 | for &t in threads { | 6099 | for &t in threads { |
| @@ -6109,15 +6153,29 @@ mod tests { | |||
| 6109 | /// smoke. | 6153 | /// smoke. |
| 6110 | /// | 6154 | /// |
| 6111 | /// The two skippable halves both route through the crate's EXISTING | 6155 | /// The two skippable halves both route through the crate's EXISTING |
| 6112 | - /// presence probes, not a new shape: `h264_clip_frames` (which itself | 6156 | + /// presence probes, not a new shape: `h264_clip_frames` (which itself asks |
| 6113 | - /// asks `have_ffmpeg()` and `clip.exists()`) and `have_ffmpeg()` for the | 6157 | + /// `have_ffmpeg()` and `library_fixture::require_at`) and `have_ffmpeg()` |
| 6114 | - /// ffmpeg arm. No bare presence check was added. | 6158 | + /// for the ffmpeg arm. No bare presence check was added. |
| 6159 | + /// | ||
| 6160 | + /// lane-av1clipprobe: with the root `fixtures/` absent this gate printed | ||
| 6161 | + /// `SKIP the 1080p tile round trip: no fixture` and libtest reported `ok` | ||
| 6162 | + /// — a 1080p gate that asserts nothing on every linked worktree, and no | ||
| 6163 | + /// env that made it RED. `library_fixture::require_at` now fails under | ||
| 6164 | + /// `EC_REQUIRE_FIXTURES` / `EC_AV1_REQUIRE_FFMPEG` / `EC_AV1_REQUIRE_AOMENC` | ||
| 6165 | + /// and otherwise prints exactly ONE line naming the resolved path, and the | ||
| 6166 | + /// path it resolves honours `EC_FIXTURES` — the root | ||
| 6167 | + /// `scripts/verify-fixture-library.sh` validates — so the preflight's | ||
| 6168 | + /// verdict and these bytes cannot be different trees again. | ||
| 6115 | #[test] | 6169 | #[test] |
| 6116 | fn a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders() { | 6170 | fn a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders() { |
| 6117 | let _knobs = crate::speed::knob_read(); | 6171 | let _knobs = crate::speed::knob_read(); |
| 6118 | let (width, height) = (1920usize, 1080usize); | 6172 | let (width, height) = (1920usize, 1080usize); |
| 6119 | - let Some(sources) = h264_clip_frames(width, height, 3) else { | 6173 | + let Some(sources) = h264_clip_frames( |
| 6120 | - eprintln!("SKIP the 1080p tile round trip: no fixture"); | 6174 | + "a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders", |
| 6175 | + width, | ||
| 6176 | + height, | ||
| 6177 | + 3, | ||
| 6178 | + ) else { | ||
| 6121 | return; | 6179 | return; |
| 6122 | }; | 6180 | }; |
| 6123 | for (cols_log2, rows_log2) in [(1u32, 0u32), (1, 1), (2, 1)] { | 6181 | for (cols_log2, rows_log2) in [(1u32, 0u32), (1, 1), (2, 1)] { |
| @@ -6176,8 +6234,12 @@ mod tests { | |||
| 6176 | return; | 6234 | return; |
| 6177 | } | 6235 | } |
| 6178 | let (width, height) = (640, 384); | 6236 | let (width, height) = (640, 384); |
| 6179 | - let Some(pictures) = h264_clip_frames(width, height, 8) else { | 6237 | + let Some(pictures) = h264_clip_frames( |
| 6180 | - eprintln!("SKIP quality_target_is_monotone_in_bytes_and_psnr: no fixture"); | 6238 | + "quality_target_is_monotone_in_bytes_and_psnr", |
| 6239 | + width, | ||
| 6240 | + height, | ||
| 6241 | + 8, | ||
| 6242 | + ) else { | ||
| 6181 | return; | 6243 | return; |
| 6182 | }; | 6244 | }; |
| 6183 | let mut prev_bytes = 0usize; | 6245 | let mut prev_bytes = 0usize; |
crates/ec-av1/src/lib.rsmodified+7 -3
| @@ -35,9 +35,13 @@ mod envflags; | |||
| 35 | mod film_grain; | 35 | mod film_grain; |
| 36 | mod filter_search; | 36 | mod filter_search; |
| 37 | pub mod frame; | 37 | pub mod frame; |
| 38 | +// Test-only: the real-library fixture root and the one presence probe every | ||
| 39 | +// gate that needs a clip routes through. | ||
| 38 | mod gate_coverage; | 40 | mod gate_coverage; |
| 39 | mod hits; | 41 | mod hits; |
| 40 | pub mod intra; | 42 | pub mod intra; |
| 43 | +#[cfg(test)] | ||
| 44 | +mod library_fixture; | ||
| 41 | pub mod mc; | 45 | pub mod mc; |
| 42 | pub mod motion; | 46 | pub mod motion; |
| 43 | mod motion_field; | 47 | mod motion_field; |
| @@ -49,13 +53,13 @@ pub mod probe; | |||
| 49 | pub mod qm; | 53 | pub mod qm; |
| 50 | pub mod quant; | 54 | pub mod quant; |
| 51 | mod refusal_inventory; | 55 | mod refusal_inventory; |
| 52 | -pub mod speed; | ||
| 53 | mod restoration; | 56 | mod restoration; |
| 54 | pub mod sequence; | 57 | pub mod sequence; |
| 55 | -mod superres; | 58 | +pub mod speed; |
| 56 | pub mod stream; | 59 | pub mod stream; |
| 57 | -mod timeline; | 60 | +mod superres; |
| 58 | pub mod tile; | 61 | pub mod tile; |
| 62 | +mod timeline; | ||
| 59 | pub mod transform; | 63 | pub mod transform; |
| 60 | mod warp; | 64 | mod warp; |
| 61 | mod wedge; | 65 | mod wedge; |
crates/ec-av1/src/library_fixture.rsadded+161 -0
| @@ -0,0 +1,161 @@ | |||
| 1 | +//! Where a REAL-LIBRARY fixture is read from, and the one presence probe every | ||
| 2 | +//! gate that needs one routes through. | ||
| 3 | +//! | ||
| 4 | +//! The clips these gates read (`h264-1080p-23.976-8bit.mp4`, | ||
| 5 | +//! `h264-2160p-23.976-8bit.mp4`, `real-library-manifest.tsv`) are | ||
| 6 | +//! multi-megabyte encodes of a shared library, not pins: they cannot be | ||
| 7 | +//! committed under `crates/<crate>/fixtures/` the way the `.obu` pins are | ||
| 8 | +//! ([`crate_pin`](crate::stream)), so they live in the gitignored ROOT | ||
| 9 | +//! `fixtures/` — `.gitignore:2`. A linked worktree therefore never has that | ||
| 10 | +//! directory, and a gate that skips on its absence reports GREEN having | ||
| 11 | +//! asserted nothing: the class `lane-av1skipfix` closed for the pins, still open | ||
| 12 | +//! for the clips. | ||
| 13 | +//! | ||
| 14 | +//! TWO defects met here, both of which this module closes: | ||
| 15 | +//! | ||
| 16 | +//! 1. **Silent skip.** `h264_clip_frames` and each gate's own | ||
| 17 | +//! `if !clip.exists() { eprintln!("SKIP …"); return; }` skipped with no env | ||
| 18 | +//! escape, so `EC_AV1_REQUIRE_FFMPEG=1` — a batch run's way of saying "this | ||
| 19 | +//! gate must actually run" — did not make the ABSENT CLIP a failure. The | ||
| 20 | +//! `a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders` | ||
| 21 | +//! gate printed `SKIP the 1080p tile round trip: no fixture` and libtest | ||
| 22 | +//! reported `ok` on a tree with no root `fixtures/` at all. | ||
| 23 | +//! | ||
| 24 | +//! 2. **Two roots.** `scripts/verify-fixture-library.sh` validates | ||
| 25 | +//! `$EC_FIXTURES` (defaulting to `$ROOT/fixtures`) while these gates read | ||
| 26 | +//! `$ROOT/fixtures` unconditionally. Pointing the preflight at a library | ||
| 27 | +//! elsewhere reported `resolve 0 missing` and `GREEN` while the clip gates' | ||
| 28 | +//! root was absent — GREEN with an absent root, the exact false green this | ||
| 29 | +//! module exists to kill. So [`root`] honours `EC_FIXTURES` FIRST: the | ||
| 30 | +//! preflight and the gates now resolve the same tree, and when it is unset | ||
| 31 | +//! the preflight's default IS the gates' root, so its mode-(i) finding fires | ||
| 32 | +//! exactly when the clip gates will skip. | ||
| 33 | +//! | ||
| 34 | +//! The shape is the crate's existing convention, not a new one: the | ||
| 35 | +//! assert-under-require / print-one-line-otherwise probe is the same one | ||
| 36 | +//! `crates/ec-h264/tests/conformance.rs::require_fixtures` and the per-crate | ||
| 37 | +//! `require_fixture` helpers use, and the file's own presence check lives HERE, | ||
| 38 | +//! inside the probe that owns it — a bare `clip.exists()` at a call site is | ||
| 39 | +//! precisely what the anti-regression scan for the sibling (tool) class | ||
| 40 | +//! rejects. | ||
| 41 | + | ||
| 42 | +use std::path::{Path, PathBuf}; | ||
| 43 | + | ||
| 44 | +/// The envs that turn an absent library clip into a hard failure. | ||
| 45 | +/// | ||
| 46 | +/// * `EC_REQUIRE_FIXTURES` — the fleet-wide convention, the same one | ||
| 47 | +/// `scripts/verify-fixture-library.sh` and every per-crate `require_fixture` | ||
| 48 | +/// honour, and the one `EC_REQUIRE_FIXTURES=1` in the preflight's docs names. | ||
| 49 | +/// * `EC_AV1_REQUIRE_FFMPEG` / `EC_AV1_REQUIRE_AOMENC` — this crate's own | ||
| 50 | +/// requirement flags ([`have_ffmpeg`](crate::encode::tests::have_ffmpeg)). | ||
| 51 | +/// Every gate reachable through [`require`] also decodes its result through | ||
| 52 | +/// ffmpeg, so a batch that sets them has already said the gate must run; a | ||
| 53 | +/// missing clip must not be the softer failure. | ||
| 54 | +/// | ||
| 55 | +/// All three are checked, not just one: a run that sets only the preflight's | ||
| 56 | +/// env, and a run that sets only this crate's, both get the failure. | ||
| 57 | +fn required() -> bool { | ||
| 58 | + std::env::var_os("EC_REQUIRE_FIXTURES").is_some() | ||
| 59 | + || std::env::var_os("EC_AV1_REQUIRE_FFMPEG").is_some() | ||
| 60 | + || std::env::var_os("EC_AV1_REQUIRE_AOMENC").is_some() | ||
| 61 | +} | ||
| 62 | + | ||
| 63 | +/// The fixture root the tests read, in precedence order: | ||
| 64 | +/// | ||
| 65 | +/// 1. `EC_FIXTURES` — the same variable `scripts/verify-fixture-library.sh` | ||
| 66 | +/// resolves, so its verdict and these gates' bytes are the same tree. This | ||
| 67 | +/// is the half of the two-roots mismatch that the preflight cannot fix from | ||
| 68 | +/// its side. | ||
| 69 | +/// 2. `<crate>/../../fixtures` — the gitignored root `fixtures/`, the default | ||
| 70 | +/// the preflight uses when `EC_FIXTURES` is unset. | ||
| 71 | +pub fn root() -> PathBuf { | ||
| 72 | + match std::env::var_os("EC_FIXTURES") { | ||
| 73 | + Some(p) if !p.is_empty() => PathBuf::from(p), | ||
| 74 | + _ => Path::new(env!("CARGO_MANIFEST_DIR")).join("../../fixtures"), | ||
| 75 | + } | ||
| 76 | +} | ||
| 77 | + | ||
| 78 | +/// `require` on a path relative to [`root`]: | ||
| 79 | +/// `require("video/h264-1080p-23.976-8bit.mp4", …)`. The literal is | ||
| 80 | +/// LIBRARY-RELATIVE, which is the row shape `scripts/gen-fixture-library.sh` | ||
| 81 | +/// reads back out of this file, so the preflight keeps resolving these paths. | ||
| 82 | +pub fn path(rel: &str) -> PathBuf { | ||
| 83 | + root().join(rel) | ||
| 84 | +} | ||
| 85 | + | ||
| 86 | +/// The one presence probe for a library fixture. Returns the path when the file | ||
| 87 | +/// is there. When it is not: | ||
| 88 | +/// | ||
| 89 | +/// * under [`required()`] — PANIC, naming the resolved path, so the gate is RED | ||
| 90 | +/// instead of green-with-nothing-checked; | ||
| 91 | +/// * otherwise — prints exactly ONE `SKIP` line naming the resolved path and the | ||
| 92 | +/// three ways out (link the library, point `EC_FIXTURES` at it, or set a | ||
| 93 | +/// require env), and returns `None`. | ||
| 94 | +/// | ||
| 95 | +/// A caller that gets `None` must `return` WITHOUT printing a second line: the | ||
| 96 | +/// path and the escape hatch are already on the one line above, and a second | ||
| 97 | +/// "no fixture" line is the noise that hid this defect from a reading of the | ||
| 98 | +/// output. | ||
| 99 | +pub fn require(rel: &str, what: &str) -> Option<PathBuf> { | ||
| 100 | + require_at(path(rel), what) | ||
| 101 | +} | ||
| 102 | + | ||
| 103 | +/// [`require`] for a path the caller resolved itself — an `EC_AV1_WALL_CLIP` | ||
| 104 | +/// override, which names a clip OUTSIDE any library root, so it must not be | ||
| 105 | +/// joined onto one. | ||
| 106 | +pub fn require_at(clip: PathBuf, what: &str) -> Option<PathBuf> { | ||
| 107 | + if clip.is_file() { | ||
| 108 | + return Some(clip); | ||
| 109 | + } | ||
| 110 | + assert!( | ||
| 111 | + !required(), | ||
| 112 | + "{what}: the library clip is absent at {} -- this gate would prove nothing. A linked \ | ||
| 113 | + worktree has no gitignored root `fixtures/`: run scripts/link-fixtures.sh, or point \ | ||
| 114 | + EC_FIXTURES at a library root, or set EC_REQUIRE_FIXTURES=1 / EC_AV1_REQUIRE_FFMPEG=1 \ | ||
| 115 | + only on a tree that really has the library.", | ||
| 116 | + clip.display() | ||
| 117 | + ); | ||
| 118 | + eprintln!( | ||
| 119 | + "SKIP {what}: {} absent at {} -- this gate proved nothing; run \ | ||
| 120 | + scripts/link-fixtures.sh, point EC_FIXTURES at a library root, or set \ | ||
| 121 | + EC_REQUIRE_FIXTURES=1 / EC_AV1_REQUIRE_FFMPEG=1 to make this a failure.", | ||
| 122 | + clip.file_name().unwrap_or_default().to_string_lossy(), | ||
| 123 | + clip.display() | ||
| 124 | + ); | ||
| 125 | + None | ||
| 126 | +} | ||
| 127 | + | ||
| 128 | +#[cfg(test)] | ||
| 129 | +mod tests { | ||
| 130 | + use super::*; | ||
| 131 | + | ||
| 132 | + /// The two-roots reconciliation, asserted on the RESOLVER rather than | ||
| 133 | + /// described in prose: with `EC_FIXTURES` set, [`root`] is that directory and | ||
| 134 | + /// NOT `<crate>/../../fixtures`. (The variable is process-constant in this | ||
| 135 | + /// crate — nothing calls `set_var` — so the assertion holds for whatever the | ||
| 136 | + /// batch exported; it is the precedence, not a particular value, that is | ||
| 137 | + /// under test.) | ||
| 138 | + #[test] | ||
| 139 | + fn the_resolver_follows_ec_fixtures_over_the_gitignored_root() { | ||
| 140 | + let root = super::root(); | ||
| 141 | + if let Some(p) = std::env::var_os("EC_FIXTURES") | ||
| 142 | + && !p.is_empty() | ||
| 143 | + { | ||
| 144 | + assert_eq!( | ||
| 145 | + root, | ||
| 146 | + PathBuf::from(p), | ||
| 147 | + "EC_FIXTURES must win over the default root" | ||
| 148 | + ); | ||
| 149 | + } else { | ||
| 150 | + assert!( | ||
| 151 | + root.ends_with("../../fixtures"), | ||
| 152 | + "the default root is the gitignored <crate>/../../fixtures, got {}", | ||
| 153 | + root.display() | ||
| 154 | + ); | ||
| 155 | + } | ||
| 156 | + assert_eq!( | ||
| 157 | + super::path("video/h264-1080p-23.976-8bit.mp4"), | ||
| 158 | + root.join("video/h264-1080p-23.976-8bit.mp4") | ||
| 159 | + ); | ||
| 160 | + } | ||
| 161 | +} | ||
crates/ec-av1/src/stream.rsmodified+14 -10
| @@ -6292,12 +6292,13 @@ pub(crate) mod tests { | |||
| 6292 | eprintln!("SKIP {NAME}: no ffmpeg"); | 6292 | eprintln!("SKIP {NAME}: no ffmpeg"); |
| 6293 | return; | 6293 | return; |
| 6294 | } | 6294 | } |
| 6295 | - let clip = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 6295 | + // lane-av1clipprobe: the bare `clip.exists()` -> SKIP had no env |
| 6296 | - .join("../../fixtures/video/h264-2160p-23.976-8bit.mp4"); | 6296 | + // escape, so on a tree with no root `fixtures/` this 128-intra-block |
| 6297 | - if !clip.exists() { | 6297 | + // gate reported green having decoded nothing. |
| 6298 | - eprintln!("SKIP {NAME}: the 2160p bars fixture is missing"); | 6298 | + let Some(clip) = crate::library_fixture::require("video/h264-2160p-23.976-8bit.mp4", NAME) |
| 6299 | + else { | ||
| 6299 | return; | 6300 | return; |
| 6300 | - } | 6301 | + }; |
| 6301 | let (w, h, frames) = (1920usize, 1024usize, 12usize); | 6302 | let (w, h, frames) = (1920usize, 1024usize, 12usize); |
| 6302 | // [[pid-keyed-temp-path]]: parallel test binaries must not share a name. | 6303 | // [[pid-keyed-temp-path]]: parallel test binaries must not share a name. |
| 6303 | let src = std::env::temp_dir().join(format!("ec-av1-i128-{}.yuv", std::process::id())); | 6304 | let src = std::env::temp_dir().join(format!("ec-av1-i128-{}.yuv", std::process::id())); |
| @@ -45092,12 +45093,15 @@ pub(crate) mod tests { | |||
| 45092 | // segment, so they do not gate `SEG_LVL_ALT_Q` -- that is the | 45093 | // segment, so they do not gate `SEG_LVL_ALT_Q` -- that is the |
| 45093 | // recipe rows' job above -- but they are the rectangular | 45094 | // recipe rows' job above -- but they are the rectangular |
| 45094 | // partition coverage rav1e's straddle answer adds. | 45095 | // partition coverage rav1e's straddle answer adds. |
| 45095 | - let clip = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) | 45096 | + // lane-av1clipprobe: the one probe. This one is worse than a plain |
| 45096 | - .join("../../fixtures/video/h264-1080p-23.976-8bit.mp4"); | 45097 | + // skip -- it `return`s from the middle of the gate, so everything |
| 45097 | - if !clip.exists() { | 45098 | + // asserted above it had already run and the encoder-ladder half |
| 45098 | - eprintln!("SKIP {NAME}: {} missing", clip.display()); | 45099 | + // silently never did, leaving a half-executed gate reported green. |
| 45100 | + let Some(clip) = | ||
| 45101 | + crate::library_fixture::require("video/h264-1080p-23.976-8bit.mp4", NAME) | ||
| 45102 | + else { | ||
| 45099 | return; | 45103 | return; |
| 45100 | - } | 45104 | + }; |
| 45101 | for (encoder, points) in [ | 45105 | for (encoder, points) in [ |
| 45102 | ("librav1e", ["50", "100", "150", "200"]), | 45106 | ("librav1e", ["50", "100", "150", "200"]), |
| 45103 | ("libaom-av1", ["5", "20", "35", "45"]), | 45107 | ("libaom-av1", ["5", "20", "35", "45"]), |
lanes/av1clipprobe.report.mdadded+344 -0
| @@ -0,0 +1,344 @@ | |||
| 1 | +# lane-av1clipprobe — the clip-gate silent skip, and the two roots | ||
| 2 | + | ||
| 3 | +Branch `lane-av1clipprobe` off `f33b9d41`. Commit `502c18ce`. | ||
| 4 | + | ||
| 5 | +## 1. Reproduction (before the fix) | ||
| 6 | + | ||
| 7 | +Lane worktree `/home/user/Documents/Code/Rust/wt-av1clipprobe`, root `fixtures/` | ||
| 8 | +absent (it is `.gitignore:2`, so `git worktree add` never produces it): | ||
| 9 | + | ||
| 10 | +``` | ||
| 11 | +$ ls -d fixtures | ||
| 12 | +ls: cannot access 'fixtures': No such file or directory | ||
| 13 | + | ||
| 14 | +$ EC_AV1_REQUIRE_FFMPEG=1 EC_AV1_REQUIRE_AOMENC=1 \ | ||
| 15 | + cargo test -p ec-av1 --release \ | ||
| 16 | + a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders -- --nocapture | ||
| 17 | +running 1 test | ||
| 18 | +SKIP the 1080p tile round trip: no fixture | ||
| 19 | +test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ... ok | ||
| 20 | + | ||
| 21 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 752 filtered out; finished in 0.11s | ||
| 22 | +EXIT=0 | ||
| 23 | +``` | ||
| 24 | + | ||
| 25 | +Both halves of the report: the `SKIP` line, and libtest's `ok`. The two | ||
| 26 | +`EC_AV1_REQUIRE_*` flags were set for that run, and the gate still reported | ||
| 27 | +green — the flags govern *ffmpeg/aomenc* absence, never the clip's. | ||
| 28 | + | ||
| 29 | +## 2. Route | ||
| 30 | + | ||
| 31 | +`crates/ec-av1/src/library_fixture.rs` (new, `#[cfg(test)] mod`) owns two things. | ||
| 32 | + | ||
| 33 | +**The resolver** — `root()` reads `EC_FIXTURES` first, else | ||
| 34 | +`CARGO_MANIFEST_DIR/../../fixtures`. | ||
| 35 | + | ||
| 36 | +**The one presence probe** — `require(rel, what)` / `require_at(path, what)`: | ||
| 37 | + | ||
| 38 | +* file present → `Some(path)`; | ||
| 39 | +* absent **and** `EC_REQUIRE_FIXTURES` / `EC_AV1_REQUIRE_FFMPEG` / | ||
| 40 | + `EC_AV1_REQUIRE_AOMENC` set → `assert!` panics, naming the resolved path and | ||
| 41 | + the three ways to fix the tree (RED); | ||
| 42 | +* absent and no require env → prints **one** `SKIP` line naming the resolved | ||
| 43 | + path and the same three ways out, returns `None` (documented skip). | ||
| 44 | + | ||
| 45 | +This is the crate's *existing* shape, not a new one: the | ||
| 46 | +assert-under-require / print-one-line-otherwise probe is what | ||
| 47 | +`crates/ec-h264/tests/conformance.rs::require_fixtures` and the per-crate | ||
| 48 | +`require_fixture` helpers do, and the file's own presence check lives inside | ||
| 49 | +the probe that owns it — the shape the `no_tool_presence_check_outside_its_probe` | ||
| 50 | +scan in `gate_coverage.rs` demands. No bare `is_file()` / `exists()` was added at | ||
| 51 | +any call site. | ||
| 52 | + | ||
| 53 | +`h264_clip_frames` already had the right probe shape for ffmpeg but its CALLERS | ||
| 54 | +owned the absence silently; the fix is in the callers plus the one added clip | ||
| 55 | +check. `h264_clip_frames` now takes the calling gate's name (`what`) so both of | ||
| 56 | +its exits print exactly one line and callers `return` on `None` without printing | ||
| 57 | +a second — the two "no fixture" lines per gate were the noise that hid this. | ||
| 58 | + | ||
| 59 | +## 3. Class sweep | ||
| 60 | + | ||
| 61 | +Every site in `crates/ec-av1` that resolved a fixture through | ||
| 62 | +`CARGO_MANIFEST_DIR/../../fixtures` (i.e. outside the crate-local committed | ||
| 63 | +pins, which `crate_pin` already handles with an unconditional `panic!`). | ||
| 64 | +14 sites, 5 in `encoder.rs`, 8 in `encode.rs`, 2 in `stream.rs` — of which | ||
| 65 | +**11 could report a green suite having asserted nothing** (non-`#[ignore]`d | ||
| 66 | +`#[test]`). | ||
| 67 | + | ||
| 68 | +| # | site (file:line at `f33b9d41`) | gate | mechanism | status | | ||
| 69 | +|---|---|---|---|---| | ||
| 70 | +| 1 | `encoder.rs:3263` in `h264_clip_frames` | 10 callers (below) | `clip.exists()` → `None` → each caller's own `SKIP` → `return`; **no env escape** | probe; one line per gate | | ||
| 71 | +| 2 | `encoder.rs:6119` | `a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders` | via (1) | **RED under require** | | ||
| 72 | +| 3 | `encoder.rs:3316` | `bytes_per_frame_target_settles_within_20_percent` | via (1) | **RED** | | ||
| 73 | +| 4 | `encoder.rs:3367` | `bitrate_target_lands_within_5_percent_over_48_frames` | via (1) | **RED** | | ||
| 74 | +| 5 | `encoder.rs:3460` | `bytes_per_frame_controller_never_oscillates_past_its_clamp` | via (1) | **RED** | | ||
| 75 | +| 6 | `encoder.rs:5576` | `tile_wall_table_at_1080p` (`#[ignore]`, probe) | via (1) | probe | | ||
| 76 | +| 7 | `encoder.rs:5820` | `filter_replay_final_matches_the_capture_decode` | via (1) | **RED** | | ||
| 77 | +| 8 | `encoder.rs:5872` | `filter_stage_wall_1080p` (`#[ignore]`, probe) | via (1) | probe | | ||
| 78 | +| 9 | `encoder.rs:5944` | `tile_search_wall_1080p` (`#[ignore]`, probe) | via (1) | probe | | ||
| 79 | +| 10 | `encoder.rs:6179` | `quality_target_is_monotone_in_bytes_and_psnr` | via (1) | **RED** | | ||
| 80 | +| 11 | `encoder.rs:2881` | `the_facade_codes_the_same_bytes_as_encode_sequence` | `unwrap_or_else` → **runs the film arm on a synthetic card** and asserts as if it were film | **RED**; the substitution now says so on a second, non-`SKIP` line | | ||
| 81 | +| 12 | `encoder.rs:6042` in `rav1e_wall_reference` | 2 wall-table probes | `!has_rav1e \|\| !clip.exists()` behind ONE line — the clip's absence hid inside a tool-absence message and had no escape | split; clip through the probe | | ||
| 82 | +| 13 | `encode.rs:20345` | `real_clip_encodes_within_its_quality_and_size_budget` | `clip.exists()` → `SKIP` | **RED** | | ||
| 83 | +| 14 | `encode.rs:20410` | `…_at_a_straddle_size` | `clip.exists()` → `SKIP` | **RED** | | ||
| 84 | +| 15 | `encode.rs:20913` | `the_encoders_own_streams_are_byte_identical_to_their_pins` | `clip.exists()` → `SKIP` — compared nothing at all | **RED** | | ||
| 85 | +| 16 | `encode.rs:20494` | `calibration_sweep_base_q_idx` (`#[ignore]`, probe) | per-clip `!path.exists()` → `continue`; with every clip absent the loop ran zero times and **passed** | probe through the probe | | ||
| 86 | +| 17 | `encode.rs:21561`, `:22113`, `:22672` | `bd_rate_vs_libaom_and_rav1e`, `native_gate_clips`, `tpl_intra_denominator_histogram` (all `#[ignore]`) | per-clip `!path.exists()` → drop/`continue` with no escape; `tpl` printed nothing and passed | per-clip checks through the probe; roots re-resolved | | ||
| 87 | +| 18 | `encode.rs:16846`, `:19735`, `:21179` | `probe_intrabc_key_frame`, `pricer_error_census_on_clips`, `probe_screen_library` (all `#[ignore]`) | `read_to_string(…/real-library-manifest.tsv)` `Err` → `SKIP` naming no path | manifest through the probe; a present-but-unreadable manifest is now a hard error, not a second silent skip | | ||
| 88 | +| 19 | `stream.rs:6296` | `a_libaom_stream_with_128_intra_blocks_in_inter_frames_decodes_exact` | `clip.exists()` → `SKIP` — decoded nothing | **RED** | | ||
| 89 | +| 20 | `stream.rs:45096` | `a_straddling_frame_decodes_exactly_on_both_reference_encoders_ladders` | `clip.exists()` → `return` **from the middle of the gate**: everything above it had already run, the encoder-ladder half never did, and a half-executed gate reported green | **RED** | | ||
| 90 | + | ||
| 91 | +Left alone on purpose: | ||
| 92 | + | ||
| 93 | +* `stream.rs:9426 pin_dir()` — names `../../fixtures` as a *fallback* for pins | ||
| 94 | + that are committed crate-local; the gate above it (`require_pin`) panics | ||
| 95 | + unconditionally on absence, so there is no skip to close, and the preflight's | ||
| 96 | + invariant-4 census classifies gates by that root literal. | ||
| 97 | +* All 44 `crate_pin` sites — already the lane-av1skipfix shape: an absent | ||
| 98 | + COMMITTED pin is a repo defect and fails with no escape. | ||
| 99 | + | ||
| 100 | +Class-wide proof, root absent, **without** require envs — every gate prints | ||
| 101 | +exactly one `SKIP` line: | ||
| 102 | + | ||
| 103 | +``` | ||
| 104 | +a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders skip_lines=1 ok. 1 passed | ||
| 105 | +bytes_per_frame_target_settles_within_20_percent skip_lines=1 ok. 1 passed | ||
| 106 | +bitrate_target_lands_within_5_percent_over_48_frames skip_lines=1 ok. 1 passed | ||
| 107 | +bytes_per_frame_controller_never_oscillates_past_its_clamp skip_lines=1 ok. 1 passed | ||
| 108 | +quality_target_is_monotone_in_bytes_and_psnr skip_lines=1 ok. 1 passed | ||
| 109 | +the_facade_codes_the_same_bytes_as_encode_sequence skip_lines=1 ok. 1 passed | ||
| 110 | +filter_replay_final_matches_the_capture_decode skip_lines=1 ok. 1 passed | ||
| 111 | +real_clip_encodes_within_its_quality_and_size_budget skip_lines=2 ok. 2 passed (filter matched both straddle tests; 1 each) | ||
| 112 | +real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size skip_lines=1 ok. 1 passed | ||
| 113 | +the_encoders_own_streams_are_byte_identical_to_their_pins skip_lines=1 ok. 1 passed | ||
| 114 | +a_libaom_stream_with_128_intra_blocks_in_inter_frames_decodes_exact skip_lines=1 ok. 1 passed | ||
| 115 | +a_straddling_frame_decodes_exactly_on_both_reference_encoders_ladders skip_lines=1 ok. 1 passed | ||
| 116 | +tile_wall_table_at_1080p / tile_search_wall_1080p / filter_stage_wall_1080p skip_lines=0 1 ignored (probes, #[ignore]d) | ||
| 117 | +``` | ||
| 118 | + | ||
| 119 | +Class-wide proof, root absent, `EC_AV1_REQUIRE_FFMPEG=1 EC_AV1_REQUIRE_AOMENC=1` | ||
| 120 | +— **all eleven are RED**: | ||
| 121 | + | ||
| 122 | +``` | ||
| 123 | +a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders FAILED. 0 passed | ||
| 124 | +bytes_per_frame_target_settles_within_20_percent FAILED. 0 passed | ||
| 125 | +bitrate_target_lands_within_5_percent_over_48_frames FAILED. 0 passed | ||
| 126 | +bytes_per_frame_controller_never_oscillates_past_its_clamp FAILED. 0 passed | ||
| 127 | +quality_target_is_monotone_in_bytes_and_psnr FAILED. 0 passed | ||
| 128 | +the_facade_codes_the_same_bytes_as_encode_sequence FAILED. 0 passed | ||
| 129 | +filter_replay_final_matches_the_capture_decode FAILED. 0 passed | ||
| 130 | +real_clip_encodes_within_its_quality_and_size_budget FAILED. 0 passed | ||
| 131 | +the_encoders_own_streams_are_byte_identical_to_their_pins FAILED. 0 passed | ||
| 132 | +a_libaom_stream_with_128_intra_blocks_in_inter_frames_decodes_exact FAILED. 0 passed | ||
| 133 | +a_straddling_frame_decodes_exactly_on_both_reference_encoders_ladders FAILED. 0 passed | ||
| 134 | +``` | ||
| 135 | + | ||
| 136 | +`EC_REQUIRE_FIXTURES=1` alone is enough as well (proved on the 1080p gate). | ||
| 137 | + | ||
| 138 | +## 4. Reconciliation: the clip path resolves through `EC_FIXTURES` | ||
| 139 | + | ||
| 140 | +**Choice: `library_fixture::root()` honours `EC_FIXTURES` first**, the | ||
| 141 | +alternative being to make the preflight FAIL when the tests' default root is | ||
| 142 | +absent. | ||
| 143 | + | ||
| 144 | +Why this one: | ||
| 145 | + | ||
| 146 | +* `EC_FIXTURES` is already the fleet-wide convention — `gen-fixtures.sh`, | ||
| 147 | + `fetch-vectors.sh`, `scan-real-library.sh`, `gen-fixture-library.sh` and | ||
| 148 | + `verify-fixture-library.sh` all take it, and every generator row in the | ||
| 149 | + manifest is resolved through it. A crate reading `$ROOT/fixtures` | ||
| 150 | + unconditionally was the odd one out, and that is the whole of the mismatch. | ||
| 151 | +* The preflight cannot fix its own side of it. Failing whenever | ||
| 152 | + `$ROOT/fixtures` is absent would RED every properly-staged runner that points | ||
| 153 | + `EC_FIXTURES` at a library elsewhere — a false red, and a batch that cannot | ||
| 154 | + start. | ||
| 155 | +* One direction of the fix makes the two sides *identical by construction* | ||
| 156 | + rather than keeping two roots in agreement by convention. The bad case | ||
| 157 | + (preflight GREEN over a root the gates do not read) becomes unrepresentable. | ||
| 158 | + | ||
| 159 | +`EC_AV1_WALL_CLIP` still overrides with a path outside any root, which is why | ||
| 160 | +`require_at` exists alongside `require`. | ||
| 161 | + | ||
| 162 | +One preflight change beyond the resolver: its last line no longer says a bare | ||
| 163 | +`GREEN` when mode (i) was reported — it says `GREEN-WITH-FINDINGS` and how to | ||
| 164 | +make it fatal. A reader who read only the verdict was reading GREEN over a tree | ||
| 165 | +whose fixture root does not exist. | ||
| 166 | + | ||
| 167 | +`scripts/gen-fixture-library.sh` learned the resolver's **library-relative** | ||
| 168 | +literal (a `library_fixture::require("video/…", …)` argument). Without it the | ||
| 169 | +`RESOLVE` pass silently lost every clip row the moment a gate stopped spelling | ||
| 170 | +`../../fixtures` — the preflight would have stopped checking the exact paths | ||
| 171 | +whose absence this lane is about. The rule is scoped to lines that call the | ||
| 172 | +resolver, so it adds no rows outside ec-av1. The manifest's row **set** is | ||
| 173 | +unchanged (`fixtures/video`, both clips, `real-library-manifest.tsv` all still | ||
| 174 | +present); only `required_by` line attributions moved, which is why | ||
| 175 | +`scripts/fixture-library.tsv` is regenerated in this commit. | ||
| 176 | + | ||
| 177 | +### Four cases, raw output | ||
| 178 | + | ||
| 179 | +Gate: `a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders`. | ||
| 180 | + | ||
| 181 | +**1 — root present, `EC_FIXTURES` unset** (symlink from | ||
| 182 | +`scripts/link-fixtures.sh`; the clip is 3320956 B): | ||
| 183 | + | ||
| 184 | +``` | ||
| 185 | +1080p 2x1 tiles: 84488 bytes, sample-exact | ||
| 186 | +1080p 2x2 tiles: 84208 bytes, sample-exact | ||
| 187 | +1080p 4x2 tiles: 84685 bytes, sample-exact | ||
| 188 | +test …a_1080p_multi_tile_stream… ... ok | ||
| 189 | +test result: ok. 1 passed; 0 failed; … finished in 28.77s | ||
| 190 | +``` | ||
| 191 | + | ||
| 192 | +**2 — root ABSENT, `EC_FIXTURES` set** (was the false green; the gate now runs | ||
| 193 | +on the very tree the preflight validated): | ||
| 194 | + | ||
| 195 | +``` | ||
| 196 | +$ EC_FIXTURES=$LIB EC_AV1_REQUIRE_FFMPEG=1 cargo test … a_1080p_multi_tile_stream… | ||
| 197 | +1080p 2x1 tiles: 84488 bytes, sample-exact | ||
| 198 | +1080p 2x2 tiles: 84208 bytes, sample-exact | ||
| 199 | +1080p 4x2 tiles: 84685 bytes, sample-exact | ||
| 200 | +test result: ok. 1 passed; 0 failed; … finished in 28.73s | ||
| 201 | +``` | ||
| 202 | + | ||
| 203 | +**3 — root absent, `EC_FIXTURES` unset, no require env** — the documented skip, | ||
| 204 | +one line: | ||
| 205 | + | ||
| 206 | +``` | ||
| 207 | +SKIP a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders: | ||
| 208 | + h264-1080p-23.976-8bit.mp4 absent at | ||
| 209 | + /…/wt-av1clipprobe/crates/ec-av1/../../fixtures/video/h264-1080p-23.976-8bit.mp4 | ||
| 210 | + -- this gate proved nothing; run scripts/link-fixtures.sh, point EC_FIXTURES | ||
| 211 | + at a library root, or set EC_REQUIRE_FIXTURES=1 / EC_AV1_REQUIRE_FFMPEG=1 to | ||
| 212 | + make this a failure. | ||
| 213 | +test result: ok. 1 passed; 0 failed; … finished in 0.05s | ||
| 214 | +``` | ||
| 215 | + | ||
| 216 | +**4 — both absent, require env set** — RED: | ||
| 217 | + | ||
| 218 | +``` | ||
| 219 | +thread '…a_1080p_multi_tile_stream…' panicked at crates/ec-av1/src/library_fixture.rs:107:5: | ||
| 220 | +a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders: the library clip is | ||
| 221 | +absent at /…/wt-av1clipprobe/crates/ec-av1/../../fixtures/video/h264-1080p-23.976-8bit.mp4 | ||
| 222 | +-- this gate would prove nothing. A linked worktree has no gitignored root `fixtures/`: | ||
| 223 | +run scripts/link-fixtures.sh, or point EC_FIXTURES at a library root, or set | ||
| 224 | +EC_REQUIRE_FIXTURES=1 / EC_AV1_REQUIRE_FFMPEG=1 only on a tree that really has the library. | ||
| 225 | +test result: FAILED. 0 passed; 1 failed; … finished in 0.05s | ||
| 226 | +``` | ||
| 227 | + | ||
| 228 | +A fifth, adversarial: `EC_FIXTURES` pointed at `$LIB/video` (one level too | ||
| 229 | +deep) with `EC_REQUIRE_FIXTURES=1` — resolves to `…/fixtures/video/video/…` | ||
| 230 | +and is RED, not a skip: | ||
| 231 | + | ||
| 232 | +``` | ||
| 233 | +a_1080p_…: the library clip is absent at /…/fixtures/video/video/h264-1080p-23.976-8bit.mp4 … | ||
| 234 | +test result: FAILED. 0 passed; 1 failed; | ||
| 235 | +``` | ||
| 236 | + | ||
| 237 | +**GREEN-with-absent-root is dead** in both directions: | ||
| 238 | + | ||
| 239 | +| | preflight before | preflight after | gate before | gate after | | ||
| 240 | +|---|---|---|---|---| | ||
| 241 | +| root absent + `EC_FIXTURES` set | `GREEN (305 rows)`, `resolve 0 missing` — over a root no gate read | `GREEN (295 rows)`, and the header prints `the clip gates resolve $LIB too` | `SKIP … no fixture`, `ok` | **runs**, sample-exact, or RED under require | | ||
| 242 | +| root absent, `EC_FIXTURES` unset | mode (i) reported, then a bare `GREEN` last | `GREEN-WITH-FINDINGS` (or `RED` under `EC_REQUIRE_FIXTURES=1`) | `SKIP`, `ok` | one `SKIP` line, `ok`; **RED** under any require env | | ||
| 243 | +| root present | `GREEN` | `GREEN (295 rows)` | runs | runs | | ||
| 244 | + | ||
| 245 | +## 5. Non-vacuity and gate results | ||
| 246 | + | ||
| 247 | +* Root absent + require envs → **RED** (case 4, and all eleven gates in §3). | ||
| 248 | +* Root absent, no require envs → **exactly one** `SKIP` line per gate naming the | ||
| 249 | + resolved path and the escape hatch (§3 table). | ||
| 250 | +* Root present → the 1080p gate still **passes**: | ||
| 251 | + `1080p 2x1 84488 / 2x2 84208 / 4x2 84685 bytes, sample-exact`, `ok. 1 passed` | ||
| 252 | + in 28.8 s release — and it passes with `EC_AV1_REQUIRE_FFMPEG=1 | ||
| 253 | + EC_AV1_REQUIRE_AOMENC=1` set, so the new failure path is not armed on a good | ||
| 254 | + tree. | ||
| 255 | +* `real_clip_encodes_within_its_quality_and_size_budget` (+ its straddle | ||
| 256 | + sibling), root present: `ok. 2 passed` in 6.2 s. | ||
| 257 | +* The crate's own anti-regression scans, all green: | ||
| 258 | + `gate_coverage` 13 passed (incl. `no_tool_presence_check_outside_its_probe`), | ||
| 259 | + `refusal_inventory` 19 passed, `library_fixture` 1 passed. | ||
| 260 | +* Preflight, root present: `GREEN (295 rows)`, `code-shape violations: 0`, | ||
| 261 | + `pin gates: total=8 committed=21 uncommitted=0 ignored=0 assertless=0`, | ||
| 262 | + invariant-1 positive control fired, invariant-4 census self-test passed. | ||
| 263 | + Under `EC_REQUIRE_FIXTURES=1` with the root absent: exit 1, | ||
| 264 | + `FAIL [mode i]`, `RED`. | ||
| 265 | + | ||
| 266 | +New test: `library_fixture::tests::the_resolver_follows_ec_fixtures_over_the_gitignored_root` | ||
| 267 | +asserts the precedence itself, so the reconciliation is a check rather than a | ||
| 268 | +sentence in a comment. | ||
| 269 | + | ||
| 270 | +## Notes for the merge owner | ||
| 271 | + | ||
| 272 | +* `scripts/fixture-library.tsv` is regenerated. `required_by` line attributions | ||
| 273 | + moved because the edits shifted lines, and three paths carry fewer duplicate | ||
| 274 | + rows than before — §6 has the measurement, the per-path deltas, and the proof | ||
| 275 | + that the unique path set (159) is identical on both sides. The row set | ||
| 276 | + relevant to `RESOLVE` did not change. | ||
| 277 | +* The lane worktree needs `scripts/link-fixtures.sh` (or `EC_FIXTURES`) before | ||
| 278 | + the clip gates can do anything; a `git archive` staging excludes the | ||
| 279 | + gitignored root `fixtures/`, which is the staging gap the wave-3c-b owner | ||
| 280 | + measured. After this commit that staging is no longer silent: the clip gates | ||
| 281 | + are RED under the require envs instead of green. | ||
| 282 | + | ||
| 283 | +## 6. Reconciling `GREEN (295 rows)` against `GREEN (305 rows)` | ||
| 284 | + | ||
| 285 | +Both measured on the SAME library (`$LIB`, the clip is 3320956 B) — the branch | ||
| 286 | +worktree's `fixtures` is a symlink to the same directory the primary checkout | ||
| 287 | +holds as a real dir, so staging shape differs by a symlink and nothing else. | ||
| 288 | + | ||
| 289 | +``` | ||
| 290 | +branch tip (lane-av1clipprobe), root = symlink to $LIB | ||
| 291 | + verify-fixture-library: GREEN (295 rows) scripts/fixture-library.tsv: 295 rows | ||
| 292 | +f33b9d41 (primary), root = real dir | ||
| 293 | + verify-fixture-library: GREEN (305 rows) scripts/fixture-library.tsv: 305 rows | ||
| 294 | +``` | ||
| 295 | + | ||
| 296 | +**The unique path set is IDENTICAL — 159 paths on both sides:** | ||
| 297 | + | ||
| 298 | +``` | ||
| 299 | +$ diff <(grep -v '^#' base/scripts/fixture-library.tsv | cut -f1 | sort -u) \ | ||
| 300 | + <(grep -v '^#' branch/scripts/fixture-library.tsv | cut -f1 | sort -u) | ||
| 301 | +(empty) | ||
| 302 | +``` | ||
| 303 | + | ||
| 304 | +So no path left `RESOLVE`. The 10-row difference is entirely DUPLICATE rows — | ||
| 305 | +one row per call site for a path that several sites read — and it falls on | ||
| 306 | +exactly three paths, all still present: | ||
| 307 | + | ||
| 308 | +| path | base rows | branch rows | delta | | ||
| 309 | +|---|---|---|---| | ||
| 310 | +| `fixtures` (the root) | 14 | 10 | −4 | | ||
| 311 | +| `fixtures/video/h264-1080p-23.976-8bit.mp4` | 11 | 6 | −5 | | ||
| 312 | +| `fixtures/video/h264-2160p-23.976-8bit.mp4` | 5 | 4 | −1 | | ||
| 313 | +| | | | **−10** | | ||
| 314 | + | ||
| 315 | +Cause: those sites used to spell the root out (`…join("../../fixtures")`, | ||
| 316 | +`…join("../../fixtures/video/h264-1080p-23.976-8bit.mp4")`), one literal per | ||
| 317 | +site, one row per literal. They now call the resolver, and the resolver | ||
| 318 | +emits one row per call site plus ONE directory row per file (not per call). | ||
| 319 | +`required_by` for those three paths is therefore coarser: the forensic | ||
| 320 | +"which gate reads this" attribution is thinner for 3 paths, while the | ||
| 321 | +existence/non-emptiness check `RESOLVE` performs is unchanged. Every other | ||
| 322 | +difference in the row-level diff is a 1:1 line-attribution shift from the | ||
| 323 | +edits (`stream.rs:8153` → `8156`, `encode.rs:20345` → `21588`, …). | ||
| 324 | + | ||
| 325 | +**Does my `gen-fixture-library.sh` change alter the row set on a properly staged | ||
| 326 | +tree? No — it is a byte-exact no-op there.** Measured on a throwaway worktree at | ||
| 327 | +`f33b9d41`, staged with the same `$LIB`, running THIS LANE'S generator over the | ||
| 328 | +BASE source: | ||
| 329 | + | ||
| 330 | +``` | ||
| 331 | +gen-fixture-library: 305 rows -> /tmp/… (191 unnamed media literals, 4 unreferenced committed pins) | ||
| 332 | +unique path set vs the base's committed manifest: IDENTICAL | ||
| 333 | +rows: base=305 branchgen=305 | ||
| 334 | +full row diff: (empty) | ||
| 335 | +``` | ||
| 336 | + | ||
| 337 | +The two new passes (1b and the directory row) are scoped to lines that call | ||
| 338 | +`library_fixture::require/require_at/path`, and no such line exists at | ||
| 339 | +`f33b9d41`, so they emit nothing. The 295 is caused by the SOURCE edits alone. | ||
| 340 | + | ||
| 341 | +I am confident about the branch manifest: it is what this branch's generator | ||
| 342 | +produces from this branch's source on a properly staged tree, which is the only | ||
| 343 | +definition that keeps DRIFT meaningful. The merge note stands — on a | ||
| 344 | +`fixture-library.tsv` conflict take this lane's version and re-run the verifier. | ||
scripts/fixture-library.tsvmodified+129 -139
| @@ -26,134 +26,134 @@ | |||
| 26 | # sync deliberately excluded the .tar.gz blobs; nothing in crates/ reads a | 26 | # sync deliberately excluded the .tar.gz blobs; nothing in crates/ reads a |
| 27 | # blob, so the extracted directories are the whole requirement. | 27 | # blob, so the extracted directories are the whole requirement. |
| 28 | # Unreferenced committed pins carried as rows: 4 | 28 | # Unreferenced committed pins carried as rows: 4 |
| 29 | -crates/ec-av1/fixtures/420_intrabc_rect4_witness.obu crates/ec-av1/src/stream.rs:8153 captured - ok yes d01352af5059919cdce733abdcbae8e8240ac3c2a6190fa1bd96d3c6f945b979 | 29 | +crates/ec-av1/fixtures/420_intrabc_rect4_witness.obu crates/ec-av1/src/stream.rs:8156 captured - ok yes d01352af5059919cdce733abdcbae8e8240ac3c2a6190fa1bd96d3c6f945b979 |
| 30 | crates/ec-av1/fixtures/422_allskip_2f.obu crates/ec-av1/src/stream.rs:2311 captured - ok yes ba4932c14f95971b5f25321b04abce80c9fdd5de4b1fe6fffcdad82aaea87ce1 | 30 | crates/ec-av1/fixtures/422_allskip_2f.obu crates/ec-av1/src/stream.rs:2311 captured - ok yes ba4932c14f95971b5f25321b04abce80c9fdd5de4b1fe6fffcdad82aaea87ce1 |
| 31 | crates/ec-av1/fixtures/422_intrabc_sb128_strip_notxsearch.obu crates/ec-av1/src/stream.rs:2373 captured - ok yes 80dd0d4e93fd6c3d4b7188a43e69d9638f2bece38edfab60ff3582628314b5ec | 31 | crates/ec-av1/fixtures/422_intrabc_sb128_strip_notxsearch.obu crates/ec-av1/src/stream.rs:2373 captured - ok yes 80dd0d4e93fd6c3d4b7188a43e69d9638f2bece38edfab60ff3582628314b5ec |
| 32 | crates/ec-av1/fixtures/422_intrabc_sb128_strip.obu crates/ec-av1/src/stream.rs:2368 captured - ok yes f92000db86df7acc577d60dd1d0d97454bff4705799ea59d9de34eb5a71dbbcd | 32 | crates/ec-av1/fixtures/422_intrabc_sb128_strip.obu crates/ec-av1/src/stream.rs:2368 captured - ok yes f92000db86df7acc577d60dd1d0d97454bff4705799ea59d9de34eb5a71dbbcd |
| 33 | crates/ec-av1/fixtures/422_residual_compound_warp_16f.obu crates/ec-av1/src/stream.rs:2590 captured - ok yes d78e2afb43ce311d3d82335a945c6f80f62db4537966d881c1349a68b3aecb95 | 33 | crates/ec-av1/fixtures/422_residual_compound_warp_16f.obu crates/ec-av1/src/stream.rs:2590 captured - ok yes d78e2afb43ce311d3d82335a945c6f80f62db4537966d881c1349a68b3aecb95 |
| 34 | crates/ec-av1/fixtures/422_residual_compound_warp_nolr_16f.obu crates/ec-av1/src/stream.rs:2669 captured - ok yes 8bed368f7ec4bca772137c6a9c2af89e1b2767ed5f937b91bd9e72ec60aeb42f | 34 | crates/ec-av1/fixtures/422_residual_compound_warp_nolr_16f.obu crates/ec-av1/src/stream.rs:2669 captured - ok yes 8bed368f7ec4bca772137c6a9c2af89e1b2767ed5f937b91bd9e72ec60aeb42f |
| 35 | crates/ec-av1/fixtures/422_sb128_3f.obu crates/ec-av1/src/stream.rs:2312 captured - ok yes 0b851799d99cb4d141a7d042138a3999aad7e0fb24d69c670bca1d38c286dce9 | 35 | crates/ec-av1/fixtures/422_sb128_3f.obu crates/ec-av1/src/stream.rs:2312 captured - ok yes 0b851799d99cb4d141a7d042138a3999aad7e0fb24d69c670bca1d38c286dce9 |
| 36 | -crates/ec-av1/fixtures/444_intrabc_rect4_witness.obu crates/ec-av1/src/stream.rs:8147 captured - ok yes 7fe888edf18caa74bdb415f0de643dc59963e87e0255d77191200b7a62eb2542 | 36 | +crates/ec-av1/fixtures/444_intrabc_rect4_witness.obu crates/ec-av1/src/stream.rs:8150 captured - ok yes 7fe888edf18caa74bdb415f0de643dc59963e87e0255d77191200b7a62eb2542 |
| 37 | -crates/ec-av1/fixtures/444_leaf8_oob.obu crates/ec-av1/src/stream.rs:8560 captured - ok yes 72bed2791d1ceba8be7926a052c7838c5d96d4f9d56d28fb69789a753d3593af | 37 | +crates/ec-av1/fixtures/444_leaf8_oob.obu crates/ec-av1/src/stream.rs:8563 captured - ok yes 72bed2791d1ceba8be7926a052c7838c5d96d4f9d56d28fb69789a753d3593af |
| 38 | -crates/ec-av1/fixtures/444_lossy_rect4_inter_witness.obu crates/ec-av1/src/stream.rs:21215 captured - ok yes 77f727e76d81fe48cd03709f799131677c04869b163e18d78e96bc742ec69153 | 38 | +crates/ec-av1/fixtures/444_lossy_rect4_inter_witness.obu crates/ec-av1/src/stream.rs:21218 captured - ok yes 77f727e76d81fe48cd03709f799131677c04869b163e18d78e96bc742ec69153 |
| 39 | -crates/ec-av1/fixtures/444_lossy_rect4_inter_witness.obu crates/ec-av1/src/stream.rs:7727 captured - ok yes 77f727e76d81fe48cd03709f799131677c04869b163e18d78e96bc742ec69153 | 39 | +crates/ec-av1/fixtures/444_lossy_rect4_inter_witness.obu crates/ec-av1/src/stream.rs:7730 captured - ok yes 77f727e76d81fe48cd03709f799131677c04869b163e18d78e96bc742ec69153 |
| 40 | -crates/ec-av1/fixtures/444_lossy_rect4_odd_130x122.obu crates/ec-av1/src/stream.rs:47096 captured - ok yes c87ac65b77579afd2938669b0cbe3ec44c3abf775c0223cacb9d14b8c2eee27c | 40 | +crates/ec-av1/fixtures/444_lossy_rect4_odd_130x122.obu crates/ec-av1/src/stream.rs:47103 captured - ok yes c87ac65b77579afd2938669b0cbe3ec44c3abf775c0223cacb9d14b8c2eee27c |
| 41 | -crates/ec-av1/fixtures/444_lossy_rect4_wide_256x128.obu crates/ec-av1/src/stream.rs:47104 captured - ok yes 06621606c11ae805f784a1c9736db6301a925a4fa3154e2fc38db1df7ad9b826 | 41 | +crates/ec-av1/fixtures/444_lossy_rect4_wide_256x128.obu crates/ec-av1/src/stream.rs:47111 captured - ok yes 06621606c11ae805f784a1c9736db6301a925a4fa3154e2fc38db1df7ad9b826 |
| 42 | -crates/ec-av1/fixtures/444_lossy_superres_256x128_d12_10bit.obu crates/ec-av1/src/stream.rs:14606 captured - ok yes 95b49d7aa81843399ee3aa64bdadfec8f4037bcc3f861923c9b2da3bc868b223 | 42 | +crates/ec-av1/fixtures/444_lossy_superres_256x128_d12_10bit.obu crates/ec-av1/src/stream.rs:14609 captured - ok yes 95b49d7aa81843399ee3aa64bdadfec8f4037bcc3f861923c9b2da3bc868b223 |
| 43 | -crates/ec-av1/fixtures/444_lossy_superres_256x128_d12_12bit.obu crates/ec-av1/src/stream.rs:14653 captured - ok yes 973bf374c0185c4e6301509ce834cef01318e6cdb9488fd258118d7ec89bdd04 | 43 | +crates/ec-av1/fixtures/444_lossy_superres_256x128_d12_12bit.obu crates/ec-av1/src/stream.rs:14656 captured - ok yes 973bf374c0185c4e6301509ce834cef01318e6cdb9488fd258118d7ec89bdd04 |
| 44 | -crates/ec-av1/fixtures/444_lossy_superres_256x128_d12.obu crates/ec-av1/src/stream.rs:47246 captured - ok yes 450caa3e31526a8973b9f64d5030a2f11b87bd60fac07aef121cb62af9bf85ff | 44 | +crates/ec-av1/fixtures/444_lossy_superres_256x128_d12.obu crates/ec-av1/src/stream.rs:47253 captured - ok yes 450caa3e31526a8973b9f64d5030a2f11b87bd60fac07aef121cb62af9bf85ff |
| 45 | -crates/ec-av1/fixtures/444_lossy_superres_256x128_d9_12bit.obu crates/ec-av1/src/stream.rs:14680 captured - ok yes 898c775108495b998cb5ec9b08e194d4656ed0140aa8e7e7236892d468bbad99 | 45 | +crates/ec-av1/fixtures/444_lossy_superres_256x128_d9_12bit.obu crates/ec-av1/src/stream.rs:14683 captured - ok yes 898c775108495b998cb5ec9b08e194d4656ed0140aa8e7e7236892d468bbad99 |
| 46 | -crates/ec-av1/fixtures/444_lossy_superres_256x128_d9.obu crates/ec-av1/src/stream.rs:47632 captured - ok yes 3d619ee0fda3d9bb9cf8ff0541ba00ea5d83ae38cd8eec1322f8dbbbe6a5ec96 | 46 | +crates/ec-av1/fixtures/444_lossy_superres_256x128_d9.obu crates/ec-av1/src/stream.rs:47639 captured - ok yes 3d619ee0fda3d9bb9cf8ff0541ba00ea5d83ae38cd8eec1322f8dbbbe6a5ec96 |
| 47 | -crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128_10bit.obu crates/ec-av1/src/stream.rs:14721 captured - ok yes 699398aba58fb53b80e05d3d214eb746a3c91945e01da6b47488513f20b55668 | 47 | +crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128_10bit.obu crates/ec-av1/src/stream.rs:14724 captured - ok yes 699398aba58fb53b80e05d3d214eb746a3c91945e01da6b47488513f20b55668 |
| 48 | -crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128_12bit.obu crates/ec-av1/src/stream.rs:14768 captured - ok yes 18aa8b3124ab10672f22577a8eea81e44141a3d0bb506104aee2f950254a2e9f | 48 | +crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128_12bit.obu crates/ec-av1/src/stream.rs:14771 captured - ok yes 18aa8b3124ab10672f22577a8eea81e44141a3d0bb506104aee2f950254a2e9f |
| 49 | -crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128.obu crates/ec-av1/src/stream.rs:47689 captured - ok yes c18496cf3b7db0feca9aa904024cec2115be80b5b94f87c848ac52f9b32ffd97 | 49 | +crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128.obu crates/ec-av1/src/stream.rs:47696 captured - ok yes c18496cf3b7db0feca9aa904024cec2115be80b5b94f87c848ac52f9b32ffd97 |
| 50 | -crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128.obu crates/ec-av1/src/stream.rs:47738 captured - ok yes c18496cf3b7db0feca9aa904024cec2115be80b5b94f87c848ac52f9b32ffd97 | 50 | +crates/ec-av1/fixtures/444_lossy_superres_mode2_256x128.obu crates/ec-av1/src/stream.rs:47745 captured - ok yes c18496cf3b7db0feca9aa904024cec2115be80b5b94f87c848ac52f9b32ffd97 |
| 51 | -crates/ec-av1/fixtures/444_quad_leaf_tx_type.obu crates/ec-av1/src/stream.rs:20978 captured - ok yes a06c9f7a0862252f6ab7ebdcec340d0602e730e38089365f14747db37f8e78d5 | 51 | +crates/ec-av1/fixtures/444_quad_leaf_tx_type.obu crates/ec-av1/src/stream.rs:20981 captured - ok yes a06c9f7a0862252f6ab7ebdcec340d0602e730e38089365f14747db37f8e78d5 |
| 52 | -crates/ec-av1/fixtures/444_rect_strip_leaf_tx_type.obu crates/ec-av1/src/stream.rs:21073 captured - ok yes 06174a66e92aaeb751a8e86db59711fcb1f18d74bde2d77e1ef1be7983eb7c80 | 52 | +crates/ec-av1/fixtures/444_rect_strip_leaf_tx_type.obu crates/ec-av1/src/stream.rs:21076 captured - ok yes 06174a66e92aaeb751a8e86db59711fcb1f18d74bde2d77e1ef1be7983eb7c80 |
| 53 | -crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:14830 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 | 53 | +crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:14833 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 |
| 54 | -crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:21108 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 | 54 | +crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:21111 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 |
| 55 | -crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:7526 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 | 55 | +crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:7529 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 |
| 56 | -crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:8242 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 | 56 | +crates/ec-av1/fixtures/444_sb128rect_lr_witness.obu crates/ec-av1/src/stream.rs:8245 captured - ok yes 27825e14633a4b23e37d48a2acdc7f5d814ca4fadd0b8797d72a1ffb34061e80 |
| 57 | crates/ec-av1/fixtures/av112bit-compound-masked.obu (committed pin: NO source reference found) captured - ok yes 83625de2ed347d457eb67f9781eed3fea598ef035f29bbc311d7025fe178c691 | 57 | crates/ec-av1/fixtures/av112bit-compound-masked.obu (committed pin: NO source reference found) captured - ok yes 83625de2ed347d457eb67f9781eed3fea598ef035f29bbc311d7025fe178c691 |
| 58 | crates/ec-av1/fixtures/av112bit-compound.obu (committed pin: NO source reference found) captured - ok yes a839cff534b89d5cd52681dd43a7dedc10131d8dd7725bdfa5502d6bc4421740 | 58 | crates/ec-av1/fixtures/av112bit-compound.obu (committed pin: NO source reference found) captured - ok yes a839cff534b89d5cd52681dd43a7dedc10131d8dd7725bdfa5502d6bc4421740 |
| 59 | crates/ec-av1/fixtures/av112bit-inter.obu (committed pin: NO source reference found) captured - ok yes e679d577e61b4a8bc99685355cca8c0473cfb637284b07786a6c53b1755553d9 | 59 | crates/ec-av1/fixtures/av112bit-inter.obu (committed pin: NO source reference found) captured - ok yes e679d577e61b4a8bc99685355cca8c0473cfb637284b07786a6c53b1755553d9 |
| 60 | crates/ec-av1/fixtures/av112bit-key.obu (committed pin: NO source reference found) captured - ok yes c74f62b57f71f7c36c49ea1feeb482786a2650e5c7f66610949b5f65fbbed8d1 | 60 | crates/ec-av1/fixtures/av112bit-key.obu (committed pin: NO source reference found) captured - ok yes c74f62b57f71f7c36c49ea1feeb482786a2650e5c7f66610949b5f65fbbed8d1 |
| 61 | -crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu crates/ec-av1/src/stream.rs:20911 captured - ok yes e4cff46cb1700527c68efc866db27a2835705e949d646f73f0c9df577d594bd6 | 61 | +crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu crates/ec-av1/src/stream.rs:20914 captured - ok yes e4cff46cb1700527c68efc866db27a2835705e949d646f73f0c9df577d594bd6 |
| 62 | -crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu crates/ec-av1/src/stream.rs:21011 captured - ok yes e4cff46cb1700527c68efc866db27a2835705e949d646f73f0c9df577d594bd6 | 62 | +crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu crates/ec-av1/src/stream.rs:21014 captured - ok yes e4cff46cb1700527c68efc866db27a2835705e949d646f73f0c9df577d594bd6 |
| 63 | -crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu crates/ec-av1/src/stream.rs:21243 captured - ok yes e4cff46cb1700527c68efc866db27a2835705e949d646f73f0c9df577d594bd6 | 63 | +crates/ec-av1/fixtures/av1_192x128_8bit_intra64_in_inter.obu crates/ec-av1/src/stream.rs:21246 captured - ok yes e4cff46cb1700527c68efc866db27a2835705e949d646f73f0c9df577d594bd6 |
| 64 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:14833 regenerated scripts/gen-fixtures.sh ok - - | 64 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:14836 regenerated scripts/gen-fixtures.sh ok - - |
| 65 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:14882 regenerated scripts/gen-fixtures.sh ok - - | 65 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:14885 regenerated scripts/gen-fixtures.sh ok - - |
| 66 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:14939 regenerated scripts/gen-fixtures.sh ok - - | 66 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:14942 regenerated scripts/gen-fixtures.sh ok - - |
| 67 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2315 regenerated scripts/gen-fixtures.sh ok - - | 67 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2315 regenerated scripts/gen-fixtures.sh ok - - |
| 68 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2379 regenerated scripts/gen-fixtures.sh ok - - | 68 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2379 regenerated scripts/gen-fixtures.sh ok - - |
| 69 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2594 regenerated scripts/gen-fixtures.sh ok - - | 69 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2594 regenerated scripts/gen-fixtures.sh ok - - |
| 70 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2673 regenerated scripts/gen-fixtures.sh ok - - | 70 | crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:2673 regenerated scripts/gen-fixtures.sh ok - - |
| 71 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:44346 regenerated scripts/gen-fixtures.sh ok - - | 71 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:44349 regenerated scripts/gen-fixtures.sh ok - - |
| 72 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:44423 regenerated scripts/gen-fixtures.sh ok - - | 72 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:44426 regenerated scripts/gen-fixtures.sh ok - - |
| 73 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:45445 regenerated scripts/gen-fixtures.sh ok - - | 73 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:45452 regenerated scripts/gen-fixtures.sh ok - - |
| 74 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:9428 regenerated scripts/gen-fixtures.sh ok - - | 74 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:9431 regenerated scripts/gen-fixtures.sh ok - - |
| 75 | -crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:9455 regenerated scripts/gen-fixtures.sh ok - - | 75 | +crates/ec-av1/fixtures crates/ec-av1/src/stream.rs:9458 regenerated scripts/gen-fixtures.sh ok - - |
| 76 | -crates/ec-av1/fixtures/filter_intra_8x16_strip_seed49.obu crates/ec-av1/src/stream.rs:39075 captured - ok yes 6f837e47ad0a67f31c3998aa789cf0811e7540ac2114981853a0148744cb76c2 | 76 | +crates/ec-av1/fixtures/filter_intra_8x16_strip_seed49.obu crates/ec-av1/src/stream.rs:39078 captured - ok yes 6f837e47ad0a67f31c3998aa789cf0811e7540ac2114981853a0148744cb76c2 |
| 77 | -crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:44351 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca | 77 | +crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:44354 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca |
| 78 | -crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:44428 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca | 78 | +crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:44431 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca |
| 79 | -crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:44511 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca | 79 | +crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:44514 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca |
| 80 | -crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:45440 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca | 80 | +crates/ec-av1/fixtures/gm_small_side_witness.obu crates/ec-av1/src/stream.rs:45447 captured - ok yes f1cdbcbb8d6d469c7957d70252ab42b24ab75f48a717600ffa25991458775dca |
| 81 | -crates/ec-av1/fixtures/golden3-pin.obu crates/ec-av1/src/stream.rs:24061 captured - ok yes 11c9d5331cffa6614c8265ad5fa685d5ce9155db8439949b48ec4a652ace95cf | 81 | +crates/ec-av1/fixtures/golden3-pin.obu crates/ec-av1/src/stream.rs:24064 captured - ok yes 11c9d5331cffa6614c8265ad5fa685d5ce9155db8439949b48ec4a652ace95cf |
| 82 | -crates/ec-av1/fixtures/golden4-pin.obu crates/ec-av1/src/stream.rs:24115 recovered-original - ok yes 1754023e44e46edaebc2c05065bf1c65db1a41354577cbf71c0e8ebe737ae14a | 82 | +crates/ec-av1/fixtures/golden4-pin.obu crates/ec-av1/src/stream.rs:24118 recovered-original - ok yes 1754023e44e46edaebc2c05065bf1c65db1a41354577cbf71c0e8ebe737ae14a |
| 83 | -crates/ec-av1/fixtures/golden4-pin.obu crates/ec-av1/src/stream.rs:24116 recovered-original - ok yes 1754023e44e46edaebc2c05065bf1c65db1a41354577cbf71c0e8ebe737ae14a | 83 | +crates/ec-av1/fixtures/golden4-pin.obu crates/ec-av1/src/stream.rs:24119 recovered-original - ok yes 1754023e44e46edaebc2c05065bf1c65db1a41354577cbf71c0e8ebe737ae14a |
| 84 | -crates/ec-av1/fixtures/golden6-mismatch.obu crates/ec-av1/src/stream.rs:33685 recovered-original - ok yes c56909b98542192b03f3a945e153475aa57a58a1586bf166513297296cb225b3 | 84 | +crates/ec-av1/fixtures/golden6-mismatch.obu crates/ec-av1/src/stream.rs:33688 recovered-original - ok yes c56909b98542192b03f3a945e153475aa57a58a1586bf166513297296cb225b3 |
| 85 | -crates/ec-av1/fixtures/golden6-mismatch.obu crates/ec-av1/src/stream.rs:33686 recovered-original - ok yes c56909b98542192b03f3a945e153475aa57a58a1586bf166513297296cb225b3 | 85 | +crates/ec-av1/fixtures/golden6-mismatch.obu crates/ec-av1/src/stream.rs:33689 recovered-original - ok yes c56909b98542192b03f3a945e153475aa57a58a1586bf166513297296cb225b3 |
| 86 | -crates/ec-av1/fixtures/golden7-forwarding-mismatch.obu crates/ec-av1/src/stream.rs:24153 recovered-original - ok yes 81b3bf657a85e95085287b30d97dee93ba5aea0ed1db1e1f4fcd19a06afc17be | 86 | +crates/ec-av1/fixtures/golden7-forwarding-mismatch.obu crates/ec-av1/src/stream.rs:24156 recovered-original - ok yes 81b3bf657a85e95085287b30d97dee93ba5aea0ed1db1e1f4fcd19a06afc17be |
| 87 | -crates/ec-av1/fixtures/golden7-forwarding-mismatch.obu crates/ec-av1/src/stream.rs:24154 recovered-original - ok yes 81b3bf657a85e95085287b30d97dee93ba5aea0ed1db1e1f4fcd19a06afc17be | 87 | +crates/ec-av1/fixtures/golden7-forwarding-mismatch.obu crates/ec-av1/src/stream.rs:24157 recovered-original - ok yes 81b3bf657a85e95085287b30d97dee93ba5aea0ed1db1e1f4fcd19a06afc17be |
| 88 | -crates/ec-av1/fixtures/grain_cdef_lr_128x128.obu crates/ec-av1/src/stream.rs:14936 captured - ok yes 06f210b87b5c79eb729c559050e073abbe226c4dad1df3dcaa113b03011ad732 | 88 | +crates/ec-av1/fixtures/grain_cdef_lr_128x128.obu crates/ec-av1/src/stream.rs:14939 captured - ok yes 06f210b87b5c79eb729c559050e073abbe226c4dad1df3dcaa113b03011ad732 |
| 89 | -crates/ec-av1/fixtures/reelb_arf_witness.obu crates/ec-av1/src/stream.rs:14821 captured - ok yes 7f3b060da5aa9c537633e760c4af71316237db7692f6ae0d459bd2c2dd867d37 | 89 | +crates/ec-av1/fixtures/reelb_arf_witness.obu crates/ec-av1/src/stream.rs:14824 captured - ok yes 7f3b060da5aa9c537633e760c4af71316237db7692f6ae0d459bd2c2dd867d37 |
| 90 | -crates/ec-av1/fixtures/reelb_arf_witness.obu crates/ec-av1/src/stream.rs:43573 captured - ok yes 7f3b060da5aa9c537633e760c4af71316237db7692f6ae0d459bd2c2dd867d37 | 90 | +crates/ec-av1/fixtures/reelb_arf_witness.obu crates/ec-av1/src/stream.rs:43576 captured - ok yes 7f3b060da5aa9c537633e760c4af71316237db7692f6ae0d459bd2c2dd867d37 |
| 91 | -crates/ec-av1/fixtures/reelb_arf_witness.obu crates/ec-av1/src/stream.rs:43655 captured - ok yes 7f3b060da5aa9c537633e760c4af71316237db7692f6ae0d459bd2c2dd867d37 | 91 | +crates/ec-av1/fixtures/reelb_arf_witness.obu crates/ec-av1/src/stream.rs:43658 captured - ok yes 7f3b060da5aa9c537633e760c4af71316237db7692f6ae0d459bd2c2dd867d37 |
| 92 | -crates/ec-av1/fixtures/reelb_head_key_frame.obu crates/ec-av1/src/stream.rs:15074 captured - ok yes 53c311dec790bb2413afdde92cb24de498a7c4f66f6f0c7f4f5910ab0d2c65dc | 92 | +crates/ec-av1/fixtures/reelb_head_key_frame.obu crates/ec-av1/src/stream.rs:15077 captured - ok yes 53c311dec790bb2413afdde92cb24de498a7c4f66f6f0c7f4f5910ab0d2c65dc |
| 93 | -crates/ec-av1/fixtures/reelb_head_mvclamp_witness.obu crates/ec-av1/src/stream.rs:44593 captured - ok yes 451a9b138995e636f22308847a123b5c8621d4908cd93772cf5bbf2b37df39d7 | 93 | +crates/ec-av1/fixtures/reelb_head_mvclamp_witness.obu crates/ec-av1/src/stream.rs:44596 captured - ok yes 451a9b138995e636f22308847a123b5c8621d4908cd93772cf5bbf2b37df39d7 |
| 94 | -crates/ec-av1/fixtures/reelb_intra14_witness.obu crates/ec-av1/src/stream.rs:43402 captured - ok yes 0eff603bf1608e47faf5e6729670c4c77cf5c674dbad3a1533ac6660151fd90e | 94 | +crates/ec-av1/fixtures/reelb_intra14_witness.obu crates/ec-av1/src/stream.rs:43405 captured - ok yes 0eff603bf1608e47faf5e6729670c4c77cf5c674dbad3a1533ac6660151fd90e |
| 95 | -crates/ec-av1/fixtures/reelb_kf900.obu crates/ec-av1/src/stream.rs:15216 captured - ok yes a273ae99328388be14a1ff8fa1c5a6d391a9948159eaef120e1b50e02015eb83 | 95 | +crates/ec-av1/fixtures/reelb_kf900.obu crates/ec-av1/src/stream.rs:15219 captured - ok yes a273ae99328388be14a1ff8fa1c5a6d391a9948159eaef120e1b50e02015eb83 |
| 96 | -crates/ec-av1/fixtures/reelb_kf900.obu crates/ec-av1/src/stream.rs:45371 captured - ok yes a273ae99328388be14a1ff8fa1c5a6d391a9948159eaef120e1b50e02015eb83 | 96 | +crates/ec-av1/fixtures/reelb_kf900.obu crates/ec-av1/src/stream.rs:45378 captured - ok yes a273ae99328388be14a1ff8fa1c5a6d391a9948159eaef120e1b50e02015eb83 |
| 97 | -crates/ec-av1/fixtures/reelb_rect64_intra16x4_witness.obu crates/ec-av1/src/stream.rs:43491 captured - ok yes c9e721088766163b9dbeb9fa8dd8b257ff0ec7f9157fc350de4d3c33cd9ec4e4 | 97 | +crates/ec-av1/fixtures/reelb_rect64_intra16x4_witness.obu crates/ec-av1/src/stream.rs:43494 captured - ok yes c9e721088766163b9dbeb9fa8dd8b257ff0ec7f9157fc350de4d3c33cd9ec4e4 |
| 98 | -crates/ec-av1/fixtures/reelb_ss300_key_frame.obu crates/ec-av1/src/stream.rs:15165 captured - ok yes 7e3ddf0d602f9496b2f7eb11f051fd4a045020e094d5bc02f83825e2c494ef12 | 98 | +crates/ec-av1/fixtures/reelb_ss300_key_frame.obu crates/ec-av1/src/stream.rs:15168 captured - ok yes 7e3ddf0d602f9496b2f7eb11f051fd4a045020e094d5bc02f83825e2c494ef12 |
| 99 | -crates/ec-av1/fixtures/reelb_ss600_key_frame.obu crates/ec-av1/src/stream.rs:15257 captured - ok yes 36de46676ed7de7049d4dabe8571d8cd31c8a1f53d72011c0ee532a7c6725cd6 | 99 | +crates/ec-av1/fixtures/reelb_ss600_key_frame.obu crates/ec-av1/src/stream.rs:15260 captured - ok yes 36de46676ed7de7049d4dabe8571d8cd31c8a1f53d72011c0ee532a7c6725cd6 |
| 100 | -crates/ec-av1/fixtures/ii-flake-1.obu crates/ec-av1/src/stream.rs:31572 captured - ok yes 700ded3e61e15bc3573d339d7fcc6ab94500adb796c30021094d354306662238 | 100 | +crates/ec-av1/fixtures/ii-flake-1.obu crates/ec-av1/src/stream.rs:31575 captured - ok yes 700ded3e61e15bc3573d339d7fcc6ab94500adb796c30021094d354306662238 |
| 101 | -crates/ec-av1/fixtures/ii-flake-2.obu crates/ec-av1/src/stream.rs:31573 captured - ok yes edc4ad3a6c00c6bc909c626fa24433ef31a88ed519ed57403f5373a160e590af | 101 | +crates/ec-av1/fixtures/ii-flake-2.obu crates/ec-av1/src/stream.rs:31576 captured - ok yes edc4ad3a6c00c6bc909c626fa24433ef31a88ed519ed57403f5373a160e590af |
| 102 | -crates/ec-av1/fixtures/ii-flake-3.obu crates/ec-av1/src/stream.rs:31574 captured - ok yes 994bfbdc952ecef18ae1560d5e7f121ba1000172e0bc2ad05e5b8cfaa17b15cb | 102 | +crates/ec-av1/fixtures/ii-flake-3.obu crates/ec-av1/src/stream.rs:31577 captured - ok yes 994bfbdc952ecef18ae1560d5e7f121ba1000172e0bc2ad05e5b8cfaa17b15cb |
| 103 | -crates/ec-av1/fixtures/ii-flake-5.obu crates/ec-av1/src/stream.rs:31575 captured - ok yes f43fe77ea0e8ddd9c1524b642e09f935921cb0d00c4a60061a52d2260af38b9a | 103 | +crates/ec-av1/fixtures/ii-flake-5.obu crates/ec-av1/src/stream.rs:31578 captured - ok yes f43fe77ea0e8ddd9c1524b642e09f935921cb0d00c4a60061a52d2260af38b9a |
| 104 | -crates/ec-av1/fixtures/ii-flake-6.obu crates/ec-av1/src/stream.rs:31576 captured - ok yes 84a1f60011dfdb77ede98ce95a25d247d270b0af1cff2c44aa1e6b311ca63dce | 104 | +crates/ec-av1/fixtures/ii-flake-6.obu crates/ec-av1/src/stream.rs:31579 captured - ok yes 84a1f60011dfdb77ede98ce95a25d247d270b0af1cff2c44aa1e6b311ca63dce |
| 105 | -crates/ec-av1/fixtures/ii-flake-7.obu crates/ec-av1/src/stream.rs:31577 captured - ok yes 61ba4d114aa55ebcf95ae691abbce3307146a2d969c0627ea3ceea02f3875574 | 105 | +crates/ec-av1/fixtures/ii-flake-7.obu crates/ec-av1/src/stream.rs:31580 captured - ok yes 61ba4d114aa55ebcf95ae691abbce3307146a2d969c0627ea3ceea02f3875574 |
| 106 | -crates/ec-av1/fixtures/ii-flake-8.obu crates/ec-av1/src/stream.rs:31578 captured - ok yes f19d3d80ed564850cec02a26cfe7ab00e282afa7896821c535a117f5541bef5d | 106 | +crates/ec-av1/fixtures/ii-flake-8.obu crates/ec-av1/src/stream.rs:31581 captured - ok yes f19d3d80ed564850cec02a26cfe7ab00e282afa7896821c535a117f5541bef5d |
| 107 | -crates/ec-av1/fixtures/ii-flake-9.obu crates/ec-av1/src/stream.rs:31582 captured - ok yes 0df4874737cc615258c0fdfb4bcb157c9a3663127cbf0a896af44d4deb83c653 | 107 | +crates/ec-av1/fixtures/ii-flake-9.obu crates/ec-av1/src/stream.rs:31585 captured - ok yes 0df4874737cc615258c0fdfb4bcb157c9a3663127cbf0a896af44d4deb83c653 |
| 108 | -crates/ec-av1/fixtures/intra128_in_inter_screen_witness.obu crates/ec-av1/src/stream.rs:44073 captured - ok yes c84a493f90327f5d2bea038a42e87cbfe56762b5c6a856d76b4bff9797c5ea09 | 108 | +crates/ec-av1/fixtures/intra128_in_inter_screen_witness.obu crates/ec-av1/src/stream.rs:44076 captured - ok yes c84a493f90327f5d2bea038a42e87cbfe56762b5c6a856d76b4bff9797c5ea09 |
| 109 | -crates/ec-av1/fixtures/intra128_in_inter_witness2.obu crates/ec-av1/src/stream.rs:44005 captured - ok yes cace4cc3a5ba4dc5f8c7c219e87c9052351e832cad3d7f4c8ffe09288a6d7ccf | 109 | +crates/ec-av1/fixtures/intra128_in_inter_witness2.obu crates/ec-av1/src/stream.rs:44008 captured - ok yes cace4cc3a5ba4dc5f8c7c219e87c9052351e832cad3d7f4c8ffe09288a6d7ccf |
| 110 | -crates/ec-av1/fixtures/intra128_in_inter_witness2.obu crates/ec-av1/src/stream.rs:44350 captured - ok yes cace4cc3a5ba4dc5f8c7c219e87c9052351e832cad3d7f4c8ffe09288a6d7ccf | 110 | +crates/ec-av1/fixtures/intra128_in_inter_witness2.obu crates/ec-av1/src/stream.rs:44353 captured - ok yes cace4cc3a5ba4dc5f8c7c219e87c9052351e832cad3d7f4c8ffe09288a6d7ccf |
| 111 | -crates/ec-av1/fixtures/intra128_in_inter_witness2.obu crates/ec-av1/src/stream.rs:44427 captured - ok yes cace4cc3a5ba4dc5f8c7c219e87c9052351e832cad3d7f4c8ffe09288a6d7ccf | 111 | +crates/ec-av1/fixtures/intra128_in_inter_witness2.obu crates/ec-av1/src/stream.rs:44430 captured - ok yes cace4cc3a5ba4dc5f8c7c219e87c9052351e832cad3d7f4c8ffe09288a6d7ccf |
| 112 | -crates/ec-av1/fixtures/intra128_in_inter_witness.obu crates/ec-av1/src/stream.rs:43909 captured - ok yes dd41fc39367a3d38bf8a8a8106dc30d91b716b2a9123fdfa4716930f4f98caf9 | 112 | +crates/ec-av1/fixtures/intra128_in_inter_witness.obu crates/ec-av1/src/stream.rs:43912 captured - ok yes dd41fc39367a3d38bf8a8a8106dc30d91b716b2a9123fdfa4716930f4f98caf9 |
| 113 | -crates/ec-av1/fixtures/intra14_256x192_10bit.obu crates/ec-av1/src/stream.rs:42727 captured - ok yes ab6fae0a256af6410e8200f10827a3e965dee7b2d7ab63710e94968bddab23a2 | 113 | +crates/ec-av1/fixtures/intra14_256x192_10bit.obu crates/ec-av1/src/stream.rs:42730 captured - ok yes ab6fae0a256af6410e8200f10827a3e965dee7b2d7ab63710e94968bddab23a2 |
| 114 | -crates/ec-av1/fixtures/intra14_256x192_8bit.obu crates/ec-av1/src/stream.rs:42735 captured - ok yes 5e50eb6d4492e806a2803988d92bd47f069ca54e02c06344d5500c6b72deb861 | 114 | +crates/ec-av1/fixtures/intra14_256x192_8bit.obu crates/ec-av1/src/stream.rs:42738 captured - ok yes 5e50eb6d4492e806a2803988d92bd47f069ca54e02c06344d5500c6b72deb861 |
| 115 | -crates/ec-av1/fixtures/intrabc_tx4_chroma_kf.obu crates/ec-av1/src/stream.rs:12401 captured - ok yes bc699af4a6e7c1c5657f041e8cbdf2d3d899ddb80ec2a549a950b7cebb5b41bd | 115 | +crates/ec-av1/fixtures/intrabc_tx4_chroma_kf.obu crates/ec-av1/src/stream.rs:12404 captured - ok yes bc699af4a6e7c1c5657f041e8cbdf2d3d899ddb80ec2a549a950b7cebb5b41bd |
| 116 | -crates/ec-av1/fixtures/ll444_128root_lossless.obu crates/ec-av1/src/stream.rs:7013 captured - ok yes bbffb979d20d581deb271aac75b7ee779dde57c024524ed6b1389356f55ca0fa | 116 | +crates/ec-av1/fixtures/ll444_128root_lossless.obu crates/ec-av1/src/stream.rs:7016 captured - ok yes bbffb979d20d581deb271aac75b7ee779dde57c024524ed6b1389356f55ca0fa |
| 117 | -crates/ec-av1/fixtures/ll444_128root_lossless.obu crates/ec-av1/src/stream.rs:7128 captured - ok yes bbffb979d20d581deb271aac75b7ee779dde57c024524ed6b1389356f55ca0fa | 117 | +crates/ec-av1/fixtures/ll444_128root_lossless.obu crates/ec-av1/src/stream.rs:7131 captured - ok yes bbffb979d20d581deb271aac75b7ee779dde57c024524ed6b1389356f55ca0fa |
| 118 | -crates/ec-av1/fixtures/ll444_128root_lossless.obu crates/ec-av1/src/stream.rs:7302 captured - ok yes bbffb979d20d581deb271aac75b7ee779dde57c024524ed6b1389356f55ca0fa | 118 | +crates/ec-av1/fixtures/ll444_128root_lossless.obu crates/ec-av1/src/stream.rs:7305 captured - ok yes bbffb979d20d581deb271aac75b7ee779dde57c024524ed6b1389356f55ca0fa |
| 119 | -crates/ec-av1/fixtures/ll444_defaultp_inter_strip.obu crates/ec-av1/src/stream.rs:8413 captured - ok yes 1e6dd4e05038c8d51e2c8d29f8c337130c4fea0aed629415535e6e53af9a2c72 | 119 | +crates/ec-av1/fixtures/ll444_defaultp_inter_strip.obu crates/ec-av1/src/stream.rs:8416 captured - ok yes 1e6dd4e05038c8d51e2c8d29f8c337130c4fea0aed629415535e6e53af9a2c72 |
| 120 | -crates/ec-av1/fixtures/ll444_ibc_rect.obu crates/ec-av1/src/stream.rs:8972 captured - ok yes 482dedca0201beea9b0a05720b5da7fe93c350c9fea7699cdb010c3fbc227ec0 | 120 | +crates/ec-av1/fixtures/ll444_ibc_rect.obu crates/ec-av1/src/stream.rs:8975 captured - ok yes 482dedca0201beea9b0a05720b5da7fe93c350c9fea7699cdb010c3fbc227ec0 |
| 121 | -crates/ec-av1/fixtures/ll444_intrabc_rect_l2.obu crates/ec-av1/src/stream.rs:7248 captured - ok yes f0de080edce35d34cdd628b71f63dc452f946e8328352b69d3c1da090a54ec67 | 121 | +crates/ec-av1/fixtures/ll444_intrabc_rect_l2.obu crates/ec-av1/src/stream.rs:7251 captured - ok yes f0de080edce35d34cdd628b71f63dc452f946e8328352b69d3c1da090a54ec67 |
| 122 | -crates/ec-av1/fixtures/ll444-lossless-key.obu crates/ec-av1/src/stream.rs:6715 captured - ok yes f496ef0a1171c2bc66d411cc60db05db547dcdb49cd834d4e0543de9db441374 | 122 | +crates/ec-av1/fixtures/ll444-lossless-key.obu crates/ec-av1/src/stream.rs:6718 captured - ok yes f496ef0a1171c2bc66d411cc60db05db547dcdb49cd834d4e0543de9db441374 |
| 123 | -crates/ec-av1/fixtures/ll444_minp64_128root_control.obu crates/ec-av1/src/stream.rs:7064 captured - ok yes 4cadce41e1f8967567b32f5cf8abaa46ffdf4fd6d4afe784c8d99a7f6bf1ae4c | 123 | +crates/ec-av1/fixtures/ll444_minp64_128root_control.obu crates/ec-av1/src/stream.rs:7067 captured - ok yes 4cadce41e1f8967567b32f5cf8abaa46ffdf4fd6d4afe784c8d99a7f6bf1ae4c |
| 124 | -crates/ec-av1/fixtures/ll444_minp64_128root_control.obu crates/ec-av1/src/stream.rs:7168 captured - ok yes 4cadce41e1f8967567b32f5cf8abaa46ffdf4fd6d4afe784c8d99a7f6bf1ae4c | 124 | +crates/ec-av1/fixtures/ll444_minp64_128root_control.obu crates/ec-av1/src/stream.rs:7171 captured - ok yes 4cadce41e1f8967567b32f5cf8abaa46ffdf4fd6d4afe784c8d99a7f6bf1ae4c |
| 125 | -crates/ec-av1/fixtures/ll444_minp64_inter.obu crates/ec-av1/src/stream.rs:6867 captured - ok yes 5a070fa351a3f2109de855234f2b3d0a872970f3e7f658db21f65c12eeb135b4 | 125 | +crates/ec-av1/fixtures/ll444_minp64_inter.obu crates/ec-av1/src/stream.rs:6870 captured - ok yes 5a070fa351a3f2109de855234f2b3d0a872970f3e7f658db21f65c12eeb135b4 |
| 126 | -crates/ec-av1/fixtures/ll444_minp8_inter.obu crates/ec-av1/src/stream.rs:21168 captured - ok yes 04fb6d38de5382e647bfb70b6a17802f1fccc5502e6698c0394167891f2b27dc | 126 | +crates/ec-av1/fixtures/ll444_minp8_inter.obu crates/ec-av1/src/stream.rs:21171 captured - ok yes 04fb6d38de5382e647bfb70b6a17802f1fccc5502e6698c0394167891f2b27dc |
| 127 | -crates/ec-av1/fixtures/ll444_minp8_inter.obu crates/ec-av1/src/stream.rs:7388 captured - ok yes 04fb6d38de5382e647bfb70b6a17802f1fccc5502e6698c0394167891f2b27dc | 127 | +crates/ec-av1/fixtures/ll444_minp8_inter.obu crates/ec-av1/src/stream.rs:7391 captured - ok yes 04fb6d38de5382e647bfb70b6a17802f1fccc5502e6698c0394167891f2b27dc |
| 128 | -crates/ec-av1/fixtures/ll444_rect16x4_chroma_reach.obu crates/ec-av1/src/stream.rs:11480 captured - ok yes 382e67c0cc0988d14c500a62f5c3457a3f3b5f76d05acce2f655b1089bb8e7e3 | 128 | +crates/ec-av1/fixtures/ll444_rect16x4_chroma_reach.obu crates/ec-av1/src/stream.rs:11483 captured - ok yes 382e67c0cc0988d14c500a62f5c3457a3f3b5f76d05acce2f655b1089bb8e7e3 |
| 129 | -crates/ec-av1/fixtures/ll444_sb64_1to4_lossless.obu crates/ec-av1/src/stream.rs:46905 captured - ok yes fdb6467987095b99c8eb51b48743691d906b2d99d069f71f1d51b1abb6d2056e | 129 | +crates/ec-av1/fixtures/ll444_sb64_1to4_lossless.obu crates/ec-av1/src/stream.rs:46912 captured - ok yes fdb6467987095b99c8eb51b48743691d906b2d99d069f71f1d51b1abb6d2056e |
| 130 | -crates/ec-av1/fixtures/lossless_sb128_rect_kf.obu crates/ec-av1/src/stream.rs:8651 captured - ok yes 013b07979c8be999c70d47f32768c2bf959be086a893f60dde1b0f5e35d4f475 | 130 | +crates/ec-av1/fixtures/lossless_sb128_rect_kf.obu crates/ec-av1/src/stream.rs:8654 captured - ok yes 013b07979c8be999c70d47f32768c2bf959be086a893f60dde1b0f5e35d4f475 |
| 131 | -crates/ec-av1/fixtures/lr-sgr-r7.obu crates/ec-av1/src/stream.rs:30683 recovered-original - ok yes 6b95b20e3377430ffae0b2ce86fad9502e0dedf13cd6c38ab7f5af4a8b21f33d | 131 | +crates/ec-av1/fixtures/lr-sgr-r7.obu crates/ec-av1/src/stream.rs:30686 recovered-original - ok yes 6b95b20e3377430ffae0b2ce86fad9502e0dedf13cd6c38ab7f5af4a8b21f33d |
| 132 | -crates/ec-av1/fixtures/lr-sgr-r7.obu crates/ec-av1/src/stream.rs:30684 recovered-original - ok yes 6b95b20e3377430ffae0b2ce86fad9502e0dedf13cd6c38ab7f5af4a8b21f33d | 132 | +crates/ec-av1/fixtures/lr-sgr-r7.obu crates/ec-av1/src/stream.rs:30687 recovered-original - ok yes 6b95b20e3377430ffae0b2ce86fad9502e0dedf13cd6c38ab7f5af4a8b21f33d |
| 133 | -crates/ec-av1/fixtures/palette_screen_leaf8_witness.obu crates/ec-av1/src/stream.rs:44249 captured - ok yes 8d036606116913c82b774286bb0a3efe616d54151784897ba62b13d12fdef06e | 133 | +crates/ec-av1/fixtures/palette_screen_leaf8_witness.obu crates/ec-av1/src/stream.rs:44252 captured - ok yes 8d036606116913c82b774286bb0a3efe616d54151784897ba62b13d12fdef06e |
| 134 | -crates/ec-av1/fixtures/palette_screen_strip16_witness_10bit.obu crates/ec-av1/src/stream.rs:44293 captured - ok yes aaabbb001d87f61ee534fd17c2d558ad906d1c33d357decb86cfd26e593da0db | 134 | +crates/ec-av1/fixtures/palette_screen_strip16_witness_10bit.obu crates/ec-av1/src/stream.rs:44296 captured - ok yes aaabbb001d87f61ee534fd17c2d558ad906d1c33d357decb86cfd26e593da0db |
| 135 | -crates/ec-av1/fixtures/palette_screen_witness_10bit.obu crates/ec-av1/src/stream.rs:14823 captured - ok yes a60a8bc132e5db7bed3eb46e03e9ed9828811bdffb96914958f3c94b107c3cda | 135 | +crates/ec-av1/fixtures/palette_screen_witness_10bit.obu crates/ec-av1/src/stream.rs:14826 captured - ok yes a60a8bc132e5db7bed3eb46e03e9ed9828811bdffb96914958f3c94b107c3cda |
| 136 | -crates/ec-av1/fixtures/palette_screen_witness_10bit.obu crates/ec-av1/src/stream.rs:44168 captured - ok yes a60a8bc132e5db7bed3eb46e03e9ed9828811bdffb96914958f3c94b107c3cda | 136 | +crates/ec-av1/fixtures/palette_screen_witness_10bit.obu crates/ec-av1/src/stream.rs:44171 captured - ok yes a60a8bc132e5db7bed3eb46e03e9ed9828811bdffb96914958f3c94b107c3cda |
| 137 | -crates/ec-av1/fixtures/palette_screen_witness.obu crates/ec-av1/src/stream.rs:14822 captured - ok yes 635a512b866f0fab7d45eb4f94f2a5b15008fe5a5317ac1ca45ffd3381198b8b | 137 | +crates/ec-av1/fixtures/palette_screen_witness.obu crates/ec-av1/src/stream.rs:14825 captured - ok yes 635a512b866f0fab7d45eb4f94f2a5b15008fe5a5317ac1ca45ffd3381198b8b |
| 138 | -crates/ec-av1/fixtures/palette_screen_witness.obu crates/ec-av1/src/stream.rs:43574 captured - ok yes 635a512b866f0fab7d45eb4f94f2a5b15008fe5a5317ac1ca45ffd3381198b8b | 138 | +crates/ec-av1/fixtures/palette_screen_witness.obu crates/ec-av1/src/stream.rs:43577 captured - ok yes 635a512b866f0fab7d45eb4f94f2a5b15008fe5a5317ac1ca45ffd3381198b8b |
| 139 | -crates/ec-av1/fixtures/palette_screen_witness.obu crates/ec-av1/src/stream.rs:44167 captured - ok yes 635a512b866f0fab7d45eb4f94f2a5b15008fe5a5317ac1ca45ffd3381198b8b | 139 | +crates/ec-av1/fixtures/palette_screen_witness.obu crates/ec-av1/src/stream.rs:44170 captured - ok yes 635a512b866f0fab7d45eb4f94f2a5b15008fe5a5317ac1ca45ffd3381198b8b |
| 140 | -crates/ec-av1/fixtures/rect64_dq_drift.obu crates/ec-av1/src/stream.rs:39901 captured - ok yes 094e51bb21b6caccc905417e95a03f9131b448071567d0b14ec8850799ea2501 | 140 | +crates/ec-av1/fixtures/rect64_dq_drift.obu crates/ec-av1/src/stream.rs:39904 captured - ok yes 094e51bb21b6caccc905417e95a03f9131b448071567d0b14ec8850799ea2501 |
| 141 | -crates/ec-av1/fixtures/rect-flake-1.obu crates/ec-av1/src/stream.rs:31585 captured - ok yes a3869b5d2bd8a8bc5413e0d039d5e3375a48601cdeb2edb8d4b732402926d357 | 141 | +crates/ec-av1/fixtures/rect-flake-1.obu crates/ec-av1/src/stream.rs:31588 captured - ok yes a3869b5d2bd8a8bc5413e0d039d5e3375a48601cdeb2edb8d4b732402926d357 |
| 142 | -crates/ec-av1/fixtures/rect-flake-2.obu crates/ec-av1/src/stream.rs:31590 captured - ok yes c780ddee1adf25cf63a6ba70ff449820f6f4474b23ef16615c1e843ad0c86adb | 142 | +crates/ec-av1/fixtures/rect-flake-2.obu crates/ec-av1/src/stream.rs:31593 captured - ok yes c780ddee1adf25cf63a6ba70ff449820f6f4474b23ef16615c1e843ad0c86adb |
| 143 | -crates/ec-av1/fixtures/rect-flake-3.obu crates/ec-av1/src/stream.rs:31594 captured - ok yes 3b23d204549b7bcfbd7166b1b3e2920580236c78de12e8f23f7fb64c1864f3e6 | 143 | +crates/ec-av1/fixtures/rect-flake-3.obu crates/ec-av1/src/stream.rs:31597 captured - ok yes 3b23d204549b7bcfbd7166b1b3e2920580236c78de12e8f23f7fb64c1864f3e6 |
| 144 | -crates/ec-av1/fixtures/sbpart-pin.obu crates/ec-av1/src/stream.rs:39984 captured - ok yes 62238fc077f45d89745d4d254b9c0465464003529da3b42d0a65631fbb7e16e9 | 144 | +crates/ec-av1/fixtures/sbpart-pin.obu crates/ec-av1/src/stream.rs:39987 captured - ok yes 62238fc077f45d89745d4d254b9c0465464003529da3b42d0a65631fbb7e16e9 |
| 145 | -crates/ec-av1/fixtures/superres_alltools_sb128_320x180.obu crates/ec-av1/src/stream.rs:14883 captured - ok yes e2b515ce487acd2d720d5a000a6f26e66fd03ef2b1a4cb12daa6fdf31a55d519 | 145 | +crates/ec-av1/fixtures/superres_alltools_sb128_320x180.obu crates/ec-av1/src/stream.rs:14886 captured - ok yes e2b515ce487acd2d720d5a000a6f26e66fd03ef2b1a4cb12daa6fdf31a55d519 |
| 146 | -crates/ec-av1/fixtures/superres_alltools_sb128_320x180.obu crates/ec-av1/src/stream.rs:14935 captured - ok yes e2b515ce487acd2d720d5a000a6f26e66fd03ef2b1a4cb12daa6fdf31a55d519 | 146 | +crates/ec-av1/fixtures/superres_alltools_sb128_320x180.obu crates/ec-av1/src/stream.rs:14938 captured - ok yes e2b515ce487acd2d720d5a000a6f26e66fd03ef2b1a4cb12daa6fdf31a55d519 |
| 147 | -crates/ec-av1/fixtures/superres_alltools_sb128_320x180.obu crates/ec-av1/src/stream.rs:15038 captured - ok yes e2b515ce487acd2d720d5a000a6f26e66fd03ef2b1a4cb12daa6fdf31a55d519 | 147 | +crates/ec-av1/fixtures/superres_alltools_sb128_320x180.obu crates/ec-av1/src/stream.rs:15041 captured - ok yes e2b515ce487acd2d720d5a000a6f26e66fd03ef2b1a4cb12daa6fdf31a55d519 |
| 148 | -crates/ec-av1/fixtures/superres_kf_cdef_lr_64x64.obu crates/ec-av1/src/stream.rs:14361 captured - ok yes 5912e251bcd5d0f284f647616f91b19b579238c16fa85c0294a06548088d7336 | 148 | +crates/ec-av1/fixtures/superres_kf_cdef_lr_64x64.obu crates/ec-av1/src/stream.rs:14364 captured - ok yes 5912e251bcd5d0f284f647616f91b19b579238c16fa85c0294a06548088d7336 |
| 149 | -crates/ec-av1/fixtures/reelc_kf2700.obu crates/ec-av1/src/stream.rs:15112 captured - ok yes 16981094eaab516bd1007b0a47d1fc653fbb58b7e18a40af6c12d934bf96fe63 | 149 | +crates/ec-av1/fixtures/reelc_kf2700.obu crates/ec-av1/src/stream.rs:15115 captured - ok yes 16981094eaab516bd1007b0a47d1fc653fbb58b7e18a40af6c12d934bf96fe63 |
| 150 | -crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:43746 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc | 150 | +crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:43749 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc |
| 151 | -crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:44349 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc | 151 | +crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:44352 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc |
| 152 | -crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:44426 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc | 152 | +crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:44429 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc |
| 153 | -crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:45441 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc | 153 | +crates/ec-av1/fixtures/reelc_sb128_inter_witness.obu crates/ec-av1/src/stream.rs:45448 captured - ok yes 09d995946d27695ef4b7b1a24a4d7ad85f8e2c8176d58ee54e825efc061f9cbc |
| 154 | -crates/ec-av1/fixtures/warp-flake-5.obu crates/ec-av1/src/stream.rs:31570 captured - ok yes 1a99f9e5b257eed0ebae055441904d6c40962a26c0c2d63c3e051732569ff0a0 | 154 | +crates/ec-av1/fixtures/warp-flake-5.obu crates/ec-av1/src/stream.rs:31573 captured - ok yes 1a99f9e5b257eed0ebae055441904d6c40962a26c0c2d63c3e051732569ff0a0 |
| 155 | -crates/ec-av1/fixtures/warp-flake-7.obu crates/ec-av1/src/stream.rs:31571 captured - ok yes c2f8b93f5a59c56b1c4453ea789e0fc955557ed9b63c0e2cb8683fa483eff2b5 | 155 | +crates/ec-av1/fixtures/warp-flake-7.obu crates/ec-av1/src/stream.rs:31574 captured - ok yes c2f8b93f5a59c56b1c4453ea789e0fc955557ed9b63c0e2cb8683fa483eff2b5 |
| 156 | -crates/ec-av1/fixtures/warp-mismatch.obu crates/ec-av1/src/stream.rs:31569 captured - ok yes 24cca5beb41c1078f8109d8fa7e35f10cc1eefb67c6d1d1ea248a0b6842287bb | 156 | +crates/ec-av1/fixtures/warp-mismatch.obu crates/ec-av1/src/stream.rs:31572 captured - ok yes 24cca5beb41c1078f8109d8fa7e35f10cc1eefb67c6d1d1ea248a0b6842287bb |
| 157 | fixtures/audio/aac-adts-5.1-44100.aac crates/ec-aac/tests/oracle.rs:151 regenerated scripts/gen-fixtures.sh ok - 2b615b45e7c45136e2d477bd5ed489822ddadcb5f1b7fe2da0a66dcc288881b4 | 157 | fixtures/audio/aac-adts-5.1-44100.aac crates/ec-aac/tests/oracle.rs:151 regenerated scripts/gen-fixtures.sh ok - 2b615b45e7c45136e2d477bd5ed489822ddadcb5f1b7fe2da0a66dcc288881b4 |
| 158 | fixtures/audio/aac-adts-5.1-48000.aac crates/ec-aac/tests/oracle.rs:152 regenerated scripts/gen-fixtures.sh ok - f416a2059766b6ce751bdf272836897c191073ca9f4f302552e949eeeeb01a44 | 158 | fixtures/audio/aac-adts-5.1-48000.aac crates/ec-aac/tests/oracle.rs:152 regenerated scripts/gen-fixtures.sh ok - f416a2059766b6ce751bdf272836897c191073ca9f4f302552e949eeeeb01a44 |
| 159 | fixtures/audio/aac-adts-5.1-48000.aac crates/ec-probe/tests/matrix.rs:95 regenerated scripts/gen-fixtures.sh ok - f416a2059766b6ce751bdf272836897c191073ca9f4f302552e949eeeeb01a44 | 159 | fixtures/audio/aac-adts-5.1-48000.aac crates/ec-probe/tests/matrix.rs:95 regenerated scripts/gen-fixtures.sh ok - f416a2059766b6ce751bdf272836897c191073ca9f4f302552e949eeeeb01a44 |
| @@ -241,13 +241,9 @@ fixtures/bitstreams/vp9-superframe-altref.ivf crates/ec-vp9/tests/scratch_err.rs | |||
| 241 | fixtures/bitstreams/vp9-superframe-altref.ivf crates/ec-vp9/tests/scratch_err.rs:6 regenerated scripts/gen-bitstream-fixtures.sh ok - bfc59a9604aaddc6709971e0e81eca1178b0c0a32be83a3d5c7b5c078aa7a873 | 241 | fixtures/bitstreams/vp9-superframe-altref.ivf crates/ec-vp9/tests/scratch_err.rs:6 regenerated scripts/gen-bitstream-fixtures.sh ok - bfc59a9604aaddc6709971e0e81eca1178b0c0a32be83a3d5c7b5c078aa7a873 |
| 242 | fixtures/bitstreams/vp9-superframe-altref.ivf crates/ec-vp9/tests/scratch_hdr3.rs:6 regenerated scripts/gen-bitstream-fixtures.sh ok - bfc59a9604aaddc6709971e0e81eca1178b0c0a32be83a3d5c7b5c078aa7a873 | 242 | fixtures/bitstreams/vp9-superframe-altref.ivf crates/ec-vp9/tests/scratch_hdr3.rs:6 regenerated scripts/gen-bitstream-fixtures.sh ok - bfc59a9604aaddc6709971e0e81eca1178b0c0a32be83a3d5c7b5c078aa7a873 |
| 243 | fixtures crates/ec-aac/tests/oracle.rs:11 regenerated scripts/gen-fixtures.sh ok - - | 243 | fixtures crates/ec-aac/tests/oracle.rs:11 regenerated scripts/gen-fixtures.sh ok - - |
| 244 | -fixtures crates/ec-av1/src/encode.rs:16846 regenerated scripts/gen-fixtures.sh ok - - | 244 | +fixtures crates/ec-av1/src/library_fixture.rs:147 regenerated scripts/gen-fixtures.sh ok - - |
| 245 | -fixtures crates/ec-av1/src/encode.rs:19735 regenerated scripts/gen-fixtures.sh ok - - | 245 | +fixtures crates/ec-av1/src/library_fixture.rs:74 regenerated scripts/gen-fixtures.sh ok - - |
| 246 | -fixtures crates/ec-av1/src/encode.rs:21180 regenerated scripts/gen-fixtures.sh ok - - | 246 | +fixtures crates/ec-av1/src/stream.rs:9429 regenerated scripts/gen-fixtures.sh ok - - |
| 247 | -fixtures crates/ec-av1/src/encode.rs:21562 regenerated scripts/gen-fixtures.sh ok - - | ||
| 248 | -fixtures crates/ec-av1/src/encode.rs:22113 regenerated scripts/gen-fixtures.sh ok - - | ||
| 249 | -fixtures crates/ec-av1/src/encode.rs:22673 regenerated scripts/gen-fixtures.sh ok - - | ||
| 250 | -fixtures crates/ec-av1/src/stream.rs:9426 regenerated scripts/gen-fixtures.sh ok - - | ||
| 251 | fixtures crates/ec-flac/tests/encode_matrix.rs:48 regenerated scripts/gen-fixtures.sh ok - - | 247 | fixtures crates/ec-flac/tests/encode_matrix.rs:48 regenerated scripts/gen-fixtures.sh ok - - |
| 252 | fixtures crates/ec-matroska/tests/matroska.rs:92 regenerated scripts/gen-fixtures.sh ok - - | 248 | fixtures crates/ec-matroska/tests/matroska.rs:92 regenerated scripts/gen-fixtures.sh ok - - |
| 253 | fixtures crates/ec-mp3/tests/decode_matrix.rs:19 regenerated scripts/gen-fixtures.sh ok - - | 249 | fixtures crates/ec-mp3/tests/decode_matrix.rs:19 regenerated scripts/gen-fixtures.sh ok - - |
| @@ -262,24 +258,18 @@ fixtures/subs/real.srt crates/ec-subs/tests/real_library.rs:28 regenerated scrip | |||
| 262 | fixtures/vectors/flac-xiph/flac-test-files-main crates/ec-flac/tests/xiph_vectors.rs:22 regenerated scripts/fetch-vectors.sh ok - - | 258 | fixtures/vectors/flac-xiph/flac-test-files-main crates/ec-flac/tests/xiph_vectors.rs:22 regenerated scripts/fetch-vectors.sh ok - - |
| 263 | fixtures/vectors/h264-jvt crates/ec-h264/tests/conformance.rs:68 regenerated scripts/fetch-vectors.sh ok - - | 259 | fixtures/vectors/h264-jvt crates/ec-h264/tests/conformance.rs:68 regenerated scripts/fetch-vectors.sh ok - - |
| 264 | fixtures/vectors/opus-rfc6716/opus_testvectors crates/ec-opus/tests/conformance.rs:87 regenerated scripts/fetch-vectors.sh ok - - | 260 | fixtures/vectors/opus-rfc6716/opus_testvectors crates/ec-opus/tests/conformance.rs:87 regenerated scripts/fetch-vectors.sh ok - - |
| 265 | -fixtures/video crates/ec-av1/src/encode.rs:20494 regenerated scripts/gen-fixtures.sh ok - - | 261 | +fixtures/video crates/ec-av1/src/encoder.rs:3288 regenerated scripts/gen-fixtures.sh ok - - |
| 266 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encoder.rs:3263 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 262 | +fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encoder.rs:3288 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 |
| 267 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encoder.rs:6042 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 263 | +fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:20503 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 |
| 268 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:20345 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 264 | +fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21288 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 |
| 269 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:20410 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 265 | +fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21588 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 |
| 270 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:20490 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 266 | +fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22151 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 |
| 271 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:20913 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 267 | +fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22701 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 |
| 272 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21268 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 268 | +fixtures/video/h264-1080p-60-8bit.mp4 crates/ec-av1/src/encode.rs:20504 regenerated scripts/gen-fixtures.sh ok - - |
| 273 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21567 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 269 | +fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21289 regenerated scripts/gen-fixtures.sh ok - - |
| 274 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22127 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 270 | +fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21589 regenerated scripts/gen-fixtures.sh ok - - |
| 275 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22675 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 271 | +fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22152 regenerated scripts/gen-fixtures.sh ok - - |
| 276 | -fixtures/video/h264-1080p-23.976-8bit.mp4 crates/ec-av1/src/stream.rs:45096 regenerated scripts/gen-fixtures.sh ok - db7275c361b07985088e80337a6c8c144d232d12f4d57cb84645effe27195784 | 272 | +fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22702 regenerated scripts/gen-fixtures.sh ok - - |
| 277 | -fixtures/video/h264-1080p-60-8bit.mp4 crates/ec-av1/src/encode.rs:20491 regenerated scripts/gen-fixtures.sh ok - - | ||
| 278 | -fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21269 regenerated scripts/gen-fixtures.sh ok - - | ||
| 279 | -fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:21568 regenerated scripts/gen-fixtures.sh ok - - | ||
| 280 | -fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22128 regenerated scripts/gen-fixtures.sh ok - - | ||
| 281 | -fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/encode.rs:22676 regenerated scripts/gen-fixtures.sh ok - - | ||
| 282 | -fixtures/video/h264-2160p-23.976-8bit.mp4 crates/ec-av1/src/stream.rs:6296 regenerated scripts/gen-fixtures.sh ok - - | ||
| 283 | fixtures/video/h264-open-gop.mp4 crates/ec-h264/tests/conformance.rs:2381 regenerated scripts/gen-fixtures.sh ok - 0b3b316c3f786cf4cb158de1b9c81aa871b1bb0d8e2da30d451f741cacd5d0ff | 273 | fixtures/video/h264-open-gop.mp4 crates/ec-h264/tests/conformance.rs:2381 regenerated scripts/gen-fixtures.sh ok - 0b3b316c3f786cf4cb158de1b9c81aa871b1bb0d8e2da30d451f741cacd5d0ff |
| 284 | fixtures/video/h264-open-gop.mp4 crates/ec-hw/tests/gpu.rs:2793 regenerated scripts/gen-fixtures.sh ok - 0b3b316c3f786cf4cb158de1b9c81aa871b1bb0d8e2da30d451f741cacd5d0ff | 274 | fixtures/video/h264-open-gop.mp4 crates/ec-hw/tests/gpu.rs:2793 regenerated scripts/gen-fixtures.sh ok - 0b3b316c3f786cf4cb158de1b9c81aa871b1bb0d8e2da30d451f741cacd5d0ff |
| 285 | fixtures/vp8/altref-160x96.ivf crates/ec-vp8/tests/keyframe_exact.rs:108 regenerated scripts/gen_vp8_fixtures.sh ok - 32d610dc278e528a7d69c3543764cb000e927c6988e61ef0c4ba560e7d89b49e | 275 | fixtures/vp8/altref-160x96.ivf crates/ec-vp8/tests/keyframe_exact.rs:108 regenerated scripts/gen_vp8_fixtures.sh ok - 32d610dc278e528a7d69c3543764cb000e927c6988e61ef0c4ba560e7d89b49e |
scripts/gen-fixture-library.shmodified+70 -0
| @@ -28,6 +28,15 @@ | |||
| 28 | # Path::new( Path::new("...") argument literals | 28 | # Path::new( Path::new("...") argument literals |
| 29 | # fs::read fs::read / read_dir / File::open argument literals | 29 | # fs::read fs::read / read_dir / File::open argument literals |
| 30 | # | 30 | # |
| 31 | +# library_fixture:: a path passed to the ec-av1 library-fixture resolver | ||
| 32 | +# (`library_fixture::require("video/…", …)`) is | ||
| 33 | +# LIBRARY-RELATIVE, so it anchors at the fixture root | ||
| 34 | +# the preflight validates (EC_FIXTURES first) rather | ||
| 35 | +# than at any crate directory. Without this row shape | ||
| 36 | +# the RESOLVE pass silently lost every clip row the | ||
| 37 | +# moment a gate stopped naming `../../fixtures` | ||
| 38 | +# literally -- the preflight would stop checking the | ||
| 39 | +# exact paths whose absence this lane is about. | ||
| 31 | # TWO PASSES: | 40 | # TWO PASSES: |
| 32 | # 1. fixture-root / fixture-path literals -> the row is the literal itself. | 41 | # 1. fixture-root / fixture-path literals -> the row is the literal itself. |
| 33 | # 2. bare media-file literals ("aac-adts-5.1-44100.aac", "entry-tx3g.mp4") | 42 | # 2. bare media-file literals ("aac-adts-5.1-44100.aac", "entry-tx3g.mp4") |
| @@ -108,6 +117,20 @@ is_fixture_literal() { # $1 = literal without quotes | |||
| 108 | return 0 | 117 | return 0 |
| 109 | } | 118 | } |
| 110 | 119 | ||
| 120 | +# lane-av1clipprobe: a literal that starts with one of the fixture library's | ||
| 121 | +# own top-level directories is LIBRARY-RELATIVE, not crate-relative: it is what | ||
| 122 | +# the ec-av1 library-fixture resolver takes (`require("video/…")`), and the | ||
| 123 | +# other crates' `../../fixtures/<dir>` + `.join("video/…")` pairs resolve to the | ||
| 124 | +# same manifest path. So it maps to `fixtures/<lit>` -- the same row, whether | ||
| 125 | +# the consumer spells the root out or hands the relative part to the resolver. | ||
| 126 | +library_relative() { # $1 = literal without quotes | ||
| 127 | + case $1 in | ||
| 128 | + audio/* | video/* | bitstreams/* | stills/* | subs/* | realworld/* | \ | ||
| 129 | + vp8/* | vp9/* | hbd-r5/* | vectors/*) return 0 ;; | ||
| 130 | + esac | ||
| 131 | + return 1 | ||
| 132 | +} | ||
| 133 | + | ||
| 111 | # Provenance: which script reproduces these bytes. An empty answer is a | 134 | # Provenance: which script reproduces these bytes. An empty answer is a |
| 112 | # finding -- committed pins whose only provenance is prose in a gate comment. | 135 | # finding -- committed pins whose only provenance is prose in a gate comment. |
| 113 | generator_for() { # $1 = repo-relative path | 136 | generator_for() { # $1 = repo-relative path |
| @@ -237,6 +260,53 @@ for f in "${FILES[@]}"; do | |||
| 237 | [ -d "$(abs_path "$path")" ] && file_dirs+=("$path") | 260 | [ -d "$(abs_path "$path")" ] && file_dirs+=("$path") |
| 238 | done < <(grep -noE '"[^"]*"' "$f") | 261 | done < <(grep -noE '"[^"]*"' "$f") |
| 239 | 262 | ||
| 263 | + # Pass 1b -- the ec-av1 library-fixture RESOLVER's literals (lane- | ||
| 264 | + # av1clipprobe). `library_fixture::require("video/…", …)` takes a path | ||
| 265 | + # RELATIVE TO THE FIXTURE ROOT, so it is not a crate-relative literal and | ||
| 266 | + # Pass 1 cannot classify it -- and a clip gate that had stopped naming | ||
| 267 | + # `../../fixtures` literally would have dropped its row from this manifest | ||
| 268 | + # entirely, i.e. the preflight would have stopped RESOLVING the very paths | ||
| 269 | + # whose silent absence this lane is about. Scoped to lines that actually | ||
| 270 | + # call the resolver: a bare `audio/…` literal in another crate keeps | ||
| 271 | + # whatever classification it had, so this adds no rows outside ec-av1. | ||
| 272 | + while IFS= read -r ln; do | ||
| 273 | + lineno=${ln%%:*} | ||
| 274 | + while IFS= read -r q; do | ||
| 275 | + lit=${q#\"} | ||
| 276 | + lit=${lit%\"} | ||
| 277 | + library_relative "$lit" || continue | ||
| 278 | + path="fixtures/$lit" | ||
| 279 | + case $(pin_class "$path") in | ||
| 280 | + absent-pin) | ||
| 281 | + row "$path" "$rel:$lineno" absent-pin absent-pin >>"$tmp" | ||
| 282 | + continue ;; | ||
| 283 | + esac | ||
| 284 | + row "$path" "$rel:$lineno" >>"$tmp" | ||
| 285 | + [ -d "$(abs_path "$path")" ] && file_dirs+=("$path") | ||
| 286 | + done < <(printf '%s\n' "${ln#*:}" | grep -oE '"[^"]*"') | ||
| 287 | + done < <(grep -nE 'library_fixture::(require|require_at|path)\(' "$f") | ||
| 288 | + # A resolver call names a FILE inside a library directory; the DIRECTORY row | ||
| 289 | + # is what makes RESOLVE check the corpus is present AND non-empty, and it | ||
| 290 | + # used to come from the `../../fixtures/video` literal this lane removed. | ||
| 291 | + # One row per directory per file, so the manifest does not grow a | ||
| 292 | + # duplicate per call site. | ||
| 293 | + while IFS= read -r ln; do | ||
| 294 | + d="" | ||
| 295 | + while IFS= read -r q; do | ||
| 296 | + lit=${q#\"} | ||
| 297 | + lit=${lit%\"} | ||
| 298 | + library_relative "$lit" || continue | ||
| 299 | + d="fixtures/${lit%%/*}" | ||
| 300 | + done < <(printf '%s\n' "${ln#*:}" | grep -oE '"[^"]*"') | ||
| 301 | + [ -n "$d" ] || continue | ||
| 302 | + case " ${resolver_dirs:-} " in *" $d "*) continue ;; esac | ||
| 303 | + resolver_dirs="${resolver_dirs:-} $d" | ||
| 304 | + case $(pin_class "$d") in | ||
| 305 | + absent-pin) continue ;; | ||
| 306 | + esac | ||
| 307 | + row "$d" "$rel:${ln%%:*}" >>"$tmp" | ||
| 308 | + done < <(grep -nE 'library_fixture::(require|require_at|path)\(' "$f") | ||
| 309 | + | ||
| 240 | # Pass 2 -- bare media names joined onto this file's fixture directories, | 310 | # Pass 2 -- bare media names joined onto this file's fixture directories, |
| 241 | # then onto the standard top-level library directories (a file may name | 311 | # then onto the standard top-level library directories (a file may name |
| 242 | # its corpus directory in a helper module rather than in this file). | 312 | # its corpus directory in a helper module rather than in this file). |
scripts/verify-fixture-library.shmodified+28 -1
| @@ -45,6 +45,16 @@ | |||
| 45 | # is, and RESOLVE requires that directory to exist and be non-empty. This is a | 45 | # is, and RESOLVE requires that directory to exist and be non-empty. This is a |
| 46 | # preflight against silent drift, not a proof that every byte a test reads is | 46 | # preflight against silent drift, not a proof that every byte a test reads is |
| 47 | # present. | 47 | # present. |
| 48 | +# | ||
| 49 | +# THE TWO ROOTS (lane-av1clipprobe). This script validates `$EC_FIXTURES`, | ||
| 50 | +# defaulting to `$ROOT/fixtures`. The gates used to read `$ROOT/fixtures` | ||
| 51 | +# UNCONDITIONALLY, so pointing EC_FIXTURES at a library elsewhere printed | ||
| 52 | +# `resolve 0 missing` and `GREEN` here while every clip gate skipped -- a green | ||
| 53 | +# preflight over gates reading a tree nobody validated. The clip-reading gates | ||
| 54 | +# now resolve through the same precedence this script does (EC_FIXTURES first, | ||
| 55 | +# `$ROOT/fixtures` otherwise: `crates/ec-av1/src/library_fixture.rs`), so the | ||
| 56 | +# verdict below and the bytes the tests read are the same tree in every | ||
| 57 | +# combination, and mode (i) below fires exactly when the gates will skip. | ||
| 48 | 58 | ||
| 49 | set -uo pipefail | 59 | set -uo pipefail |
| 50 | 60 | ||
| @@ -69,6 +79,10 @@ shape_violations=0 | |||
| 69 | note() { [ "$REQUIRE" = 0 ] || echo "$@"; } | 79 | note() { [ "$REQUIRE" = 0 ] || echo "$@"; } |
| 70 | 80 | ||
| 71 | echo "verify-fixture-library: root=$ROOT fixtures=$FIXTURES EC_REQUIRE_FIXTURES=${REQUIRE:-0}" | 81 | echo "verify-fixture-library: root=$ROOT fixtures=$FIXTURES EC_REQUIRE_FIXTURES=${REQUIRE:-0}" |
| 82 | +# The gates' root is the SAME string, by the reconciliation documented above -- | ||
| 83 | +# printed here so a reader comparing this verdict against a gate's SKIP line | ||
| 84 | +# never has to guess which of two directories the two sides meant. | ||
| 85 | +echo "verify-fixture-library: the clip gates resolve $FIXTURES too (EC_FIXTURES first, else \$ROOT/fixtures)" | ||
| 72 | 86 | ||
| 73 | # --- SHAPE --------------------------------------------------------------- | 87 | # --- SHAPE --------------------------------------------------------------- |
| 74 | if [ ! -f "$MANIFEST" ]; then | 88 | if [ ! -f "$MANIFEST" ]; then |
| @@ -436,4 +450,17 @@ fi | |||
| 436 | for s in $(echo "$audit" | awk -F'\t' '/^BADROW/{c++} END{print c+0}'); do :; done | 450 | for s in $(echo "$audit" | awk -F'\t' '/^BADROW/{c++} END{print c+0}'); do :; done |
| 437 | echo " code-shape violations: $(echo "$audit" | awk -F'\t' '/^BADROW/{c++} END{print c+0}')" >&2 | 451 | echo " code-shape violations: $(echo "$audit" | awk -F'\t' '/^BADROW/{c++} END{print c+0}')" >&2 |
| 438 | echo "$forbidden" | grep -q . && shape_violations=$((shape_violations + $(echo "$forbidden" | grep -c .))) | 452 | echo "$forbidden" | grep -q . && shape_violations=$((shape_violations + $(echo "$forbidden" | grep -c .))) |
| 439 | -echo "verify-fixture-library: GREEN ($rows rows)" | 453 | +# lane-av1clipprobe: the last word of this script used to be a bare `GREEN` |
| 454 | +# even when mode (i) had just been reported a few lines above -- so a reader | ||
| 455 | +# who read only the verdict read GREEN over a tree whose fixture root does not | ||
| 456 | +# exist, which is the same false green as a gate that skipped. The verdict now | ||
| 457 | +# says which it is: findings reported (not failed, because | ||
| 458 | +# EC_REQUIRE_FIXTURES is unset) versus a clean pass. `EC_REQUIRE_FIXTURES=1` | ||
| 459 | +# turns the first into the RED above. | ||
| 460 | +if [ "$root_present" -eq 0 ]; then | ||
| 461 | + echo "verify-fixture-library: GREEN-WITH-FINDINGS ($rows rows; the absent root above is" >&2 | ||
| 462 | + echo " REPORTED, not failed -- set EC_REQUIRE_FIXTURES=1 on a tree that is" >&2 | ||
| 463 | + echo " meant to have the library, or provision it and re-run)" >&2 | ||
| 464 | +else | ||
| 465 | + echo "verify-fixture-library: GREEN ($rows rows)" | ||
| 466 | +fi | ||