diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 40871b4f..863915c0 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -34115,7 +34115,7 @@ pub(crate) fn decode_inter_frame_tile( &LoopRestorationParams::default(), initial_cdfs, NO_SIGN_BIAS, false, // `enable_filter_intra`: as the `false`s beside it, this convenience // entry names a stream written without the sequence bit (lane-fintra). - switchable_motion_mode, false, false, fctx, + switchable_motion_mode, false, false, DeltaParams::default(), fctx, ) } @@ -34169,6 +34169,8 @@ pub(crate) fn decode_inter_frame_tile_lr( allow_warped_motion: bool, // lane-fintra: see [`decode_inter_frame_tiles_lr`]'s own parameter. enable_filter_intra: bool, + // lane-deltaq: see [`decode_inter_frame_tiles_lr`]'s own parameter. + delta: DeltaParams, fctx: &crate::decode::FrameCtx, ) -> Result { let single_tile = TileInfo { @@ -34200,6 +34202,7 @@ pub(crate) fn decode_inter_frame_tile_lr( switchable_motion_mode, allow_warped_motion, enable_filter_intra, + delta, fctx, ) } @@ -34247,6 +34250,12 @@ pub(crate) fn decode_inter_frame_tiles_lr( // encoder's own trial decode desyncs at the first intra-in-inter DC_PRED // block the moment its sequence header sets the bit. enable_filter_intra: bool, + // lane-deltaq: this frame header's own `delta_q_params`/`delta_lf_params` + // (spec 5.9.17/5.9.18) -- the same stale-header class as the three + // parameters above. Hard-coded `DeltaParams::default()` here until this + // lane, which desyncs the encoder's own trial decode at the first + // superblock the moment its header sets `delta_q_present`. + delta: DeltaParams, fctx: &crate::decode::FrameCtx, ) -> Result { decode_inter_frame_tile_with_cdfs( @@ -34284,7 +34293,7 @@ pub(crate) fn decode_inter_frame_tiles_lr( switchable_motion_mode, allow_warped_motion, allow_screen_content_tools, - DeltaParams::default(), + delta, enable_filter_intra, None, fctx, @@ -38924,6 +38933,7 @@ mod tests { // lane-fintra: the sequence bit the encoder wrote this tile // under -- same stale-header class as the warp bit above. crate::encode::filter_intra_on(), + frame.delta.clone(), fctx, ) .unwrap(); @@ -39268,6 +39278,7 @@ mod tests { // lane-fintra: the sequence bit the encoder wrote this tile // under -- same stale-header class as the warp bit above. crate::encode::filter_intra_on(), + frame.delta.clone(), fctx, ) .unwrap(); diff --git a/crates/ec-av1/src/encode.rs b/crates/ec-av1/src/encode.rs index 62421f82..a7a98588 100644 --- a/crates/ec-av1/src/encode.rs +++ b/crates/ec-av1/src/encode.rs @@ -1182,6 +1182,7 @@ pub(crate) fn crop_encoded(encoded: &Encoded, width: usize, height: usize) -> En loop_filter: encoded.loop_filter, loop_restoration: encoded.loop_restoration, allow_intrabc: encoded.allow_intrabc, + delta: encoded.delta.clone(), cdef: encoded.cdef, } } @@ -1272,6 +1273,12 @@ pub struct Encoded { /// guessed `false` would desync at the first block (same class as /// `screen`/`tx_select`). pub(crate) allow_intrabc: bool, + /// This frame header's `delta_q_params`/`delta_lf_params` (spec + /// 5.9.17/5.9.18) -- with `delta_q_present` every superblock's first + /// coded block carries a `delta_qindex` symbol group, so a raw tile + /// decode that guessed the defaults desyncs at the first superblock + /// (same class as `screen`/`tx_select`). + pub(crate) delta: ec_av1_syntax::DeltaParams, } thread_local! { @@ -7115,6 +7122,7 @@ pub(crate) fn encode_key_frame_inner( cdef: header.cdef, loop_restoration: header.loop_restoration, allow_intrabc, + delta: header.delta.clone(), }) } @@ -9107,6 +9115,127 @@ fn search_inter_block( /// it costs 1.5 ms per 1920x1024 frame against a ~0.8 s encode (0.2%). const TPL_STRENGTH: f64 = 0.5; +/// lane-deltaq: the per-superblock quantizer, `delta_q_present` (spec +/// 5.9.17/5.11.10). `EC_AV1_DELTAQ=0` switches it off (the stream is then +/// byte-identical to the pre-lane one); anything else is the `delta_q_res` +/// LOG2, so `2` is a step of 4 and `3` a step of 8. `None` = off. +/// +/// A frame with no tpl map (no lookahead picture, or `EC_AV1_TPL=0`) has +/// nothing to vary the quantizer BY and codes no delta syntax at all. +fn deltaq_res_log2() -> Option { + match DELTAQ_OVERRIDE.load(std::sync::atomic::Ordering::Relaxed) { + u8::MAX => {} + 4 => return None, + r => return Some(r), + } + match crate::envflags::var("EC_AV1_DELTAQ").ok().as_deref().map(str::trim) { + Some("0") => None, + Some(v) => v.parse::().ok().filter(|r| *r <= 3), + None => Some(crate::speed::at(&crate::speed::DELTAQ_RES)).filter(|r| *r < 4), + } +} + +/// A PROCESS-GLOBAL [`deltaq_res_log2`] override that wins over both the +/// environment and the preset -- `u8::MAX` = unset, `4` = off. The gate that +/// sets it holds [`crate::speed::knob_write`], the same exclusive lock the +/// speed presets take, because the streams every other test pins move under +/// it (the shipped default is OFF, see [`crate::speed::DELTAQ_RES`]). +static DELTAQ_OVERRIDE: std::sync::atomic::AtomicU8 = + std::sync::atomic::AtomicU8::new(u8::MAX); + +/// Sets [`DELTAQ_OVERRIDE`]; `None` clears it. +#[allow(dead_code)] // set only from the `#[cfg(test)]` gates +pub(crate) fn set_deltaq_res(res_log2: Option) { + DELTAQ_OVERRIDE.store( + res_log2.unwrap_or(u8::MAX), + std::sync::atomic::Ordering::Relaxed, + ); +} + +/// How much of the derived qindex step is actually taken +/// (`EC_AV1_DELTAQ_K`, default 1.0 = the full derivation). +fn deltaq_k() -> f64 { + crate::envflags::var("EC_AV1_DELTAQ_K") + .ok() + .and_then(|v| v.trim().parse::().ok()) + .filter(|k| k.is_finite() && *k >= 0.0) + .unwrap_or(1.0) +} + +/// The largest qindex the map may move a superblock by, either way +/// (`EC_AV1_DELTAQ_CLAMP`, default 16 -- libaom clamps its own objective +/// deltaq around a quarter of the base qindex). +fn deltaq_clamp() -> i32 { + crate::envflags::var("EC_AV1_DELTAQ_CLAMP") + .ok() + .and_then(|v| v.trim().parse::().ok()) + .filter(|c| (0..=63).contains(c)) + .unwrap_or(16) +} + +/// The qindex a lambda factor `f` asks for, derived rather than fitted. +/// +/// The tpl map hands out a factor on LAMBDA, and RD lambda goes as the +/// square of the quantizer step (`encode_inter_frame`'s own +/// `lambda = .. * step * step`), so the step this superblock wants is +/// `sqrt(f)` times the frame's. `ac_q` is not linear in the index, so the +/// step ratio is inverted through the table itself -- the index whose `ac_q` +/// is closest to `ac_q(base) * sqrt(f)` -- rather than through a fitted +/// constant. `k` scales the resulting step (1.0 takes all of it), `clamp` +/// bounds it, and the answer is snapped onto the `res` grid so that every +/// superblock's qindex is congruent to `base` and the coded delta is a whole +/// number of steps. +fn deltaq_for_factor(base: u8, f: f64, k: f64, clamp: i32, res: i32) -> u8 { + let base_ac = f64::from(ac_q(8, i32::from(base))); + let target = base_ac * f.max(1e-6).sqrt(); + let exact = (1..=255) + .min_by(|&a, &b| { + let d = |q: i32| (f64::from(ac_q(8, q)) - target).abs(); + d(a).partial_cmp(&d(b)).expect("ac_q is finite") + }) + .expect("the qindex range is not empty") + - i32::from(base); + let want = (exact as f64 * k).round() as i32; + // Snapped to the `res` grid BEFORE the clamp: `clamp` is a qindex bound + // and need not be a whole number of steps, and clamping afterwards would + // hand back a qindex that is not congruent to `base`. + let max_steps = clamp / res; + let steps = (want as f64 / f64::from(res)).round() as i32; + let delta = steps.clamp(-max_steps, max_steps) * res; + (i32::from(base) + delta).clamp(1, 255) as u8 +} + +/// How many DISTINCT per-superblock quantizer levels the last inter frame's +/// [`sb_q`](encode_inter_frame) grid carried -- lane-deltaq's fire counter +/// (class `gate-blind-to-feature`: every exactness assert below passes on a +/// grid that is one flat value, i.e. on no delta_q at all). Process-global +/// like [`TX_DEPTH_HITS`], and read through [`take_deltaq_levels`], which +/// keeps the LARGEST count seen since the last read. +static DELTAQ_LEVELS: std::sync::atomic::AtomicUsize = std::sync::atomic::AtomicUsize::new(0); + +/// [`DELTAQ_LEVELS`], reset to 0. +#[allow(dead_code)] // read only from the `#[cfg(test)]` gates +pub(crate) fn take_deltaq_levels() -> usize { + DELTAQ_LEVELS.swap(0, std::sync::atomic::Ordering::Relaxed) +} + +/// This superblock's search state: the quantizer it is coded at, and the +/// lambda that quantizer implies. RD lambda goes as the square of the step, +/// which is exactly the relation [`deltaq_for_factor`] inverted, so with no +/// `sb_q` grid the caller keeps the tpl LAMBDA factor alone (the behaviour +/// before lane-deltaq). +fn sb_q_search<'m>( + sb_q: &[u8], + sb_cols: usize, + base_q_idx: u8, + (sb_r, sb_c): (usize, usize), + base: Search<'m>, +) -> Search<'m> { + let q = sb_q[sb_r * sb_cols + sb_c]; + let ratio = f64::from(ac_q(8, i32::from(q))) / f64::from(ac_q(8, i32::from(base_q_idx))); + Search { base_q_idx: q, lambda: base.lambda * ratio * ratio, ..base } +} + fn tpl_strength() -> f64 { std::env::var("EC_AV1_TPL") .ok() @@ -9773,6 +9902,47 @@ pub(crate) fn encode_inter_frame( let (cols, rows) = crate::tile::block_grid(header.mi_cols, header.mi_rows); let (cols, rows) = (cols as usize, rows as usize); let (sb_cols, _sb_rows) = (cols.div_ceil(2), rows.div_ceil(2)); + // lane-deltaq: one absolute qindex per 64x64 superblock, from the same + // tpl map the lambda factor comes from ([`deltaq_for_factor`]). Present + // only when the map is, and `delta_q_res` follows straight into the frame + // header (`write_delta_q_params`) and into the tile writer's own plan. + let deltaq_res: Option = tpl_factors + .as_ref() + .and(deltaq_res_log2().map(|r| 1i32 << r)); + let sb_q: Option> = match (&tpl_factors, deltaq_res) { + (Some(f), Some(res)) => { + let (k, clamp) = (deltaq_k(), deltaq_clamp()); + Some( + (0..sb_cols * _sb_rows) + .map(|sb| { + let (sb_r, sb_c) = (sb / sb_cols, sb % sb_cols); + // The same 16-cell mean the superblock's own lambda + // takes, clamped to the map the frame actually has. + let mean = (0..16) + .map(|i| { + let (cy, cx) = (sb_r * 4 + i / 4, sb_c * 4 + i % 4); + f[(cy.min(f.len() / tpl_cells_x - 1)) * tpl_cells_x + + cx.min(tpl_cells_x - 1)] + }) + .sum::() + / 16.0; + deltaq_for_factor(base_q_idx, mean, k, clamp, res) + }) + .collect(), + ) + } + _ => None, + }; + if let Some(res) = deltaq_res.filter(|_| sb_q.is_some()) { + header.delta.q_present = true; + header.delta.q_res = res.trailing_zeros() as u8; + } + if let Some(g) = &sb_q { + let mut levels: Vec = g.clone(); + levels.sort_unstable(); + levels.dedup(); + DELTAQ_LEVELS.fetch_max(levels.len(), std::sync::atomic::Ordering::Relaxed); + } let (mi_cols, mi_rows) = (header.mi_cols as usize, header.mi_rows as usize); // This frame's tile grid, as in `encode_key_frame_inner`. let (tile_cols_log2, tile_rows_log2) = armed_tiles(); @@ -9864,6 +10034,10 @@ pub(crate) fn encode_inter_frame( // comparison below weighs one cost against four, so both sides // have to be priced at the same lambda. let sb_search = match &tpl_factors { + // lane-deltaq: with a per-superblock quantizer the lambda + // comes from that quantizer, not from the raw map factor -- + // the two agree exactly at `EC_AV1_DELTAQ_K=1` unclamped. + Some(_) if sb_q.is_some() => sb_q_search(sb_q.as_ref().expect("armed"), sb_cols, base_q_idx, (sb_r, sb_c), search), Some(f) if sb64_legal => { let mean = (0..16) .map(|i| f[(sb_r * 4 + i / 4) * tpl_cells_x + sb_c * 4 + i % 4]) @@ -9962,6 +10136,12 @@ pub(crate) fn encode_inter_frame( // one 32x32 cost against four 16x16 ones: a per-leaf lambda // would make those two numbers incomparable. let search = match &tpl_factors { + // lane-deltaq: the quantizer is a SUPERBLOCK-level + // symbol, so all four quadrants take their superblock's + // own qindex and the lambda it implies. No granularity is + // lost: the shipped map (`EC_AV1_TPL_SB`) is already one + // factor per superblock, shared by its sixteen cells. + Some(_) if sb_q.is_some() => sb_q_search(sb_q.as_ref().expect("armed"), sb_cols, base_q_idx, (sb_r, sb_c), search), Some(f) => { let mean = (0..4) .map(|i| f[(r32 * 2 + i / 2) * tpl_cells_x + c32 * 2 + i % 2]) @@ -10462,6 +10642,12 @@ pub(crate) fn encode_inter_frame( -> Result>> { let (out, stored) = write_tiles(layout.count(), store_tile, |index| { crate::tile::arm_cdef_idx(bits, sb_cols, cdef_grid.to_vec()); + crate::tile::arm_delta_q( + deltaq_res.filter(|_| sb_q.is_some()).unwrap_or(0), + sb_cols, + sb_q.clone().unwrap_or_default(), + base_q_idx, + ); crate::tile::arm_lr(64, lr_horz, lr_vert, units.to_vec()); crate::tile::arm_sign_bias(sign_bias); // Thread-locals: every tile job arms its own worker. @@ -10598,6 +10784,10 @@ pub(crate) fn encode_inter_frame( switchable_motion_mode, h.allow_warped_motion, seq.enable_filter_intra, + // lane-deltaq: this frame's own delta_q/delta_lf params, so + // the trial decode reads the per-superblock `delta_qindex` + // syntax the writer just wrote. + h.delta.clone(), fctx, ) }, @@ -10640,6 +10830,7 @@ pub(crate) fn encode_inter_frame( // An inter frame never allows intrabc (spec 5.9.2 codes the bit on // intra frames only). allow_intrabc: false, + delta: header.delta.clone(), }) } diff --git a/crates/ec-av1/src/encoder.rs b/crates/ec-av1/src/encoder.rs index c1e0b372..cbe1d4ee 100644 --- a/crates/ec-av1/src/encoder.rs +++ b/crates/ec-av1/src/encoder.rs @@ -3466,6 +3466,92 @@ mod tests { } } + /// lane-deltaq's three-way witness: a clip with a real gradient of tpl + /// factors -- a moving detail region over a flat background, so the + /// superblocks the NEXT picture predicts from are worth more than the + /// ones it does not -- codes at least two distinct per-superblock + /// quantizer levels (the fire count, class `gate-blind-to-feature`), and + /// both decoders reconstruct every frame sample-exact from the + /// `delta_qindex` syntax that carries them. + #[test] + fn a_moving_detail_clip_codes_two_delta_q_levels_both_decoders_read_exactly() { + // `knob_write`, not `knob_read`: the override below is + // process-global and every other test's bytes move under it. + let _knobs = crate::speed::knob_write(); + let _gate_lock = crate::stream::tests::lock_gate_counters(); + crate::encode::set_deltaq_res(Some(2)); + let (width, height) = (640usize, 384usize); + // The gate's own moving test card, with a 128x128 patch of fine + // detail travelling right by 32 samples a frame laid over it: the + // patch is what the tpl pass finds worth propagating and the card + // around it is not, so the map -- and with it the quantizer grid -- + // is a gradient and not one flat number. + let sources: Vec = (0..4) + .map(|t| { + let mut p = test_card(width, height, t * 3); + let x0 = 32 + t * 32; + for y in 128..256 { + for x in x0..x0 + 128 { + p.y[y * width + x] = + if (x / 2 + y / 3) % 2 == 0 { 40 } else { 210 }; + } + } + p + }) + .collect(); + let config = EncoderConfig { + width, + height, + base_q_idx: 120, + gop: 4, + colour: Colour::Bt709Limited, + tile_cols_log2: 0, + tile_rows_log2: 0, + }; + let mut enc = Av1Encoder::new(config).unwrap(); + let _ = crate::encode::take_deltaq_levels(); + let mut stream = Vec::new(); + for packet in encode_all(&mut enc, &sources) { + stream.extend_from_slice(&packet.data); + } + let levels = crate::encode::take_deltaq_levels(); + // The quantizer grid rides the tpl map, and `speed::TPL_DEPTH` cuts + // the lookahead window to one picture at every preset above 0, so + // there IS no map -- and no delta_q syntax -- outside preset 0. The + // exactness half below still runs there; only the fire count is + // preset-0's to make. + if crate::speed::speed() == 0 { + assert!( + levels >= 2, + "the quantizer grid was flat ({levels} level(s)): no delta_qindex was coded" + ); + } else { + eprintln!("SKIP the fire count at preset {}: no tpl map", crate::speed::speed()); + } + let ours = crate::stream::decode_stream(&stream).expect("our decoder"); + assert_eq!(ours.len(), sources.len(), "our decoder's frames"); + if have_ffmpeg() { + let theirs = ffmpeg_decode_luma(&stream, width, height); + assert_eq!(theirs.len(), sources.len(), "ffmpeg's frames"); + for (i, (a, b)) in ours.iter().zip(&theirs).enumerate() { + let got: Vec = a.y.iter().map(|&v| v as u8).collect(); + if let Some(at) = got.iter().zip(b).position(|(x, y)| x != y) { + panic!( + "frame {i}: luma differs first at ({}, {}): ours {} vs ffmpeg {}", + at % width, + at / width, + got[at], + b[at], + ); + } + } + } else { + eprintln!("SKIP the ffmpeg half: no ffmpeg"); + } + crate::encode::set_deltaq_res(None); + eprintln!("delta_q witness: {levels} quantizer levels, {} bytes", stream.len()); + } + /// Every SHIPPED SPEED PRESET codes a stream both decoders reconstruct /// sample-exact -- ours and ffmpeg's -- and codes a DIFFERENT stream from /// its neighbour (a preset that changes no byte is a preset that buys no diff --git a/crates/ec-av1/src/speed.rs b/crates/ec-av1/src/speed.rs index 12c1974f..483d159a 100644 --- a/crates/ec-av1/src/speed.rs +++ b/crates/ec-av1/src/speed.rs @@ -197,6 +197,29 @@ pub(crate) const RDOQ: [bool; 11] = [ /// searches here either. pub(crate) const I64_ROOT: [bool; 11] = [crate::encode::I64_ROOT; 11]; +/// `encode::deltaq_res_log2`: the per-superblock quantizer's `delta_q_res` +/// LOG2 (2 = a step of 4 qindex), or `4` for "no delta_q syntax at all". +/// +/// SHIPPED OFF at every preset. lane-deltaq measured the whole mapping sweep +/// on the 12-frame native gate against its own control (film A +34.8/+5.0, +/// film B +47.0/+16.5, screen +33.4/-23.8): +/// +/// | arm | film A | film B | screen | +/// |---|---|---|---| +/// | res 4, K 1.0 | +34.7 / +5.2 | +46.7 / +16.6 | +34.1 / -23.6 | +/// | res 4, K 1.3 | +34.7 / +5.1 | +46.8 / +16.6 | +34.3 / -23.5 | +/// | res 8, K 1.0 | +35.2 / +5.3 | +47.8 / +17.1 | +35.0 / -23.4 | +/// +/// The best arm moves neither film row by as much as the keep rule's 0.5 on +/// either column (film A -0.1/+0.2, film B -0.3/+0.1) and costs screen 0.7 +/// against libaom. Coarser steps (res 8) are worse everywhere. The syntax is +/// all there and proven three ways +/// (`a_moving_detail_clip_codes_two_delta_q_levels_both_decoders_read_exactly`); +/// `EC_AV1_DELTAQ=2` switches it on. Above preset 0 it is inert anyway -- +/// [`TPL_DEPTH`] cuts the lookahead to one picture, so there is no map to +/// vary the quantizer by. +pub(crate) const DELTAQ_RES: [u8; 11] = [4; 11]; + /// `encode::SPLIT_RD_THRESHOLD`: how cheap a block has to be before its split /// trial is withheld. The single biggest wall lever in the tile search. pub(crate) const SPLIT_RD: [f64; 11] = [ diff --git a/crates/ec-av1/src/tile.rs b/crates/ec-av1/src/tile.rs index 667076b6..5b9b63ee 100644 --- a/crates/ec-av1/src/tile.rs +++ b/crates/ec-av1/src/tile.rs @@ -282,6 +282,39 @@ pub(crate) fn arm_cdef_idx(bits: u8, sb_cols: usize, grid: Vec) { }); } +/// One frame's per-superblock quantizer plan (lane-deltaq, see +/// [`arm_delta_q`]): the writer side of decode.rs `maybe_read_delta_q`. +struct DeltaQPlan { + /// `1 << delta_q_res`, the multiplier the coded symbol is scaled by -- + /// every `grid` entry is congruent to `base` modulo it, so the delta the + /// writer codes is always a whole number of steps. + res: i32, + /// Superblocks per row, the stride of `grid`. + sb_cols: usize, + /// The absolute `qindex` each 64x64 superblock is coded at, raster order. + grid: Vec, + /// The spec's `CurrentQIndex`, carried across the superblocks of THIS + /// tile -- armed at the frame's `base_q_idx` because a tile writer is + /// armed once per tile (`encode_inter_frame`'s `code_tiles`), which is + /// exactly the spec's own per-tile reset. + cur: i32, +} + +thread_local! { + static DELTA_Q: std::cell::RefCell> = + const { std::cell::RefCell::new(None) }; +} + +/// Arms the next tile write with one absolute `qindex` per 64x64 superblock. +/// Disarmed (a plain no-op writer, byte for byte what this crate wrote before +/// lane-deltaq) when `res == 0`. +pub(crate) fn arm_delta_q(res: i32, sb_cols: usize, grid: Vec, base: u8) { + DELTA_Q.with(|c| { + *c.borrow_mut() = + (res > 0).then(|| DeltaQPlan { res, sb_cols, grid, cur: i32::from(base) }); + }); +} + thread_local! { static SIGN_BIAS: std::cell::Cell = const { std::cell::Cell::new(crate::mvstack::NO_SIGN_BIAS) }; @@ -1004,6 +1037,7 @@ struct CdefIdxGuard; impl Drop for CdefIdxGuard { fn drop(&mut self) { CDEF_IDX.with(|c| *c.borrow_mut() = None); + DELTA_Q.with(|c| *c.borrow_mut() = None); LR_PLAN.with(|c| *c.borrow_mut() = None); SIGN_BIAS.with(|c| c.set(crate::mvstack::NO_SIGN_BIAS)); SCREEN.with(|c| c.set(false)); @@ -1039,6 +1073,55 @@ fn write_cdef_idx(enc: &mut SymbolEncoder, mi: (usize, usize), skip: bool) { }); } +/// `read_delta_qindex`'s write side (spec 5.11.10), called right after every +/// block's [`write_cdef_idx`] -- the spec's own `skip -> cdef -> delta_q` +/// order, and decode.rs `maybe_read_delta_q` is the reader this mirrors +/// symbol for symbol. A no-op unless this block sits at its superblock's own +/// top-left mode-info position, and (the one case the reader skips too) when +/// that block IS the whole superblock and is skipped, in which case +/// `CurrentQIndex` carries over unchanged on both sides. +fn write_delta_q( + enc: &mut SymbolEncoder, + cdfs: &mut Cdfs, + mi: (usize, usize), + is_whole_sb: bool, + skip: bool, +) { + DELTA_Q.with(|c| { + let mut plan = c.borrow_mut(); + let Some(plan) = plan.as_mut() else { return }; + if mi.0 % SB_MI as usize != 0 || mi.1 % SB_MI as usize != 0 { + return; + } + if is_whole_sb && skip { + return; + } + let sb = (mi.0 / SB_MI as usize) * plan.sb_cols + (mi.1 / SB_MI as usize); + let target = i32::from(plan.grid.get(sb).copied().unwrap_or(0)); + // `reduced` is the spec's `delta_q_abs`/`delta_q_sign_bit` pair: the + // step count, not the qindex difference. + let reduced = (target - plan.cur) / plan.res; + let abs = reduced.unsigned_abs() as usize; + /// spec `DELTA_Q_SMALL`: the largest `delta_q_abs` symbol that is not + /// an escape into the literal pair below. + const DELTA_Q_SMALL: usize = 3; + enc.symbol(abs.min(DELTA_Q_SMALL), &mut cdfs.delta_q); + if abs >= DELTA_Q_SMALL { + // libaom `write_delta_qindex`: `rem_bits = get_msb(abs - 1)`, + // written one less in three bits, and the value offset by the + // threshold `(1 << rem_bits) + 1` the reader adds back. + let rem_bits = 31 - ((abs as u32) - 1).leading_zeros(); + let thr = (1u32 << rem_bits) + 1; + enc.literal(rem_bits - 1, 3); + enc.literal(abs as u32 - thr, rem_bits); + } + if abs != 0 { + enc.literal(u32::from(reduced < 0), 1); + } + plan.cur = (plan.cur + reduced * plan.res).clamp(1, 255); + }); +} + /// round-4 av1-truesize debugging aid: prints `msg()` to stderr when the /// `EC_RNG` environment variable is set, mirroring the `EC_PART`/`EC_TOK` /// trace `/tmp/libaom-src`'s debug `aomdec` build already emits under the @@ -5853,6 +5936,7 @@ pub(crate) fn sb_coeff_inter_frame_tile_cdfs( + usize::from(neighbours.left_skip[mi_r]); enc.symbol(usize::from(block.skip), &mut cdfs.skip[skip_ctx]); write_cdef_idx(&mut enc, (mi_r, mi_c), block.skip); + write_delta_q(&mut enc, &mut cdfs, (mi_r, mi_c), true, block.skip); let ii_ctx = intra_inter_ctx( has_above, has_left, @@ -6248,6 +6332,7 @@ pub(crate) fn sb_coeff_inter_frame_tile_cdfs( + usize::from(neighbours.left_skip[mi_r]); enc.symbol(usize::from(block.skip), &mut cdfs.skip[skip_ctx]); write_cdef_idx(&mut enc, (mi_r, mi_c), block.skip); + write_delta_q(&mut enc, &mut cdfs, (mi_r, mi_c), false, block.skip); let is_inter = block.inter.is_some(); let (above_inter, left_inter) = @@ -6508,6 +6593,7 @@ fn write_inter_frame_leaf( let skip_ctx = usize::from(neighbours.above_skip[mi_c]) + usize::from(neighbours.left_skip[mi_r]); enc.symbol(usize::from(block.skip), &mut cdfs.skip[skip_ctx]); write_cdef_idx(enc, (mi_r, mi_c), block.skip); + write_delta_q(enc, cdfs, (mi_r, mi_c), false, block.skip); let (has_above, has_left) = (neighbours.has_above(mi_r), neighbours.has_left(mi_c)); let (above_inter, left_inter) = (neighbours.above_inter[mi_c], neighbours.left_inter[mi_r]); @@ -6758,6 +6844,7 @@ fn write_inter_frame_leaf8( let skip_ctx = usize::from(above_skip) + usize::from(left_skip); enc.symbol(usize::from(block.skip), &mut cdfs.skip[skip_ctx]); write_cdef_idx(enc, leaf_mi, block.skip); + write_delta_q(enc, cdfs, leaf_mi, false, block.skip); let (has_above, has_left) = (neighbours.has_above(leaf_mi.0), neighbours.has_left(leaf_mi.1)); let ii_ctx = intra_inter_ctx(has_above, has_left, above_inter, left_inter); diff --git a/lanes/deltaq.report.md b/lanes/deltaq.report.md new file mode 100644 index 00000000..72989a0e --- /dev/null +++ b/lanes/deltaq.report.md @@ -0,0 +1,161 @@ +# lane-deltaq — per-superblock `delta_qindex` from the tpl map + +Base `36b573b9` (no RDOQ on this head). Feature commit `c121e991`. + +## What the commit holds + +* **Frame header** — `frame.rs::write_delta_q_params` already wrote the spec's + syntax; `encode_inter_frame` now SETS `header.delta.q_present` / + `delta.q_res` whenever the frame has a tpl map and the lever is on. +* **Tile syntax** — `tile.rs::write_delta_q`, the write side of decode.rs + `maybe_read_delta_q`, called right after `write_cdef_idx` at each of the + four inter block writers (`Whole64`, the 32x32 quadrant, the 16x16 leaf, + the 8x8 leaf), i.e. the spec's `skip -> cdef -> delta_q` order. Fires only + at the superblock's top-left mode-info position, and (as the reader does) + never when that block IS the superblock and is skipped. `arm_delta_q` + carries the per-SB plan the way `arm_cdef_idx` carries the CDEF one and is + cleared by the same `CdefIdxGuard`, so `CurrentQIndex` resets at each tile + exactly as the spec's `decode_tile` does. The `delta_q` CDF was already in + `cdf_state` and already in the per-frame counter reset. +* **Per-superblock quantizer in the search** — every trial reaches the + quantiser through `Search::base_q_idx` (luma and chroma alike), so the + search sets that field per superblock and both the quantisation and the + dequantisation that reconstructs the block move with it. `qmatrix` is off. +* **Mapping** — `encode::deltaq_for_factor`, derived, not fitted (below). +* **Levers** — `EC_AV1_DELTAQ` (the `delta_q_res` LOG2; `0` = off, stream + byte-identical to the pre-lane one), `EC_AV1_DELTAQ_K`, + `EC_AV1_DELTAQ_CLAMP`, and `speed::DELTAQ_RES` (preset 0..10). +* **Fire counter** — `encode::take_deltaq_levels`, the number of DISTINCT + qindex levels the last frame's grid carried; a flat grid makes every + exactness assert below vacuous (class `gate-blind-to-feature`). +* **One decoder-side fix** (deviation from "do not touch the decoder", and the + reason the feature could not work without it): `decode_inter_frame_tiles_lr` + hard-coded `DeltaParams::default()`, the exact stale-header class the three + parameters above it in that signature document. The encoder's own trial + decode therefore never read the syntax the writer wrote and desynced at the + first superblock, surfacing as a reference-slot refusal ("refusal from own + desync"). It now takes the frame's own `delta` and forwards it; the two + in-crate gates that decode a raw tile take `frame.delta` from the new + `Encoded::delta` field. + +## The mapping derivation + +The tpl map hands out a factor `f` on LAMBDA. RD lambda goes as the square of +the quantiser step (`encode_inter_frame`: `lambda = .. * step * step`, `step = +ac_q(base)/8`), so a superblock the map prices at `f` wants a step of +`sqrt(f)` times the frame's. `ac_q` is not linear in the index, so the step +ratio is inverted THROUGH THE TABLE — the index whose `ac_q` is closest to +`ac_q(base) * sqrt(f)` — rather than through a fitted `K`: + + delta = argmin_q | ac_q(8, q) - ac_q(8, base) * sqrt(f) | - base + +`EC_AV1_DELTAQ_K` then scales that step (1.0 = the whole derivation, the +sweep's `x0.7` / `x1.3`), the result is snapped onto the `delta_q_res` grid +BEFORE the +-clamp (a clamp applied after would hand back a qindex that is not +congruent to `base`, and the coded symbol would not be a whole number of +steps), and the clamp defaults to +-16 (libaom clamps its objective deltaq +around a quarter of the base qindex). + +Self-consistency: the superblock's RD lambda is then recomputed FROM the +qindex it is coded at (`sb_q_search`: `lambda * (ac_q(q)/ac_q(base))^2`) and +replaces the raw tpl lambda factor, so nothing is counted twice. At `K = 1` +unclamped the two are the same number. + +## Results + +### The 12-frame gate, `bd_rate_screen_native` (BD vs libaom / vs rav1e) + +CONTROL FIRST (`EC_AV1_DELTAQ=0`, `lanes/dq-ctrl.log`). The charter's control +numbers are STALE for this head on the two film rows: the screen row lands on ++33.4/-23.8 to the digit, but film A reads +34.8/+5.0 (charter +37.1/+7.3) and +film B +47.0/+16.5 (charter +52.5/+22.3). Every delta below is against THIS +control, same binary, same box. + +| row | control | res 4, K 1 | +|---|---|---| +| bars 1080p | +1.8 / -14.4 | +1.5 / -14.9 | +| bars 2160p | +12.6 / -9.9 | +12.5 / -9.8 | +| film A 1920x768 | +34.8 / +5.0 | +34.7 / +5.2 | +| film B 1920x1024 | +47.0 / +16.5 | +46.7 / +16.6 | +| screen capture | +33.4 / -23.8 | +34.1 / -23.6 | + +Logs `lanes/dq-ctrl.log`, `lanes/dq-r2k1.log`. + +Screen is NOT byte-identical, which the charter expected: screen frames still +get a tpl map (the screen detector gates palette/intrabc, not the map), so +they carry the syntax too -- and they LOSE 0.7 points against libaom, past the +keep rule's 0.3 bound. + +### The mapping sweep (12-frame gate, all five rows) + +| arm | bars 1080p | bars 2160p | film A | film B | screen | +|---|---|---|---|---|---| +| control (`DELTAQ=0`) | +1.8 / -14.4 | +12.6 / -9.9 | +34.8 / +5.0 | +47.0 / +16.5 | +33.4 / -23.8 | +| res 4, K 1.0 | +1.5 / -14.9 | +12.5 / -9.8 | +34.7 / +5.2 | +46.7 / +16.6 | +34.1 / -23.6 | +| res 4, K 1.3 | +1.7 / -14.8 | +12.6 / -9.8 | +34.7 / +5.1 | +46.8 / +16.6 | +34.3 / -23.5 | +| res 8, K 1.0 | +1.2 / -15.3 | +12.7 / -9.8 | +35.2 / +5.3 | +47.8 / +17.1 | +35.0 / -23.4 | + +Logs `lanes/dq-{ctrl,r2k1,r2k13,r3k1}.log`, all `RC=0`. Clamp +-16 throughout. + +K 0.7 was not run: K 1.3 is K 1.0 within noise on every row and K 0.7 moves +strictly TOWARD the control, so it cannot clear a keep rule that K 1.0 misses +by 0.4 points. + +## Decision: SHIPPED OFF (`speed::DELTAQ_RES = [4; 11]`) + +The keep rule wanted both film rows down on both columns, or one column >= 0.5 +down with the other flat. The best arm (res 4, K 1.0) gives film A -0.1/+0.2 +and film B -0.3/+0.1 -- inside noise, nowhere near 0.5 -- and costs the screen +row 0.7 against libaom, past the 0.3 bound. Coarser steps (res 8) lose 0.4-0.8 +on both films. So the syntax, the search plumbing and the mapping ship, and +the lever ships off: `EC_AV1_DELTAQ=2` (or 3) turns it on, every stream is +otherwise byte-identical to the pre-lane one. + +Why the ceiling is where it is: the map's LAMBDA arm was already measured at ++53.2 -> +53.2 on film A (the `speed` lever table), i.e. BD-neutral. Turning +that same factor into a quantizer is the same information through a different +knob, so the same near-zero answer is what the derivation predicts. Moving +this lever needs a BETTER MAP, not a better mapping -- the tpl pass's own +coarse motion/intra costs are the upstream bound (class +`search-bounded-by-its-heuristic`). + +Screen: NOT byte-identical with the lever on (the charter expected it to be). +Screen frames get a tpl map like any other -- the screen detector gates +palette/intrabc, not the map -- so they carry the syntax and lose 0.7. Had the +films paid, this row would have needed the same `!screen` content gate +`b64_residual`/`b64_compound` take. + +## Invariants + +* three-way witness `a_moving_detail_clip_codes_two_delta_q_levels_both_decoders_read_exactly`: + 3 distinct quantizer levels, 29358 bytes, every frame sample-exact through + `decode_stream` AND ffmpeg. Its fire count is preset-0's alone -- + `speed::TPL_DEPTH` cuts the lookahead to one picture above preset 0, so + there is no map, and delta_q is inert at every preset but 0. +* `EC_COMP_MISMATCH=1`: 0 lines at presets 0 and 6. +* `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`, + `the_facade_codes_the_same_bytes_as_encode_sequence`, + `predicted_coeff_bits_track_the_tile_the_writer_wrote`: pass at presets 0 + and 6. +* `bitrate_target_lands_within_5_percent_over_48_frames`: passes, landed + -0.2 / +3.1 / -1.6 / -0.0 / -2.8 / +0.0 / -2.8 / -4.4 %. +* byte pins: 9808 / 35791 HOLD unchanged (the lever ships off). With + `EC_AV1_DELTAQ=2` the q=150 pin clip codes 9898 bytes. +* `cargo check --workspace --all-targets`: 0 errors, 0 ec-av1 warnings. + +## Deferred + +* `deferred: the long-GOP arm (bd_rate_film_long_gop) --` the shipped + configuration is the lever OFF, which is byte-identical to the base on every + stream, so the shipped long-GOP row IS the base's row and there is nothing + to measure. Whether 48 frames of propagation would flip the 12-frame verdict + is open; it needs a control + one arm, ~30 minutes. +* `deferred: separate leaf/ARF clamps --` the sweep never separated them; with + the best single-clamp arm 0.4 short of the keep rule, a per-level clamp is + unlikely to close that alone. +* `deferred: the per-level delta symbol census --` `syntax_census` reports the + header's `delta_q` bit but counts no `delta_qindex` symbols; the fire counter + `encode::take_deltaq_levels` (distinct qindex levels per frame) is what this + lane used instead. + +* full lib suite detached (`lanes/dq-suite.log`): **565 passed, 0 failed, 44 ignored**, 781.6s -- the base' 564 plus this lane' witness. diff --git a/lanes/dq-arm.sh b/lanes/dq-arm.sh new file mode 100755 index 00000000..2e4ba952 --- /dev/null +++ b/lanes/dq-arm.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# lane-deltaq: one native-gate arm under a named env set. +# usage: dq-arm.sh +name=$1; test=$2; shift 2 +B=$HOME/.cache/cargo-target-deltaq/release/deps/ec_av1-8fef0196ab10338d +systemd-run --user --unit dq-$name -p MemoryMax=8G --collect --working-directory=$PWD \ + bash -c "env $* $B --ignored --nocapture --test-threads 1 $test > lanes/dq-$name.log 2>&1; echo RC=\$? >> lanes/dq-$name.log" diff --git a/lanes/dq-ctrl.log b/lanes/dq-ctrl.log new file mode 100644 index 00000000..355e1109 --- /dev/null +++ b/lanes/dq-ctrl.log @@ -0,0 +1,51 @@ + +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: pricer armings default=17 real=184 +bars 1080p: 64x64 roots 17517 (with a residual 12680, split luma 3147, compound 7657) +bars 1080p: motion_mode 32x32 SIMPLE=32530 OBMC=0 WARP=224 | 16x16 SIMPLE=4477 OBMC=0 WARP=576 | 8x8 SIMPLE=16655 OBMC=0 WARP=1069 (0.0% OBMC / 3.4% WARP of 55531 eligible) +bars 1080p: inter var-tx depths of 11179 blocks -- leaf single 0=1646 1=1191 (42.0% split) | leaf compound 0=840 1=601 (41.7% split) | 32x32 single 0=785 1=1824 (69.9% split) | 32x32 compound 0=2121 1=2171 (50.6% 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 29255 (modes DC=6958 V=3291 H=5589 D157=8762 PAETH=4655) +| bars 1080p 1920x1024 | 44.17 dB/217969 B, 47.71 dB/320944 B, 51.09 dB/442499 B, 54.30 dB/592258 B | +1.8% | -14.4% | 50.0s:11.2s:20.9s | +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: pricer armings default=14 real=171 +bars 2160p: 64x64 roots 18483 (with a residual 12366, split luma 2442, compound 6718) +bars 2160p: motion_mode 32x32 SIMPLE=27815 OBMC=0 WARP=280 | 16x16 SIMPLE=2569 OBMC=0 WARP=629 | 8x8 SIMPLE=6855 OBMC=0 WARP=215 (0.0% OBMC / 2.9% WARP of 38363 eligible) +bars 2160p: inter var-tx depths of 9151 blocks -- leaf single 0=1260 1=523 (29.3% split) | leaf compound 0=1086 1=268 (19.8% split) | 32x32 single 0=391 1=1233 (75.9% split) | 32x32 compound 0=175 1=4215 (96.0% 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 12531 (modes DC=3289 V=748 H=2666 D157=4107 PAETH=1721) +| bars 2160p 1920x1024 | 43.69 dB/231175 B, 47.61 dB/341600 B, 51.20 dB/455550 B, 54.54 dB/584210 B | +12.6% | -9.9% | 34.8s:6.1s:16.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): pricer armings default=20 real=213 +film A (1080p source): 64x64 roots 9184 (with a residual 6132, split luma 2902, compound 3587) +film A (1080p source): motion_mode 32x32 SIMPLE=32120 OBMC=0 WARP=1129 | 16x16 SIMPLE=19154 OBMC=0 WARP=1686 | 8x8 SIMPLE=4971 OBMC=0 WARP=959 (0.0% OBMC / 6.3% WARP of 60019 eligible) +film A (1080p source): inter var-tx depths of 85205 blocks -- leaf single 0=13756 1=2673 (16.3% split) | leaf compound 0=32829 1=6881 (17.3% split) | 32x32 single 0=7393 1=5732 (43.7% split) | 32x32 compound 0=9874 1=6067 (38.1% 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 23573 (modes DC=6103 V=3470 H=4339 D157=6770 PAETH=2891) +| film A (1080p source) 1920x768 | 44.33 dB/74306 B, 45.84 dB/124416 B, 47.04 dB/213610 B, 48.29 dB/508783 B | +34.8% | +5.0% | 70.9s:10.0s:14.2s | +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): pricer armings default=20 real=189 +film B (2160p HDR source): 64x64 roots 15265 (with a residual 6697, split luma 2052, compound 7180) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=34383 OBMC=0 WARP=1084 | 16x16 SIMPLE=12348 OBMC=0 WARP=964 | 8x8 SIMPLE=2108 OBMC=0 WARP=359 (0.0% OBMC / 4.7% WARP of 51246 eligible) +film B (2160p HDR source): inter var-tx depths of 75867 blocks -- leaf single 0=12990 1=2179 (14.4% split) | leaf compound 0=28745 1=5183 (15.3% split) | 32x32 single 0=7860 1=5938 (43.0% split) | 32x32 compound 0=8021 1=4951 (38.2% 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 16917 (modes DC=4552 V=2320 H=2430 D157=5857 PAETH=1758) +| film B (2160p HDR source) 1920x1024 | 46.95 dB/33881 B, 48.06 dB/68679 B, 49.13 dB/144407 B, 50.24 dB/387536 B | +47.0% | +16.5% | 68.9s:22.0s:16.0s | +screen capture (2026-07-25 02-09-04.mkv): 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 None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): 64x64 roots 20558 (with a residual 0, split luma 0, compound 0) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.87 dB/40155 B, 48.55 dB/51325 B, 50.86 dB/63998 B, 53.07 dB/80203 B | +33.4% | -23.8% | 50.4s:10.4s:13.7s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 608 filtered out; finished in 440.20s + +RC=0 diff --git a/lanes/dq-r2k1.log b/lanes/dq-r2k1.log new file mode 100644 index 00000000..8c25d35e --- /dev/null +++ b/lanes/dq-r2k1.log @@ -0,0 +1,51 @@ + +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: pricer armings default=17 real=182 +bars 1080p: 64x64 roots 17505 (with a residual 13043, split luma 3182, compound 7471) +bars 1080p: motion_mode 32x32 SIMPLE=32442 OBMC=0 WARP=187 | 16x16 SIMPLE=4779 OBMC=0 WARP=548 | 8x8 SIMPLE=17075 OBMC=0 WARP=862 (0.0% OBMC / 2.9% WARP of 55893 eligible) +bars 1080p: inter var-tx depths of 11880 blocks -- leaf single 0=1770 1=1345 (43.2% split) | leaf compound 0=932 1=625 (40.1% split) | 32x32 single 0=787 1=1879 (70.5% split) | 32x32 compound 0=2309 1=2233 (49.2% 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 28117 (modes DC=6831 V=2959 H=5210 D157=9006 PAETH=4111) +| bars 1080p 1920x1024 | 44.57 dB/228802 B, 48.13 dB/334388 B, 51.54 dB/459000 B, 54.74 dB/612525 B | +1.5% | -14.9% | 51.5s:11.5s:20.6s | +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: pricer armings default=14 real=175 +bars 2160p: 64x64 roots 18448 (with a residual 13053, split luma 2449, compound 6339) +bars 2160p: motion_mode 32x32 SIMPLE=29802 OBMC=0 WARP=206 | 16x16 SIMPLE=2750 OBMC=0 WARP=445 | 8x8 SIMPLE=7520 OBMC=0 WARP=190 (0.0% OBMC / 2.1% WARP of 40913 eligible) +bars 2160p: inter var-tx depths of 9250 blocks -- leaf single 0=1237 1=548 (30.7% split) | leaf compound 0=1043 1=228 (17.9% split) | 32x32 single 0=408 1=1293 (76.0% split) | 32x32 compound 0=149 1=4344 (96.7% 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 12509 (modes DC=3443 V=708 H=2716 D157=3875 PAETH=1767) +| bars 2160p 1920x1024 | 43.74 dB/232825 B, 47.78 dB/347045 B, 51.29 dB/458448 B, 54.74 dB/590364 B | +12.5% | -9.8% | 34.9s:6.1s:16.9s | +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): pricer armings default=20 real=212 +film A (1080p source): 64x64 roots 9130 (with a residual 6191, split luma 2911, compound 3504) +film A (1080p source): motion_mode 32x32 SIMPLE=31602 OBMC=0 WARP=1222 | 16x16 SIMPLE=19477 OBMC=0 WARP=1345 | 8x8 SIMPLE=4984 OBMC=0 WARP=851 (0.0% OBMC / 5.7% WARP of 59481 eligible) +film A (1080p source): inter var-tx depths of 89007 blocks -- leaf single 0=14637 1=2884 (16.5% split) | leaf compound 0=34236 1=7531 (18.0% split) | 32x32 single 0=7421 1=5834 (44.0% split) | 32x32 compound 0=10179 1=6285 (38.2% 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 23886 (modes DC=6059 V=3487 H=4504 D157=6813 PAETH=3023) +| film A (1080p source) 1920x768 | 44.37 dB/75837 B, 45.89 dB/126770 B, 47.11 dB/219938 B, 48.31 dB/514160 B | +34.7% | +5.2% | 72.0s:10.0s:14.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): pricer armings default=20 real=190 +film B (2160p HDR source): 64x64 roots 15239 (with a residual 6732, split luma 2056, compound 7256) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=33757 OBMC=0 WARP=1046 | 16x16 SIMPLE=12048 OBMC=0 WARP=970 | 8x8 SIMPLE=1857 OBMC=0 WARP=342 (0.0% OBMC / 4.7% WARP of 50020 eligible) +film B (2160p HDR source): inter var-tx depths of 77362 blocks -- leaf single 0=13093 1=2331 (15.1% split) | leaf compound 0=29653 1=5369 (15.3% split) | 32x32 single 0=7921 1=5758 (42.1% split) | 32x32 compound 0=8206 1=5031 (38.0% 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 16945 (modes DC=4638 V=2305 H=2417 D157=5827 PAETH=1758) +| film B (2160p HDR source) 1920x1024 | 46.98 dB/34709 B, 48.12 dB/70826 B, 49.17 dB/150093 B, 50.28 dB/395791 B | +46.7% | +16.6% | 69.1s:23.1s:15.4s | +screen capture (2026-07-25 02-09-04.mkv): 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 None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): 64x64 roots 20563 (with a residual 0, split luma 0, compound 0) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23558 OBMC=0 WARP=139 | 16x16 SIMPLE=1353 OBMC=0 WARP=331 | 8x8 SIMPLE=594 OBMC=0 WARP=684 (0.0% OBMC / 4.3% WARP of 26659 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 40890 blocks -- leaf single 0=7529 1=8410 (52.8% split) | leaf compound 0=3738 1=3351 (47.3% split) | 32x32 single 0=7745 1=8430 (52.1% split) | 32x32 compound 0=994 1=693 (41.1% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9829 chroma 1102; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8262 (modes DC=95 V=2448 H=5409 D157=221 PAETH=89) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.88 dB/40365 B, 48.59 dB/51376 B, 50.95 dB/65061 B, 53.14 dB/81143 B | +34.1% | -23.6% | 55.2s:10.3s:14.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 608 filtered out; finished in 449.67s + +RC=0 diff --git a/lanes/dq-r2k13.log b/lanes/dq-r2k13.log new file mode 100644 index 00000000..fd3b9348 --- /dev/null +++ b/lanes/dq-r2k13.log @@ -0,0 +1,51 @@ + +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: pricer armings default=17 real=184 +bars 1080p: 64x64 roots 17468 (with a residual 13095, split luma 3213, compound 7697) +bars 1080p: motion_mode 32x32 SIMPLE=32328 OBMC=0 WARP=176 | 16x16 SIMPLE=4709 OBMC=0 WARP=376 | 8x8 SIMPLE=18630 OBMC=0 WARP=883 (0.0% OBMC / 2.5% WARP of 57102 eligible) +bars 1080p: inter var-tx depths of 11637 blocks -- leaf single 0=1616 1=1230 (43.2% split) | leaf compound 0=962 1=610 (38.8% split) | 32x32 single 0=814 1=1825 (69.2% split) | 32x32 compound 0=2316 1=2264 (49.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 28805 (modes DC=7123 V=2970 H=5221 D157=9222 PAETH=4269) +| bars 1080p 1920x1024 | 44.61 dB/231169 B, 48.17 dB/335031 B, 51.57 dB/462213 B, 54.89 dB/619715 B | +1.7% | -14.8% | 43.8s:7.3s:17.6s | +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: pricer armings default=14 real=178 +bars 2160p: 64x64 roots 18466 (with a residual 13131, split luma 2456, compound 6480) +bars 2160p: motion_mode 32x32 SIMPLE=30494 OBMC=0 WARP=185 | 16x16 SIMPLE=2806 OBMC=0 WARP=516 | 8x8 SIMPLE=7754 OBMC=0 WARP=161 (0.0% OBMC / 2.1% WARP of 41916 eligible) +bars 2160p: inter var-tx depths of 9209 blocks -- leaf single 0=1205 1=547 (31.2% split) | leaf compound 0=1061 1=238 (18.3% split) | 32x32 single 0=406 1=1275 (75.8% split) | 32x32 compound 0=169 1=4308 (96.2% 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 12879 (modes DC=3540 V=742 H=2745 D157=4052 PAETH=1800) +| bars 2160p 1920x1024 | 43.74 dB/232233 B, 47.77 dB/347814 B, 51.29 dB/458057 B, 54.73 dB/591298 B | +12.6% | -9.8% | 34.9s:6.1s:16.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): pricer armings default=20 real=212 +film A (1080p source): 64x64 roots 9167 (with a residual 6205, split luma 2904, compound 3593) +film A (1080p source): motion_mode 32x32 SIMPLE=31148 OBMC=0 WARP=1268 | 16x16 SIMPLE=18843 OBMC=0 WARP=1536 | 8x8 SIMPLE=5023 OBMC=0 WARP=849 (0.0% OBMC / 6.2% WARP of 58667 eligible) +film A (1080p source): inter var-tx depths of 88858 blocks -- leaf single 0=14433 1=2854 (16.5% split) | leaf compound 0=34437 1=7469 (17.8% split) | 32x32 single 0=7391 1=5714 (43.6% split) | 32x32 compound 0=10305 1=6255 (37.8% 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 23893 (modes DC=6041 V=3451 H=4413 D157=6920 PAETH=3068) +| film A (1080p source) 1920x768 | 44.38 dB/75839 B, 45.89 dB/126679 B, 47.11 dB/219836 B, 48.30 dB/514389 B | +34.7% | +5.1% | 73.0s:10.2s:15.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): pricer armings default=20 real=190 +film B (2160p HDR source): 64x64 roots 15249 (with a residual 6718, split luma 2082, compound 7251) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=33822 OBMC=0 WARP=1141 | 16x16 SIMPLE=12327 OBMC=0 WARP=956 | 8x8 SIMPLE=1798 OBMC=0 WARP=318 (0.0% OBMC / 4.8% WARP of 50362 eligible) +film B (2160p HDR source): inter var-tx depths of 77198 blocks -- leaf single 0=13118 1=2297 (14.9% split) | leaf compound 0=29581 1=5394 (15.4% split) | 32x32 single 0=8067 1=5659 (41.2% split) | 32x32 compound 0=8264 1=4818 (36.8% 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 16975 (modes DC=4635 V=2346 H=2392 D157=5810 PAETH=1792) +| film B (2160p HDR source) 1920x1024 | 46.98 dB/34700 B, 48.11 dB/70511 B, 49.17 dB/150128 B, 50.28 dB/395956 B | +46.8% | +16.6% | 72.0s:20.4s:16.2s | +screen capture (2026-07-25 02-09-04.mkv): 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 None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): 64x64 roots 20557 (with a residual 0, split luma 0, compound 0) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23573 OBMC=0 WARP=140 | 16x16 SIMPLE=1390 OBMC=0 WARP=320 | 8x8 SIMPLE=618 OBMC=0 WARP=697 (0.0% OBMC / 4.3% WARP of 26738 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 42017 blocks -- leaf single 0=7834 1=8541 (52.2% split) | leaf compound 0=4016 1=3434 (46.1% split) | 32x32 single 0=8113 1=8420 (50.9% split) | 32x32 compound 0=987 1=672 (40.5% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9831 chroma 1103; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8302 (modes DC=95 V=2462 H=5444 D157=216 PAETH=85) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.88 dB/40338 B, 48.64 dB/51790 B, 50.95 dB/65135 B, 53.16 dB/81381 B | +34.3% | -23.5% | 46.8s:9.4s:12.3s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 608 filtered out; finished in 424.33s + +RC=0 diff --git a/lanes/dq-r3k1.log b/lanes/dq-r3k1.log new file mode 100644 index 00000000..31f5f923 --- /dev/null +++ b/lanes/dq-r3k1.log @@ -0,0 +1,51 @@ + +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: pricer armings default=17 real=180 +bars 1080p: 64x64 roots 17523 (with a residual 12991, split luma 3156, compound 7749) +bars 1080p: motion_mode 32x32 SIMPLE=30654 OBMC=0 WARP=156 | 16x16 SIMPLE=4969 OBMC=0 WARP=350 | 8x8 SIMPLE=16482 OBMC=0 WARP=1300 (0.0% OBMC / 3.3% WARP of 53911 eligible) +bars 1080p: inter var-tx depths of 12100 blocks -- leaf single 0=1851 1=1339 (42.0% split) | leaf compound 0=909 1=702 (43.6% split) | 32x32 single 0=814 1=1858 (69.5% split) | 32x32 compound 0=2351 1=2276 (49.2% 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 27916 (modes DC=6680 V=2872 H=5104 D157=9008 PAETH=4252) +| bars 1080p 1920x1024 | 44.74 dB/233274 B, 48.32 dB/338458 B, 51.72 dB/466419 B, 54.85 dB/615501 B | +1.2% | -15.3% | 43.8s:7.2s:17.6s | +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: pricer armings default=14 real=179 +bars 2160p: 64x64 roots 18439 (with a residual 13048, split luma 2453, compound 6699) +bars 2160p: motion_mode 32x32 SIMPLE=30385 OBMC=0 WARP=162 | 16x16 SIMPLE=3117 OBMC=0 WARP=425 | 8x8 SIMPLE=7985 OBMC=0 WARP=187 (0.0% OBMC / 1.8% WARP of 42261 eligible) +bars 2160p: inter var-tx depths of 9441 blocks -- leaf single 0=1356 1=574 (29.7% split) | leaf compound 0=1079 1=255 (19.1% split) | 32x32 single 0=437 1=1282 (74.6% split) | 32x32 compound 0=164 1=4294 (96.3% 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 13015 (modes DC=3497 V=810 H=2811 D157=4129 PAETH=1768) +| bars 2160p 1920x1024 | 43.64 dB/229889 B, 47.58 dB/340834 B, 51.17 dB/454592 B, 54.50 dB/583273 B | +12.7% | -9.8% | 34.5s:6.1s:16.9s | +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): pricer armings default=20 real=213 +film A (1080p source): 64x64 roots 9289 (with a residual 6129, split luma 2819, compound 3695) +film A (1080p source): motion_mode 32x32 SIMPLE=31857 OBMC=0 WARP=1263 | 16x16 SIMPLE=18405 OBMC=0 WARP=1440 | 8x8 SIMPLE=4552 OBMC=0 WARP=816 (0.0% OBMC / 6.0% WARP of 58333 eligible) +film A (1080p source): inter var-tx depths of 84992 blocks -- leaf single 0=13965 1=2685 (16.1% split) | leaf compound 0=32768 1=6641 (16.9% split) | 32x32 single 0=7246 1=5792 (44.4% split) | 32x32 compound 0=9742 1=6153 (38.7% 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 23354 (modes DC=5962 V=3357 H=4324 D157=6848 PAETH=2863) +| film A (1080p source) 1920x768 | 44.31 dB/74263 B, 45.84 dB/124644 B, 47.03 dB/212539 B, 48.27 dB/506574 B | +35.2% | +5.3% | 71.5s:10.1s:15.1s | +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): pricer armings default=20 real=190 +film B (2160p HDR source): 64x64 roots 15400 (with a residual 6663, split luma 1960, compound 7434) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=33637 OBMC=0 WARP=1119 | 16x16 SIMPLE=11514 OBMC=0 WARP=940 | 8x8 SIMPLE=1903 OBMC=0 WARP=377 (0.0% OBMC / 4.9% WARP of 49490 eligible) +film B (2160p HDR source): inter var-tx depths of 75763 blocks -- leaf single 0=12886 1=2134 (14.2% split) | leaf compound 0=29242 1=5042 (14.7% split) | 32x32 single 0=7906 1=5839 (42.5% split) | 32x32 compound 0=7881 1=4833 (38.0% 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 16219 (modes DC=4481 V=2224 H=2281 D157=5556 PAETH=1677) +| film B (2160p HDR source) 1920x1024 | 46.93 dB/33862 B, 48.06 dB/68503 B, 49.10 dB/143142 B, 50.25 dB/388271 B | +47.8% | +17.1% | 71.0s:20.4s:16.2s | +screen capture (2026-07-25 02-09-04.mkv): 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 None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=154 real=0 +screen capture (2026-07-25 02-09-04.mkv): 64x64 roots 20510 (with a residual 0, split luma 0, compound 0) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23118 OBMC=0 WARP=141 | 16x16 SIMPLE=1454 OBMC=0 WARP=323 | 8x8 SIMPLE=679 OBMC=0 WARP=803 (0.0% OBMC / 4.8% WARP of 26518 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 41680 blocks -- leaf single 0=8161 1=8066 (49.7% split) | leaf compound 0=3997 1=3437 (46.2% split) | 32x32 single 0=7708 1=8555 (52.6% split) | 32x32 compound 0=1053 1=703 (40.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9823 chroma 1107; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8494 (modes DC=94 V=2517 H=5554 D157=240 PAETH=89) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.96 dB/40644 B, 48.65 dB/51841 B, 50.95 dB/65126 B, 53.40 dB/84258 B | +35.0% | -23.4% | 47.2s:9.6s:12.3s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 608 filtered out; finished in 421.62s + +RC=0 diff --git a/lanes/dq-suite.log b/lanes/dq-suite.log new file mode 100644 index 00000000..08f2d315 --- /dev/null +++ b/lanes/dq-suite.log @@ -0,0 +1,668 @@ + +running 609 tests +test bits::tests::delta_q_roundtrip ... ok +test bits::tests::le_roundtrip ... ok +test bits::tests::leb128_roundtrip ... ok +test bits::tests::su_roundtrip ... ok +test bits::tests::trailing_bits_and_byte_alignment_are_byte_aligned ... ok +test cdf::tests::eob_pt_class1_rows_cover_every_size ... ok +test bits::tests::ns_roundtrip ... ok +test cdf::tests::inter_frame_tables_have_the_spec_alphabet_size ... ok +test cdf::tests::inter_frame_tables_are_well_formed_cdfs ... ok +test cdf_state::tests::the_mv_components_are_separate_and_do_not_share_adaptation ... ok +test cdf_state::tests::the_luma_end_of_block_table_is_shared_and_chromas_is_not ... 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 cdf_state::tests::the_two_luma_sets_share_the_base_range_table ... ok +test compound::tests::equidistant_references_pick_the_first_weight_row ... ok +test compound::tests::weights_always_sum_to_sixteen ... ok +test compound::tests::zero_distance_reference_takes_the_index_3_row ... ok +test decode::every_intra_in_inter_shape_the_census_lists_has_a_size_group_row ... 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::every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan ... ok +test decode::size_group_wh_matches_libaom_size_group_lookup ... ok +test decode::sub_tx_size_map_matches_libaom ... ok +test decode::tests::a_frame_with_no_mode_info_grid_is_refused ... ok +test bits::tests::uvlc_roundtrip ... ok +test decode::tests::a_sub16_leaf_after_a_palette_block_yields_palette_ctx_zero ... ok +test decode::tests::a_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing ... ok +test decode::tests::a_nearmv_block_predicts_from_the_stacks_second_candidate ... 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::a_skipped_block_decodes_to_pure_prediction ... ok +test decode::tests::cdef_find_dir_matches_the_per_sample_reference ... ok +test decode::tests::an_obmc_neighbour_with_no_recorded_filter_refuses_instead_of_panicking ... ok +test decode::tests::every_inter_record_publishes_an_obmc_readable_filter ... ok +test decode::tests::compound_mode_ctx_map_matches_libaom_corners ... ok +test decode::tests::flat_taps_match_the_row_col_neighbour_reads ... ok +test decode::tests::cdef_gather_and_shifted_constrain_match_the_spec_forms ... 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::real_yuv_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 encode::tests::a_mode_the_encoder_cannot_predict_is_refused ... ok +test decode::tests::a_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... 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 decode::tests::ffmpeg_and_this_decoder_agree_on_a_key_frame ... 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 encode::tests::a_640x360_half_straddle_sequence_round_trips_through_ffmpeg ... ok +test decode::tests::odd_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... 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 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::a_picture_off_the_block_grid_encodes_and_a_malformed_one_is_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::odd_dimensions_are_refused ... ok +test encode::tests::a_single_axis_straddle_round_trips_through_ffmpeg ... 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::predicted_coeff_bits_track_the_tile_the_writer_wrote ... ok +test encode::tests::low_motion_makes_an_inter_frame_smaller_than_the_key_frame ... 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::every_frame_of_a_sequence_decodes_through_our_own_decoder ... 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::key_frame_and_inter_frame_both_encode_at_half_straddle_size ... ok +test encode::tests::the_encoded_picture_is_the_one_that_went_in ... ok +test encode::tests::every_frame_of_a_sequence_decodes_to_what_the_encoder_reconstructed ... ok +test encode::tests::the_filter_search_picks_real_filters ... ok +test encode::tests::fidelity_and_rate_move_with_the_quantizer ... ok +test encode::tests::sequence_round_trips_at_a_non_multiple_size ... ok +test encode::tests::a_screen_content_picture_codes_palette_blocks_ffmpeg_decodes_exactly ... ok +test encode::tests::an_854x480_picture_round_trips_through_its_padding ... 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::the_diagonals_beat_the_modes_that_read_no_further ... 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::real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size ... 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 ... 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::a_high_frequency_clip_splits_the_64x64_roots_luma_and_decodes_sample_exact ... 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_moving_detail_clip_codes_two_delta_q_levels_both_decoders_read_exactly ... 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::gop_cadence_is_honored ... ok +test encode::tests::the_search_beats_dc_alone ... ok +test encoder::tests::one_in_one_out_delayed_by_the_lookahead_depth ... ok +test encoder::tests::bt709_limited_colour_is_reported_by_ffprobe ... 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 stream::tests::a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact ... ok +test encoder::tests::filter_replay_codes_the_same_stream_as_a_full_decode ... ok +test encoder::tests::the_rate_loop_prices_the_frames_the_pyramid_codes ... ok +test stream::tests::a_10bit_film_frames_with_rect64_corner_tus_decode_pixel_exact ... ok +test encoder::tests::bytes_per_frame_controller_never_oscillates_past_its_clamp ... 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 stream::tests::a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact ... ok +test encoder::tests::filter_replay_final_matches_the_capture_decode ... ok +test stream::tests::a_128_superblock_stream_whose_skipped_blocks_are_var_tx_decodes_pixel_exact ... 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_10bit_film_frames_with_frame_edge_mv_clamping_decode_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_hand_built_golden_reference_decodes_pixel_exact_against_ffmpeg ... ok +test stream::tests::a_10bit_film_hidden_arf_with_split_superblock_strips_decodes_pixel_exact ... 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_32x32_frame_edge_rect_partition_with_a_flat_band_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_real_aomenc_10bit_inter_sequence_with_a_whole_superblock_block_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_a_split_transform_intra_strip_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 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_rect_and_ab_partitions_decode_pixel_exact ... ok +test stream::tests::a_real_affine_global_motion_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_compound_mv_stack_at_128_superblocks_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_restoration_stream_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 stream::tests::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_altref_sequence_hidden_frames_decode_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_decodes_pixel_exact has been running for over 60 seconds +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_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact has been running for over 60 seconds +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_10bit_inter_sequence_decodes_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 stream::tests::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact ... ok +test encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_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_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact has been running for over 60 seconds +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_16x16_level_1to4_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_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 stream::tests::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact ... ok +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 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_a_coded_rectangular_residual_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact_10bit ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact ... 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_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_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_a_coded_rectangular_residual_decodes_pixel_exact ... ok +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_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_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_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_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_key_frame_with_a_128x128_none_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact ... ok +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_16_level_1to4_partition_decodes_pixel_exact ... ok +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 ... 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 ... ok +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 ... 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_rectangular_compound_wedge_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact has been running for over 60 seconds +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_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 has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact has been running for over 60 seconds +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_interintra_decodes_pixel_exact has been running for over 60 seconds +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_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_mandelbrot_fires_the_vert_b_partition_arm has been running for over 60 seconds +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_two_tile_rows_decodes_through_decode_stream ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_pixel_exact ... ok +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_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_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_temporal_mvs_decodes_pixel_exact 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_two_tile_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_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_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_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_tiny_frame_size_sweep_decodes_pixel_exact ... ok +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::a_real_compound_global_warp_stream_decodes_pixel_exact has been running for over 60 seconds +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::a_dc_coefficient_moves_the_whole_block_off_mid_grey ... 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::chroma_dc_signs_read_their_neighbours ... ok +test tile::tests::directional_modes_predict_from_the_neighbours_they_name ... 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. 565 passed; 0 failed; 44 ignored; 0 measured; 0 filtered out; finished in 781.62s + +RC=0