diff --git a/crates/ec-av1/src/encode.rs b/crates/ec-av1/src/encode.rs index c8ee4973..9138ab32 100644 --- a/crates/ec-av1/src/encode.rs +++ b/crates/ec-av1/src/encode.rs @@ -541,7 +541,8 @@ pub fn take_b64_var_tx_hits() -> usize { /// (lane-b64b). AV1 asks only that the block's own half is inside /// (`has_cols`/`has_rows`, spec `decode_partition`), and the writer already /// codes that case; what was missing was a trial whose SSE is scored over the -/// INSIDE part alone ([`inside_sse`]) instead of over the padding the encoder +/// INSIDE part alone ([`Plane::block_sse`], which clips since lane-sse) +/// instead of over the padding the encoder /// invented past the edge. Both gate films are superblock-aligned, so this /// only reaches the user's own arbitrary export sizes. /// @@ -1694,6 +1695,58 @@ struct CoefCtxMap { tu_split: bool, } +/// Whether [`Plane::block_sse`] scores a block the true frame edge cuts +/// through over its INSIDE part alone. On; `EC_AV1_EDGESSE=0` restores the +/// padding-inclusive score the search used before lane-sse, which is how the +/// before/after arms of the straddling gate rows are read off ONE binary. +fn edge_sse() -> bool { + static ENV: std::sync::LazyLock> = + std::sync::LazyLock::new(|| crate::envflags::var("EC_AV1_EDGESSE").ok().map(|v| v != "0")); + ENV.unwrap_or(true) +} + +/// Whether [`Plane::block_sse`] counts the blocks the true frame edge cuts +/// through and the share of their raw squared error that sat in the padding +/// (`EC_AV1_EDGE_CENSUS=1`). Off by default: only edge blocks would pay for +/// it, but the numbers are an instrument, not a decision (class +/// `gate-blind-to-feature` -- both gate films are superblock-aligned, so +/// without this census no gate row can say the clip fires at all). +fn edge_census() -> bool { + static ENV: std::sync::LazyLock = + std::sync::LazyLock::new(|| crate::envflags::var("EC_AV1_EDGE_CENSUS").ok().as_deref() == Some("1")); + *ENV +} + +/// Per block side (indexed by `side.trailing_zeros()`, so 2 is 4x4 and 7 is +/// 128x128): how many scores clipped, the inside squared error they kept and +/// the padding squared error they dropped. +static EDGE_SCORES: [[std::sync::atomic::AtomicU64; 3]; 8] = + [const { [const { std::sync::atomic::AtomicU64::new(0) }; 3] }; 8]; + +/// One clipped score, for [`take_edge_census`]. +fn record_edge_score(side: usize, inside: u64, padding: u64) { + let row = &EDGE_SCORES[(side.trailing_zeros() as usize).min(7)]; + row[0].fetch_add(1, std::sync::atomic::Ordering::Relaxed); + row[1].fetch_add(inside, std::sync::atomic::Ordering::Relaxed); + row[2].fetch_add(padding, std::sync::atomic::Ordering::Relaxed); +} + +/// The straddling-block census since the last call, and zero it: one +/// `(side, scores, inside_sse, padding_sse)` row per block size that fired. +#[must_use] +pub fn take_edge_census() -> Vec<(usize, u64, u64, u64)> { + EDGE_SCORES + .iter() + .enumerate() + .filter_map(|(log2, row)| { + let n = row[0].swap(0, std::sync::atomic::Ordering::Relaxed); + let inside = row[1].swap(0, std::sync::atomic::Ordering::Relaxed); + let padding = row[2].swap(0, std::sync::atomic::Ordering::Relaxed); + (n != 0).then_some((1usize << log2, n, inside, padding)) + }) + .collect() +} + struct Plane<'a> { source: &'a [u8], reconstruction: Vec, @@ -1850,17 +1903,54 @@ impl Plane<'_> { } /// Squared error between the source block at `(x, y)` and a reconstruction - /// of it. Exact for the same reason [`Self::block_sad`] is: the largest - /// total is `255^2 * 64 * 64`, under 2^28. + /// of it, over the part of the block that is INSIDE the true frame. + /// Exact for the same reason [`Self::block_sad`] is: the largest total is + /// `255^2 * 64 * 64`, under 2^28. + /// + /// A block the frame edge cuts through is still coded whole -- the + /// decoder reconstructs its outside samples too and the display crop + /// throws them away -- so scoring the padding would rank a mode, a + /// transform or a partition tree by how well it codes samples the source + /// does not have (libaom clips the same way: `av1_dist_block` measures + /// over `max_blocks_wide`/`max_blocks_high`). The padding is replicated + /// edge pixels, so predicting it is nearly free, but coding coefficients + /// for it spends real bits. Both gate films are superblock-aligned; this + /// only reaches arbitrary export sizes (lane-sse, generalising + /// lane-b64b's 64-root-only rescore of the 64 root). fn block_sse(&self, x: usize, y: usize, side: usize, reconstruction: &[u8]) -> f64 { + let inside_rows = side.min(self.true_height.saturating_sub(y)); + let inside_cols = side.min(self.true_width.saturating_sub(x)); + let straddles = inside_rows < side || inside_cols < side; + // The knob is read only for a block the edge cuts, so the interior + // path -- the hot one -- carries no extra load at all. + let (rows, cols) = match straddles && !edge_sse() { + true => (side, side), + false => (inside_rows, inside_cols), + }; let mut sse = 0u64; - for row in 0..side { - let source = &self.source[(y + row) * self.width + x..][..side]; - for (&s, &r) in source.iter().zip(&reconstruction[row * side..][..side]) { + for row in 0..rows { + let source = &self.source[(y + row) * self.width + x..][..cols]; + for (&s, &r) in source.iter().zip(&reconstruction[row * side..][..cols]) { let d = u32::from(s.abs_diff(r)); sse += u64::from(d * d); } } + if straddles && edge_census() { + let (mut inside, mut whole) = (0u64, 0u64); + for row in 0..side { + let source = &self.source[(y + row) * self.width + x..][..side]; + for (col, (&s, &r)) in + source.iter().zip(&reconstruction[row * side..][..side]).enumerate() + { + let d = u64::from(u32::from(s.abs_diff(r)).pow(2)); + whole += d; + if row < inside_rows && col < inside_cols { + inside += d; + } + } + } + record_edge_score(side, inside, whole - inside); + } sse as f64 } @@ -3964,10 +4054,19 @@ fn ibc_sse( (sx, sy): (usize, usize), side: usize, ) -> f64 { + // Inside the true frame only, for the reason [`Plane::block_sse`] is + // (lane-sse): an intrabc block at the edge would otherwise be ranked by + // how well it copies the padding. let mut sse = 0.0f64; - for row in 0..side { - let src = &luma.source[(y + row) * luma.width + x..][..side]; - let rec = &luma.reconstruction[(sy + row) * luma.width + sx..][..side]; + let clip = |whole: usize, inside: usize| match edge_sse() { + true => whole.min(inside), + false => whole, + }; + let rows = clip(side, luma.true_height.saturating_sub(y)); + let cols = clip(side, luma.true_width.saturating_sub(x)); + for row in 0..rows { + let src = &luma.source[(y + row) * luma.width + x..][..cols]; + let rec = &luma.reconstruction[(sy + row) * luma.width + sx..][..cols]; for (&s, &r) in src.iter().zip(rec) { let d = f64::from(i32::from(s) - i32::from(r)); sse += d * d; @@ -3975,9 +4074,11 @@ fn ibc_sse( } let half = side / 2; for plane in chroma { - for row in 0..half { - let src = &plane.source[(y / 2 + row) * plane.width + x / 2..][..half]; - let rec = &plane.reconstruction[(sy / 2 + row) * plane.width + sx / 2..][..half]; + let rows = clip(half, plane.true_height.saturating_sub(y / 2)); + let cols = clip(half, plane.true_width.saturating_sub(x / 2)); + for row in 0..rows { + let src = &plane.source[(y / 2 + row) * plane.width + x / 2..][..cols]; + let rec = &plane.reconstruction[(sy / 2 + row) * plane.width + sx / 2..][..cols]; for (&s, &r) in src.iter().zip(rec) { let d = f64::from(i32::from(s) - i32::from(r)); sse += d * d; @@ -6028,46 +6129,6 @@ where /// of the frame's reconstruction because a tile's prediction never reads a /// sample outside its own rectangle, and every sample inside it is written /// before it is read. -/// [`Plane::block_sse`] over the part of a block that is INSIDE the true -/// frame. A block the edge cuts through is still coded whole -- the decoder -/// reconstructs its outside samples too and the display crop throws them away -/// -- so scoring them would rank a 64x64 root by how well it predicts padding -/// the source does not have (lane-b64b). -fn inside_sse(plane: &Plane, x: usize, y: usize, side: usize, reconstruction: &[u8]) -> f64 { - let rows = side.min(plane.true_height.saturating_sub(y)); - let cols = side.min(plane.true_width.saturating_sub(x)); - let mut sse = 0u64; - for row in 0..rows { - let source = &plane.source[(y + row) * plane.width + x..][..cols]; - for (col, &s) in source.iter().enumerate() { - let d = u32::from(s.abs_diff(reconstruction[row * side + col])); - sse += u64::from(d * d); - } - } - sse as f64 -} - -/// Rescores one 64x64 root trial set (luma and the two chroma planes) over -/// the inside part of a superblock the frame edge cuts through. -fn clip_sb64_sse( - trials: &mut [Trial; 3], - luma: &Plane, - chroma: &[Plane; 2], - (x, y): (usize, usize), - side: usize, -) { - trials[0].sse = inside_sse(luma, x, y, side, &trials[0].reconstruction); - for plane in 0..2 { - trials[plane + 1].sse = inside_sse( - &chroma[plane], - x / 2, - y / 2, - side / 2, - &trials[plane + 1].reconstruction, - ); - } -} - fn fresh_plane(source: &[u8], width: usize, height: usize, true_width: usize, true_height: usize) -> Plane<'_> { Plane { source, @@ -7589,12 +7650,9 @@ fn search_skip_64( } } - // A superblock the true frame edge cuts through: every trial below is - // ranked over its inside part only ([`clip_sb64_sse`]). - let edge = x + side > luma.true_width || y + side > luma.true_height; let mut best: Option<(f64, f64, InterInfo, [Trial; 3])> = None; for (bits, info) in cands { - let mut trials = [ + let trials = [ (0usize, x, y, side, true), (1, x / 2, y / 2, side / 2, false), (2, x / 2, y / 2, side / 2, false), @@ -7631,9 +7689,6 @@ fn search_skip_64( TxbSet::Luma32Inter, ) }); - if edge { - clip_sb64_sse(&mut trials, luma, chroma, (x, y), side); - } let cost = trials[0].sse + trials[1].sse + trials[2].sse @@ -7706,7 +7761,7 @@ fn search_skip_64( ccands.sort_by(|a, b| a.0.cmp(&b.0).then(a.1.total_cmp(&b.1))); ccands.dedup_by_key(|c| c.0); for (mvs, bits, info) in ccands { - let mut trials = [ + let trials = [ (0usize, x, y, side, true), (1, x / 2, y / 2, side / 2, false), (2, x / 2, y / 2, side / 2, false), @@ -7750,9 +7805,6 @@ fn search_skip_64( TxbSet::Luma32Inter, ) }); - if edge { - clip_sb64_sse(&mut trials, luma, chroma, (x, y), side); - } let syntax = fixed - ref_bits + bits; let cost = trials[0].sse + trials[1].sse + trials[2].sse + search.lambda * syntax; @@ -7785,7 +7837,7 @@ fn search_skip_64( let mut luma_levels: Option<(Vec, u8)> = None; if residual { let sets = [TxbSet::Luma64, TxbSet::Chroma32, TxbSet::Chroma32]; - let mut residual_trials = [0usize, 1, 2].map(|plane| { + let residual_trials = [0usize, 1, 2].map(|plane| { let (target, px, py, s) = if plane == 0 { (&*luma, x, y, side) } else { @@ -7802,9 +7854,6 @@ fn search_skip_64( sets[plane], ) }); - if edge { - clip_sb64_sse(&mut residual_trials, luma, chroma, (x, y), side); - } let unskip = symbol_bits(&cdf::SKIP[0], 0) - symbol_bits(&cdf::SKIP[0], 1); let coeff_bits: f64 = residual_trials.iter().map(|t| t.bits).sum(); // lane-b64b: the root's own var-tx decision -- one TX_64X64 or the @@ -9532,7 +9581,7 @@ pub(crate) fn encode_inter_frame( // frame is offered it, and (lane-b64b, `EC_AV1_B64EDGE`) one the // edge CUTS THROUGH: the spec's own `has_cols`/`has_rows` ask // only that the block's half is inside, and the trial is ranked - // over the inside part alone ([`clip_sb64_sse`]). + // over the inside part alone ([`Plane::block_sse`]). let (x64, y64) = (sb_c * SUPERBLOCK, sb_r * SUPERBLOCK); let whole_inside = (sb_c as u32 + 1) * crate::tile::SB_MI <= header.mi_cols && (sb_r as u32 + 1) * crate::tile::SB_MI <= header.mi_rows @@ -10502,6 +10551,31 @@ mod tests { /// by predicting -- the textured half of a frame whose other half is /// flat -- the factor FALLS below 1, i.e. that half is coded more /// distortion-averse than the half nothing gains from. + /// The distortion metric itself (lane-sse): a block the true frame edge + /// cuts through is scored over its INSIDE part only, so a difference that + /// lives entirely in the padding costs nothing and a block wholly past + /// the edge scores zero. Before this, the search ranked modes, + /// transforms and partition trees on samples the display crop throws + /// away -- which lane-b64b had fixed for the 64x64 root alone. + #[test] + fn a_block_the_frame_edge_cuts_is_scored_over_its_inside_only() { + // A 40x40 true frame on a 64x64 padded coding surface. + let source = vec![10u8; 64 * 64]; + let plane = fresh_plane(&source, 64, 64, 40, 40); + let mut reconstruction = vec![10u8; 64 * 64]; + // Off by 190 at (50, 50) -- past the true edge in both axes. + reconstruction[50 * 64 + 50] = 200; + assert_eq!(plane.block_sse(0, 0, 64, &reconstruction), 0.0, "padding was scored"); + // Off by 10 at (39, 39) -- the last sample the decoder shows. + reconstruction[39 * 64 + 39] = 20; + assert_eq!(plane.block_sse(0, 0, 64, &reconstruction), 100.0, "inside was not scored"); + // A 16x16 block whose every sample is padding. + let block = vec![200u8; 16 * 16]; + assert_eq!(plane.block_sse(48, 0, 16, &block), 0.0, "a block past the edge scored"); + // A 16x16 block the edge cuts: 8 of its columns are inside. + assert_eq!(plane.block_sse(32, 32, 16, &block), (190.0 * 190.0) * 64.0); + } + #[test] fn tpl_factors_are_flat_on_a_uniform_repeat_and_fall_where_the_window_leans() { // Four 64x64 superblocks across: the shipped map forms its ratio per @@ -14943,6 +15017,27 @@ mod tests { crate::probe::dims(clip) } + /// `EC_AV1_NATIVE_CROP=x`: the native gate's window at a + /// size of the reader's choosing instead of [`crate::probe::gate_crop`]'s + /// superblock-aligned one, still centred and still even for 4:2:0. + /// + /// WHY IT EXISTS (lane-sse): `gate_crop` rounds DOWN to whole 128-wide + /// superblocks by design, so no default gate row has a block the frame + /// edge cuts through -- while every arbitrary export size does (3840x1608 + /// is 25.1 superblock rows, 1920x1080 is 8.4). `EC_AV1_NATIVE_CROP= + /// 1920x1080` is the straddling arm the edge-clipped distortion score is + /// read on. + fn native_crop_override(clip: &str) -> Option<(String, usize, usize)> { + let spec = std::env::var("EC_AV1_NATIVE_CROP").ok()?; + let (w, h) = spec.split_once('x').expect("EC_AV1_NATIVE_CROP is x"); + let (cw, ch): (usize, usize) = + (w.parse().expect("crop width"), h.parse().expect("crop height")); + let (nw, nh) = crate::probe::dims(clip)?; + assert!(cw <= nw && ch <= nh, "{cw}x{ch} does not fit in {nw}x{nh}"); + let (x, y) = ((nw - cw) / 2 & !1, (nh - ch) / 2 & !1); + Some((format!("crop={cw}:{ch}:{x}:{y}"), cw, ch)) + } + /// The rows of [`bd_rate_screen_native`] -- (label, path, seek) -- shared /// with `probe_screen_detect` so the detector sweep measures exactly the /// clips the keep table is read off. Selector env vars as documented on @@ -15210,7 +15305,10 @@ mod tests { // of the middle of the frame; the offsets stay even for 4:2:0. // ONE definition, shared with `examples/enc_probe` so the probe // cannot measure a different window than this gate (lane-probe). - let (vf, cw, ch) = crate::probe::gate_crop(path); + let (vf, cw, ch) = match native_crop_override(path) { + Some(over) => over, + None => crate::probe::gate_crop(path), + }; let source = clip_frames_vf(path, seek, &vf, cw, ch, frames); SCREEN_FRAMES.iter().for_each(|c| { c.store(0, std::sync::atomic::Ordering::Relaxed); @@ -15220,10 +15318,25 @@ mod tests { let _ = crate::tile::take_intrabc_hits(); let _ = take_intrabc_search(); let _ = crate::tile::take_filter_intra_hits(); + let _ = take_edge_census(); // The sequence path itself codes the pyramid now // (lane-av1pyrdef), and prints what it requested and what the // content gate left effective. let (ours, ours_wall) = our_ladder(name, &source, cw, ch, fctx); + // lane-sse: the blocks the true frame edge cuts through, and how + // much of their RAW squared error sat in the padding the encoder + // invented past it -- what the inside-only score stopped ranking + // on. Empty on a superblock-aligned crop, which is every default + // gate row (class `gate-blind-to-feature`). + if edge_census() { + for (side, n, inside, padding) in take_edge_census() { + eprintln!( + "{name}: edge {side}x{side} scores={n} inside_sse={inside} \ + padding_sse={padding} ({:.1}% of raw)", + 100.0 * padding as f64 / (inside + padding).max(1) as f64, + ); + } + } // gate-blind-to-feature: what the screen tools actually did at // native resolution, over this clip's four encodes. let screen_on = SCREEN_FRAMES[1].load(std::sync::atomic::Ordering::Relaxed); diff --git a/crates/ec-av1/src/encoder.rs b/crates/ec-av1/src/encoder.rs index a8f5b641..c1e0b372 100644 --- a/crates/ec-av1/src/encoder.rs +++ b/crates/ec-av1/src/encoder.rs @@ -3204,6 +3204,56 @@ mod tests { } } + /// The 1080p SHAPE at a fifth of its size (lane-sse): 384x216 is three + /// whole superblock columns and 1.6875 superblock rows, so the bottom + /// 88-pixel band straddles at EVERY level -- the 64x64 root lane-b64b + /// already clipped, and the 32x32 (216 = 6*32 + 24) and 16x16 (13*16 + 8) + /// leaves it did not. Every one of them is now scored over its inside + /// part alone, and a distortion change that moved a partition or a + /// transform decision the writer did not follow would desync the tile, so + /// both decoders reconstruct it sample-exact. + #[test] + fn a_1080p_shaped_clip_straddles_at_every_block_size_and_decodes_sample_exact() { + let _knobs = crate::speed::knob_write(); + let _gate_lock = crate::stream::tests::lock_gate_counters(); + let (width, height) = (384usize, 216usize); + let sources: Vec = (0..3).map(|i| test_card(width, height, i)).collect(); + let config = EncoderConfig { + width, + height, + base_q_idx: 120, + gop: 8, + colour: Colour::Bt709Limited, + tile_cols_log2: 0, + tile_rows_log2: 0, + }; + let mut enc = Av1Encoder::new(config).unwrap(); + let mut stream = Vec::new(); + for packet in encode_all(&mut enc, &sources) { + stream.extend_from_slice(&packet.data); + } + let ours = crate::stream::decode_stream(&stream).expect("our decoder"); + assert_eq!(ours.len(), sources.len(), "our decoder's frames"); + if !have_ffmpeg() { + eprintln!("SKIP the ffmpeg half: no ffmpeg"); + return; + } + let theirs = ffmpeg_decode_luma(&stream, width, height); + assert_eq!(theirs.len(), sources.len(), "ffmpeg's frames"); + for (i, (ours_i, theirs_i)) in ours.iter().zip(&theirs).enumerate() { + let got: Vec = ours_i.y.iter().map(|&v| v as u8).collect(); + if let Some(at) = got.iter().zip(theirs_i).position(|(x, y)| x != y) { + panic!( + "frame {i}: luma differs first at ({}, {}): ours {} vs ffmpeg {}", + at % width, + at / width, + got[at], + theirs_i[at], + ); + } + } + } + /// A clip whose inter residual is HIGH-FREQUENCY (lane-b64b): every /// frame adds a 4-pixel checkerboard, so the 64x64 root's prediction is /// off by exactly the detail a TX_64X64 throws away (it codes only the diff --git a/lanes/sse-1080-after.log b/lanes/sse-1080-after.log new file mode 100644 index 00000000..31507c52 --- /dev/null +++ b/lanes/sse-1080-after.log @@ -0,0 +1,34 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=288 (100.0% of raw) +bars 1080p: edge 16x16 scores=3911 inside_sse=58676812 padding_sse=19548435 (25.0% of raw) +bars 1080p: edge 32x32 scores=22030 inside_sse=306104516 padding_sse=43773571 (12.5% of raw) +bars 1080p: edge 64x64 scores=8831 inside_sse=170331423 padding_sse=24328832 (12.5% of raw) +bars 1080p: pricer armings default=17 real=182 +bars 1080p: 64x64 roots 18649 (with a residual 13455, split luma 3328, compound 7665) +bars 1080p: motion_mode 32x32 SIMPLE=34617 OBMC=0 WARP=146 | 16x16 SIMPLE=5316 OBMC=0 WARP=364 | 8x8 SIMPLE=12757 OBMC=0 WARP=1643 (0.0% OBMC / 3.9% WARP of 54843 eligible) +bars 1080p: inter var-tx depths of 12742 blocks -- leaf single 0=1551 1=1206 (43.7% split) | leaf compound 0=1828 1=667 (26.7% split) | 32x32 single 0=680 1=1969 (74.3% split) | 32x32 compound 0=902 1=3939 (81.4% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 18678 (modes DC=4101 V=2750 H=3464 D157=5694 PAETH=2669) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads)) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "20"] frame 1 plane Y sample 4: our decoder decoded 80, ffmpeg 79 +| bars 1080p 1920x1080 | 44.08 dB/224463 B, 47.80 dB/335377 B, 51.16 dB/456394 B, 54.43 dB/601842 B | +8.7% | -4.1% | 43.8s:10.3s:23.7s | + +thread 'encode::tests::bd_rate_screen_native' (2340661) panicked at crates/ec-av1/src/encode.rs:15036:9: +1920x1080 does not fit in 1920x792 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 83.93s + +RC=101 diff --git a/lanes/sse-1080-before.log b/lanes/sse-1080-before.log new file mode 100644 index 00000000..50f044c8 --- /dev/null +++ b/lanes/sse-1080-before.log @@ -0,0 +1,34 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=288 (100.0% of raw) +bars 1080p: edge 16x16 scores=3911 inside_sse=58676812 padding_sse=19548435 (25.0% of raw) +bars 1080p: edge 32x32 scores=22030 inside_sse=306104516 padding_sse=43773571 (12.5% of raw) +bars 1080p: edge 64x64 scores=8831 inside_sse=170331423 padding_sse=24328832 (12.5% of raw) +bars 1080p: pricer armings default=17 real=182 +bars 1080p: 64x64 roots 18649 (with a residual 13455, split luma 3328, compound 7665) +bars 1080p: motion_mode 32x32 SIMPLE=34617 OBMC=0 WARP=146 | 16x16 SIMPLE=5316 OBMC=0 WARP=364 | 8x8 SIMPLE=12757 OBMC=0 WARP=1643 (0.0% OBMC / 3.9% WARP of 54843 eligible) +bars 1080p: inter var-tx depths of 12742 blocks -- leaf single 0=1551 1=1206 (43.7% split) | leaf compound 0=1828 1=667 (26.7% split) | 32x32 single 0=680 1=1969 (74.3% split) | 32x32 compound 0=902 1=3939 (81.4% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 18678 (modes DC=4101 V=2750 H=3464 D157=5694 PAETH=2669) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads)) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "20"] frame 1 plane Y sample 4: our decoder decoded 80, ffmpeg 79 +| bars 1080p 1920x1080 | 44.08 dB/224463 B, 47.80 dB/335377 B, 51.16 dB/456394 B, 54.43 dB/601842 B | +8.7% | -4.1% | 43.5s:9.9s:24.0s | + +thread 'encode::tests::bd_rate_screen_native' (2340664) panicked at crates/ec-av1/src/encode.rs:15036:9: +1920x1080 does not fit in 1920x792 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 83.71s + +RC=101 diff --git a/lanes/sse-4k-after.log b/lanes/sse-4k-after.log new file mode 100644 index 00000000..5f9b4525 --- /dev/null +++ b/lanes/sse-4k-after.log @@ -0,0 +1,58 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 2160p: edge 8x8 scores=5760 inside_sse=0 padding_sse=34972 (100.0% of raw) +bars 2160p: edge 16x16 scores=10080 inside_sse=36517083 padding_sse=89020200 (70.9% of raw) +bars 2160p: edge 32x32 scores=8838 inside_sse=6769810 padding_sse=4792852 (41.5% of raw) +bars 2160p: pricer armings default=18 real=195 +bars 2160p: 64x64 roots 56802 (with a residual 38900, split luma 8110, compound 27286) +bars 2160p: motion_mode 32x32 SIMPLE=93785 OBMC=0 WARP=446 | 16x16 SIMPLE=8556 OBMC=0 WARP=1350 | 8x8 SIMPLE=25942 OBMC=0 WARP=5253 (0.0% OBMC / 5.2% WARP of 135332 eligible) +bars 2160p: inter var-tx depths of 39419 blocks -- leaf single 0=4336 1=1851 (29.9% split) | leaf compound 0=9598 1=1722 (15.2% split) | 32x32 single 0=1168 1=3853 (76.7% split) | 32x32 compound 0=1026 1=15865 (93.9% split) +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 2160p: filter intra on=true blocks 79944 (modes DC=17941 V=11545 H=14793 D157=23635 PAETH=12030) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106 +| bars 2160p 3840x1608 | 42.90 dB/806220 B, 46.61 dB/1251296 B, 50.13 dB/1715735 B, 53.42 dB/2246249 B | +14.7% | -6.9% | 136.5s:21.1s:61.6s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film B (2160p HDR source): edge 8x8 scores=5760 inside_sse=0 padding_sse=165902 (100.0% of raw) +film B (2160p HDR source): edge 16x16 scores=11483 inside_sse=439629 padding_sse=1047490 (70.4% of raw) +film B (2160p HDR source): edge 32x32 scores=9276 inside_sse=1844054 padding_sse=2460517 (57.2% of raw) +film B (2160p HDR source): pricer armings default=19 real=193 +film B (2160p HDR source): 64x64 roots 50232 (with a residual 18867, split luma 5030, compound 23956) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=104624 OBMC=0 WARP=2460 | 16x16 SIMPLE=31905 OBMC=0 WARP=2334 | 8x8 SIMPLE=7335 OBMC=0 WARP=5319 (0.0% OBMC / 6.6% WARP of 153977 eligible) +film B (2160p HDR source): inter var-tx depths of 217071 blocks -- leaf single 0=35268 1=6425 (15.4% split) | leaf compound 0=84168 1=15864 (15.9% split) | 32x32 single 0=23231 1=17140 (42.5% split) | 32x32 compound 0=22427 1=12548 (35.9% split) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 57181 (modes DC=14938 V=7845 H=7920 D157=20637 PAETH=5841) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89 +| film B (2160p HDR source) 3840x1608 | 46.59 dB/131226 B, 47.90 dB/261390 B, 49.13 dB/519990 B, 50.27 dB/1252762 B | +35.8% | +17.6% | 224.1s:61.5s:53.6s | + +thread 'encode::tests::bd_rate_screen_native' (2514358) panicked at crates/ec-av1/src/encode.rs:13856:9: +8 reference ladder point(s) did not decode exactly through our decoder: +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 586.46s + +RC=101 diff --git a/lanes/sse-4k-before.log b/lanes/sse-4k-before.log new file mode 100644 index 00000000..2da905e5 --- /dev/null +++ b/lanes/sse-4k-before.log @@ -0,0 +1,58 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 2160p: edge 8x8 scores=5760 inside_sse=0 padding_sse=13759 (100.0% of raw) +bars 2160p: edge 16x16 scores=10086 inside_sse=36436700 padding_sse=88872804 (70.9% of raw) +bars 2160p: edge 32x32 scores=8736 inside_sse=6781157 padding_sse=4236165 (38.5% of raw) +bars 2160p: pricer armings default=18 real=195 +bars 2160p: 64x64 roots 56802 (with a residual 38900, split luma 8110, compound 27286) +bars 2160p: motion_mode 32x32 SIMPLE=93785 OBMC=0 WARP=446 | 16x16 SIMPLE=8556 OBMC=0 WARP=1350 | 8x8 SIMPLE=25942 OBMC=0 WARP=5253 (0.0% OBMC / 5.2% WARP of 135332 eligible) +bars 2160p: inter var-tx depths of 39419 blocks -- leaf single 0=4336 1=1851 (29.9% split) | leaf compound 0=9598 1=1722 (15.2% split) | 32x32 single 0=1168 1=3853 (76.7% split) | 32x32 compound 0=1026 1=15865 (93.9% split) +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 2160p: filter intra on=true blocks 79944 (modes DC=17941 V=11545 H=14793 D157=23635 PAETH=12030) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106 +| bars 2160p 3840x1608 | 42.90 dB/806220 B, 46.61 dB/1251296 B, 50.13 dB/1715735 B, 53.42 dB/2246249 B | +14.7% | -6.9% | 136.8s:20.9s:61.5s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film B (2160p HDR source): edge 8x8 scores=5760 inside_sse=0 padding_sse=160870 (100.0% of raw) +film B (2160p HDR source): edge 16x16 scores=11822 inside_sse=451847 padding_sse=1062028 (70.2% of raw) +film B (2160p HDR source): edge 32x32 scores=9636 inside_sse=1931899 padding_sse=2544818 (56.8% of raw) +film B (2160p HDR source): pricer armings default=19 real=193 +film B (2160p HDR source): 64x64 roots 50232 (with a residual 18867, split luma 5030, compound 23956) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=104624 OBMC=0 WARP=2460 | 16x16 SIMPLE=31905 OBMC=0 WARP=2334 | 8x8 SIMPLE=7335 OBMC=0 WARP=5319 (0.0% OBMC / 6.6% WARP of 153977 eligible) +film B (2160p HDR source): inter var-tx depths of 217071 blocks -- leaf single 0=35268 1=6425 (15.4% split) | leaf compound 0=84168 1=15864 (15.9% split) | 32x32 single 0=23231 1=17140 (42.5% split) | 32x32 compound 0=22427 1=12548 (35.9% split) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 57181 (modes DC=14938 V=7845 H=7920 D157=20637 PAETH=5841) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89 +| film B (2160p HDR source) 3840x1608 | 46.59 dB/131226 B, 47.90 dB/261390 B, 49.13 dB/519990 B, 50.27 dB/1252762 B | +35.8% | +17.6% | 221.5s:61.2s:53.7s | + +thread 'encode::tests::bd_rate_screen_native' (2514361) panicked at crates/ec-av1/src/encode.rs:13856:9: +8 reference ladder point(s) did not decode exactly through our decoder: +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 584.06s + +RC=101 diff --git a/lanes/sse-792-after.log b/lanes/sse-792-after.log new file mode 100644 index 00000000..5c504fab --- /dev/null +++ b/lanes/sse-792-after.log @@ -0,0 +1,60 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=3584 (100.0% of raw) +bars 1080p: edge 16x16 scores=51780 inside_sse=184517941 padding_sse=59682853 (24.4% of raw) +bars 1080p: edge 32x32 scores=33197 inside_sse=211907113 padding_sse=55299738 (20.7% of raw) +bars 1080p: pricer armings default=18 real=181 +bars 1080p: 64x64 roots 12879 (with a residual 9586, split luma 2622, compound 4902) +bars 1080p: motion_mode 32x32 SIMPLE=28351 OBMC=0 WARP=206 | 16x16 SIMPLE=3508 OBMC=0 WARP=417 | 8x8 SIMPLE=8284 OBMC=0 WARP=1909 (0.0% OBMC / 5.9% WARP of 42675 eligible) +bars 1080p: inter var-tx depths of 11113 blocks -- leaf single 0=1442 1=1124 (43.8% split) | leaf compound 0=1651 1=523 (24.1% split) | 32x32 single 0=599 1=1537 (72.0% split) | 32x32 compound 0=803 1=3434 (81.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 16456 (modes DC=3638 V=2376 H=2911 D157=5027 PAETH=2504) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads)) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106 +| bars 1080p 1920x792 | 42.60 dB/220495 B, 46.34 dB/337918 B, 49.79 dB/467682 B, 53.10 dB/613770 B | +14.0% | +1.4% | 37.3s:6.4s:17.8s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film A (1080p source): edge 8x8 scores=960 inside_sse=0 padding_sse=52870 (100.0% of raw) +film A (1080p source): edge 16x16 scores=75698 inside_sse=29785412 padding_sse=9999651 (25.1% of raw) +film A (1080p source): edge 32x32 scores=44740 inside_sse=161811991 padding_sse=44523877 (21.6% of raw) +film A (1080p source): pricer armings default=20 real=214 +film A (1080p source): 64x64 roots 9300 (with a residual 6033, split luma 3003, compound 3636) +film A (1080p source): motion_mode 32x32 SIMPLE=35555 OBMC=0 WARP=1204 | 16x16 SIMPLE=18196 OBMC=0 WARP=1332 | 8x8 SIMPLE=4419 OBMC=0 WARP=871 (0.0% OBMC / 5.5% WARP of 61577 eligible) +film A (1080p source): inter var-tx depths of 84624 blocks -- leaf single 0=13801 1=2731 (16.5% split) | leaf compound 0=32683 1=6521 (16.6% split) | 32x32 single 0=7280 1=5899 (44.8% split) | 32x32 compound 0=9695 1=6014 (38.3% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 22070 (modes DC=5417 V=3501 H=3992 D157=6271 PAETH=2889) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50 +| film A (1080p source) 1920x792 | 44.35 dB/79716 B, 45.88 dB/131827 B, 47.08 dB/223892 B, 48.33 dB/525372 B | +36.1% | +7.4% | 84.9s:11.5s:17.6s | + +thread 'encode::tests::bd_rate_screen_native' (2413136) panicked at crates/ec-av1/src/encode.rs:13856:9: +9 reference ladder point(s) did not decode exactly through our decoder: +libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads)) +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 184.43s + +RC=101 diff --git a/lanes/sse-792-before.log b/lanes/sse-792-before.log new file mode 100644 index 00000000..6ce3fdd9 --- /dev/null +++ b/lanes/sse-792-before.log @@ -0,0 +1,60 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=3008 (100.0% of raw) +bars 1080p: edge 16x16 scores=51332 inside_sse=185146766 padding_sse=59712033 (24.4% of raw) +bars 1080p: edge 32x32 scores=32964 inside_sse=213557850 padding_sse=55647550 (20.7% of raw) +bars 1080p: pricer armings default=18 real=180 +bars 1080p: 64x64 roots 12879 (with a residual 9602, split luma 2617, compound 4860) +bars 1080p: motion_mode 32x32 SIMPLE=28380 OBMC=0 WARP=215 | 16x16 SIMPLE=3709 OBMC=0 WARP=512 | 8x8 SIMPLE=7417 OBMC=0 WARP=2039 (0.0% OBMC / 6.5% WARP of 42272 eligible) +bars 1080p: inter var-tx depths of 11230 blocks -- leaf single 0=1546 1=1179 (43.3% split) | leaf compound 0=1640 1=522 (24.1% split) | 32x32 single 0=599 1=1531 (71.9% split) | 32x32 compound 0=807 1=3406 (80.8% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 16212 (modes DC=3662 V=2406 H=2859 D157=4771 PAETH=2514) +LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads)) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106 +| bars 1080p 1920x792 | 42.60 dB/220445 B, 46.34 dB/338256 B, 49.78 dB/467568 B, 53.10 dB/611693 B | +14.0% | +1.5% | 36.8s:6.4s:17.8s | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film A (1080p source): edge 8x8 scores=960 inside_sse=0 padding_sse=51397 (100.0% of raw) +film A (1080p source): edge 16x16 scores=75977 inside_sse=30141822 padding_sse=10212135 (25.3% of raw) +film A (1080p source): edge 32x32 scores=44824 inside_sse=163228694 padding_sse=44888695 (21.6% of raw) +film A (1080p source): pricer armings default=20 real=215 +film A (1080p source): 64x64 roots 9339 (with a residual 6029, split luma 3036, compound 3676) +film A (1080p source): motion_mode 32x32 SIMPLE=35490 OBMC=0 WARP=1226 | 16x16 SIMPLE=17812 OBMC=0 WARP=1407 | 8x8 SIMPLE=4222 OBMC=0 WARP=810 (0.0% OBMC / 5.6% WARP of 60967 eligible) +film A (1080p source): inter var-tx depths of 84796 blocks -- leaf single 0=13860 1=2663 (16.1% split) | leaf compound 0=32810 1=6546 (16.6% split) | 32x32 single 0=7276 1=5925 (44.9% split) | 32x32 compound 0=9685 1=6031 (38.4% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 22531 (modes DC=5579 V=3482 H=4021 D157=6558 PAETH=2891) +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46 +LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50 +| film A (1080p source) 1920x792 | 44.35 dB/79563 B, 45.87 dB/132071 B, 47.08 dB/223693 B, 48.33 dB/525562 B | +36.2% | +7.5% | 85.2s:11.5s:17.7s | + +thread 'encode::tests::bd_rate_screen_native' (2413139) panicked at crates/ec-av1/src/encode.rs:13856:9: +9 reference ladder point(s) did not decode exactly through our decoder: +libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads)) +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106 +librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63 +librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49 +librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46 +librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 184.38s + +RC=101 diff --git a/lanes/sse-suite.log b/lanes/sse-suite.log new file mode 100644 index 00000000..2a72aea4 --- /dev/null +++ b/lanes/sse-suite.log @@ -0,0 +1,663 @@ + +running 608 tests +test bits::tests::su_roundtrip ... ok +test bits::tests::delta_q_roundtrip ... ok +test bits::tests::uvlc_roundtrip ... ok +test cdf::tests::eob_pt_class1_rows_cover_every_size ... ok +test bits::tests::ns_roundtrip ... ok +test bits::tests::leb128_roundtrip ... ok +test cdf_state::tests::the_luma_end_of_block_table_is_shared_and_chromas_is_not ... ok +test cdf::tests::inter_frame_tables_are_well_formed_cdfs ... ok +test cdf::tests::inter_frame_tables_have_the_spec_alphabet_size ... ok +test cdf_state::tests::the_mv_components_are_separate_and_do_not_share_adaptation ... ok +test cdf_state::tests::the_sign_tables_are_shared_within_a_plane_type_and_not_across ... ok +test cdf_state::tests::the_state_starts_at_the_defaults ... ok +test bits::tests::le_roundtrip ... ok +test compound::tests::zero_distance_reference_takes_the_index_3_row ... ok +test decode::tests::a_frame_with_no_mode_info_grid_is_refused ... ok +test compound::tests::weights_always_sum_to_sixteen ... ok +test cdf_state::tests::the_two_luma_sets_share_the_base_range_table ... ok +test decode::every_intra_in_inter_shape_the_census_lists_has_a_size_group_row ... ok +test compound::tests::equidistant_references_pick_the_first_weight_row ... ok +test decode::every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan ... ok +test decode::a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered ... ok +test decode::every_shape_that_allows_motion_variation_has_a_motion_mode_cdf_row ... ok +test decode::size_group_wh_matches_libaom_size_group_lookup ... ok +test bits::tests::trailing_bits_and_byte_alignment_are_byte_aligned ... ok +test decode::sub_tx_size_map_matches_libaom ... ok +test decode::tests::a_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing ... ok +test decode::tests::a_rect_strip_below_16x16_reads_its_own_filter_intra_cdf_row ... ok +test decode::tests::a_selected_reference_with_an_empty_ref_frame_idx_slot_refuses_by_name ... ok +test decode::tests::an_inter_chroma_transform_narrows_its_inherited_tx_type_to_its_own_set ... ok +test decode::tests::base_ctx_rect_offsets_match_the_transcribed_tables_over_the_whole_domain ... ok +test decode::tests::cdef_gather_and_shifted_constrain_match_the_spec_forms ... ok +test decode::tests::compound_mode_ctx_map_matches_libaom_corners ... ok +test decode::tests::an_obmc_neighbour_with_no_recorded_filter_refuses_instead_of_panicking ... ok +test decode::tests::a_sub16_leaf_after_a_palette_block_yields_palette_ctx_zero ... ok +test decode::tests::a_nearmv_block_predicts_from_the_stacks_second_candidate ... ok +test decode::tests::a_skipped_block_decodes_to_pure_prediction ... ok +test decode::tests::cdef_find_dir_matches_the_per_sample_reference ... ok +test decode::tests::flat_taps_match_the_row_col_neighbour_reads ... ok +test decode::tests::every_inter_record_publishes_an_obmc_readable_filter ... ok +test decode::tests::filter_intra_classes_carry_their_own_libaom_default_row ... ok +test decode::tests::is_uni_comp_ref_matches_forward_backward_sides ... ok +test decode::tests::narrowed_publish_surface_keeps_neighbour_semantics ... ok +test decode::tests::padded_level_buffers_cover_every_neighbour_read_at_every_transform_size ... ok +test decode::tests::a_key_frames_tile_needs_the_headers_own_tx_select_bit ... ok +test decode::tests::record_compound_ctx_stamps_ref1_for_the_next_block_to_read ... ok +test decode::tests::scan_8x4_and_4x8_are_not_transposed_against_each_other ... ok +test decode::tests::the_rect4_scans_are_transposed_pairs ... ok +test decode::tx4x8_table_tests::the_32_position_eob_tables_are_well_formed ... ok +test decode::tx4x8_table_tests::the_rect_4x8_scans_are_each_other_transposed ... ok +test decode::tx4x8_table_tests::the_rect_class1_scans_match_libaom ... ok +test decode::tx4x8_table_tests::the_sub8_rect_reach_tables_are_shape_specific ... ok +test decode::tests::deblock_simd_kernel_matches_the_scalar_filter ... ok +test decode::tests::a_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test encode::tests::a_block_the_frame_edge_cuts_is_scored_over_its_inside_only ... ok +test encode::tests::a_flat_picture_costs_almost_nothing ... ok +test encode::tests::a_frame_of_real_video_decodes_to_what_the_encoder_reconstructed ... ok +test decode::tests::an_odd_size_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test decode::tests::real_yuv_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test encode::tests::a_mode_the_encoder_cannot_predict_is_refused ... ok +test encode::tests::a_picture_off_the_block_grid_encodes_and_a_malformed_one_is_refused ... ok +test decode::tests::every_intra_mode_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test decode::tests::cdef_simd_kernel_matches_the_scalar_filter ... ok +test decode::tests::a_filter_intra_key_frame_decodes_pixel_exact_through_ffmpeg ... ok +test decode::tests::ffmpeg_and_this_decoder_agree_on_a_gop ... ok +test decode::tests::leaf8_straddle_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok +test encode::tests::bd_rate_film_long_gop ... ignored, the long-GOP native BD arm: ~7 minutes per film row, needs ffmpeg +test encode::tests::bd_rate_screen_native ... ignored, the native-resolution BD arm: minutes per row, needs ffmpeg +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ignored, the encoder BD-rate baseline: minutes per clip, needs ffmpeg +test encode::tests::calibration_sweep_base_q_idx ... ignored, a calibration probe, not a gate +test decode::tests::ffmpeg_and_this_decoder_agree_on_a_key_frame ... ok +test encode::tests::a_640x360_half_straddle_sequence_round_trips_through_ffmpeg ... ok +test encode::tests::a_640x360_half_straddle_round_trips_through_ffmpeg_across_three_frames ... ok +test encode::tests::every_rect_shape_reaches_what_libaom_says_over_the_whole_superblock ... ok +test decode::tests::odd_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok +test encode::tests::a_frame_round_trips_at_its_own_size ... ok +test encode::tests::a_nearestmv_block_with_one_nonzero_coefficient_decodes_clean ... ok +test encode::tests::a_repeated_pattern_key_frame_codes_intrabc_blocks_ffmpeg_decodes_exactly ... ok +test encode::tests::every_mode_decodes_to_what_the_encoder_predicted ... ok +test encode::tests::odd_dimensions_are_refused ... ok +test encode::tests::of_tu_follows_the_block_row_including_under_vert_ab ... ok +test encode::tests::of_tu_matches_libaom_has_top_right_and_has_bottom_left_per_unit ... ok +test encode::tests::every_frame_of_a_sequence_decodes_through_our_own_decoder ... ok +test encode::tests::pricer_error_census_on_clips ... ignored, reads the real library, needs ffmpeg +test encode::tests::probe_directional ... ignored, a sweep, not a gate +test encode::tests::probe_intrabc_key_frame ... ignored, needs the real-library manifest and ffmpeg +test encode::tests::probe_ladder ... ignored, a sweep, not a gate +test encode::tests::probe_lambda ... ignored, a sweep, not a gate +test encode::tests::probe_parity_point ... ignored, diagnostic: needs ffmpeg and a clip +test encode::tests::probe_screen_detect ... ignored, reads the real library +test encode::tests::probe_screen_library ... ignored, reads the real library +test encode::tests::probe_split ... ignored, a sweep, not a gate +test encode::tests::prune_k_quality_sweep ... ignored, needs real clips and ffmpeg; prints numbers for the lane report to judge +test encode::tests::prune_k_quality_sweep_inter ... ignored, needs real clips and ffmpeg; prints numbers for the lane report to judge +test encode::tests::reach_matches_libaom_has_top_right_and_has_bottom_left ... ok +test encode::tests::key_frame_and_inter_frame_both_encode_at_half_straddle_size ... ok +test encode::tests::predicted_coeff_bits_track_the_tile_the_writer_wrote ... ok +test encode::tests::rect_reach_tables_are_indexed_with_a_32_mi_row_stride ... ok +test encode::tests::sequence_bench_sanity ... ignored, a perf probe, not a gate +test encode::tests::low_motion_makes_an_inter_frame_smaller_than_the_key_frame ... ok +test encode::tests::stage_timing_breakdown ... ignored, a perf probe, not a gate +test encode::tests::stage_timing_breakdown_inter ... ignored, a perf probe, not a gate +test encode::tests::pricer_error_census_by_block_class ... ok +test encode::tests::the_encoded_picture_is_the_one_that_went_in ... ok +test encode::tests::a_single_axis_straddle_round_trips_through_ffmpeg ... ok +test encode::tests::every_frame_of_a_sequence_decodes_to_what_the_encoder_reconstructed ... ok +test encode::tests::fidelity_and_rate_move_with_the_quantizer ... ok +test encode::tests::the_filter_search_picks_real_filters ... ok +test encode::tests::sequence_round_trips_at_a_non_multiple_size ... ok +test encode::tests::an_854x480_picture_round_trips_through_its_padding ... ok +test encode::tests::the_diagonals_beat_the_modes_that_read_no_further ... ok +test encode::tests::tpl_factors_are_flat_on_a_uniform_repeat_and_fall_where_the_window_leans ... ok +test encode::tests::tpl_intra_denominator_histogram ... ignored, needs ffmpeg and the film fixtures +test encode::tests::vert_ab_partition_flips_below_left_for_the_top_right_8x8 ... ok +test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ... ignored, 1080p encode: minutes, run it with --ignored +test encode::tests::a_screen_content_picture_codes_palette_blocks_ffmpeg_decodes_exactly ... ok +test encode::tests::ffmpeg_decodes_exactly_what_the_encoder_reconstructed ... ok +test encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins ... ok +test encode::tests::a_sequence_round_trips_at_the_exactly_half_straddle_size ... ok +test encode::tests::real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size ... ok +test encode::tests::real_clip_encodes_within_its_quality_and_size_budget ... ok +test encode::tests::the_final_filter_replay_matches_the_capture_decode_at_odd_sizes ... ok +test encode::tests::the_probe_arms_the_gates_source ... ok +test encode::tests::the_search_picks_the_diagonal_the_picture_runs ... ok +test encode::tests::the_search_picks_the_direction_the_picture_runs ... ok +test encoder::tests::a_1080p_shaped_clip_straddles_at_every_block_size_and_decodes_sample_exact ... ok +test encoder::tests::a_crossfade_clip_codes_a_compound_64x64_root_and_decodes_sample_exact ... ok +test encoder::tests::a_dc_stepped_clip_codes_a_64x64_residual_and_decodes_sample_exact ... ok +test encoder::tests::a_four_level_pyramid_stream_decodes_in_display_order ... ok +test encoder::tests::every_speed_preset_decodes_sample_exact_through_both_decoders ... ignored, sets the process-global speed preset: run it alone +test encoder::tests::a_high_frequency_clip_splits_the_64x64_roots_luma_and_decodes_sample_exact ... ok +test encoder::tests::a_non_superblock_aligned_clip_codes_edge_64x64_roots_and_decodes_sample_exact ... ok +test encoder::tests::a_pyramid_stream_decodes_in_display_order_through_both_decoders ... ok +test encoder::tests::a_static_clip_codes_64x64_roots_and_decodes_sample_exact ... ok +test encoder::tests::filter_stage_wall_1080p ... ignored, wall measurement: minutes, run it with --ignored --nocapture +test encoder::tests::filter_stage_wall_4k ... ignored, wall measurement: minutes, run it with --ignored --nocapture +test encoder::tests::filter_stage_wall_film ... ignored, wall measurement: minutes, run it with --ignored --nocapture +test encoder::tests::a_three_level_pyramid_stream_decodes_in_display_order ... ok +test encoder::tests::filter_stage_bytes_do_not_depend_on_the_thread_count ... ok +test encoder::tests::geometry_mismatch_is_refused ... ok +test encoder::tests::one_in_one_out_delayed_by_the_lookahead_depth ... ok +test encode::tests::the_search_beats_dc_alone ... ok +test encoder::tests::bt709_limited_colour_is_reported_by_ffprobe ... ok +test encoder::tests::gop_cadence_is_honored ... ok +test encoder::tests::the_mini_gop_layout_leaves_no_short_tail ... ok +test encoder::tests::bt601_limited_colour_is_reported_by_ffprobe ... ok +test encoder::tests::the_key_q_offset_reaches_the_key_frame ... ok +test encoder::tests::the_content_gate_keeps_screen_streams_flat ... ok +test encoder::tests::tile_search_wall_1080p ... ignored, wall measurement: minutes, run it with --ignored --nocapture +test encoder::tests::tile_search_wall_4k ... ignored, wall measurement: minutes, run it with --ignored --nocapture +test encoder::tests::tile_wall_table_at_1080p ... ignored, 1080p wall table: minutes, run it with --ignored +test encoder::tests::thirty_pictures_at_gop_fifteen_decode_to_two_key_frames ... ok +test envflags::tests::snapshot_matches_process_env ... ok +test film_grain::grain2_tests::untouched_planes_and_ragged_tail_come_back_clean ... ok +test film_grain::perf5_tests::simd_matches_scalar_chroma_noise_row ... ok +test film_grain::perf5_tests::simd_matches_scalar_luma_noise_row ... ok +test film_grain::ragged_grain_tests::ragged_overlap_tail_matches_spec_reference ... ok +test filter_search::tests::unit_sse_matches_the_naive_sum ... ok +test frame::tests::four_tile_columns_roundtrip ... ok +test frame::tests::key_and_inter_frames_roundtrip ... ok +test frame::tests::key_frame_header_roundtrips ... ok +test frame::tests::loop_restoration_roundtrips_with_its_own_type_codes ... ok +test frame::tests::segmentation_and_delta_q_roundtrip ... ok +test frame::tests::unsupported_frames_are_refused_by_name ... ok +test gate_coverage::tests::default_on_tools_do_not_duplicate_the_universe ... ok +test gate_coverage::tests::every_gate_disabling_a_tool_is_a_listed_coverage_hole ... ok +test gate_coverage::tests::never_exercised_10bit_matches_the_gate_recipes ... ok +test gate_coverage::tests::never_exercised_8bit_matches_the_gate_recipes ... ok +test gate_coverage::tests::never_on_10bit_matches_the_gate_recipes ... ok +test gate_coverage::tests::never_on_8bit_matches_the_gate_recipes ... ok +test gate_coverage::tests::print_never_exercised_per_bit_depth ... ok +test gate_coverage::tests::print_never_on_per_bit_depth ... ok +test gate_coverage::tests::tool_settings_reads_whole_flags ... ok +test intra::tests::filter_intra_matches_the_libaom_predictor_for_every_mode_and_shape ... ok +test intra::tests::rect_predictors_match_c_dump ... ok +test mc::compound_intermediate_whole_pel_identity_round_trips_through_combine ... ok +test mc::tests::a_narrow_block_reads_the_regular_four_tap_kernel_under_every_sharpness ... ok +test mc::tests::constant_plane_has_unit_dc_gain_at_every_subpel_position ... ok +test mc::tests::half_pel_reproduces_the_ramp_midpoint ... ok +test mc::tests::horizontal_and_vertical_only_filtering_differ ... ok +test mc::tests::horizontal_intermediate_fits_i16 ... ok +test mc::tests::integer_mv_is_identity ... ok +test mc::tests::mv_past_the_edge_clamps_instead_of_panicking ... ok +test mc::tests::predict_scaled_at_no_scale_matches_predict_with_filters ... ok +test mc::tests::simd_matches_scalar_horizontal_pass ... ok +test mc::tests::simd_matches_scalar_vertical_pass ... ok +test mc::tests::smooth_filter_matches_aomdec_chroma_inter_block ... ok +test mc::tests::whole_pel_horizontal_matches_the_two_pass_form ... ok +test motion::tests::cost_is_monotone_non_increasing_over_the_search ... ok +test motion::tests::finds_exact_integer_translation_all_four_signs ... ok +test motion::tests::finds_half_pel_translation ... ok +test motion::tests::mv_bits_prices_a_larger_residual_higher ... ok +test motion::tests::sweep_initial_step ... ok +test motion_field::tests::an_unprojected_tpl_cell_reads_as_none_but_a_zero_mv_one_does_not ... ok +test motion_field::tests::force_integer_mv_rounds_a_projected_candidate_to_full_pel ... ok +test motion_field::tests::mv_projection_scales_by_the_distance_ratio ... ok +test motion_field::tests::probe_cell_matches_the_spec_parity_derivation ... ok +test motion_field::tests::relative_dist_wraps_at_order_hint_bits ... ok +test motion_field::tests::setup_motion_field_projects_last_frame_forward ... ok +test msac::tests::adaptive_symbols_roundtrip ... ok +test msac::tests::bulk_bit_reads_match_the_per_bit_form ... ok +test msac::tests::empty_payload_is_short ... ok +test msac::tests::fast_paths_match_the_spec_literal_walk ... ok +test msac::tests::literals_roundtrip ... ok +test msac::tests::mixed_symbols_and_literals_roundtrip ... ok +test msac::tests::skewed_symbols_cost_less_than_a_bit ... ok +test msac::tests::the_bit_account_matches_the_bytes_written ... ok +test mvstack::tests::a_candidate_far_outside_the_frame_is_clamped_to_it ... ok +test mvstack::tests::a_corner_only_match_raises_new_mv_ctx_even_when_nearest_match_is_zero ... ok +test mvstack::tests::a_diagonal_corner_match_raises_ref_mv_ctx_past_nearest_match ... ok +test mvstack::tests::a_missing_compound_combine_slot_takes_that_sides_global_mv_not_zero ... ok +test mvstack::tests::a_neighbour_coded_newmv_raises_the_new_mv_context ... ok +test mvstack::tests::a_wider_neighbour_than_the_query_block_gets_libaoms_real_weight ... ok +test mvstack::tests::all_same_mv_neighbourhood_dedupes_to_one_entry ... ok +test mvstack::tests::clamp_mv_ref_window_is_signed_at_the_frame_bottom_edge ... ok +test mvstack::tests::combine_compound_candidates_zips_ref_id_then_ref_diff_per_side ... ok +test mvstack::tests::comp_reference_type_ctx_bidir_bidir_is_zero ... ok +test mvstack::tests::comp_reference_type_ctx_intra_intra_is_two ... ok +test mvstack::tests::comp_reference_type_ctx_no_edges_is_two ... ok +test mvstack::tests::comp_reference_type_ctx_single_single ... ok +test mvstack::tests::comp_reference_type_ctx_unidir_unidir ... ok +test mvstack::tests::compound_dedupes_same_pair_and_sums_weight ... ok +test mvstack::tests::compound_extension_pass_tops_up_a_short_stack ... ok +test mvstack::tests::compound_scan_only_matches_the_exact_pair ... ok +test mvstack::tests::compound_two_distinct_pairs_sort_by_weight ... ok +test mvstack::tests::extended_col_scan_is_a_no_op_at_8mi_geometry_even_behind_an_intra_neighbour ... ok +test mvstack::tests::extended_row_scan_is_a_no_op_at_8mi_geometry_behind_an_inter_neighbour ... ok +test mvstack::tests::extended_row_scan_is_a_no_op_at_8mi_geometry_even_behind_an_intra_neighbour ... ok +test mvstack::tests::mi_info_cell_stays_compact ... ok +test mvstack::tests::mi_info_stays_small_enough_for_a_4k_grid ... ok +test mvstack::tests::mi_units_outside_the_tile_contribute_nothing ... ok +test mvstack::tests::process_compound_ref_mv_candidate_splits_exact_vs_borrowed ... ok +test mvstack::tests::reference_mode_ctx_compound_compound_is_four ... ok +test mvstack::tests::reference_mode_ctx_no_edges_is_one ... ok +test mvstack::tests::reference_mode_ctx_single_and_compound ... ok +test mvstack::tests::reference_mode_ctx_single_single ... ok +test mvstack::tests::single_ref_ctx_matches_libaoms_collapsed_forward_only_case ... ok +test mvstack::tests::the_ninth_distinct_candidate_is_dropped_at_insertion_not_after_sorting ... ok +test mvstack::tests::the_row_reach_is_clamped_to_the_tile_origin_not_the_frame_edge ... ok +test mvstack::tests::transposing_above_and_left_produces_a_different_stack ... ok +test mvstack::tests::two_distinct_neighbour_mvs_yield_two_entries_in_weight_order ... ok +test mvstack::tests::uni_comp_ref_p1_ctx_matches_ref_ctx_shape ... ok +test obu::tests::obu_header_extension_roundtrip ... ok +test obu::tests::obu_header_plain_roundtrip ... ok +test obu::tests::temporal_delimiter_is_two_bytes ... ok +test obu::tests::wrap_obu_size_field_matches_payload ... ok +test quant::tests::buffered_dequant_matches_the_per_coefficient_form ... ok +test quant::tests::denominator_follows_the_area ... ok +test quant::tests::dequant_is_symmetric_in_sign ... ok +test quant::tests::table_anchors ... ok +test refusal_inventory::tests::capability_claims_are_declared_not_scattered ... ok +test refusal_inventory::tests::every_intra_mode_symbol_of_the_y_mode_alphabet_is_coded ... ok +test refusal_inventory::tests::every_partition_value_of_an_enumerated_alphabet_has_an_arm ... ok +test refusal_inventory::tests::every_partition_value_of_an_if_chain_alphabet_is_named_by_a_branch ... ok +test refusal_inventory::tests::every_proven_refusal_names_a_test_that_exists ... ok +test refusal_inventory::tests::every_read_intra_mode_call_site_hands_the_reader_a_palette_cache ... ok +test refusal_inventory::tests::every_rect_strip_shape_the_split_path_codes_has_a_luma_and_chroma_table ... ok +test refusal_inventory::tests::every_tx_type_symbol_of_every_cdf_width_maps_into_its_own_set ... ok +test refusal_inventory::tests::gates_that_swallow_a_decode_error_are_declared ... ok +test refusal_inventory::tests::no_128_root_half_reads_a_cfl_filter_intra_or_palette_symbol ... ok +test refusal_inventory::tests::no_block_footprint_with_a_128_pixel_side_can_carry_palette_syntax ... ok +test refusal_inventory::tests::read_golomb_reads_every_value_a_conformant_stream_can_carry ... ok +test refusal_inventory::tests::the_decode_path_refuses_exactly_the_listed_cases ... ok +test restoration::tests::signed_subexp_with_ref_roundtrips ... ok +test restoration::tests::subexp_roundtrips_every_value ... ok +test restoration::tests::unsigned_subexp_with_ref_roundtrips ... ok +test restoration::tests::wiener_filter_roundtrips ... ok +test sequence::tests::sequence_header_obu_size_matches_payload ... ok +test sequence::tests::sequence_header_roundtrip ... ok +test speed::tests::presets_are_monotone_in_speed ... ok +test speed::tests::speed_zero_disables_nothing ... ok +test encoder::tests::filter_replay_final_matches_the_capture_decode ... ok +test stream::tests::a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact ... ok +test encoder::tests::the_rate_loop_prices_the_frames_the_pyramid_codes ... ok +test encoder::tests::bytes_per_frame_controller_never_oscillates_past_its_clamp ... ok +test stream::tests::a_10bit_film_frames_with_rect64_corner_tus_decode_pixel_exact ... ok +test stream::tests::a_10bit_film_frames_with_small_side_globalmv_and_rect_warp_reach_decode_pixel_exact ... ok +test encoder::tests::quality_target_is_monotone_in_bytes_and_psnr ... ok +test encoder::tests::filter_replay_codes_the_same_stream_as_a_full_decode ... ok +test stream::tests::a_10bit_key_frame_with_skipped_8x8_intra_leaves_that_split_their_transform_decodes_luma_exact ... ok +test stream::tests::a_128_superblock_stream_whose_skipped_blocks_are_var_tx_decodes_pixel_exact ... ok +test stream::tests::a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact ... ok +test stream::tests::a_10bit_film_hidden_arf_with_split_superblock_strips_decodes_pixel_exact ... ok +test stream::tests::a_frame_obu_that_parses_always_carries_at_least_one_tile ... ok +test stream::tests::a_frame_whose_segmentation_overrides_a_block_mode_is_refused_by_name ... ok +test encoder::tests::bytes_per_frame_target_settles_within_20_percent ... ok +test stream::tests::a_10bit_film_frames_with_frame_edge_mv_clamping_decode_pixel_exact ... ok +test stream::tests::a_hand_built_golden_reference_decodes_pixel_exact_against_ffmpeg ... ok +test stream::tests::a_block_shape_census_over_three_real_streams_leaves_the_rect_residual_refusal_unreachable ... ok +test stream::tests::a_directional_16x8_strip_reads_the_right_above_right_samples ... ok +test stream::tests::a_lossless_libaom_key_frame_decodes_sample_exact ... ok +test stream::tests::a_libaom_screen_stream_with_sub8_groups_beside_palette_blocks_decodes_exact ... ok +test stream::tests::a_libaom_stream_with_128_intra_blocks_in_inter_frames_decodes_exact ... ok +test encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence ... ok +test stream::tests::a_libaom_force_integer_mv_stream_decodes_exact ... ok +test stream::tests::a_real_aomenc_10bit_film_grain_stream_decodes_pixel_exact ... ok +test stream::tests::a_lossless_libaom_inter_frame_decodes_sample_exact ... ok +test encoder::tests::every_tile_layout_decodes_sample_exact_through_both_decoders ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_class1_chroma_eob_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok +test stream::tests::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_intra_tools_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_rect_and_ab_partitions_decode_pixel_exact ... ok +test encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames has been running for over 60 seconds +test stream::tests::a_frame_edge_straddling_band_decodes_pixel_exact ... ok +test stream::tests::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag ... ok +test stream::tests::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_restoration_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_affine_global_motion_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_compound_mv_stack_at_128_superblocks_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_a_32_level_ab_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_superres_stream_decodes_pixel_exact ... ok +test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count has been running for over 60 seconds +test encoder::tests::zero_gop_is_refused has been running for over 60 seconds +test stream::tests::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_aq_segmentation_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_interintra_wedge_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_altref_sequence_hidden_frames_decode_pixel_exact ... ok +test stream::tests::a_real_aomenc_filter_intra_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_dual_filter_obmc_8x8_inter_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_band_stream_seed46_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_both_axes_cut_corner_block_decodes_pixel_exact ... ok +test encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames ... ok +test stream::tests::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact ... ok +test stream::tests::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_class1_chroma_eob_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_compound_mv_stack_with_temporal_mvs_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_golden_reference_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_across_tile_columns_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact ... ignored, gate recipe never fires the feature (40/40 streams pixel-exact); needs a recipe that produces a 32-level intra 1:4 strip in an inter frame -- class gate-blind-to-feature +test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact_10bit ... ignored, gate recipe never fires the feature (40/40 streams pixel-exact); needs a recipe that produces a 32-level intra 1:4 strip in an inter frame -- class gate-blind-to-feature +test stream::tests::a_real_aomenc_inter_sequence_with_128x128_superblocks_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact ... ok +test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count ... ok +test encoder::tests::zero_gop_is_refused ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact_10bit ... ok +test stream::tests::a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_intra_stream_with_tx_select_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual ... ok +test stream::tests::a_real_aomenc_min8_stream_with_tx_class1_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_key_and_inter_superres_sequence_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_palette_stream_decodes_pixel_exact_at_8_and_10_bit ... ok +test stream::tests::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_multi_tile_inter_stream_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_multi_tile_intra_10bit_stream_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_multi_tile_palette_stream_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_rect_strip_palette_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_key_and_inter_superres_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_screen_stream_with_palette_blocks_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips ... ok +test stream::tests::a_real_aomenc_multi_tile_inter_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_multi_tile_intra_10bit_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_multi_tile_palette_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok +test stream::tests::a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact ... ok +test stream::tests::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_sb128_stream_whose_skipped_cfl_and_1to4_chroma_pairs_decode_pixel_exact ... ok +test stream::tests::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_whose_chroma_edge_filter_reads_a_sub16_neighbours_uv_mode_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_whose_square_block_reads_a_sub16_neighbours_mode_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_32_level_ab_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_32_level_ab_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_bwdref_reference_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_bwdref_reference_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_sub8_rect_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_sub8_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact ... ignored, gate recipe never fires the feature (40/40 streams pixel-exact); needs a recipe that produces a rect64 dequant call with CURRENT_Q_IDX != base_q_idx -- class gate-blind-to-feature +test stream::tests::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_last2_reference_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_last3_reference_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_last2_reference_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_last3_reference_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_cdef_and_sub16_inter_leaves_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_directional_chroma_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_film_grain_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_1to4_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub8_rect_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_four_tile_columns_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_ab_partitions_below_16x16_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_four_tile_rows_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_an_altref2_reference_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_an_altref_reference_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_non_uniform_tile_spacing_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_cdef_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_palette_uv_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_palette_y_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_several_tile_group_obus_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_skipped_rect_inter_strips_keeps_the_cdef_skip_band ... ok +test stream::tests::a_real_aomenc_stream_with_smooth_luma_neighbour_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_smooth_paeth_chroma_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_columns_and_an_inter_frame_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_columns_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_columns_decodes_through_decode_stream ... ok +test stream::tests::a_real_aomenc_stream_with_interintra_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_through_decode_stream ... ok +test stream::tests::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm ... ok +test stream::tests::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_obmc_8x8_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_obmc_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_reference_select_reads_comp_mode_correctly has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_obmc_8x8_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_obmc_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_temporal_mvs_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_two_tile_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact ... ok +test stream::tests::a_real_film_key_frame_with_a_skipped_cfl_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_warped_motion_refuses_or_matches has been running for over 60 seconds +test stream::tests::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_reference_select_reads_comp_mode_correctly ... ok +test stream::tests::a_real_libaom_cfl_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_libaom_gradients_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_libaom_gradients_stream_with_cdef_decodes_pixel_exact ... ok +test stream::tests::a_real_libaom_stream_with_adst_decodes_end_to_end ... ok +test stream::tests::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour ... ok +test stream::tests::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly ... ok +test stream::tests::a_real_aomenc_stream_with_temporal_mvs_decodes_pixel_exact ... ok +test stream::tests::a_real_stream_decodes_identically_with_one_and_four_threads ... ok +test stream::tests::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact ... ok +test stream::tests::a_screen_stream_with_16x4_intra_strips_in_inter_frames_decodes_pixel_exact ... ok +test stream::tests::a_screen_stream_with_palette_8x8_leaves_in_inter_frames_decodes_pixel_exact ... ok +test stream::tests::a_segmentation_census_over_real_aq_streams_finds_no_mode_overriding_feature ... ok +test stream::tests::a_show_existing_frame_header_naming_an_empty_slot_is_refused_by_name ... ok +test stream::tests::a_sub8_footprint_census_over_real_streams_leaves_the_intra_16x4_pairing_refusal_unreachable ... ok +test stream::tests::a_real_aomenc_stream_with_warped_motion_refuses_or_matches ... ok +test stream::tests::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact ... ok +test stream::tests::a_superres_census_over_six_real_streams_records_which_scaled_refusals_fire ... ok +test stream::tests::a_sweep_of_doubly_straddling_sizes_round_trips_through_ffmpeg ... ok +test stream::tests::a_twelve_bit_sequence_header_is_refused_by_name ... ok +test stream::tests::an_inter_frame_naming_an_unrefreshed_primary_ref_slot_is_refused_by_name ... ok +test stream::tests::an_inter_frame_opening_a_stream_is_refused_by_name ... ok +test stream::tests::an_inter_frame_shorter_than_its_reference_is_refused_by_name ... ok +test stream::tests::an_intra_coded_128_half_in_a_screen_content_inter_frame_decodes_pixel_exact ... ok +test stream::tests::an_intra_coded_128_half_inside_an_inter_frame_decodes_pixel_exact ... ok +test stream::tests::an_intrabc_block_under_tx_mode_select_decodes_pixel_exact ... ok +test stream::tests::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact ... ok +test stream::tests::an_intrabc_census_over_screen_key_frames_measures_the_tx_select_refusal ... ok +test stream::tests::a_real_compound_global_warp_stream_decodes_pixel_exact ... ok +test stream::tests::debug_part32_r2_sbpart_pin_mismatch_geometry ... ignored, debug harness, run manually with EC_AV1_GATE_DUMP_PIN +test stream::tests::decode_stream_agrees_with_ffmpeg_on_a_gop ... ok +test stream::tests::decode_stream_matches_the_tile_path_on_a_key_frame ... ok +test stream::tests::decode_stream_round_trips_a_gop ... ok +test stream::tests::decode_stream_round_trips_an_odd_size_gop ... ok +test stream::tests::every_frame_size_a_header_can_code_has_a_mode_info_grid ... ok +test stream::tests::gradients_source_is_reproducible_per_seed ... ok +test stream::tests::no_per_frame_state_is_thread_local_any_more ... ok +test stream::tests::pinned_golden3_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually +test stream::tests::pinned_golden4_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually +test stream::tests::pinned_golden7_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually +test stream::tests::pinned_lr_sgr_stream_call_unique_dump ... ignored, reads a pinned fixture under the gitignored fixtures dir; run manually with EC_LR_CALL_DUMP=1 +test stream::tests::pinned_sbpart_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually +test stream::tests::pinned_warp_stream_decodes_pixel_exact ... ignored, reads pinned fixture paths under the gitignored fixtures dir; run manually +test stream::tests::probe_tiny_32x32_trace ... ignored, diagnostic, run manually with --nocapture +test stream::tests::probe_tiny_fixture_trace ... ignored, diagnostic, run manually with --nocapture and EC_TINY_FIXTURE_PATH set +test stream::tests::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact ... ok +test stream::tests::real_aomenc_film_grain_streams_decode_pixel_exact ... ok +test stream::tests::a_real_force_integer_mv_warp_stream_decodes_pixel_exact ... ok +test stream::tests::sb128_r2_control_sb64 ... ignored, lane-sb128 r2 diagnostic: is the frame-6 mismatch sb128-specific? +test stream::tests::scratch_decode_pinned_stream_once ... ignored +test stream::tests::scratch_isolate_pinned_mismatch ... ignored +test stream::tests::streaming_decode_matches_the_collecting_one ... ok +test stream::tests::sweep_rectx_recipes ... ignored, lane-rectx r3 scratch sweep +test stream::tests::a_real_globalmv_8x8_leaf_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_stream_filters_identically_with_one_and_four_filter_threads ... ok +test stream::tests::the_reelb_head_key_frame_decodes_pixel_exact ... ok +test stream::tests::the_reelb_ss300_key_frame_skipped_cfl_decodes_pixel_exact ... ok +test stream::tests::the_reelb_ss600_key_frame_skipped_split_tx_decodes_pixel_exact ... ok +test superres::tests::upscale_row_matches_libaom_in8_out12 ... ok +test superres::tests::upscale_row_matches_libaom_in8_out16 ... ok +test superres::tests::upscale_row_of_a_flat_input_is_flat ... ok +test superres::tests::upscale_row_with_real_margin_matches_libaom_in43_out64 ... ok +test tile::tests::a_block_gathers_the_cells_its_neighbours_cover ... ok +test tile::tests::a_coefficient_in_the_far_corner_reaches_the_last_end_of_block_group ... ok +test tile::tests::a_coefficient_off_the_origin_selects_its_own_basis_function ... ok +test stream::tests::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads ... ok +test tile::tests::a_dc_level_is_worth_half_as_much_each_time_the_transform_doubles ... ok +test tile::tests::a_frame_that_hangs_off_the_bottom_codes_every_block ... ok +test tile::tests::a_frame_that_is_not_a_whole_number_of_blocks_is_refused ... ok +test tile::tests::a_frame_that_is_not_a_whole_number_of_superblocks_codes_every_block ... ok +test tile::tests::a_level_grid_that_does_not_cover_the_frame_is_refused ... ok +test tile::tests::a_newmv_block_reads_back_the_exact_symbol_sequence_it_was_written_with ... ok +test tile::tests::a_quadrant_splits_into_four_sixteens ... ok +test tile::tests::a_quantized_picture_decodes_to_what_the_encoder_reconstructed ... ok +test tile::tests::a_single_ac_coefficient_varies_along_its_own_axis ... ok +test tile::tests::a_split_superblock_decodes_each_quadrant_on_its_own_level ... ok +test tile::tests::a_whole_superblock_at_the_frame_edge_is_refused ... ok +test tile::tests::a_whole_superblock_covers_all_four_of_its_quadrants ... ok +test tile::tests::an_all_skip_inter_superblock_is_small_and_reads_back ... ok +test tile::tests::an_intra_block_in_an_inter_frame_is_caught_reading_kf_y_mode ... ok +test tile::tests::an_intra_mode_outside_the_key_frame_set_is_refused ... ok +test tile::tests::chroma_dc_signs_read_their_neighbours ... ok +test tile::tests::coefficients_the_writer_cannot_code_are_refused ... ok +test tile::tests::dc_levels_the_base_syntax_cannot_carry_are_refused ... ok +test tile::tests::directional_modes_predict_from_the_neighbours_they_name ... ok +test tile::tests::a_dc_coefficient_moves_the_whole_block_off_mid_grey ... ok +test tile::tests::each_chroma_plane_codes_its_own_basis_function ... ok +test tile::tests::every_quadrant_carries_its_own_coefficients ... ok +test tile::tests::each_superblock_decodes_to_the_grey_its_own_level_asks_for ... ok +test tile::tests::flat_key_frame_decodes_to_mid_grey ... ok +test tile::tests::negating_the_levels_negates_the_residual ... ok +test tile::tests::partial_superblocks_are_refused ... ok +test tile::tests::the_default_scan_walks_every_position_outwards ... ok +test tile::tests::the_golomb_tail_reads_back_as_the_level_it_was_written_for ... ok +test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_16x16_block ... ok +test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_32x32_block ... ok +test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_64x64_block ... ok +test tile::tests::the_inverse_transform_reproduces_the_pinned_split_residuals ... ok +test tile::tests::the_inverse_transform_reproduces_the_pinned_whole_superblock_residuals ... ok +test tile::tests::the_price_grows_with_the_levels ... ok +test tile::tests::the_priced_coefficient_bits_match_the_bytes_written ... ok +test transform::lossless_tx_tests::the_walsh_hadamard_round_trip_is_exact ... ok +test transform::tests::a_64x64_transform_keeps_what_fits_in_its_coded_quarter ... ok +test transform::tests::a_fine_quantizer_roundtrips_a_residual_almost_exactly ... ok +test transform::tests::a_flat_residual_is_a_dc_level_alone ... ok +test transform::tests::a_typed_forward_round_trips_like_the_dct_one ... ok +test transform::tests::a_wider_deadzone_codes_fewer_coefficients ... ok +test transform::tests::a_zero_vector_transforms_to_zero ... ok +test transform::tests::adst_dct_and_dct_adst_disagree_on_an_asymmetric_grid ... ok +test transform::tests::iadst16_matches_libaoms_own_output ... ok +test transform::tests::iadst4_an_all_zero_input_short_circuits_to_zero ... ok +test transform::tests::iadst4_matches_libaoms_own_output ... ok +test transform::tests::iadst8_is_not_symmetric_in_its_input_position ... ok +test transform::tests::iadst8_matches_libaoms_own_output ... ok +test transform::tests::iidentity_matches_libaoms_own_output_at_every_size ... ok +test transform::tests::negating_the_residual_negates_every_level ... ok +test transform::tests::rect_sizes_pinned_against_libaom ... ok +test transform::tests::scratch_probe_32x32_dequant ... ignored +test transform::tests::square_wrapper_matches_wh_core ... ok +test transform::tests::the_avx2_dct_matches_the_scalar_one_over_the_full_range ... ok +test transform::tests::the_eight_wide_dct_matches_the_scalar_one ... ok +test transform::tests::the_fixed_point_forward_matches_the_exact_matmul ... ok +test transform::tests::the_forward_network_has_one_uniform_gain ... ok +test transform::tests::the_inverse_network_is_an_orthonormal_dct_over_eight ... ok +test transform::tests::the_roundtrip_error_is_the_quantizer_and_only_the_quantizer ... ok +test transform::tests::the_typed_forward_transform_is_bit_identical_to_the_strided_form ... ok +test warp::gm_mv_tests::identity_is_always_zero ... ok +test warp::gm_mv_tests::rotzoom_projects_block_centre_hp ... ok +test warp::gm_mv_tests::rotzoom_projects_block_centre_no_hp ... ok +test warp::gm_mv_tests::translation_force_integer_mv_rounds_to_full_pel ... ok +test warp::gm_mv_tests::translation_shifts_params_by_13 ... ok +test wedge::tests::wedge_codebook_matches_libaom_dump ... ok +test tile::tests::levels_above_the_base_range_tail_carry_a_golomb_tail ... ok +test stream::tests::a_real_warped_causal_8x8_leaf_stream_decodes_pixel_exact ... ok +test stream::tests::a_sub8_leaf_census_over_intrabc_screen_streams_measures_the_sub8_refusal ... ok +test stream::tests::a_superres_all_tools_sb128_stream_decodes_pixel_exact ... ok +test stream::tests::a_superres_key_frame_with_cdef_and_loop_restoration_decodes_pixel_exact ... ok +test stream::tests::an_intrabc_vartx_census_measures_the_mixed_leaf_refusal ... ok +test stream::tests::an_sb128_screen_stream_with_intrabc_decodes_pixel_exact ... ok +test stream::tests::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal has been running for over 60 seconds +test stream::tests::real_superres_streams_with_sub8_leaf8_and_warp_decode_pixel_exact has been running for over 60 seconds +test stream::tests::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::the_worker_pool_stays_bounded_across_repeated_threaded_decodes has been running for over 60 seconds +test stream::tests::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal ... ok +test stream::tests::real_superres_streams_with_sub8_leaf8_and_warp_decode_pixel_exact ... ok +test stream::tests::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact ... ok +test stream::tests::the_worker_pool_stays_bounded_across_repeated_threaded_decodes ... ok + +test result: ok. 564 passed; 0 failed; 44 ignored; 0 measured; 0 filtered out; finished in 714.54s + +RC=0 diff --git a/lanes/sse.report.md b/lanes/sse.report.md new file mode 100644 index 00000000..f5a623af --- /dev/null +++ b/lanes/sse.report.md @@ -0,0 +1,96 @@ +# lane-sse — the distortion metric scores the inside of the frame only + +## What was wrong + +`Plane::block_sse` — the RD distortion every mode, transform, CfL alpha and +partition trial in `encode.rs` is ranked by — summed the squared error over +the WHOLE block, including the part past the true frame edge. Those samples +are the encoder's own edge-replicated padding: the decoder reconstructs them +and the display crop throws them away. lane-b64b fixed the 64x64 root alone +(`inside_sse`/`clip_sb64_sse`); every other size, shape and tool still paid. + +The clip now lives in `block_sse` itself, so all callers are fixed once +(libaom does the same in `av1_dist_block`, over `max_blocks_wide/high`). +`inside_sse`/`clip_sb64_sse` and the `edge` flag at the 64 root are deleted — +they became no-ops. `ibc_sse` (intrabc's whole-block distortion) clips too. + +Knobs: `EC_AV1_EDGESSE=0` restores the padding-inclusive score (the before +arm); `EC_AV1_EDGE_CENSUS=1` prints the straddling-block census; +`EC_AV1_NATIVE_CROP=x` puts the native BD gate on a window that is NOT +superblock-aligned (`probe::gate_crop` rounds down to whole 128-wide +superblocks by design, so no default gate row straddles at all). + +## Instrument — straddling blocks and their padding share (12 frames, 4 q points) + +`EC_AV1_EDGE_CENSUS=1`, one line per block size that fired. "scores" counts +every `block_sse` call on a block the edge cuts, trials included. + +CHARTER CORRECTION: film A is coded **1920x792**, not 1080p, so the straddling +film-A arm is its own full frame (1920x792 = 6.19 superblock rows), not a +1920x1080 crop (`EC_AV1_NATIVE_CROP=1920x1080` asserts "does not fit"). +A 1920x1080 arm was still run on the 1080p bars fixture. + +| arm | size | 8x8 | 16x16 | 32x32 | 64x64 | +|---|---|---|---|---|---| +| bars 1080p | 1920x1080 | 960 scores, 100% pad | 3911, 25.0% | 22030, 12.5% | 8831, 12.5% | +| bars 1080p | 1920x792 | 960, 100% | 51780, 24.4% | 33197, 20.7% | — | +| film A | 1920x792 | 960, 100% | 75698, 25.1% | 44740, 21.6% | — | +| bars 2160p | 3840x1608 | 5760, 100% | 10080, 70.9% | 8838, 41.5% | — | +| film B | 3840x1608 | 5760, 100% | 11483, 70.4% | 9276, 57.2% | — | + +Read: on his real 4K film, **57% of the raw squared error of every straddling +32x32 block sat in padding**, and 70% of every straddling 16x16 block's. No +64x64 line at 792/1608 because those heights leave under half a superblock +inside, so `has_rows` splits the root before it is ever scored. + +## Before/after — native BD gate, 12 frames, gop=12, 4 q points + +`EC_AV1_EDGESSE=0` vs default, one release binary, same crop. + +| arm | row | BD vs libaom before -> after | BD vs rav1e before -> after | +|---|---|---|---| +| 1920x792 | bars 1080p | +14.0% -> +14.0% | +1.5% -> **+1.4%** | +| 1920x792 | film A | +36.2% -> **+36.1%** | +7.5% -> **+7.4%** | +| 3840x1608 | bars 2160p | +14.7% -> +14.7% (byte-identical) | -6.9% -> -6.9% | +| 3840x1608 | film B | +35.8% -> +35.8% (byte-identical) | +17.6% -> +17.6% | +| 1920x1080 | bars 1080p | +8.7% -> +8.7% (byte-identical) | -4.1% -> -4.1% | + +Keep rule met: **no row worse anywhere**; both film-A columns better by 0.1. +The charter expected >=0.3 on the straddling arm — it is 0.1. Honest reading: +the padding is edge-replicated, so every candidate predicts it almost equally +well and the metric change rarely flips a winner. The 4K rows code +byte-identical streams at all four points even though their census DOES differ +between the arms (10086 vs 10080 straddling 16x16 scores) — the candidate +pruning walks a slightly different path and lands on the same decisions. + +SB-ALIGNED ROWS: byte-identical BY CONSTRUCTION, not just by measurement — +on a crop whose width and height are multiples of the superblock, +`inside_rows == side` for every block, so `block_sse` takes exactly the old +path. The 1920x1080 arm above is the empirical confirmation on a straddling +crop that still codes the same stream. + +## Invariants, pins, suite + +- `EC_COMP_MISMATCH=1` over pins + facade + thread-count + both straddling + witnesses: 6 passed, 0 failed, no mismatch line printed. +- pins `the_encoders_own_streams_are_byte_identical_to_their_pins`: 9808 / + 35791 HOLD (the 640x384 pin clip is 10x6 whole superblocks, so no block of + it straddles and the change cannot reach it). +- `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`: pass. +- `the_facade_codes_the_same_bytes_as_encode_sequence`: pass. +- three-way exact witnesses: lane-b64b's `232x168` still passes, and the new + `a_1080p_shaped_clip_straddles_at_every_block_size_and_decodes_sample_exact` + (384x216 = the 1080p shape at a fifth: 3 whole SB columns, 1.6875 SB rows, + straddling at 64/32/16) decodes sample-exact against our decoder AND ffmpeg. +- metric unit check `a_block_the_frame_edge_cuts_is_scored_over_its_inside_only`. +- full lib suite (release, detached): **564 passed, 0 failed, 44 ignored** + in 714s (`lanes/sse-suite.log`); the charter's 561 baseline plus this lane's + two new tests plus one that landed on main since. +- `cargo check --workspace --all-targets -j4`: 0 errors, 0 ec-av1 warnings + (the 25 remaining are pre-existing ec-opus/ec-vorbis doc warnings). + +## Not done + +- `Plane::block_sad` (the MOTION SEARCH's distortion) still scores the whole + block. Deliberate: libaom's motion search runs full-block SAD on its padded + source too, and this lane is the RD distortion. Flagged, not fixed.