diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 1412f001..897f3397 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -2149,6 +2149,24 @@ pub fn reset_skip_split_tx_override_hits() { SKIP_SPLIT_TX_OVERRIDE_HITS.with(|c| c.set(0)); } +// lane-svtinter: palette colour-index maps whose block is cut by the frame's +// bottom/right mi edge, so spec 5.11.50's `onscreenWidth`/`onscreenHeight` +// really are smaller than the block and FEWER symbols are read than the +// block has cells (class map-read-past-frame-edge). +thread_local! { + static PALETTE_ONSCREEN_CUT_HITS: std::cell::Cell = const { std::cell::Cell::new(0) }; +} + +/// Current value of [`PALETTE_ONSCREEN_CUT_HITS`] (colour-index maps). +pub fn palette_onscreen_cut_hits() -> usize { + PALETTE_ONSCREEN_CUT_HITS.with(|c| c.get()) +} + +/// Zeroes [`PALETTE_ONSCREEN_CUT_HITS`] before a gate's own decode attempt. +pub fn reset_palette_onscreen_cut_hits() { + PALETTE_ONSCREEN_CUT_HITS.with(|c| c.set(0)); +} + /// Zeroes [`SKIP_SPLIT_TX_HITS`] before a gate's own decode attempt. pub fn reset_skip_split_tx_hits() { SKIP_SPLIT_TX_HITS.with(|c| c.set(0)); @@ -8803,21 +8821,64 @@ pub(crate) fn palette_color_index_context( (ctx as usize, color_order) } +/// spec 5.11.50 `palette_tokens` / `av1_get_block_dimensions` (blockd.h:1512): +/// the ON-SCREEN part of a block at `(mi_r, mi_c)`, in luma pixels. A block +/// cut by the frame's bottom or right mi edge codes its colour-index map only +/// over this part and replicates it outward -- reading the full `bw x bh` grid +/// consumed symbols libaom never wrote and desynced the rest of the tile +/// (lane-svtinter; class map-read-past-frame-edge). +fn palette_onscreen( + mi_r: usize, + mi_c: usize, + bw: usize, + bh: usize, + fctx: &crate::decode::FrameCtx, +) -> (usize, usize) { + let (mi_rows, mi_cols) = fctx.seg_mi_dims.with(|c| c.get()); + // corner-cut: no mi dims means this is not a real frame decode but the + // ENCODER's own in-process reconstruct (`FrameCtx::for_encoder`, where + // `set_segmentation` never runs), whose writer half + // (`tile::write_color_index_map`) is unclamped too -- the two mirror each + // other, and clamping only one of them read every map as 1x1. Ceiling: + // our encoder still writes a full map for a palette block cut by the + // frame edge, which a conformant decoder reads short. Upgrade path: clamp + // the writer, publish the mi dims on the encoder's ctx, drop this branch. + if mi_rows == 0 || mi_cols == 0 { + return (bw, bh); + } + ( + bw.min(mi_cols.saturating_sub(mi_c) * MI), + bh.min(mi_rows.saturating_sub(mi_r) * MI), + ) +} + +/// [`palette_onscreen`] carried into the chroma plane: `>> subsampling` plus +/// the SAME sub-8 bump the caller's own `(bw / 2).max(4)` applies to the block +/// dimensions (`is_chroma_sub8_x/y`, blockd.h:1533) -- both must move together +/// or a cut 8-wide block reads its chroma map at the wrong width. +fn palette_onscreen_uv( + luma: (usize, usize), + on: (usize, usize), + chroma: (usize, usize), +) -> (usize, usize) { + ( + (on.0 >> 1) + (chroma.0 - (luma.0 >> 1)), + (on.1 >> 1) + (chroma.1 - (luma.1 >> 1)), + ) +} + /// `decode_color_map_tokens` (detokenize.c:25): the palette-Y colour-index -/// map's wavefront decode over a `side x side` grid -- this decoder's -/// palette blocks are always square and never straddle the frame's true -/// (possibly odd) edge without already allocating the full `side*side` -/// region (every other skip/residual path here does the same), so no -/// rows/cols-vs-plane_width/height cropping special case is needed, unlike -/// libaom's own non-block-aligned split. +/// map's wavefront decode over a `side x side` grid, read over the on-screen +/// `on_side x on_side` corner (see [`palette_onscreen`]). fn decode_color_index_map( dec: &mut SymbolDecoder, cdfs: &mut Cdfs, n: usize, side: usize, + on: (usize, usize), uv: bool, ) -> Vec { - decode_color_index_map_wh(dec, cdfs, n, side, side, uv) + decode_color_index_map_wh(dec, cdfs, n, side, side, on, uv) } /// [`decode_color_index_map`], generalised to a true `bw`x`bh` rect strip @@ -8831,9 +8892,15 @@ fn decode_color_index_map_wh( n: usize, bw: usize, bh: usize, + // `(onscreenWidth, onscreenHeight)` in this plane's own units. + on: (usize, usize), uv: bool, ) -> Vec { let trace = crate::envflags::env_flag!("EC_AV1_TRACE"); + let (on_bw, on_bh) = (on.0.clamp(1, bw), on.1.clamp(1, bh)); + if on_bw < bw || on_bh < bh { + hit!(PALETTE_ONSCREEN_CUT_HITS); + } let mut map = vec![0u8; bw * bh]; if trace { let (rng, _) = dec.debug_state(); @@ -8844,9 +8911,9 @@ fn decode_color_index_map_wh( let (rng, _) = dec.debug_state(); eprintln!("EC_PAL_VAL row=0 col=0 color_idx={} rng={rng}", map[0]); } - for i in 1..(bw + bh - 1) { - let j_hi = i.min(bw - 1); - let j_lo = i.saturating_sub(bh - 1); + for i in 1..(on_bw + on_bh - 1) { + let j_hi = i.min(on_bw - 1); + let j_lo = i.saturating_sub(on_bh - 1); for j in (j_lo..=j_hi).rev() { let row = i - j; let col = j; @@ -8872,6 +8939,17 @@ fn decode_color_index_map_wh( } } } + // `decode_color_map_tokens`'s own two extension loops (detokenize.c:71): + // the last on-screen column then the last on-screen row are replicated + // over the off-screen remainder, so the prediction still covers the whole + // block. + for row in 0..on_bh { + let last = map[row * bw + on_bw - 1]; + map[row * bw + on_bw..row * bw + bw].fill(last); + } + for row in on_bh..bh { + map.copy_within((on_bh - 1) * bw..on_bh * bw, row * bw); + } map } @@ -9115,7 +9193,8 @@ fn read_intra_mode_rect( // `av1_visit_palette`: plane 0 (Y) then plane 1 (chroma, shared U/V map), // same order as [`read_intra_mode`]'s own square path. let palette_y = palette_y_pending.map(|(n, colors)| { - let map = decode_color_index_map_wh(dec, cdfs, n, bw, bh, false); + let map = + decode_color_index_map_wh(dec, cdfs, n, bw, bh, palette_onscreen(mi_r, mi_c, bw, bh, fctx), false); hit!(PALETTE_HITS); hit!(PALETTE_RECT_HITS); PaletteY { size: n, colors, map } @@ -9127,7 +9206,8 @@ fn read_intra_mode_rect( // axis to 2 read HALF the colour-index symbols of a 1:4 strip's // chroma palette and desynced the tile from there. let (cw, ch) = ((bw / 2).max(4), (bh / 2).max(4)); - let map = decode_color_index_map_wh(dec, cdfs, n, cw, ch, true); + let on = palette_onscreen_uv((bw, bh), palette_onscreen(mi_r, mi_c, bw, bh, fctx), (cw, ch)); + let map = decode_color_index_map_wh(dec, cdfs, n, cw, ch, on, true); hit!(PALETTE_UV_HITS); PaletteUv { size: n, u_colors, v_colors, map } }); @@ -10419,7 +10499,8 @@ fn decode_intra_rect_in_inter( } // `av1_visit_palette`: Y's colour-index map then the shared chroma one. let palette_y = palette_y_pending.map(|(n, colors)| { - let map = decode_color_index_map_wh(dec, cdfs, n, bw, bh, false); + let map = + decode_color_index_map_wh(dec, cdfs, n, bw, bh, palette_onscreen(mi_r, mi_c, bw, bh, fctx), false); hit!(PALETTE_HITS); hit!(PALETTE_RECT_HITS); hit!(INTRA_IN_INTER_PALETTE_Y_HITS); @@ -10427,7 +10508,8 @@ fn decode_intra_rect_in_inter( }); let palette_uv = palette_uv_pending.map(|(n, u_colors, v_colors)| { let (cw, ch) = ((bw / 2).max(4), (bh / 2).max(4)); - let map = decode_color_index_map_wh(dec, cdfs, n, cw, ch, true); + let on = palette_onscreen_uv((bw, bh), palette_onscreen(mi_r, mi_c, bw, bh, fctx), (cw, ch)); + let map = decode_color_index_map_wh(dec, cdfs, n, cw, ch, on, true); hit!(PALETTE_UV_HITS); hit!(INTRA_IN_INTER_PALETTE_UV_HITS); PaletteUv { size: n, u_colors, v_colors, map } @@ -13290,7 +13372,8 @@ fn read_intra_mode( // `av1_visit_palette` (decoder.c:234): plane 0 (Y) then plane 1 (chroma, // shared U/V map) -- the same order libaom's own loop visits them in. let palette_y = palette_y_pending.map(|(n, colors)| { - let map = decode_color_index_map(dec, cdfs, n, side, false); + let map = + decode_color_index_map(dec, cdfs, n, side, palette_onscreen(mi_r, mi_c, side, side, fctx), false); hit!(PALETTE_HITS); if trace { eprintln!("TRACE palette_y size={n} colors={:?}", &colors[..n]); @@ -13298,7 +13381,12 @@ fn read_intra_mode( PaletteY { size: n, colors, map } }); let palette_uv = palette_uv_pending.map(|(n, u_colors, v_colors)| { - let map = decode_color_index_map(dec, cdfs, n, side / 2, true); + let on = palette_onscreen_uv( + (side, side), + palette_onscreen(mi_r, mi_c, side, side, fctx), + (side / 2, side / 2), + ); + let map = decode_color_index_map(dec, cdfs, n, side / 2, on, true); hit!(PALETTE_UV_HITS); if trace { eprintln!( @@ -29712,7 +29800,10 @@ fn decode_inter_block( // `av1_visit_palette`: the two colour-index maps, Y then the shared // chroma one, after the WHOLE mode-info read. let palette_y = palette_y_pending.map(|(n, colors)| { - let map = decode_color_index_map_wh(dec, cdfs, n, write_w, write_h, false); + let map = decode_color_index_map_wh( + dec, cdfs, n, write_w, write_h, + palette_onscreen(rmi, cmi, write_w, write_h, fctx), false, + ); hit!(PALETTE_HITS); hit!(INTRA_IN_INTER_PALETTE_Y_HITS); PaletteY { size: n, colors, map } @@ -29721,7 +29812,12 @@ fn decode_inter_block( // `av1_get_plane_block_size(bsize, 1, 1)` floors at the 4-px // transform, as the rect reader's own copy. let (cw, ch) = ((write_w / 2).max(4), (write_h / 2).max(4)); - let map = decode_color_index_map_wh(dec, cdfs, n, cw, ch, true); + let on = palette_onscreen_uv( + (write_w, write_h), + palette_onscreen(rmi, cmi, write_w, write_h, fctx), + (cw, ch), + ); + let map = decode_color_index_map_wh(dec, cdfs, n, cw, ch, on, true); hit!(PALETTE_UV_HITS); hit!(INTRA_IN_INTER_PALETTE_UV_HITS); PaletteUv { size: n, u_colors, v_colors, map } @@ -33854,7 +33950,10 @@ fn decode_inter_block8( // lane-t900 r23: `av1_visit_palette` -- the two colour-index maps, Y // then the shared chroma one, after the WHOLE mode-info read. let palette_y = palette_y_pending.map(|(n, colors)| { - let map = decode_color_index_map_wh(dec, cdfs, n, SIDE, SIDE, false); + let map = decode_color_index_map_wh( + dec, cdfs, n, SIDE, SIDE, + palette_onscreen(rmi, cmi, SIDE, SIDE, fctx), false, + ); hit!(PALETTE_HITS); hit!(INTRA_IN_INTER_PALETTE_Y_HITS); hit_do! { @@ -33868,7 +33967,13 @@ fn decode_inter_block8( }); let palette_uv = palette_uv_pending.map(|(n, u_colors, v_colors)| { // `av1_get_plane_block_size(BLOCK_8X8, 1, 1)` = BLOCK_4X4. - let map = decode_color_index_map_wh(dec, cdfs, n, CHROMA_SIDE, CHROMA_SIDE, true); + let on = palette_onscreen_uv( + (SIDE, SIDE), + palette_onscreen(rmi, cmi, SIDE, SIDE, fctx), + (CHROMA_SIDE, CHROMA_SIDE), + ); + let map = + decode_color_index_map_wh(dec, cdfs, n, CHROMA_SIDE, CHROMA_SIDE, on, true); hit!(PALETTE_UV_HITS); hit!(INTRA_IN_INTER_PALETTE_UV_HITS); hit_do! { diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index 0c38f1eb..a2ac57da 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -3344,6 +3344,68 @@ pub(crate) mod tests { .collect() } + /// lane-svtinter: an SVT-AV1 screen stream whose frame height is not a + /// multiple of the superblock size codes PALETTE blocks in the bottom + /// (and right) superblock row that hang off the mi grid. Spec 5.11.50 + /// `palette_tokens` reads the colour-index map only over the block's + /// `onscreenWidth x onscreenHeight` corner and replicates it outward; + /// this decoder read the full block grid, so it consumed colour-index + /// symbols libaom never wrote and desynced the rest of the tile -- either + /// a wrong bottom superblock row (1599 luma samples in this stream's + /// frame 0, ~80k per inter frame after) or, further along the same tile, + /// a bogus "a Golomb tail longer than this decoder reads" refusal. + /// + /// Unlike its lane-svt1 sibling above this one BUILDS its stream: the + /// recipe is synthetic (`smptebars,drawgrid` through `libsvtav1 -preset 8 + /// -svtav1-params screen-content-mode=1`), and 384x152 puts a 32x32 + /// palette block at mi row 32 of a 38-mi-tall frame, 24 of its 32 rows + /// on screen. `palette_onscreen_cut_hits` is asserted non-zero so the row + /// cannot pass on a stream that never cuts a palette map (class + /// gate-blind-to-feature). + #[test] + fn an_svt_screen_palette_map_cut_by_the_frame_edge_decodes_exactly() { + const NAME: &str = "an_svt_screen_palette_map_cut_by_the_frame_edge_decodes_exactly"; + if !have_ffmpeg() { + eprintln!("SKIP {NAME}: no ffmpeg"); + return; + } + let (width, height) = (384usize, 152usize); + let out = Command::new("ffmpeg") + .args([ + "-v", "error", "-f", "lavfi", "-i", + "smptebars=s=384x152:r=12,drawgrid=w=8:h=8:t=1:c=black", + "-frames:v", "4", "-c:v", "libsvtav1", "-preset", "8", "-crf", "30", + "-svtav1-params", "lp=1:screen-content-mode=1", "-g", "12", "-f", "obu", "-", + ]) + .stdin(Stdio::null()) + .stdout(Stdio::piped()) + .stderr(Stdio::piped()) + .output() + .expect("ffmpeg failed to run"); + if !out.status.success() || out.stdout.is_empty() { + eprintln!( + "SKIP {NAME}: no libsvtav1 in this ffmpeg: {}", + String::from_utf8_lossy(&out.stderr) + ); + return; + } + let stream = out.stdout; + crate::decode::reset_palette_onscreen_cut_hits(); + let decoded = decode_stream(&stream).expect("the SVT-AV1 screen stream decodes"); + assert_eq!(decoded.len(), 4, "{NAME}: frame count"); + assert!( + crate::decode::palette_onscreen_cut_hits() > 0, + "{NAME}: no palette map is cut by the frame edge here -- the gate would pass blind" + ); + let want = ffmpeg_decode_sequence(&stream, width, height, decoded.len()); + assert_eq!(want.len(), decoded.len(), "{NAME}: ffmpeg frame count"); + for (i, (got, want)) in decoded.iter().zip(&want).enumerate() { + assert_eq!(got.y, want.y, "{NAME}: frame {i} luma vs ffmpeg"); + assert_eq!(got.u, want.u, "{NAME}: frame {i} U vs ffmpeg"); + assert_eq!(got.v, want.v, "{NAME}: frame {i} V vs ffmpeg"); + } + } + /// lane-svt1: an SVT-AV1 (v3.1.2, `-preset 8 -crf 35`) screen key frame /// codes 16x16 PALETTE blocks with `skip == 1` whose `tx_depth` split the /// luma transform. [`crate::decode::decode_block`] armed the palette diff --git a/lanes/svtinter.report.md b/lanes/svtinter.report.md new file mode 100644 index 00000000..fdd895ed --- /dev/null +++ b/lanes/svtinter.report.md @@ -0,0 +1,139 @@ +# lane-svtinter — the palette colour-index map read past the frame edge + +Class: **map-read-past-frame-edge** — a syntax loop whose extent the spec +clamps to the block's ON-SCREEN part, read at the full block size, so the +decoder consumes symbols the encoder never wrote. + +## First divergent symbol + +Stream `smptebars=s=384x152:r=12,drawgrid=w=8:h=8:t=1:c=black` through +`libsvtav1 -preset 8 -crf 30 -svtav1-params lp=1:screen-content-mode=1`, +frame 0 (the KEY frame — the defect is not inter-only; lane-svt1's +"key frames are exact" held only for its own kept stream). + +* Pixels: first wrong luma sample at row 128, col 296; everything after it in + the raster diverges (1599 luma + 28 chroma in frame 0, ~80k per inter + frame). +* Partitions agree with an instrumented aomdec (`EC_TRACE`) through the whole + frame up to `mi_row=32 mi_col=72 bsize=BLOCK_32X32 PARTITION_NONE`, which is + exactly the block covering pixel (128, 288). +* Mode ladder agrees symbol for symbol into that block (`EC_TRACE_MODE_STEP`, + `EC_PALSYN`): `skip=1`, `y_mode=DC`, `uv_mode=DC`, `palette_y_mode=1`, + `palette_y_size=3`, colours `[7,16,24]`, `rng=39432` on both sides. +* **First divergent symbol**: the colour-index map's wavefront, diagonal + `i = 24`. aomdec's last symbol on that diagonal is `row=23 col=1` and it + moves on to `row=0 col=25`; ours reads one more, `row=24 col=0`, and every + symbol after that is one position out of step (`rng` 42060 vs 42068 from + there on). + +## Root cause + +The block is 32x32 at mi row 32 of a 38-mi-tall frame: only 24 of its 32 rows +are inside the mi grid. Spec 5.11.50 `palette_tokens` / +`av1_get_block_dimensions` (blockd.h:1512) read the colour-index map over +`onscreenWidth x onscreenHeight` only and REPLICATE the last on-screen column +and row over the rest (detokenize.c:71). `decode_color_index_map_wh` walked +the full `bw x bh` grid — its own doc comment asserted the clamp was +unnecessary ("palette blocks ... never straddle the frame's true edge"). + +Both reported failure kinds are this one defect: the extra symbols either +shift the rest of the tile (~200k-sample misses) or eventually make a coeff +Golomb tail read as absurdly long ("a Golomb tail longer than this decoder +reads" — a desync symptom, never a reader bound, as the standing class says). + +## Fix + +`crates/ec-av1/src/decode.rs`: + +* `palette_onscreen(mi_r, mi_c, bw, bh, fctx)` — the on-screen extent in luma + pixels, from `fctx.seg_mi_dims` (set once per frame for every frame). +* `palette_onscreen_uv(luma, on, chroma)` — the same carried into chroma, + keeping the `is_chroma_sub8` +2 bump in step with the caller's own + `(bw / 2).max(4)`. +* `decode_color_index_map{,_wh}` take `(onscreenWidth, onscreenHeight)`, read + the wavefront over that corner at the full-block stride, then replicate the + last on-screen column and row (libaom's own two extension loops). +* A second commit (fe850816's successor) restricts the clamp to contexts + where the frame's mi dims are known: the ENCODER's own in-process + reconstruct runs on a `FrameCtx::for_encoder` that never saw + `set_segmentation`, so its dims are `(0, 0)` and the first version read + every map as 1x1 there -- 16 round-trip gates (10 in s1, 6 in s2) refused + with a bogus "a reference frame selected with no picture at this frame's own + ref_frame_idx slot" (verified NOT pre-existing: the same 10 tests pass on + base 5e14d407, `$HOME/.cache/svtinter/sub-base.log`). That path's writer + half is unclamped too, so the two mirror each other; the branch carries a + `corner-cut:` comment naming the ceiling (see Open). + +### Same-shape sweep (class: a per-cell map read over a block that straddles +the frame edge) + +Reader call sites of the fixed function — all five take the clamp: key-frame square +(`read_intra_mode`), rect strip (`read_intra_mode_rect`), intra-in-inter rect +(`decode_intra_rect_in_inter`), inter block intra (`decode_inter_block`), 8x8 +inter leaf (`decode_inter_block8`), luma and chroma each. + +Every OTHER syntax family whose symbol COUNT is clipped by the mi grid was +checked and already carries its clip — this was the last unclipped one: + +| family | site | state | +|---|---|---| +| residual transform units, luma | decode.rs:9546 `if tu_px >= y.true_width \|\| tu_py >= y.true_height` | clipped (lane-hgkf) | +| residual transform units, chroma | decode.rs:24773, 24881 (`max_blocks_wide/high`) | clipped | +| var-tx recursion | decode.rs:17745 `if blk_row >= max_h_mi \|\| blk_col >= max_w_mi` | clipped | +| segment ids | decode.rs:989, 1012 (`x_mis`/`y_mis`) | clipped | +| partition | `hasRows`/`hasCols` inferred split | clipped | +| palette colour-index map | decode.rs `decode_color_index_map_wh` | **fixed here** | + +CfL and intrabc read no per-cell map (CfL is one alpha pair per block, intrabc +one vector), so neither can spend symbols past the edge. + +## Pass table + +Every decode compares EVERY plane of EVERY frame against `ffmpeg -pix_fmt +yuv420p` (harness asserts our decode exited 0 and produced N frames first). + +| streams | before | after | +|---|---|---| +| fresh sweep: `smptebars,drawgrid` x {384x152, 320x184, 640x366} x crf {20,30,35,45}, 4 frames | 8 exact, 2 DIFF (22397/1599 samples in frame 0 alone), 3 REFUSED (Golomb tail) — 12 total | **12/12 exact** | +| kept `$HOME/.cache/svt1-keep/w3/*.obu` (180 streams) | (lane-svt1: 2 refusals + 6 x ~200k-sample misses among the 8 that reach its arm) | **180/180 exact** | + +No refusal string survives on any stream in either set. + +## Witness + +`stream::tests::an_svt_screen_palette_map_cut_by_the_frame_edge_decodes_exactly` +BUILDS its stream in-test (the recipe above at crf 30), SKIPs with a printed +reason when ffmpeg/libsvtav1 is missing, asserts the new +`decode::palette_onscreen_cut_hits()` counter is non-zero (so it cannot pass +on a stream that never cuts a palette map) and compares all three planes of +all four frames against ffmpeg. + +* RED (reader reverted to the full-grid walk, counter kept): `test result: + FAILED. 0 passed; 1 failed`, panic `frame 0 luma vs ffmpeg`. +* GREEN: `test result: ok. 1 passed`. + +## Open + +* `open|` The WRITE side has the same shape: `tile.rs:3457 + write_color_index_map` walks `side x side` with no on-screen clamp + (callers at 3498 / 3908 / 3913). Reachable only when our own encoder codes + a palette block straddling the mi grid (screen-content mode at a frame size + whose bottom/right block is cut) — not fixed here because a writer change + moves the encoder pins, which this lane must leave byte-identical. + +## Gates on 58b83958 + +| gate | result | +|---|---| +| `cargo check --workspace --all-targets -j4` | RC=0, 0 ec-av1 warnings (25 pre-existing `missing documentation` warnings, all in ec-opus) | +| `encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins` | ok, 1 passed — pins unchanged | +| the new witness | ok, 1 passed | +| kept-film SVT gate (`EC_AV1_SVT1_STREAM`, `an_svt_screen_palette_block_with_a_split_transform_decodes_exactly`) | ok, 1 passed | +| s1 `--skip stream::` | ok, 341 passed, 0 failed, 33 ignored (389 s) | +| s2 `stream:: --skip 10bit` | ok, 202 passed, 0 failed, 15 ignored (607 s) | +| s3 `10bit` | ok, 42 passed, 0 failed, 1 ignored (43 s) | +| 180 kept `w3` streams vs ffmpeg | 180/180 exact | +| fresh sweep (12 streams) vs ffmpeg | 12/12 exact | + +The first fix alone (f70ec3f9) reddened 16 of these rows; both suites are +green only with 58b83958 on top.