diff --git a/crates/ec-av1/src/encode.rs b/crates/ec-av1/src/encode.rs index 9138ab32..37a67ec8 100644 --- a/crates/ec-av1/src/encode.rs +++ b/crates/ec-av1/src/encode.rs @@ -42,7 +42,8 @@ use crate::tile::{ }; use crate::transform::{ TxType, dequant_and_inverse_typed_wh, forward_and_quantize, - forward_and_quantize_typed, + forward_and_quantize_scaled, forward_and_quantize_typed, + forward_and_quantize_typed_scaled, }; /// The side of the larger of the two luma blocks this encoder codes, in @@ -428,6 +429,67 @@ pub fn take_b64_root_hits() -> usize { B64_HITS.swap(0, std::sync::atomic::Ordering::Relaxed) } +/// Rate-distortion optimised quantisation ([`crate::tile::rdoq`], lane-rdoq). +/// Preset-gated: it re-prices the block once per candidate level, so it buys +/// bits with wall (see `crate::speed::RDOQ` for the per-preset table). +/// +/// `EC_AV1_RDOQ=0` in any build restores the plain deadzone quantiser -- +/// which is what the byte pins are taken under when they name it. +fn rdoq_on() -> bool { + static ENV: std::sync::LazyLock> = std::sync::LazyLock::new(|| { + crate::envflags::var("EC_AV1_RDOQ").ok().map(|v| v != "0") + }); + ENV.unwrap_or_else(|| crate::speed::at(&crate::speed::RDOQ)) +} + +/// The rate weight [`crate::tile::rdoq`] trades bits for squared error at, in +/// units of one squared AC quantiser step -- the search's own +/// [`LAMBDA_SCALE`], so the quantiser and the mode search speak one currency. +/// +/// The per-frame factors the search multiplies onto it ([`key_lambda_factor`], +/// [`hidden_lambda_factor`], both 1.0 as shipped) and the per-superblock +/// temporal map ([`tpl_lambda_factors`]) are NOT threaded down here: +/// corner-cut, ceiling = a superblock the temporal map weighs away from the +/// frame average has its coefficients optimised at the frame's weight. The +/// upgrade is one `lambda` field on the trial call sites, which is the whole +/// mode-search argument list. +/// +/// SWEPT (lane-rdoq, 12-frame `bd_rate_screen_native`, BD vs libaom +/// `cpu-used 6` on the three real rows). The bowl is a factor of TWO above +/// the mode search's own weight, and it is the same multiplier on all three +/// rows: +/// +/// | `EC_AV1_RDOQ_LAMBDA` | film A | film B | screen | +/// |---|---|---|---| +/// | 0.7 | +27.6 | +39.5 | +29.6 | +/// | 1.0 | +26.3 | +37.5 | +29.1 | +/// | 1.3 | +25.6 | +37.0 | +28.8 | +/// | 1.6 | +24.6 | +35.9 | +28.7 | +/// | 2.2 (shipped) | +24.4 | +35.5 | +28.1 | +/// | 3.2 | +24.7 | +36.1 | +29.4 | +/// +/// A coefficient's rate is worth twice here what the mode search prices it +/// at, and the likeliest reason is that the price is taken against tables +/// that have not adapted yet ([`crate::tile::coeff_bits`]): a block coded +/// late in a frame whose `txb_skip`/`base` tables have narrowed really costs +/// less than the pricer says, and this pass is the one decision taken per +/// COEFFICIENT, so it feels that error most. The honest fix is an adapted +/// price, not a fitted multiplier; this is the fitted multiplier, and its +/// bowl is measured rather than assumed. +const RDOQ_LAMBDA_MULT: f64 = 2.2; + +/// [`RDOQ_LAMBDA_MULT`], or what `EC_AV1_RDOQ_LAMBDA` names (the rate-term +/// calibration sweep). +fn rdoq_lambda() -> f64 { + static MULT: std::sync::LazyLock = std::sync::LazyLock::new(|| { + crate::envflags::var("EC_AV1_RDOQ_LAMBDA") + .ok() + .and_then(|v| v.parse().ok()) + .unwrap_or(RDOQ_LAMBDA_MULT) + }); + lambda_scale() * *MULT +} + /// [`B64_ROOT`], or what `EC_AV1_B64` names. fn b64_root() -> bool { static ENV: std::sync::LazyLock> = std::sync::LazyLock::new(|| { @@ -2002,8 +2064,26 @@ impl Plane<'_> { } #[cfg(test)] let t = stage_start(); - let levels = - forward_and_quantize_typed(residual, side, 8, i32::from(base_q_idx), deadzone, tx_type); + // lane-rdoq: the levels the writer takes are the RDOQ pass's, so the + // reconstruction below and the price further down are both of the + // grid this trial would really code. + let (levels, rdoq_bits) = if rdoq_on() { + let (mut levels, scaled) = forward_and_quantize_typed_scaled( + residual, side, 8, i32::from(base_q_idx), deadzone, tx_type, + ); + let (skip_ctx, sign_ctx) = self.coef_ctx(x, y, side, at.set); + let bits = crate::tile::rdoq( + &mut levels, &scaled, side, base_q_idx, at.set, skip_ctx, sign_ctx, rdoq_lambda(), + ); + (levels, Some(bits)) + } else { + ( + forward_and_quantize_typed( + residual, side, 8, i32::from(base_q_idx), deadzone, tx_type, + ), + None, + ) + }; // lane-av1speed2: 60% of the transform units of an inter stream carry // no coefficient at all, and the square entry point re-inflates that // case into `side * side` zeros (one allocate-and-memset per trial) @@ -2042,6 +2122,9 @@ impl Plane<'_> { .filter(|&&level| level != 0) .map(|&level| 2.0 + 2.0 * f64::from(level.unsigned_abs() + 1).log2()) .sum() + } else if let Some(bits) = rdoq_bits { + // Already priced, against the grid the pass settled on. + bits } else { { let (skip_ctx, sign_ctx) = self.coef_ctx(x, y, side, at.set); @@ -2114,7 +2197,21 @@ impl Plane<'_> { } #[cfg(test)] let t = stage_start(); - let levels = forward_and_quantize(residual, side, 8, i32::from(base_q_idx), deadzone); + // lane-rdoq, as in [`Self::trial_typed`]. + let (levels, rdoq_bits) = if rdoq_on() { + let (mut levels, scaled) = + forward_and_quantize_scaled(residual, side, 8, i32::from(base_q_idx), deadzone); + let (skip_ctx, sign_ctx) = self.coef_ctx(x, y, side, set); + let bits = crate::tile::rdoq( + &mut levels, &scaled, side, base_q_idx, set, skip_ctx, sign_ctx, rdoq_lambda(), + ); + (levels, Some(bits)) + } else { + ( + forward_and_quantize(residual, side, 8, i32::from(base_q_idx), deadzone), + None, + ) + }; // The same all-zero shortcut [`Self::trial_typed`] takes. let coded = dequant_and_inverse_typed_wh( &levels, @@ -2156,6 +2253,8 @@ impl Plane<'_> { .filter(|&&level| level != 0) .map(|&level| 2.0 + 2.0 * f64::from(level.unsigned_abs() + 1).log2()) .sum() + } else if let Some(bits) = rdoq_bits { + bits } else { { let (skip_ctx, sign_ctx) = self.coef_ctx(x, y, side, set); @@ -13896,7 +13995,14 @@ mod tests { let mut wall = 0.0; for &q in &[150u8, 120, 90, 60] { let start = std::time::Instant::now(); - let encoded = encode_sequence_with_ctx(source, q, 0.5, fctx).unwrap(); + // lane-rdoq: the deadzone was fitted WITHOUT the RDOQ pass, so + // the gate has to be able to re-sweep it. 0.5 is the shipped one + // (`crate::encoder::DEADZONE`). + let deadzone = std::env::var("EC_AV1_DEADZONE") + .ok() + .and_then(|v| v.parse().ok()) + .unwrap_or(0.5); + let encoded = encode_sequence_with_ctx(source, q, deadzone, fctx).unwrap(); wall += start.elapsed().as_secs_f64(); let decoded = ffmpeg_decode_sequence(&encoded.stream, width, height, source.len()); let ours = crate::stream::decode_stream(&encoded.stream).expect("our decoder"); @@ -14119,12 +14225,13 @@ mod tests { // base now, not 16 ([`crate::encoder::Pyramid::leaf_q_offset`]) -- 9778 // -> 9835 at q=150 and 35450 -> 35798 at q=60. // `EC_AV1_PYRAMID=8:-32:16:-8:-48` restores these. - // Re-taken at the lane-b64b merge: the 64x64 root prices compound - // references and depth-1 var-tx, on top of the tpl window and the - // ARF's second reference from lane-arfcen. `EC_AV1_B64COMP=0 - // EC_AV1_B64VARTX=0` restores 9853 / 35866. + // Re-taken at the lane-b64b merge (compound + depth-1 var-tx at the + // 64 root; `EC_AV1_B64COMP=0 EC_AV1_B64VARTX=0` gave 9853 / 35866) + // and at the lane-rdoq merge: the coefficient quantiser runs the + // rate-distortion pass ([`crate::tile::rdoq`]) now. `EC_AV1_RDOQ=0` + // restores 9808 / 35791. let pins: [(u8, usize, u64); 2] = - [(150, 9808, 0xb71a_2a4c_0aff_713c), (60, 35791, 0x57a3_93fa_5324_255b)]; + [(150, 8557, 0x6c33_e2cd_7ee9_b0ac), (60, 33345, 0x437c_b492_67d1_796c)]; for (q, bytes, hash) in pins { let encoded = encode_sequence(&source, q, 0.5).unwrap(); assert_eq!( @@ -15358,6 +15465,27 @@ mod tests { take_b64_var_tx_hits(), take_b64_compound_hits(), ); + // lane-rdoq, under `EC_AV1_RDOQ_CENSUS=1` only (it costs a scan + // of every priced block): what the deadzone quantiser handed the + // RDOQ pass and what the pass changed, over every TRIAL block of + // this row's four encodes -- not over the coded stream, so it is + // the bits AT STAKE in the search, not in the bitstream. + let rq = crate::tile::take_rdoq_stats(); + if rq[0] > 0 { + eprintln!( + "{name}: rdoq blocks={} coeffs={} (+-1 {:.1}%, trailing +-1 {:.1}%) \ + zeroed={} lowered={} trial bits {:.0} -> {:.0} ({:+.2}%)", + rq[0], + rq[1], + 100.0 * rq[2] as f64 / rq[1].max(1) as f64, + 100.0 * rq[3] as f64 / rq[1].max(1) as f64, + rq[4], + rq[5], + rq[7] as f64 / 64.0, + rq[6] as f64 / 64.0, + 100.0 * (rq[6] as f64 - rq[7] as f64) / rq[7].max(1) as f64, + ); + } // lane-av1obmc2: the same motion_mode census the 640x384 gate // prints (class `gate-blind-to-feature`) -- how many blocks coded // the symbol at each footprint and how many took OBMC. Without it diff --git a/crates/ec-av1/src/speed.rs b/crates/ec-av1/src/speed.rs index e772520f..21f5b9f2 100644 --- a/crates/ec-av1/src/speed.rs +++ b/crates/ec-av1/src/speed.rs @@ -169,6 +169,27 @@ pub(crate) fn at(table: &[T; 11]) -> T { /// (screen). So it is on at every preset. pub(crate) const B64_ROOT: [bool; 11] = [crate::encode::B64_ROOT; 11]; +/// `encode::rdoq_on`: rate-distortion optimised quantisation +/// ([`crate::tile::rdoq`], lane-rdoq). MEASURED at both ends of the range on +/// the 12-frame native gate (BD vs libaom `cpu-used 6` / rav1e `speed 6`, +/// our wall): +/// +/// | row | preset 0 off | preset 0 on | preset 6 off | preset 6 on | +/// |---|---|---|---|---| +/// | film A | +37.1 / +7.3 (77s) | +24.4 / -1.8 (138s) | +46.0 / +14.5 (32s) | +30.4 / +2.9 (60s) | +/// | film B | +52.5 / +22.3 (78s) | +35.5 / +7.6 (130s) | +67.8 / +35.0 (30s) | +43.5 / +14.2 (51s) | +/// | screen | +33.4 / -23.8 (45s) | +28.1 / -25.7 (79s) | +40.3 / -20.0 (15s) | +34.9 / -22.0 (34s) | +/// +/// It costs about 2x wall and pays at BOTH ends, and it DOMINATES the ladder: +/// preset 6 with it on is better than preset 0 with it off on every row and +/// on both columns, at less wall. So it is on up to preset 6. The top rungs +/// (7..=10) are the real-time ones and are UNMEASURED here, so they keep the +/// cheaper choice rather than an assumed one; `EC_AV1_RDOQ=1` turns it on +/// there. +pub(crate) const RDOQ: [bool; 11] = [ + true, true, true, true, true, true, true, false, false, false, false, +]; + /// `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 46974372..667076b6 100644 --- a/crates/ec-av1/src/tile.rs +++ b/crates/ec-av1/src/tile.rs @@ -13,7 +13,7 @@ use std::cell::RefCell; #[cfg(test)] use std::collections::BTreeMap; use std::sync::LazyLock; -use std::sync::atomic::{AtomicUsize, Ordering}; +use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; use ec_core::{Error, Result}; @@ -4445,6 +4445,26 @@ pub(crate) fn luma_32_coeff_bits(grid: &[i32]) -> f64 { /// blocks mostly code nothing narrows `txb_skip` far below where it started. /// A whole-block luma transform still reads context 0 -- that is what the /// writer codes (`write_luma_tus`, `n == 1`), not an approximation. +/// The default scan of one transform size, built once per size: the search +/// prices thirteen modes for every block, and the scan is the same table +/// every time. +fn scan_of(side: usize) -> &'static Vec { + static SCANS: LazyLock<[Vec; 4]> = LazyLock::new(|| { + [ + default_scan(TX4), + default_scan(TX8), + default_scan(TX16), + default_scan(TX32), + ] + }); + match side { + TX4 => &SCANS[0], + TX8 => &SCANS[1], + TX16 => &SCANS[2], + _ => &SCANS[3], + } +} + pub(crate) fn coeff_bits( grid: &[i32], set: TxbSet, @@ -4458,16 +4478,6 @@ pub(crate) fn coeff_bits( skip_ctx: usize, sign_ctx: usize, ) -> f64 { - /// Built once per size: the search prices thirteen modes for every block, - /// and the scan is the same table every time. - static SCANS: LazyLock<[Vec; 4]> = LazyLock::new(|| { - [ - default_scan(TX4), - default_scan(TX8), - default_scan(TX16), - default_scan(TX32), - ] - }); // `Cdfs::new` builds every table a tile writer adapts -- tens of // kilobytes -- and this function is called once per priced candidate: // together with the copy behind it that was 9% of the encoder's profile @@ -4500,12 +4510,7 @@ pub(crate) fn coeff_bits( if let (Some(dst), Some(src)) = (coding.tx_type.as_mut(), src.tx_type) { dst.copy_from_slice(src); } - let scan = match coding.side { - TX4 => &SCANS[0], - TX8 => &SCANS[1], - TX16 => &SCANS[2], - _ => &SCANS[3], - }; + let scan = scan_of(coding.side); let mut enc = SymbolEncoder::pricer(); write_coeffs(&mut enc, &mut coding, grid, scan, skip_ctx, sign_ctx, None); enc.bits() @@ -4537,6 +4542,195 @@ pub(crate) fn coeff_bits( }) } +/// The largest level [`rdoq`] offers a candidate for, and the most prices it +/// may spend on one block. `EC_AV1_RDOQ_MAXLEVEL` / `EC_AV1_RDOQ_BUDGET` +/// sweep them; see [`rdoq`] for why both exist. +const RDOQ_MAX_LEVEL: u32 = 2; +const RDOQ_BUDGET: u32 = 24; + +fn rdoq_max_level() -> u32 { + static ENV: LazyLock = LazyLock::new(|| { + crate::envflags::var("EC_AV1_RDOQ_MAXLEVEL") + .ok() + .and_then(|v| v.parse().ok()) + .unwrap_or(RDOQ_MAX_LEVEL) + }); + *ENV +} + +fn rdoq_budget() -> u32 { + static ENV: LazyLock = LazyLock::new(|| { + crate::envflags::var("EC_AV1_RDOQ_BUDGET") + .ok() + .and_then(|v| v.parse().ok()) + .unwrap_or(RDOQ_BUDGET) + }); + *ENV +} + +/// Rate-distortion optimised quantisation (lane-rdoq): the pass every +/// reference encoder runs after the quantiser and this one did not have. +/// +/// The deadzone quantiser rounds each coefficient on its own, blind to what +/// the coded level costs. Every reference decides that per coefficient +/// against the entropy coder (libaom `av1_optimize_txb`, rav1e +/// `optimize_txb`): a level is lowered toward zero when the bits it gives +/// back are worth more than the squared error it adds, which also shortens +/// the eob when the tail levels go to zero. +/// +/// Mirroring rav1e's shape without its incremental cost model: the candidate +/// set per coefficient is `{level, level - 1, .., 0}` walked one step at a +/// time in REVERSE scan order (the tail first, so a dropped tail is retried +/// against the shorter eob it leaves), and each candidate is priced by +/// re-coding the whole block through [`coeff_bits`] -- the same CDFs, the +/// same neighbour contexts and the same writer the search already prices +/// with, so no second cost model can drift from the writer (class +/// `table-and-reader-move-together`). That costs one `write_coeffs` per +/// candidate instead of rav1e's table lookup, which is why this is a preset +/// lever (`crate::speed::RDOQ`) and not unconditional. +/// +/// `levels` is the side-strided grid the inverse transform and the writer +/// will read, `scaled` the pre-rounding `coeff / q` of each position +/// (`crate::transform::forward_and_quantize_scaled`). `lambda` is the rate +/// weight in units of ONE SQUARED AC QUANTISER STEP: the search's own +/// `sse + lambda * bits` is `step^2 * (sum (scaled - level)^2 + LAMBDA_SCALE +/// * bits)` once the pixel-domain error of a level is written through the +/// orthonormal transform (`(coeff - level * q) / 8`, `INVERSE_GAIN_RECIPROCAL`), +/// so `step^2` divides out of every comparison here and the DC's different +/// quantiser is the only per-position weight left. +/// +/// Returns what the block's levels cost after the pass, so the caller prices +/// the tile it will actually write and never the pre-RDOQ grid. +#[allow(clippy::too_many_arguments)] +pub(crate) fn rdoq( + levels: &mut [i32], + scaled: &[f32], + side: usize, + base_q_idx: u8, + set: TxbSet, + skip_ctx: usize, + sign_ctx: usize, + lambda: f64, +) -> f64 { + // A 64-point transform carries its top-left 32x32 alone, and that corner + // is what the writer and the pricer take (`coded_corner`). + let coded = side.min(TX32); + let q_ctx = crate::decode::q_ctx_of(base_q_idx); + let mut dense = if coded == side { Vec::new() } else { vec![0i32; coded * coded] }; + fn price( + levels: &[i32], + dense: &mut [i32], + side: usize, + coded: usize, + set: TxbSet, + q_ctx: usize, + skip_ctx: usize, + sign_ctx: usize, + ) -> f64 { + if dense.is_empty() { + return coeff_bits(levels, set, q_ctx, skip_ctx, sign_ctx); + } + for row in 0..coded { + dense[row * coded..][..coded].copy_from_slice(&levels[row * side..][..coded]); + } + coeff_bits(dense, set, q_ctx, skip_ctx, sign_ctx) + } + let mut bits = price(levels, &mut dense, side, coded, set, q_ctx, skip_ctx, sign_ctx); + // The DC has its own quantiser, so its squared error per unit of level is + // `(dc_q / ac_q)^2` of an AC coefficient's. + let dc = f64::from(crate::quant::dc_q(8, i32::from(base_q_idx))); + let ac = f64::from(crate::quant::ac_q(8, i32::from(base_q_idx))); + let dc_weight = (dc / ac) * (dc / ac); + let census = crate::envflags::env_flag!("EC_AV1_RDOQ_CENSUS"); + if census { + census_block(levels, scaled, side, coded, bits); + } + // Where the pass may spend its prices. Every candidate here costs a whole + // `write_coeffs`, where rav1e's incremental model costs a table lookup, + // so both bounds exist to keep that affordable -- and both cut where the + // decisions do not pay anyway: + // * a level above [`RDOQ_MAX_LEVEL`] is never a candidate: one step off + // a big level gives back a fraction of a bit for a whole quantiser + // step of squared error. What pays is `1 -> 0` and `2 -> 1`. + // * at most [`RDOQ_BUDGET`] prices per block, spent from the TAIL + // backwards -- the eob end, where dropping a level also shortens the + // eob -- so a fine-quantizer block carrying two hundred coefficients + // cannot cost two hundred re-codings. + let mut budget = rdoq_budget(); + let max_level = rdoq_max_level(); + for &position in scan_of(coded).iter().rev() { + if budget == 0 { + break; + } + let (row, col) = (usize::from(position) / coded, usize::from(position) % coded); + let i = row * side + col; + if levels[i] == 0 || levels[i].unsigned_abs() > max_level { + continue; + } + let s = f64::from(scaled[i]); + let weight = if i == 0 { dc_weight } else { 1.0 }; + while budget > 0 { + let level = levels[i]; + let candidate = level - level.signum(); + levels[i] = candidate; + budget -= 1; + let after = price(levels, &mut dense, side, coded, set, q_ctx, skip_ctx, sign_ctx); + let distortion = weight + * ((s - f64::from(candidate)).powi(2) - (s - f64::from(level)).powi(2)); + if distortion + lambda * (after - bits) < 0.0 { + bits = after; + if census { + RDOQ_STATS[if candidate == 0 { 4 } else { 5 }].fetch_add(1, Ordering::Relaxed); + } + if candidate == 0 { + break; + } + } else { + levels[i] = level; + break; + } + } + } + if census { + RDOQ_STATS[6].fetch_add((bits * 64.0) as u64, Ordering::Relaxed); + } + bits +} + +/// blocks, coded coefficients, +-1 levels, trailing +-1 levels (a run of them +/// at the end of the scan), zeroed coefficients, lowered coefficients, bits +/// after the pass * 64, bits before the pass * 64. +pub(crate) static RDOQ_STATS: [AtomicU64; 8] = [ + AtomicU64::new(0), AtomicU64::new(0), AtomicU64::new(0), AtomicU64::new(0), + AtomicU64::new(0), AtomicU64::new(0), AtomicU64::new(0), AtomicU64::new(0), +]; + +/// The pre-pass half of [`RDOQ_STATS`] (`EC_AV1_RDOQ_CENSUS`): what the +/// quantiser handed the pass, which is the instrument for how much is at +/// stake before any decision is taken. +fn census_block(levels: &[i32], _scaled: &[f32], side: usize, coded: usize, bits: f64) { + let scan = scan_of(coded); + let at = |p: u16| levels[usize::from(p) / coded * side + usize::from(p) % coded]; + let nonzero = scan.iter().filter(|&&p| at(p) != 0).count(); + let ones = scan.iter().filter(|&&p| at(p).abs() == 1).count(); + let trailing = scan + .iter() + .rev() + .skip_while(|&&p| at(p) == 0) + .take_while(|&&p| at(p).abs() == 1) + .count(); + RDOQ_STATS[0].fetch_add(1, Ordering::Relaxed); + RDOQ_STATS[1].fetch_add(nonzero as u64, Ordering::Relaxed); + RDOQ_STATS[2].fetch_add(ones as u64, Ordering::Relaxed); + RDOQ_STATS[3].fetch_add(trailing as u64, Ordering::Relaxed); + RDOQ_STATS[7].fetch_add((bits * 64.0) as u64, Ordering::Relaxed); +} + +/// Reads and clears [`RDOQ_STATS`]. +pub fn take_rdoq_stats() -> [u64; 8] { + std::array::from_fn(|i| RDOQ_STATS[i].swap(0, Ordering::Relaxed)) +} + thread_local! { /// The default tables every price falls back to, one pristine/scratch /// pair per q-context (see [`coeff_bits`] for why the pair is kept). @@ -8392,6 +8586,82 @@ mod tests { /// be: every position exactly once, the origin first, and never a position /// before one it sits diagonally behind — which is what lets a decoder read /// a coefficient's context off the coefficients it has already decoded. + /// lane-rdoq's two contracts, on a block shaped like the ones the pass + /// exists for (a strong DC, two mid levels and a tail of barely-rounded + /// +-1s): it may only move a block to a LOWER `D + lambda * R`, and the + /// bits it hands back must be the price of the grid it leaves behind -- + /// the search takes that number as the block's rate, so a stale one + /// would price a tile nobody writes. + #[test] + fn rdoq_only_lowers_the_cost_and_reports_its_own_grid() { + let (side, set, q, lambda) = (16usize, TxbSet::Luma16, 150u8, 0.0275); + let mut scaled = vec![0f32; side * side]; + for (i, v) in [ + (0usize, 7.4f32), + (1, 2.6), + (side, -1.55), + // The tail the pass exists for: coefficients the deadzone only + // just rounded up to +-1, which give a whole level back for a + // fraction of one step of squared error. + (2, 0.55), + (2 * side + 1, -0.52), + (3 * side + 3, 0.51), + ] { + scaled[i] = v; + } + // The deadzone quantiser this pass runs after, at the shipped 0.5. + let mut levels: Vec = scaled + .iter() + .map(|&v| { + let m = f64::from(v).abs() + 0.5; + let l = if m < 1.0 { 0 } else { m.floor() as i32 }; + if v < 0.0 { -l } else { l } + }) + .collect(); + let before = levels.clone(); + let dc = f64::from(crate::quant::dc_q(8, i32::from(q))); + let ac = f64::from(crate::quant::ac_q(8, i32::from(q))); + let dc_weight = (dc / ac) * (dc / ac); + let cost = |grid: &[i32]| -> f64 { + let d: f64 = grid + .iter() + .zip(&scaled) + .enumerate() + .map(|(i, (&l, &s))| { + (if i == 0 { dc_weight } else { 1.0 }) + * (f64::from(s) - f64::from(l)).powi(2) + }) + .sum(); + d + lambda * coeff_bits(grid, set, crate::decode::q_ctx_of(q), 0, 0) + }; + let bits = rdoq(&mut levels, &scaled, side, q, set, 0, 0, lambda); + assert_eq!(bits, coeff_bits(&levels, set, crate::decode::q_ctx_of(q), 0, 0)); + assert!(cost(&levels) <= cost(&before), "{:?} vs {:?}", cost(&levels), cost(&before)); + // The tail is what it is for: the last coded position moves earlier. + let last = |g: &[i32]| scan_of(side).iter().rposition(|&p| g[usize::from(p)] != 0); + assert!(last(&levels) < last(&before), "eob {:?} -> {:?}", last(&before), last(&levels)); + // A 64-point transform is priced on its top-left 32x32 corner, and + // the pass has to hand back THAT price (the dense path). + let (side, set) = (64usize, TxbSet::Luma64); + let mut scaled = vec![0f32; side * side]; + for (i, v) in [(0usize, 6.1f32), (1, 0.55), (side + 1, -0.53)] { + scaled[i] = v; + } + let mut levels: Vec = scaled + .iter() + .map(|&v| { + let m = f64::from(v).abs() + 0.5; + let l = if m < 1.0 { 0 } else { m.floor() as i32 }; + if v < 0.0 { -l } else { l } + }) + .collect(); + let bits = rdoq(&mut levels, &scaled, side, q, set, 0, 0, lambda); + let corner: Vec = (0..32) + .flat_map(|row| levels[row * side..][..32].to_vec()) + .collect(); + assert_eq!(bits, coeff_bits(&corner, set, crate::decode::q_ctx_of(q), 0, 0)); + } + #[test] fn the_default_scan_walks_every_position_outwards() { for side in [TX16, TX32] { diff --git a/crates/ec-av1/src/transform.rs b/crates/ec-av1/src/transform.rs index 643e59e3..e6c056bf 100644 --- a/crates/ec-av1/src/transform.rs +++ b/crates/ec-av1/src/transform.rs @@ -1554,6 +1554,35 @@ pub fn forward_and_quantize_typed( quantize(&coeffs, side, bit_depth, q_idx, deadzone) } +/// [`forward_and_quantize_typed`] that also hands back each coded position's +/// pre-rounding scaled coefficient (`coeff / q`, the exact real-valued level +/// the quantiser rounded). The RDOQ pass ([`crate::tile::rdoq`]) prices +/// `level - 1` against `level` and needs the distance to both, which the +/// levels alone no longer carry. +pub fn forward_and_quantize_typed_scaled( + residual: &[i32], + side: usize, + bit_depth: u8, + q_idx: i32, + deadzone: f64, + tx_type: TxType, +) -> (Vec, Vec) { + let coeffs = forward_transform_2d_typed(residual, side, tx_type); + let dc = f64::from(crate::quant::dc_q(bit_depth, q_idx)); + let ac = f64::from(crate::quant::ac_q(bit_depth, q_idx)); + let mut scaled = vec![0f32; side * side]; + let coded = side.min(32); + for row in 0..coded { + for col in 0..coded { + let i = row * side + col; + scaled[i] = (coeffs[i] / if i == 0 { dc } else { ac }) as f32; + } + } + // Same levels as the plain entry point: this is the same division the + // quantiser does, and the levels come from the quantiser itself. + (quantize(&coeffs, side, bit_depth, q_idx, deadzone), scaled) +} + /// How much the decoder's inverse transform shrinks an orthonormal DCT. /// /// Measured, not asserted: feeding a single dequantized coefficient through @@ -1997,6 +2026,34 @@ pub fn forward_and_quantize( bit_depth: u8, q_idx: i32, deadzone: f64, +) -> Vec { + forward_and_quantize_into(residual, side, bit_depth, q_idx, deadzone, None) +} + +/// [`forward_and_quantize`] plus the pre-rounding scaled coefficients, for the +/// same reason [`forward_and_quantize_typed_scaled`] exists. The levels are +/// bit-identical: it is the one loop below, with the value it rounds also +/// written out. +pub fn forward_and_quantize_scaled( + residual: &[i32], + side: usize, + bit_depth: u8, + q_idx: i32, + deadzone: f64, +) -> (Vec, Vec) { + let mut scaled = vec![0f32; side * side]; + let levels = + forward_and_quantize_into(residual, side, bit_depth, q_idx, deadzone, Some(&mut scaled)); + (levels, scaled) +} + +fn forward_and_quantize_into( + residual: &[i32], + side: usize, + bit_depth: u8, + q_idx: i32, + deadzone: f64, + mut scaled_out: Option<&mut [f32]>, ) -> Vec { // 72% of this encoder's forward DCTs are of an all-zero residual // (measured over the BD gate's own ladder, lane-av1fwd): every row and @@ -2023,6 +2080,9 @@ pub fn forward_and_quantize( } for u in 0..coded { let scaled = f64::from(t[u]) * if u == 0 && v == 0 { dc } else { ac }; + if let Some(out) = scaled_out.as_deref_mut() { + out[u * side + v] = scaled as f32; + } let magnitude = scaled.abs() + deadzone; let level = if magnitude < 1.0 { 0 diff --git a/lanes/rdoq-arm.sh b/lanes/rdoq-arm.sh new file mode 100755 index 00000000..c5d2beeb --- /dev/null +++ b/lanes/rdoq-arm.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# lane-rdoq: one native-gate arm (all five rows) under a named env set. +# usage: rdoq-arm.sh +name=$1; shift +B=$HOME/.cache/cargo-target-rdoq/release/deps/ec_av1-8fef0196ab10338d +systemd-run --user --unit rq-$name -p MemoryMax=8G --collect --working-directory=$PWD \ + bash -c "env EC_AV1_NATIVE_FILM=1 EC_AV1_NATIVE_FILM4K=1 EC_AV1_NATIVE_SCREEN=1 $* $B --ignored --nocapture --test-threads 1 bd_rate_screen_native > lanes/rdoq-$name.log 2>&1; echo RC=\$? >> lanes/rdoq-$name.log" diff --git a/lanes/rdoq-ctl.log b/lanes/rdoq-ctl.log new file mode 100644 index 00000000..5b01bd9f --- /dev/null +++ b/lanes/rdoq-ctl.log @@ -0,0 +1,46 @@ + +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: motion_mode 32x32 SIMPLE=48527 OBMC=0 WARP=211 | 16x16 SIMPLE=4508 OBMC=0 WARP=438 | 8x8 SIMPLE=16138 OBMC=0 WARP=1529 (0.0% OBMC / 3.1% WARP of 71351 eligible) +bars 1080p: inter var-tx depths of 11187 blocks -- leaf single 0=1531 1=1124 (42.3% split) | leaf compound 0=869 1=639 (42.4% split) | 32x32 single 0=769 1=1874 (70.9% split) | 32x32 compound 0=2146 1=2235 (51.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 28842 (modes DC=6848 V=3145 H=5568 D157=8774 PAETH=4507) +| bars 1080p 1920x1024 | 44.16 dB/219474 B, 47.71 dB/322777 B, 51.09 dB/442730 B, 54.30 dB/593065 B | +2.2% | -14.0% | 43.9s:8.0s:18.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=175 +bars 2160p: motion_mode 32x32 SIMPLE=42061 OBMC=0 WARP=284 | 16x16 SIMPLE=3119 OBMC=0 WARP=671 | 8x8 SIMPLE=7819 OBMC=0 WARP=252 (0.0% OBMC / 2.2% WARP of 54206 eligible) +bars 2160p: inter var-tx depths of 9166 blocks -- leaf single 0=1267 1=519 (29.1% split) | leaf compound 0=1061 1=257 (19.5% split) | 32x32 single 0=400 1=1261 (75.9% split) | 32x32 compound 0=161 1=4240 (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 13065 (modes DC=3422 V=776 H=2756 D157=4292 PAETH=1819) +| bars 2160p 1920x1024 | 43.68 dB/232087 B, 47.61 dB/341622 B, 51.20 dB/455971 B, 54.53 dB/583936 B | +12.7% | -9.8% | 43.1s:6.3s:20.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): motion_mode 32x32 SIMPLE=41201 OBMC=0 WARP=1328 | 16x16 SIMPLE=20494 OBMC=0 WARP=1604 | 8x8 SIMPLE=4922 OBMC=0 WARP=846 (0.0% OBMC / 5.4% WARP of 70395 eligible) +film A (1080p source): inter var-tx depths of 86180 blocks -- leaf single 0=13762 1=2584 (15.8% split) | leaf compound 0=33584 1=6988 (17.2% split) | 32x32 single 0=7232 1=5556 (43.4% split) | 32x32 compound 0=10091 1=6383 (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 24046 (modes DC=6056 V=3557 H=4424 D157=6925 PAETH=3084) +| film A (1080p source) 1920x768 | 44.24 dB/75308 B, 45.83 dB/125849 B, 47.06 dB/217800 B, 48.32 dB/519421 B | +37.1% | +7.3% | 77.1s:11.0s:16.9s | +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): motion_mode 32x32 SIMPLE=51492 OBMC=0 WARP=1137 | 16x16 SIMPLE=13701 OBMC=0 WARP=1016 | 8x8 SIMPLE=2084 OBMC=0 WARP=450 (0.0% OBMC / 3.7% WARP of 69880 eligible) +film B (2160p HDR source): inter var-tx depths of 75943 blocks -- leaf single 0=12882 1=2214 (14.7% split) | leaf compound 0=28716 1=5173 (15.3% split) | 32x32 single 0=7785 1=5849 (42.9% split) | 32x32 compound 0=8393 1=4931 (37.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 18034 (modes DC=4989 V=2447 H=2570 D157=6251 PAETH=1777) +| film B (2160p HDR source) 1920x1024 | 46.74 dB/34523 B, 48.06 dB/70377 B, 49.16 dB/149444 B, 50.29 dB/398789 B | +52.5% | +22.3% | 78.1s:22.4s:16.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): 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% | 45.1s:10.3s:14.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 602 filtered out; finished in 457.99s + +RC=0 diff --git a/lanes/rdoq-dz42.log b/lanes/rdoq-dz42.log new file mode 100644 index 00000000..736702f7 --- /dev/null +++ b/lanes/rdoq-dz42.log @@ -0,0 +1,46 @@ + +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 None +bars 1080p: pricer armings default=16 real=190 +bars 1080p: motion_mode 32x32 SIMPLE=45306 OBMC=0 WARP=222 | 16x16 SIMPLE=5970 OBMC=0 WARP=488 | 8x8 SIMPLE=19615 OBMC=0 WARP=2922 (0.0% OBMC / 4.9% WARP of 74523 eligible) +bars 1080p: inter var-tx depths of 12593 blocks -- leaf single 0=2460 1=886 (26.5% split) | leaf compound 0=985 1=496 (33.5% split) | 32x32 single 0=1076 1=2024 (65.3% split) | 32x32 compound 0=2379 1=2287 (49.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 34164 (modes DC=7185 V=3421 H=7327 D157=11534 PAETH=4697) +| bars 1080p 1920x1024 | 44.00 dB/202159 B, 47.83 dB/315103 B, 51.06 dB/425606 B, 53.71 dB/548637 B | -1.8% | -17.5% | 173.6s:9.0s:19.2s | +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 None +bars 2160p: pricer armings default=13 real=153 +bars 2160p: motion_mode 32x32 SIMPLE=28493 OBMC=0 WARP=239 | 16x16 SIMPLE=2626 OBMC=0 WARP=304 | 8x8 SIMPLE=7096 OBMC=0 WARP=410 (0.0% OBMC / 2.4% WARP of 39168 eligible) +bars 2160p: inter var-tx depths of 8759 blocks -- leaf single 0=1148 1=619 (35.0% split) | leaf compound 0=612 1=136 (18.2% split) | 32x32 single 0=476 1=1235 (72.2% split) | 32x32 compound 0=123 1=4410 (97.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 11375 (modes DC=2817 V=747 H=2075 D157=4329 PAETH=1407) +| bars 2160p 1920x1024 | 43.65 dB/222977 B, 47.87 dB/340932 B, 51.26 dB/446758 B, 53.98 dB/558980 B | +10.3% | -12.2% | 143.7s:7.2s:18.1s | +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 None +film A (1080p source): pricer armings default=19 real=216 +film A (1080p source): motion_mode 32x32 SIMPLE=52035 OBMC=0 WARP=2542 | 16x16 SIMPLE=27983 OBMC=0 WARP=2187 | 8x8 SIMPLE=9335 OBMC=0 WARP=1094 (0.0% OBMC / 6.1% WARP of 95176 eligible) +film A (1080p source): inter var-tx depths of 110815 blocks -- leaf single 0=19503 1=5767 (22.8% split) | leaf compound 0=36602 1=12061 (24.8% split) | 32x32 single 0=11235 1=8955 (44.4% split) | 32x32 compound 0=10518 1=6174 (37.0% 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 25438 (modes DC=6417 V=3188 H=4915 D157=7248 PAETH=3670) +| film A (1080p source) 1920x768 | 42.50 dB/55949 B, 44.73 dB/98650 B, 46.42 dB/170360 B, 47.63 dB/293995 B | +48.1% | +20.7% | 150.5s:10.4s:15.0s | +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 None +film B (2160p HDR source): pricer armings default=18 real=197 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=63631 OBMC=0 WARP=2725 | 16x16 SIMPLE=20617 OBMC=0 WARP=1238 | 8x8 SIMPLE=5172 OBMC=0 WARP=512 (0.0% OBMC / 4.8% WARP of 93895 eligible) +film B (2160p HDR source): inter var-tx depths of 94597 blocks -- leaf single 0=19705 1=5228 (21.0% split) | leaf compound 0=28298 1=5920 (17.3% split) | 32x32 single 0=12907 1=10790 (45.5% split) | 32x32 compound 0=8185 1=3564 (30.3% 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 25867 (modes DC=6706 V=3526 H=3849 D157=8920 PAETH=2866) +| film B (2160p HDR source) 1920x1024 | 45.86 dB/22166 B, 47.52 dB/50625 B, 48.77 dB/111895 B, 49.77 dB/247221 B | +55.7% | +23.8% | 132.2s:22.1s:16.6s | +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=152 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23754 OBMC=0 WARP=376 | 16x16 SIMPLE=1403 OBMC=0 WARP=306 | 8x8 SIMPLE=556 OBMC=0 WARP=697 (0.0% OBMC / 5.1% WARP of 27092 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 10754 blocks -- leaf single 0=1415 1=2010 (58.7% split) | leaf compound 0=488 1=877 (64.2% split) | 32x32 single 0=1751 1=3640 (67.5% split) | 32x32 compound 0=227 1=346 (60.4% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 8286 chroma 926; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 6767 (modes DC=41 V=1878 H=4604 D157=171 PAETH=73) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.51 dB/38890 B, 48.24 dB/48621 B, 50.46 dB/59927 B, 52.66 dB/74004 B | +29.0% | -25.6% | 76.7s:9.9s:13.2s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 841.32s + +RC=0 diff --git a/lanes/rdoq-dz60.log b/lanes/rdoq-dz60.log new file mode 100644 index 00000000..a88ad605 --- /dev/null +++ b/lanes/rdoq-dz60.log @@ -0,0 +1,46 @@ + +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 None +bars 1080p: pricer armings default=17 real=195 +bars 1080p: motion_mode 32x32 SIMPLE=47569 OBMC=0 WARP=431 | 16x16 SIMPLE=6083 OBMC=0 WARP=789 | 8x8 SIMPLE=17633 OBMC=0 WARP=4405 (0.0% OBMC / 7.3% WARP of 76910 eligible) +bars 1080p: inter var-tx depths of 12643 blocks -- leaf single 0=2597 1=870 (25.1% split) | leaf compound 0=1128 1=454 (28.7% split) | 32x32 single 0=1105 1=2033 (64.8% split) | 32x32 compound 0=2129 1=2327 (52.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 35619 (modes DC=7727 V=3787 H=7411 D157=11670 PAETH=5024) +| bars 1080p 1920x1024 | 44.23 dB/213473 B, 48.02 dB/325547 B, 51.23 dB/439954 B, 53.82 dB/563316 B | -0.1% | -16.2% | 166.3s:6.9s:17.0s | +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 None +bars 2160p: pricer armings default=14 real=162 +bars 2160p: motion_mode 32x32 SIMPLE=32616 OBMC=0 WARP=282 | 16x16 SIMPLE=2931 OBMC=0 WARP=585 | 8x8 SIMPLE=7712 OBMC=0 WARP=479 (0.0% OBMC / 3.0% WARP of 44605 eligible) +bars 2160p: inter var-tx depths of 8769 blocks -- leaf single 0=1345 1=596 (30.7% split) | leaf compound 0=572 1=130 (18.5% split) | 32x32 single 0=498 1=1411 (73.9% split) | 32x32 compound 0=310 1=3907 (92.6% 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 13133 (modes DC=3191 V=1039 H=2520 D157=4580 PAETH=1803) +| bars 2160p 1920x1024 | 43.97 dB/243733 B, 48.06 dB/358477 B, 51.44 dB/468109 B, 54.09 dB/579066 B | +14.3% | -8.9% | 148.5s:8.6s:17.1s | +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 None +film A (1080p source): pricer armings default=20 real=215 +film A (1080p source): motion_mode 32x32 SIMPLE=48398 OBMC=0 WARP=2024 | 16x16 SIMPLE=31608 OBMC=0 WARP=2612 | 8x8 SIMPLE=11296 OBMC=0 WARP=1370 (0.0% OBMC / 6.2% WARP of 97308 eligible) +film A (1080p source): inter var-tx depths of 120647 blocks -- leaf single 0=20707 1=6952 (25.1% split) | leaf compound 0=40250 1=14459 (26.4% split) | 32x32 single 0=10259 1=10137 (49.7% split) | 32x32 compound 0=8797 1=9086 (50.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 27834 (modes DC=6793 V=3630 H=5151 D157=8092 PAETH=4168) +| film A (1080p source) 1920x768 | 42.61 dB/57713 B, 44.85 dB/103377 B, 46.50 dB/177352 B, 47.70 dB/310727 B | +49.3% | +21.5% | 204.5s:11.3s:17.9s | +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 None +film B (2160p HDR source): pricer armings default=19 real=198 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=62777 OBMC=0 WARP=2373 | 16x16 SIMPLE=26046 OBMC=0 WARP=2002 | 8x8 SIMPLE=6667 OBMC=0 WARP=527 (0.0% OBMC / 4.9% WARP of 100392 eligible) +film B (2160p HDR source): inter var-tx depths of 103868 blocks -- leaf single 0=21181 1=6749 (24.2% split) | leaf compound 0=30482 1=7418 (19.6% split) | 32x32 single 0=12782 1=12178 (48.8% split) | 32x32 compound 0=8254 1=4824 (36.9% split) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 32078 (modes DC=8641 V=4266 H=4445 D157=10994 PAETH=3732) +| film B (2160p HDR source) 1920x1024 | 45.91 dB/23318 B, 47.60 dB/54350 B, 48.85 dB/121925 B, 49.87 dB/266447 B | +58.4% | +26.6% | 178.8s:22.0s: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): motion_mode 32x32 SIMPLE=23676 OBMC=0 WARP=356 | 16x16 SIMPLE=1587 OBMC=0 WARP=457 | 8x8 SIMPLE=733 OBMC=0 WARP=782 (0.0% OBMC / 5.8% WARP of 27591 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 16065 blocks -- leaf single 0=2302 1=2807 (54.9% split) | leaf compound 0=984 1=1121 (53.3% split) | 32x32 single 0=2144 1=5750 (72.8% split) | 32x32 compound 0=320 1=637 (66.6% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9856 chroma 1144; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8497 (modes DC=104 V=2486 H=5594 D157=217 PAETH=96) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.64 dB/39105 B, 48.41 dB/49679 B, 50.67 dB/62167 B, 52.95 dB/77870 B | +31.4% | -24.8% | 97.6s:10.3s:13.0s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 963.56s + +RC=0 diff --git a/lanes/rdoq-inv.log b/lanes/rdoq-inv.log new file mode 100644 index 00000000..55d2e274 --- /dev/null +++ b/lanes/rdoq-inv.log @@ -0,0 +1,23 @@ + +running 1 test +test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 10.31s + + +running 1 test +test encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 20.42s + + +running 1 test +speed 0: 32947 bytes [] +speed 3: 30559 bytes [no 8x8 split, no warp, no angle delta, no CfL, no filter intra, no loop restoration, chroma top-3, no tpl] +speed 6: 35858 bytes [no 8x8 split, no extra-reference NEWMV, no warp, no inter var-tx/tx-depth, no 32x32 tx depth, no compound var-tx, no angle delta, no CfL, no filter intra, no loop restoration, split-RD breakout 0.5, coeff breakout 1, intra top-4, inter-intra top-2, chroma top-2, no tpl] +speed 10: 106649 bytes [no 8x8 split, no 32x32 split (32x32-only partitions), no leaf second-reference search, no extra-reference NEWMV, no leaf compound, no compound, no warp, no inter var-tx/tx-depth, no 32x32 tx depth, no compound var-tx, no key tx-depth, no angle delta, no CfL, no filter intra, no loop restoration, no deblock refine, no chroma deblock stage, split-RD breakout 4, coeff breakout 4, intra top-1, inter-intra top-1, chroma top-1, no tpl, no CDEF search, CDEF presets 0] +test encoder::tests::every_speed_preset_decodes_sample_exact_through_both_decoders ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 18.43s + +RC=0 diff --git a/lanes/rdoq-l07.log b/lanes/rdoq-l07.log new file mode 100644 index 00000000..1ee45f0b --- /dev/null +++ b/lanes/rdoq-l07.log @@ -0,0 +1,46 @@ + +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=185 +bars 1080p: motion_mode 32x32 SIMPLE=50342 OBMC=0 WARP=206 | 16x16 SIMPLE=4645 OBMC=0 WARP=465 | 8x8 SIMPLE=17599 OBMC=0 WARP=3022 (0.0% OBMC / 4.8% WARP of 76279 eligible) +bars 1080p: inter var-tx depths of 10791 blocks -- leaf single 0=1480 1=1089 (42.4% split) | leaf compound 0=683 1=650 (48.8% split) | 32x32 single 0=735 1=1873 (71.8% split) | 32x32 compound 0=2018 1=2263 (52.9% 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 28856 (modes DC=7054 V=3364 H=5198 D157=8711 PAETH=4529) +| bars 1080p 1920x1024 | 43.95 dB/209056 B, 47.59 dB/310313 B, 51.02 dB/431567 B, 54.22 dB/581391 B | +0.1% | -15.9% | 166.7s:7.9s:22.1s | +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: motion_mode 32x32 SIMPLE=43482 OBMC=0 WARP=259 | 16x16 SIMPLE=3019 OBMC=0 WARP=516 | 8x8 SIMPLE=7998 OBMC=0 WARP=281 (0.0% OBMC / 1.9% WARP of 55555 eligible) +bars 2160p: inter var-tx depths of 9056 blocks -- leaf single 0=1221 1=543 (30.8% split) | leaf compound 0=885 1=288 (24.6% split) | 32x32 single 0=353 1=1325 (79.0% split) | 32x32 compound 0=147 1=4294 (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 13087 (modes DC=3548 V=824 H=2617 D157=4343 PAETH=1755) +| bars 2160p 1920x1024 | 43.51 dB/220831 B, 47.51 dB/333369 B, 51.13 dB/446688 B, 54.49 dB/575926 B | +10.9% | -11.4% | 161.0s:6.2s: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): motion_mode 32x32 SIMPLE=46969 OBMC=0 WARP=1946 | 16x16 SIMPLE=17334 OBMC=0 WARP=1855 | 8x8 SIMPLE=4461 OBMC=0 WARP=889 (0.0% OBMC / 6.4% WARP of 73454 eligible) +film A (1080p source): inter var-tx depths of 73190 blocks -- leaf single 0=13048 1=2237 (14.6% split) | leaf compound 0=28209 1=4803 (14.5% split) | 32x32 single 0=6979 1=4959 (41.5% split) | 32x32 compound 0=8085 1=4870 (37.6% 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 20566 (modes DC=5070 V=3091 H=3922 D157=5883 PAETH=2600) +| film A (1080p source) 1920x768 | 44.15 dB/70752 B, 45.74 dB/113043 B, 47.01 dB/194105 B, 48.27 dB/467715 B | +27.6% | +0.3% | 153.2s:10.4s:15.3s | +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=19 real=187 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=55373 OBMC=0 WARP=1355 | 16x16 SIMPLE=10352 OBMC=0 WARP=779 | 8x8 SIMPLE=1571 OBMC=0 WARP=345 (0.0% OBMC / 3.6% WARP of 69775 eligible) +film B (2160p HDR source): inter var-tx depths of 65418 blocks -- leaf single 0=12499 1=1810 (12.6% split) | leaf compound 0=25271 1=3661 (12.7% split) | 32x32 single 0=6921 1=4896 (41.4% split) | 32x32 compound 0=6708 1=3652 (35.3% 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 13105 (modes DC=3415 V=1767 H=2116 D157=4528 PAETH=1279) +| film B (2160p HDR source) 1920x1024 | 46.68 dB/31941 B, 47.97 dB/59344 B, 49.10 dB/129813 B, 50.23 dB/348623 B | +39.5% | +11.6% | 128.4s:22.2s:19.3s | +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=152 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23726 OBMC=0 WARP=338 | 16x16 SIMPLE=1593 OBMC=0 WARP=383 | 8x8 SIMPLE=619 OBMC=0 WARP=671 (0.0% OBMC / 5.1% WARP of 27330 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 16221 blocks -- leaf single 0=2169 1=3148 (59.2% split) | leaf compound 0=975 1=1330 (57.7% split) | 32x32 single 0=2487 1=5141 (67.4% split) | 32x32 compound 0=428 1=543 (55.9% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 7897 chroma 857; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 6953 (modes DC=42 V=1986 H=4645 D157=207 PAETH=73) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.66 dB/39179 B, 48.37 dB/49225 B, 50.67 dB/61201 B, 52.94 dB/76435 B | +29.6% | -25.5% | 101.0s:11.9s:13.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 880.48s + +RC=0 diff --git a/lanes/rdoq-l13.log b/lanes/rdoq-l13.log new file mode 100644 index 00000000..b0eadf84 --- /dev/null +++ b/lanes/rdoq-l13.log @@ -0,0 +1,46 @@ + +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=18 real=186 +bars 1080p: motion_mode 32x32 SIMPLE=50827 OBMC=0 WARP=222 | 16x16 SIMPLE=4984 OBMC=0 WARP=445 | 8x8 SIMPLE=19827 OBMC=0 WARP=1102 (0.0% OBMC / 2.3% WARP of 77407 eligible) +bars 1080p: inter var-tx depths of 10550 blocks -- leaf single 0=1579 1=995 (38.7% split) | leaf compound 0=577 1=594 (50.7% split) | 32x32 single 0=689 1=1850 (72.9% split) | 32x32 compound 0=1994 1=2272 (53.3% 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 28900 (modes DC=6790 V=3480 H=5445 D157=8545 PAETH=4640) +| bars 1080p 1920x1024 | 43.78 dB/202607 B, 47.49 dB/305113 B, 50.95 dB/425957 B, 54.15 dB/575582 B | -0.6% | -16.5% | 172.0s:8.8s:19.5s | +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=174 +bars 2160p: motion_mode 32x32 SIMPLE=41670 OBMC=0 WARP=255 | 16x16 SIMPLE=2738 OBMC=0 WARP=474 | 8x8 SIMPLE=7385 OBMC=0 WARP=261 (0.0% OBMC / 1.9% WARP of 52783 eligible) +bars 2160p: inter var-tx depths of 8675 blocks -- leaf single 0=1068 1=503 (32.0% split) | leaf compound 0=828 1=249 (23.1% split) | 32x32 single 0=334 1=1327 (79.9% split) | 32x32 compound 0=123 1=4243 (97.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 12167 (modes DC=3326 V=804 H=2335 D157=3976 PAETH=1726) +| bars 2160p 1920x1024 | 43.34 dB/214013 B, 47.41 dB/328339 B, 51.07 dB/441437 B, 54.43 dB/569865 B | +10.1% | -12.0% | 145.4s:7.1s:18.1s | +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=19 real=211 +film A (1080p source): motion_mode 32x32 SIMPLE=48583 OBMC=0 WARP=2049 | 16x16 SIMPLE=15895 OBMC=0 WARP=1714 | 8x8 SIMPLE=4433 OBMC=0 WARP=911 (0.0% OBMC / 6.4% WARP of 73585 eligible) +film A (1080p source): inter var-tx depths of 67141 blocks -- leaf single 0=12238 1=1895 (13.4% split) | leaf compound 0=26049 1=4041 (13.4% split) | 32x32 single 0=6677 1=4829 (42.0% split) | 32x32 compound 0=6999 1=4413 (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 19867 (modes DC=4840 V=2719 H=3691 D157=6106 PAETH=2511) +| film A (1080p source) 1920x768 | 44.07 dB/68311 B, 45.65 dB/109070 B, 46.95 dB/183882 B, 48.22 dB/439363 B | +25.6% | -0.9% | 144.6s:10.3s:14.7s | +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=19 real=190 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=58972 OBMC=0 WARP=1724 | 16x16 SIMPLE=10226 OBMC=0 WARP=824 | 8x8 SIMPLE=1742 OBMC=0 WARP=385 (0.0% OBMC / 4.0% WARP of 73873 eligible) +film B (2160p HDR source): inter var-tx depths of 59425 blocks -- leaf single 0=12115 1=1652 (12.0% split) | leaf compound 0=22681 1=3094 (12.0% split) | 32x32 single 0=6492 1=4425 (40.5% split) | 32x32 compound 0=5911 1=3055 (34.1% 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 13142 (modes DC=3511 V=1880 H=2027 D157=4329 PAETH=1395) +| film B (2160p HDR source) 1920x1024 | 46.62 dB/30557 B, 47.91 dB/56082 B, 49.03 dB/118990 B, 50.17 dB/322621 B | +37.0% | +9.3% | 125.4s:22.1s:16.9s | +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=153 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=24334 OBMC=0 WARP=410 | 16x16 SIMPLE=1461 OBMC=0 WARP=367 | 8x8 SIMPLE=560 OBMC=0 WARP=681 (0.0% OBMC / 5.2% WARP of 27813 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 10779 blocks -- leaf single 0=1492 1=1844 (55.3% split) | leaf compound 0=573 1=632 (52.4% split) | 32x32 single 0=1603 1=3965 (71.2% split) | 32x32 compound 0=278 1=392 (58.5% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 7954 chroma 882; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 6817 (modes DC=58 V=1943 H=4527 D157=202 PAETH=87) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.52 dB/38654 B, 48.26 dB/48589 B, 50.55 dB/60342 B, 52.81 dB/74704 B | +28.8% | -25.8% | 79.0s:11.2s:13.0s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 831.36s + +RC=0 diff --git a/lanes/rdoq-l16.log b/lanes/rdoq-l16.log new file mode 100644 index 00000000..919b5057 --- /dev/null +++ b/lanes/rdoq-l16.log @@ -0,0 +1,46 @@ + +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=18 real=186 +bars 1080p: motion_mode 32x32 SIMPLE=50888 OBMC=0 WARP=261 | 16x16 SIMPLE=4763 OBMC=0 WARP=496 | 8x8 SIMPLE=18962 OBMC=0 WARP=2314 (0.0% OBMC / 4.0% WARP of 77684 eligible) +bars 1080p: inter var-tx depths of 10596 blocks -- leaf single 0=1534 1=999 (39.4% split) | leaf compound 0=595 1=594 (50.0% split) | 32x32 single 0=748 1=1835 (71.0% split) | 32x32 compound 0=2071 1=2220 (51.7% 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 28849 (modes DC=6807 V=3323 H=5155 D157=8792 PAETH=4772) +| bars 1080p 1920x1024 | 43.69 dB/200400 B, 47.44 dB/302180 B, 50.93 dB/422772 B, 54.10 dB/573650 B | -0.9% | -16.7% | 150.4s:7.0s:17.0s | +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: motion_mode 32x32 SIMPLE=42161 OBMC=0 WARP=286 | 16x16 SIMPLE=2690 OBMC=0 WARP=605 | 8x8 SIMPLE=7410 OBMC=0 WARP=255 (0.0% OBMC / 2.1% WARP of 53407 eligible) +bars 2160p: inter var-tx depths of 8635 blocks -- leaf single 0=1094 1=428 (28.1% split) | leaf compound 0=792 1=271 (25.5% split) | 32x32 single 0=327 1=1305 (80.0% split) | 32x32 compound 0=134 1=4284 (97.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 12608 (modes DC=3428 V=793 H=2503 D157=4069 PAETH=1815) +| bars 2160p 1920x1024 | 43.28 dB/211818 B, 47.37 dB/325775 B, 51.03 dB/438746 B, 54.41 dB/569001 B | +9.8% | -12.3% | 134.1s:5.9s:18.2s | +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=19 real=210 +film A (1080p source): motion_mode 32x32 SIMPLE=48512 OBMC=0 WARP=2289 | 16x16 SIMPLE=15686 OBMC=0 WARP=1771 | 8x8 SIMPLE=4497 OBMC=0 WARP=858 (0.0% OBMC / 6.7% WARP of 73613 eligible) +film A (1080p source): inter var-tx depths of 64496 blocks -- leaf single 0=11892 1=1995 (14.4% split) | leaf compound 0=24774 1=3766 (13.2% split) | 32x32 single 0=6442 1=4573 (41.5% split) | 32x32 compound 0=6838 1=4216 (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 20130 (modes DC=4868 V=3081 H=3771 D157=5872 PAETH=2538) +| film A (1080p source) 1920x768 | 44.02 dB/67188 B, 45.62 dB/107077 B, 46.93 dB/179632 B, 48.20 dB/429276 B | +24.6% | -1.6% | 158.3s:10.3s:14.8s | +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=19 real=185 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=56313 OBMC=0 WARP=1538 | 16x16 SIMPLE=10022 OBMC=0 WARP=750 | 8x8 SIMPLE=1735 OBMC=0 WARP=389 (0.0% OBMC / 3.8% WARP of 70747 eligible) +film B (2160p HDR source): inter var-tx depths of 57309 blocks -- leaf single 0=11952 1=1432 (10.7% split) | leaf compound 0=21835 1=2853 (11.6% split) | 32x32 single 0=6370 1=4155 (39.5% split) | 32x32 compound 0=5744 1=2968 (34.1% 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 12989 (modes DC=3290 V=1878 H=2062 D157=4411 PAETH=1348) +| film B (2160p HDR source) 1920x1024 | 46.60 dB/29840 B, 47.89 dB/54705 B, 48.99 dB/115372 B, 50.14 dB/313050 B | +35.9% | +8.2% | 128.9s:21.4s:16.9s | +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=156 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=24911 OBMC=0 WARP=503 | 16x16 SIMPLE=1569 OBMC=0 WARP=375 | 8x8 SIMPLE=594 OBMC=0 WARP=723 (0.0% OBMC / 5.6% WARP of 28675 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 9372 blocks -- leaf single 0=1179 1=1569 (57.1% split) | leaf compound 0=438 1=646 (59.6% split) | 32x32 single 0=1426 1=3605 (71.7% split) | 32x32 compound 0=202 1=307 (60.3% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9749 chroma 1126; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8154 (modes DC=66 V=2262 H=5486 D157=236 PAETH=104) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.46 dB/38672 B, 48.20 dB/48395 B, 50.46 dB/59904 B, 52.74 dB/73945 B | +28.7% | -25.7% | 84.9s:11.0s:13.2s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 815.75s + +RC=0 diff --git a/lanes/rdoq-l22.log b/lanes/rdoq-l22.log new file mode 100644 index 00000000..1a10e984 --- /dev/null +++ b/lanes/rdoq-l22.log @@ -0,0 +1,46 @@ + +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=186 +bars 1080p: motion_mode 32x32 SIMPLE=50703 OBMC=0 WARP=241 | 16x16 SIMPLE=4542 OBMC=0 WARP=464 | 8x8 SIMPLE=17531 OBMC=0 WARP=3874 (0.0% OBMC / 5.9% WARP of 77355 eligible) +bars 1080p: inter var-tx depths of 10369 blocks -- leaf single 0=1506 1=892 (37.2% split) | leaf compound 0=625 1=531 (45.9% split) | 32x32 single 0=704 1=1799 (71.9% split) | 32x32 compound 0=2122 1=2190 (50.8% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 29746 (modes DC=6859 V=3565 H=5580 D157=8764 PAETH=4978) +| bars 1080p 1920x1024 | 43.54 dB/195240 B, 47.32 dB/298675 B, 50.85 dB/419734 B, 54.02 dB/569298 B | -0.9% | -16.7% | 179.6s:8.0s:20.1s | +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=176 +bars 2160p: motion_mode 32x32 SIMPLE=42633 OBMC=0 WARP=269 | 16x16 SIMPLE=3084 OBMC=0 WARP=506 | 8x8 SIMPLE=7824 OBMC=0 WARP=309 (0.0% OBMC / 2.0% WARP of 54625 eligible) +bars 2160p: inter var-tx depths of 8585 blocks -- leaf single 0=1049 1=450 (30.0% split) | leaf compound 0=774 1=276 (26.3% split) | 32x32 single 0=327 1=1317 (80.1% split) | 32x32 compound 0=127 1=4265 (97.1% 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 13031 (modes DC=3395 V=834 H=2558 D157=4257 PAETH=1987) +| bars 2160p 1920x1024 | 43.14 dB/205655 B, 47.28 dB/321295 B, 50.97 dB/435990 B, 54.35 dB/565050 B | +9.3% | -12.8% | 143.1s:6.3s:17.5s | +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=211 +film A (1080p source): motion_mode 32x32 SIMPLE=50238 OBMC=0 WARP=2287 | 16x16 SIMPLE=15349 OBMC=0 WARP=1744 | 8x8 SIMPLE=4540 OBMC=0 WARP=926 (0.0% OBMC / 6.6% WARP of 75084 eligible) +film A (1080p source): inter var-tx depths of 60961 blocks -- leaf single 0=11501 1=1724 (13.0% split) | leaf compound 0=23358 1=3457 (12.9% split) | 32x32 single 0=6117 1=4481 (42.3% split) | 32x32 compound 0=6407 1=3916 (37.9% 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 20879 (modes DC=5047 V=3215 H=4032 D157=5966 PAETH=2619) +| film A (1080p source) 1920x768 | 43.95 dB/65885 B, 45.54 dB/104456 B, 46.87 dB/173094 B, 48.15 dB/415444 B | +24.4% | -1.8% | 137.8s:10.4s:15.4s | +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=19 real=187 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=58575 OBMC=0 WARP=1714 | 16x16 SIMPLE=9895 OBMC=0 WARP=877 | 8x8 SIMPLE=1831 OBMC=0 WARP=574 (0.0% OBMC / 4.3% WARP of 73466 eligible) +film B (2160p HDR source): inter var-tx depths of 53272 blocks -- leaf single 0=11305 1=1359 (10.7% split) | leaf compound 0=20364 1=2521 (11.0% split) | 32x32 single 0=6117 1=3623 (37.2% split) | 32x32 compound 0=5343 1=2640 (33.1% 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 13140 (modes DC=3531 V=1880 H=2062 D157=4311 PAETH=1356) +| film B (2160p HDR source) 1920x1024 | 46.53 dB/28822 B, 47.84 dB/52953 B, 48.94 dB/109159 B, 50.08 dB/298362 B | +35.5% | +7.6% | 129.9s:27.1s:21.1s | +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=153 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23955 OBMC=0 WARP=494 | 16x16 SIMPLE=1379 OBMC=0 WARP=319 | 8x8 SIMPLE=524 OBMC=0 WARP=599 (0.0% OBMC / 5.2% WARP of 27270 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 7717 blocks -- leaf single 0=1145 1=1015 (47.0% split) | leaf compound 0=393 1=456 (53.7% split) | 32x32 single 0=1448 1=2815 (66.0% split) | 32x32 compound 0=219 1=226 (50.8% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 8836 chroma 997; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 7202 (modes DC=71 V=1954 H=4891 D157=212 PAETH=74) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.34 dB/38481 B, 48.08 dB/48097 B, 50.37 dB/59102 B, 52.61 dB/72555 B | +28.1% | -25.7% | 78.5s:9.4s:12.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 841.21s + +RC=0 diff --git a/lanes/rdoq-l32.log b/lanes/rdoq-l32.log new file mode 100644 index 00000000..94a5b842 --- /dev/null +++ b/lanes/rdoq-l32.log @@ -0,0 +1,46 @@ + +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=16 real=182 +bars 1080p: motion_mode 32x32 SIMPLE=48876 OBMC=0 WARP=235 | 16x16 SIMPLE=4779 OBMC=0 WARP=506 | 8x8 SIMPLE=21380 OBMC=0 WARP=1255 (0.0% OBMC / 2.6% WARP of 77031 eligible) +bars 1080p: inter var-tx depths of 10456 blocks -- leaf single 0=1559 1=799 (33.9% split) | leaf compound 0=635 1=590 (48.2% split) | 32x32 single 0=736 1=1788 (70.8% split) | 32x32 compound 0=2210 1=2139 (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 29049 (modes DC=6778 V=3502 H=5375 D157=8516 PAETH=4878) +| bars 1080p 1920x1024 | 43.25 dB/188063 B, 47.13 dB/293236 B, 50.72 dB/415369 B, 53.90 dB/564136 B | -0.6% | -16.5% | 178.6s:8.0s:20.4s | +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: motion_mode 32x32 SIMPLE=42165 OBMC=0 WARP=236 | 16x16 SIMPLE=2986 OBMC=0 WARP=468 | 8x8 SIMPLE=7786 OBMC=0 WARP=198 (0.0% OBMC / 1.7% WARP of 53839 eligible) +bars 2160p: inter var-tx depths of 8729 blocks -- leaf single 0=1109 1=418 (27.4% split) | leaf compound 0=841 1=278 (24.8% split) | 32x32 single 0=333 1=1323 (79.9% split) | 32x32 compound 0=166 1=4261 (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 13147 (modes DC=3400 V=964 H=2613 D157=4176 PAETH=1994) +| bars 2160p 1920x1024 | 42.91 dB/198283 B, 47.10 dB/315779 B, 50.85 dB/431074 B, 54.26 dB/559737 B | +9.2% | -13.0% | 141.3s:6.4s:17.4s | +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=209 +film A (1080p source): motion_mode 32x32 SIMPLE=49812 OBMC=0 WARP=2359 | 16x16 SIMPLE=14331 OBMC=0 WARP=1831 | 8x8 SIMPLE=5199 OBMC=0 WARP=972 (0.0% OBMC / 6.9% WARP of 74504 eligible) +film A (1080p source): inter var-tx depths of 56415 blocks -- leaf single 0=10630 1=1442 (11.9% split) | leaf compound 0=22240 1=2960 (11.7% split) | 32x32 single 0=5748 1=3816 (39.9% split) | 32x32 compound 0=6175 1=3404 (35.5% 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 21625 (modes DC=5323 V=3192 H=4043 D157=6127 PAETH=2940) +| film A (1080p source) 1920x768 | 43.84 dB/63861 B, 45.44 dB/101821 B, 46.78 dB/164773 B, 48.09 dB/400404 B | +24.7% | -1.5% | 131.7s:10.4s:15.0s | +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=19 real=187 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=58742 OBMC=0 WARP=1810 | 16x16 SIMPLE=10033 OBMC=0 WARP=857 | 8x8 SIMPLE=1907 OBMC=0 WARP=454 (0.0% OBMC / 4.2% WARP of 73803 eligible) +film B (2160p HDR source): inter var-tx depths of 48385 blocks -- leaf single 0=10598 1=1126 (9.6% split) | leaf compound 0=18576 1=2071 (10.0% split) | 32x32 single 0=6002 1=2967 (33.1% split) | 32x32 compound 0=5029 1=2016 (28.6% 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 14128 (modes DC=3653 V=2065 H=2348 D157=4524 PAETH=1538) +| film B (2160p HDR source) 1920x1024 | 46.46 dB/27971 B, 47.77 dB/50882 B, 48.84 dB/100507 B, 50.01 dB/283627 B | +36.1% | +7.6% | 118.6s:25.9s:22.6s | +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): motion_mode 32x32 SIMPLE=24404 OBMC=0 WARP=448 | 16x16 SIMPLE=1191 OBMC=0 WARP=239 | 8x8 SIMPLE=507 OBMC=0 WARP=543 (0.0% OBMC / 4.5% WARP of 27332 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 5961 blocks -- leaf single 0=712 1=718 (50.2% split) | leaf compound 0=300 1=341 (53.2% split) | 32x32 single 0=1095 1=2381 (68.5% split) | 32x32 compound 0=189 1=225 (54.3% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 8999 chroma 1062; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 6770 (modes DC=58 V=1869 H=4587 D157=183 PAETH=73) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.21 dB/38449 B, 48.00 dB/48029 B, 50.15 dB/58597 B, 52.37 dB/71765 B | +29.4% | -25.0% | 79.1s:10.8s:12.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 823.49s + +RC=0 diff --git a/lanes/rdoq-lgctl.log b/lanes/rdoq-lgctl.log new file mode 100644 index 00000000..a85bd118 --- /dev/null +++ b/lanes/rdoq-lgctl.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; 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) | +|---|---|---|---|---| +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=911 +film A (1080p source): motion_mode 32x32 SIMPLE=156428 OBMC=0 WARP=4746 | 16x16 SIMPLE=76930 OBMC=0 WARP=6135 | 8x8 SIMPLE=26207 OBMC=0 WARP=3318 (0.0% OBMC / 5.2% WARP of 273764 eligible) +film A (1080p source): inter var-tx depths of 376293 blocks -- leaf single 0=48909 1=9093 (15.7% split) | leaf compound 0=153981 1=37482 (19.6% split) | 32x32 single 0=25331 1=18956 (42.8% split) | 32x32 compound 0=47837 1=34704 (42.0% 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 109815 (modes DC=26363 V=15850 H=21066 D157=31128 PAETH=15408) +| film A (1080p source) 1920x768 | 44.37 dB/220740 B, 46.00 dB/394517 B, 47.17 dB/704850 B, 48.28 dB/1630711 B | +40.9% | +3.1% | 371.4s:45.7s:63.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=817 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=208678 OBMC=0 WARP=3954 | 16x16 SIMPLE=63976 OBMC=0 WARP=3701 | 8x8 SIMPLE=16525 OBMC=0 WARP=1563 (0.0% OBMC / 3.1% WARP of 298397 eligible) +film B (2160p HDR source): inter var-tx depths of 332425 blocks -- leaf single 0=47510 1=10992 (18.8% split) | leaf compound 0=121448 1=28084 (18.8% split) | 32x32 single 0=30300 1=27628 (47.7% split) | 32x32 compound 0=36307 1=30156 (45.4% 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 70881 (modes DC=18838 V=9625 H=10185 D157=24808 PAETH=7425) +| film B (2160p HDR source) 1920x1024 | 46.80 dB/91262 B, 48.02 dB/204825 B, 49.03 dB/479578 B, 50.07 dB/1257860 B | +125.6% | +32.0% | 322.2s:85.4s:68.1s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 991.68s + +RC=0 diff --git a/lanes/rdoq-lgop.log b/lanes/rdoq-lgop.log new file mode 100644 index 00000000..7525837c --- /dev/null +++ b/lanes/rdoq-lgop.log @@ -0,0 +1,13 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; 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) | +|---|---|---|---|---| +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=895 +film A (1080p source): motion_mode 32x32 SIMPLE=192900 OBMC=0 WARP=7450 | 16x16 SIMPLE=57575 OBMC=0 WARP=6884 | 8x8 SIMPLE=24687 OBMC=0 WARP=3239 (0.0% OBMC / 6.0% WARP of 292735 eligible) +film A (1080p source): inter var-tx depths of 259566 blocks -- leaf single 0=42208 1=6041 (12.5% split) | leaf compound 0=105604 1=17598 (14.3% split) | 32x32 single 0=23152 1=14905 (39.2% split) | 32x32 compound 0=30637 1=19421 (38.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 92991 (modes DC=21700 V=14106 H=18102 D157=25835 PAETH=13248) +| film A (1080p source) 1920x768 | 43.99 dB/188841 B, 45.66 dB/321714 B, 46.92 dB/542939 B, 48.11 dB/1196594 B | +29.4% | -3.9% | 575.7s:41.6s:60.6s | diff --git a/lanes/rdoq-lgship.log b/lanes/rdoq-lgship.log new file mode 100644 index 00000000..ff6e9dfb --- /dev/null +++ b/lanes/rdoq-lgship.log @@ -0,0 +1,27 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; 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) | +|---|---|---|---|---| +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=895 +film A (1080p source): rdoq blocks=120292953 coeffs=470133178 (+-1 68.7%, trailing +-1 15.5%) zeroed=69035484 lowered=4585318 trial bits 2471708678 -> 2036290519 (-17.62%) +film A (1080p source): motion_mode 32x32 SIMPLE=192900 OBMC=0 WARP=7450 | 16x16 SIMPLE=57575 OBMC=0 WARP=6884 | 8x8 SIMPLE=24687 OBMC=0 WARP=3239 (0.0% OBMC / 6.0% WARP of 292735 eligible) +film A (1080p source): inter var-tx depths of 259566 blocks -- leaf single 0=42208 1=6041 (12.5% split) | leaf compound 0=105604 1=17598 (14.3% split) | 32x32 single 0=23152 1=14905 (39.2% split) | 32x32 compound 0=30637 1=19421 (38.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 92991 (modes DC=21700 V=14106 H=18102 D157=25835 PAETH=13248) +| film A (1080p source) 1920x768 | 43.99 dB/188841 B, 45.66 dB/321714 B, 46.92 dB/542939 B, 48.11 dB/1196594 B | +29.4% | -3.9% | 668.5s:40.9s:62.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=19 real=811 +film B (2160p HDR source): rdoq blocks=100095295 coeffs=253625796 (+-1 79.3%, trailing +-1 17.4%) zeroed=51576179 lowered=2413919 trial bits 1410820666 -> 1055935727 (-25.15%) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=249020 OBMC=0 WARP=5938 | 16x16 SIMPLE=44781 OBMC=0 WARP=3490 | 8x8 SIMPLE=13480 OBMC=0 WARP=1458 (0.0% OBMC / 3.4% WARP of 318167 eligible) +film B (2160p HDR source): inter var-tx depths of 209995 blocks -- leaf single 0=37983 1=5861 (13.4% split) | leaf compound 0=79477 1=12073 (13.2% split) | 32x32 single 0=22804 1=16343 (41.7% split) | 32x32 compound 0=21472 1=13982 (39.4% 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 51847 (modes DC=12631 V=7656 H=8271 D157=17507 PAETH=5782) +| film B (2160p HDR source) 1920x1024 | 46.55 dB/73549 B, 47.81 dB/153066 B, 48.79 dB/337361 B, 49.86 dB/910900 B | +100.2% | +16.6% | 507.4s:80.7s:58.0s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 1448.93s + +RC=0 diff --git a/lanes/rdoq-r1.log b/lanes/rdoq-r1.log new file mode 100644 index 00000000..5d647e9f --- /dev/null +++ b/lanes/rdoq-r1.log @@ -0,0 +1,6 @@ + +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) | +|---|---|---|---|---| diff --git a/lanes/rdoq-r2.log b/lanes/rdoq-r2.log new file mode 100644 index 00000000..e0795d43 --- /dev/null +++ b/lanes/rdoq-r2.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=185 +bars 1080p: rdoq blocks=11259830 coeffs=243326272 (+-1 63.5%, trailing +-1 3.6%) zeroed=5470210 lowered=786604 trial bits 1093274731 -> 1065966524 (-2.50%) +bars 1080p: motion_mode 32x32 SIMPLE=50142 OBMC=0 WARP=283 | 16x16 SIMPLE=5006 OBMC=0 WARP=474 | 8x8 SIMPLE=16634 OBMC=0 WARP=3044 (0.0% OBMC / 5.0% WARP of 75583 eligible) +bars 1080p: inter var-tx depths of 10786 blocks -- leaf single 0=1588 1=1154 (42.1% split) | leaf compound 0=583 1=626 (51.8% split) | 32x32 single 0=712 1=1890 (72.6% split) | 32x32 compound 0=1988 1=2245 (53.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 28760 (modes DC=6807 V=3220 H=5385 D157=8687 PAETH=4661) +| bars 1080p 1920x1024 | 43.87 dB/205901 B, 47.55 dB/307565 B, 50.99 dB/428574 B, 54.18 dB/577932 B | -0.4% | -16.3% | 169.9s:9.0s:22.7s | +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=176 +bars 2160p: rdoq blocks=9960545 coeffs=225797515 (+-1 60.9%, trailing +-1 3.5%) zeroed=4420725 lowered=741205 trial bits 1006746036 -> 985746544 (-2.09%) +bars 2160p: motion_mode 32x32 SIMPLE=42532 OBMC=0 WARP=180 | 16x16 SIMPLE=2892 OBMC=0 WARP=506 | 8x8 SIMPLE=7853 OBMC=0 WARP=317 (0.0% OBMC / 1.8% WARP of 54280 eligible) +bars 2160p: inter var-tx depths of 8885 blocks -- leaf single 0=1169 1=504 (30.1% split) | leaf compound 0=847 1=251 (22.9% split) | 32x32 single 0=355 1=1330 (78.9% split) | 32x32 compound 0=140 1=4289 (96.8% 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 12507 (modes DC=3378 V=868 H=2555 D157=3895 PAETH=1811) +| bars 2160p 1920x1024 | 43.43 dB/216078 B, 47.46 dB/332485 B, 51.09 dB/443004 B, 54.45 dB/574371 B | +10.5% | -11.7% | 161.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=211 +film A (1080p source): rdoq blocks=30682389 coeffs=124231889 (+-1 68.7%, trailing +-1 14.2%) zeroed=10110721 lowered=540367 trial bits 653763817 -> 586353258 (-10.31%) +film A (1080p source): motion_mode 32x32 SIMPLE=47681 OBMC=0 WARP=1902 | 16x16 SIMPLE=16606 OBMC=0 WARP=1693 | 8x8 SIMPLE=4239 OBMC=0 WARP=853 (0.0% OBMC / 6.1% WARP of 72974 eligible) +film A (1080p source): inter var-tx depths of 70256 blocks -- leaf single 0=12755 1=2096 (14.1% split) | leaf compound 0=26968 1=4438 (14.1% split) | 32x32 single 0=6838 1=5003 (42.3% split) | 32x32 compound 0=7553 1=4605 (37.9% 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 20284 (modes DC=4964 V=2991 H=3721 D157=5880 PAETH=2728) +| film A (1080p source) 1920x768 | 44.11 dB/69530 B, 45.69 dB/110687 B, 46.98 dB/188914 B, 48.25 dB/452101 B | +26.3% | -0.5% | 158.7s:10.7s:15.8s | +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=19 real=190 +film B (2160p HDR source): rdoq blocks=28563479 coeffs=68533899 (+-1 78.1%, trailing +-1 17.6%) zeroed=8085091 lowered=307421 trial bits 390011300 -> 331638448 (-14.97%) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=58186 OBMC=0 WARP=1635 | 16x16 SIMPLE=9860 OBMC=0 WARP=780 | 8x8 SIMPLE=1636 OBMC=0 WARP=312 (0.0% OBMC / 3.8% WARP of 72409 eligible) +film B (2160p HDR source): inter var-tx depths of 61962 blocks -- leaf single 0=12285 1=1725 (12.3% split) | leaf compound 0=23852 1=3265 (12.0% split) | 32x32 single 0=6611 1=4652 (41.3% split) | 32x32 compound 0=6205 1=3367 (35.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 13232 (modes DC=3468 V=1788 H=2123 D157=4419 PAETH=1434) +| film B (2160p HDR source) 1920x1024 | 46.65 dB/31097 B, 47.94 dB/57392 B, 49.06 dB/123574 B, 50.20 dB/334775 B | +37.5% | +9.7% | 134.1s:25.6s:17.5s | +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=152 real=0 +screen capture (2026-07-25 02-09-04.mkv): rdoq blocks=13924721 coeffs=89750156 (+-1 61.8%, trailing +-1 6.8%) zeroed=3447315 lowered=247787 trial bits 437139390 -> 413934549 (-5.31%) +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23119 OBMC=0 WARP=333 | 16x16 SIMPLE=1398 OBMC=0 WARP=313 | 8x8 SIMPLE=518 OBMC=0 WARP=627 (0.0% OBMC / 4.8% WARP of 26308 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 14001 blocks -- leaf single 0=2075 1=2719 (56.7% split) | leaf compound 0=691 1=949 (57.9% split) | 32x32 single 0=2122 1=4679 (68.8% split) | 32x32 compound 0=251 1=515 (67.2% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 8735 chroma 966; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 7153 (modes DC=72 V=2090 H=4705 D157=215 PAETH=71) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.57 dB/38841 B, 48.32 dB/49046 B, 50.58 dB/60521 B, 52.86 dB/75609 B | +29.1% | -25.7% | 104.6s:9.2s:11.9s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 898.70s + +RC=0 diff --git a/lanes/rdoq-s6off.log b/lanes/rdoq-s6off.log new file mode 100644 index 00000000..41633fc1 --- /dev/null +++ b/lanes/rdoq-s6off.log @@ -0,0 +1,46 @@ + +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=14 real=155 +bars 1080p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 1080p: inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| bars 1080p 1920x1024 | 41.95 dB/270702 B, 45.99 dB/457826 B, 49.74 dB/646368 B, 53.19 dB/853166 B | +73.4% | +45.9% | 26.7s:10.8s:27.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=155 +bars 2160p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 2160p: inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.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=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| bars 2160p 1920x1024 | 42.18 dB/277456 B, 46.12 dB/442877 B, 49.96 dB/619605 B, 53.64 dB/805687 B | +69.0% | +34.4% | 24.2s:7.0s:19.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=16 real=175 +film A (1080p source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film A (1080p source): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% 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=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| film A (1080p source) 1920x768 | 43.99 dB/74036 B, 45.60 dB/124285 B, 46.93 dB/216333 B, 48.20 dB/511129 B | +46.0% | +14.5% | 31.9s:10.3s:16.3s | +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=16 real=159 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film B (2160p HDR source): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.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=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| film B (2160p HDR source) 1920x1024 | 46.52 dB/34162 B, 47.86 dB/69448 B, 49.05 dB/148408 B, 50.21 dB/392984 B | +67.8% | +35.0% | 29.9s:21.5s:16.8s | +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=150 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6931 chroma 1319; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.67 dB/41570 B, 48.41 dB/52646 B, 50.68 dB/66384 B, 52.82 dB/82870 B | +40.3% | -20.0% | 14.5s:10.6s:13.1s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 309.81s + +RC=0 diff --git a/lanes/rdoq-s6on.log b/lanes/rdoq-s6on.log new file mode 100644 index 00000000..b06938d9 --- /dev/null +++ b/lanes/rdoq-s6on.log @@ -0,0 +1,46 @@ + +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=14 real=155 +bars 1080p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 1080p: inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| bars 1080p 1920x1024 | 41.49 dB/223627 B, 45.59 dB/427038 B, 49.51 dB/627517 B, 53.03 dB/822694 B | +68.7% | +40.5% | 90.2s:7.1s: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=155 +bars 2160p: motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +bars 2160p: inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.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=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| bars 2160p 1920x1024 | 41.77 dB/235891 B, 45.76 dB/414770 B, 49.65 dB/592370 B, 53.45 dB/787194 B | +63.9% | +29.3% | 81.0s:6.4s:17.2s | +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=16 real=170 +film A (1080p source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film A (1080p source): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% 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=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| film A (1080p source) 1920x768 | 43.66 dB/63290 B, 45.31 dB/101375 B, 46.70 dB/167805 B, 48.02 dB/400919 B | +30.4% | +2.9% | 60.1s:10.5s:14.9s | +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=15 real=157 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +film B (2160p HDR source): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.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=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| film B (2160p HDR source) 1920x1024 | 46.33 dB/27609 B, 47.64 dB/50415 B, 48.84 dB/106427 B, 50.00 dB/285711 B | +43.5% | +14.2% | 51.1s:22.7s:19.5s | +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=150 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=0 OBMC=0 WARP=0 | 16x16 SIMPLE=0 OBMC=0 WARP=0 | 8x8 SIMPLE=0 OBMC=0 WARP=0 (0.0% OBMC / 0.0% WARP of 0 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 0 blocks -- leaf single 0=0 1=0 (0.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6956 chroma 1305; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=false blocks 0 (modes DC=0 V=0 H=0 D157=0 PAETH=0) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.08 dB/39630 B, 47.98 dB/49482 B, 50.13 dB/60751 B, 52.35 dB/75439 B | +34.9% | -22.0% | 33.9s:10.4s:13.5s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 603 filtered out; finished in 478.83s + +RC=0 diff --git a/lanes/rdoq-suite.log b/lanes/rdoq-suite.log new file mode 100644 index 00000000..83c89bb9 --- /dev/null +++ b/lanes/rdoq-suite.log @@ -0,0 +1,668 @@ + +running 604 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 cdf::tests::inter_frame_tables_are_well_formed_cdfs ... ok +test cdf::tests::inter_frame_tables_have_the_spec_alphabet_size ... ok +test cdf_state::tests::the_luma_end_of_block_table_is_shared_and_chromas_is_not ... ok +test cdf_state::tests::the_mv_components_are_separate_and_do_not_share_adaptation ... ok +test bits::tests::ns_roundtrip ... 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::a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered ... ok +test decode::every_intra_in_inter_shape_the_census_lists_has_a_size_group_row ... ok +test decode::every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan ... ok +test decode::every_shape_that_allows_motion_variation_has_a_motion_mode_cdf_row ... ok +test decode::size_group_wh_matches_libaom_size_group_lookup ... ok +test 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_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_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing ... ok +test decode::tests::an_inter_chroma_transform_narrows_its_inherited_tx_type_to_its_own_set ... ok +test decode::tests::a_selected_reference_with_an_empty_ref_frame_idx_slot_refuses_by_name ... ok +test decode::tests::an_obmc_neighbour_with_no_recorded_filter_refuses_instead_of_panicking ... 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::compound_mode_ctx_map_matches_libaom_corners ... ok +test decode::tests::a_sub16_leaf_after_a_palette_block_yields_palette_ctx_zero ... ok +test decode::tests::cdef_find_dir_matches_the_per_sample_reference ... ok +test decode::tests::filter_intra_classes_carry_their_own_libaom_default_row ... ok +test decode::tests::cdef_gather_and_shifted_constrain_match_the_spec_forms ... ok +test decode::tests::is_uni_comp_ref_matches_forward_backward_sides ... ok +test decode::tests::every_inter_record_publishes_an_obmc_readable_filter ... ok +test decode::tests::flat_taps_match_the_row_col_neighbour_reads ... 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::deblock_simd_kernel_matches_the_scalar_filter ... 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::a_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test decode::tests::a_key_frames_tile_needs_the_headers_own_tx_select_bit ... 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::cdef_simd_kernel_matches_the_scalar_filter ... ok +test decode::tests::real_yuv_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test decode::tests::ffmpeg_and_this_decoder_agree_on_a_gop ... ok +test decode::tests::a_filter_intra_key_frame_decodes_pixel_exact_through_ffmpeg ... ok +test decode::tests::every_intra_mode_round_trips_bit_exact_against_the_encoder_reconstruction ... ok +test decode::tests::ffmpeg_and_this_decoder_agree_on_a_key_frame ... ok +test encode::tests::a_640x360_half_straddle_sequence_round_trips_through_ffmpeg ... ok +test encode::tests::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_round_trips_through_ffmpeg_across_three_frames ... ok +test decode::tests::leaf8_straddle_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok +test decode::tests::odd_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... 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::low_motion_makes_an_inter_frame_smaller_than_the_key_frame ... ok +test encode::tests::pricer_error_census_by_block_class ... 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::key_frame_and_inter_frame_both_encode_at_half_straddle_size ... ok +test encode::tests::every_frame_of_a_sequence_decodes_to_what_the_encoder_reconstructed ... ok +test encode::tests::predicted_coeff_bits_track_the_tile_the_writer_wrote ... ok +test encode::tests::the_filter_search_picks_real_filters ... ok +test encode::tests::the_encoded_picture_is_the_one_that_went_in ... ok +test encode::tests::sequence_round_trips_at_a_non_multiple_size ... ok +test encode::tests::fidelity_and_rate_move_with_the_quantizer ... ok +test encode::tests::an_854x480_picture_round_trips_through_its_padding ... ok +test encode::tests::ffmpeg_decodes_exactly_what_the_encoder_reconstructed ... ok +test encode::tests::tpl_factors_are_flat_on_a_uniform_repeat_and_fall_where_the_window_leans ... ok +test encode::tests::tpl_intra_denominator_histogram ... ignored, needs ffmpeg and the film fixtures +test encode::tests::vert_ab_partition_flips_below_left_for_the_top_right_8x8 ... ok +test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ... ignored, 1080p encode: minutes, run it with --ignored +test encode::tests::a_screen_content_picture_codes_palette_blocks_ffmpeg_decodes_exactly ... ok +test encode::tests::the_diagonals_beat_the_modes_that_read_no_further ... ok +test encode::tests::a_sequence_round_trips_at_the_exactly_half_straddle_size ... 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::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::every_speed_preset_decodes_sample_exact_through_both_decoders ... ignored, sets the process-global speed preset: run it alone +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_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::bt601_limited_colour_is_reported_by_ffprobe ... ok +test encode::tests::the_search_beats_dc_alone ... ok +test encoder::tests::bt709_limited_colour_is_reported_by_ffprobe ... ok +test encoder::tests::gop_cadence_is_honored ... ok +test encoder::tests::the_mini_gop_layout_leaves_no_short_tail ... ok +test encoder::tests::the_key_q_offset_reaches_the_key_frame ... ok +test encoder::tests::one_in_one_out_delayed_by_the_lookahead_depth ... 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 stream::tests::a_10bit_film_frames_with_frame_edge_mv_clamping_decode_pixel_exact ... ok +test stream::tests::a_10bit_film_frames_with_rect64_corner_tus_decode_pixel_exact ... ok +test stream::tests::a_10bit_film_frames_with_small_side_globalmv_and_rect_warp_reach_decode_pixel_exact ... ok +test encoder::tests::quality_target_is_monotone_in_bytes_and_psnr ... ok +test encoder::tests::filter_replay_final_matches_the_capture_decode ... ok +test stream::tests::a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact ... 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_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 encoder::tests::bytes_per_frame_controller_never_oscillates_past_its_clamp ... ok +test stream::tests::a_directional_16x8_strip_reads_the_right_above_right_samples ... 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 stream::tests::a_hand_built_golden_reference_decodes_pixel_exact_against_ffmpeg ... ok +test encoder::tests::the_rate_loop_prices_the_frames_the_pyramid_codes ... ok +test encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames has been running for over 60 seconds +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 stream::tests::a_lossless_libaom_key_frame_decodes_sample_exact ... ok +test stream::tests::a_libaom_force_integer_mv_stream_decodes_exact ... ok +test encoder::tests::bytes_per_frame_target_settles_within_20_percent ... ok +test stream::tests::a_lossless_libaom_inter_frame_decodes_sample_exact ... ok +test encoder::tests::filter_replay_codes_the_same_stream_as_a_full_decode ... ok +test encoder::tests::every_tile_layout_decodes_sample_exact_through_both_decoders has been running for over 60 seconds +test stream::tests::a_real_aomenc_10bit_film_grain_stream_decodes_pixel_exact ... ok +test encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence ... 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_class1_chroma_eob_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok +test stream::tests::a_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_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 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 encoder::tests::every_tile_layout_decodes_sample_exact_through_both_decoders ... 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_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_intra_tools_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_affine_global_motion_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_compound_mv_stack_at_128_superblocks_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_restoration_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_aomenc_10bit_stream_with_a_32_level_ab_partition_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_filter_intra_on_a_sub16_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_superres_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_inter_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok +test stream::tests::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_aq_segmentation_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_interintra_wedge_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_altref_sequence_hidden_frames_decode_pixel_exact ... ok +test stream::tests::a_real_aomenc_filter_intra_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_dual_filter_obmc_8x8_inter_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_band_stream_seed46_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_inter_sequence_with_an_angle_delta_8x8_intra_leaf_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 stream::tests::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_compound_mv_stack_with_temporal_mvs_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_inter_128x128_none_root_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_frame_edge_half_strip_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_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_across_tile_columns_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_128x128_superblocks_decodes_pixel_exact ... 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_an_intra_rect_strip_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_an_intra_rect_strip_decodes_pixel_exact_10bit ... 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_16x16_level_1to4_partitions_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_16x16_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_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_16x16_level_ab_partitions_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact_10bit ... ok +test stream::tests::a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_intra_stream_with_tx_select_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_min8_stream_with_tx_class1_decodes_pixel_exact ... ok +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_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_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 encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames ... ok +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_multi_tile_intra_stream_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_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_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_rect_strip_palette_decodes_pixel_exact ... 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_screen_key_frame_reads_use_intrabc_on_rect_strips ... ok +test stream::tests::a_real_aomenc_screen_stream_with_palette_blocks_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_palette_stream_with_8x8_leaves_decodes_pixel_exact ... ok +test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count ... ok +test encoder::tests::zero_gop_is_refused ... ok +test stream::tests::a_real_aomenc_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_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 has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_last2_reference_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_last3_reference_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_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_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_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_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_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_superblock_level_horz_vert_partition_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 ... ok +test stream::tests::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_directional_chroma_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_film_grain_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_1to4_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub8_rect_leaf_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_ab_partitions_below_16x16_decodes_pixel_exact has been running for over 60 seconds +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_four_tile_rows_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_ab_partitions_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_an_altref2_reference_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_an_altref_reference_decodes_pixel_exact has been running for over 60 seconds +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_mandelbrot_fires_the_vert_b_partition_arm has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_interintra_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_through_decode_stream ... ok +test stream::tests::a_real_aomenc_stream_with_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_rect_screen_content_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm ... ok +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_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_superres_key_frame_sequence_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact has been running for over 60 seconds +test stream::tests::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_stream_with_reference_select_reads_comp_mode_correctly ... ok +test stream::tests::a_real_libaom_cfl_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_libaom_gradients_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_libaom_gradients_stream_with_cdef_decodes_pixel_exact ... ok +test stream::tests::a_real_libaom_stream_with_adst_decodes_end_to_end ... ok +test stream::tests::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour ... ok +test stream::tests::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly ... ok +test stream::tests::a_real_aomenc_stream_with_temporal_mvs_decodes_pixel_exact ... ok +test stream::tests::a_real_stream_decodes_identically_with_one_and_four_threads ... ok +test stream::tests::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact ... ok +test stream::tests::a_screen_stream_with_16x4_intra_strips_in_inter_frames_decodes_pixel_exact ... ok +test stream::tests::a_screen_stream_with_palette_8x8_leaves_in_inter_frames_decodes_pixel_exact ... ok +test stream::tests::a_segmentation_census_over_real_aq_streams_finds_no_mode_overriding_feature ... ok +test stream::tests::a_show_existing_frame_header_naming_an_empty_slot_is_refused_by_name ... ok +test stream::tests::a_sub8_footprint_census_over_real_streams_leaves_the_intra_16x4_pairing_refusal_unreachable ... ok +test stream::tests::a_real_aomenc_stream_with_warped_motion_refuses_or_matches ... ok +test stream::tests::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact ... ok +test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact ... ok +test stream::tests::a_superres_census_over_six_real_streams_records_which_scaled_refusals_fire ... ok +test stream::tests::a_sweep_of_doubly_straddling_sizes_round_trips_through_ffmpeg ... ok +test stream::tests::a_twelve_bit_sequence_header_is_refused_by_name ... ok +test stream::tests::an_inter_frame_naming_an_unrefreshed_primary_ref_slot_is_refused_by_name ... ok +test stream::tests::an_inter_frame_opening_a_stream_is_refused_by_name ... ok +test stream::tests::an_inter_frame_shorter_than_its_reference_is_refused_by_name ... ok +test stream::tests::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact ... 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_stream_decodes_pixel_exact ... ok +test stream::tests::an_intrabc_census_over_screen_key_frames_measures_the_tx_select_refusal ... 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::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact ... 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::gradients_source_is_reproducible_per_seed ... ok +test stream::tests::real_aomenc_film_grain_streams_decode_pixel_exact ... ok +test stream::tests::a_real_force_integer_mv_warp_stream_decodes_pixel_exact ... ok +test stream::tests::sb128_r2_control_sb64 ... ignored, lane-sb128 r2 diagnostic: is the frame-6 mismatch sb128-specific? +test stream::tests::scratch_decode_pinned_stream_once ... ignored +test stream::tests::scratch_isolate_pinned_mismatch ... ignored +test stream::tests::streaming_decode_matches_the_collecting_one ... ok +test stream::tests::sweep_rectx_recipes ... ignored, lane-rectx r3 scratch sweep +test stream::tests::a_real_globalmv_8x8_leaf_stream_decodes_pixel_exact ... ok +test stream::tests::a_real_stream_filters_identically_with_one_and_four_filter_threads ... ok +test stream::tests::the_reelb_head_key_frame_decodes_pixel_exact ... ok +test stream::tests::the_reelb_ss300_key_frame_skipped_cfl_decodes_pixel_exact ... ok +test stream::tests::the_reelb_ss600_key_frame_skipped_split_tx_decodes_pixel_exact ... ok +test superres::tests::upscale_row_matches_libaom_in8_out12 ... ok +test superres::tests::upscale_row_matches_libaom_in8_out16 ... ok +test superres::tests::upscale_row_of_a_flat_input_is_flat ... ok +test superres::tests::upscale_row_with_real_margin_matches_libaom_in43_out64 ... ok +test tile::tests::a_block_gathers_the_cells_its_neighbours_cover ... ok +test tile::tests::a_coefficient_in_the_far_corner_reaches_the_last_end_of_block_group ... ok +test tile::tests::a_coefficient_off_the_origin_selects_its_own_basis_function ... ok +test stream::tests::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads ... ok +test tile::tests::a_dc_level_is_worth_half_as_much_each_time_the_transform_doubles ... ok +test tile::tests::a_frame_that_hangs_off_the_bottom_codes_every_block ... ok +test tile::tests::a_frame_that_is_not_a_whole_number_of_blocks_is_refused ... ok +test tile::tests::a_frame_that_is_not_a_whole_number_of_superblocks_codes_every_block ... ok +test tile::tests::a_level_grid_that_does_not_cover_the_frame_is_refused ... ok +test tile::tests::a_newmv_block_reads_back_the_exact_symbol_sequence_it_was_written_with ... ok +test tile::tests::a_quadrant_splits_into_four_sixteens ... ok +test tile::tests::a_quantized_picture_decodes_to_what_the_encoder_reconstructed ... ok +test tile::tests::a_single_ac_coefficient_varies_along_its_own_axis ... ok +test tile::tests::a_split_superblock_decodes_each_quadrant_on_its_own_level ... ok +test tile::tests::a_whole_superblock_at_the_frame_edge_is_refused ... ok +test tile::tests::a_whole_superblock_covers_all_four_of_its_quadrants ... ok +test tile::tests::an_all_skip_inter_superblock_is_small_and_reads_back ... ok +test tile::tests::an_intra_block_in_an_inter_frame_is_caught_reading_kf_y_mode ... ok +test tile::tests::an_intra_mode_outside_the_key_frame_set_is_refused ... ok +test tile::tests::chroma_dc_signs_read_their_neighbours ... ok +test tile::tests::coefficients_the_writer_cannot_code_are_refused ... ok +test tile::tests::dc_levels_the_base_syntax_cannot_carry_are_refused ... ok +test tile::tests::directional_modes_predict_from_the_neighbours_they_name ... ok +test tile::tests::each_chroma_plane_codes_its_own_basis_function ... ok +test tile::tests::a_dc_coefficient_moves_the_whole_block_off_mid_grey ... ok +test tile::tests::each_superblock_decodes_to_the_grey_its_own_level_asks_for ... ok +test tile::tests::every_quadrant_carries_its_own_coefficients ... 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::rdoq_only_lowers_the_cost_and_reports_its_own_grid ... 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. 560 passed; 0 failed; 44 ignored; 0 measured; 0 filtered out; finished in 883.57s + +RC=0 diff --git a/lanes/rdoq.report.md b/lanes/rdoq.report.md new file mode 100644 index 00000000..2fa76d05 --- /dev/null +++ b/lanes/rdoq.report.md @@ -0,0 +1,159 @@ +# lane-rdoq — rate-distortion optimised quantisation + +Head: off main `bfb88c88`. Scope: the coefficient quantiser and its two call +sites in the search; no decoder change. + +## What was missing + +`transform::quantize` rounded every coefficient on its own with a fixed +deadzone, blind to what the level costs through the coefficient CDFs. Every +reference has the pass that decides that against the entropy coder (libaom +`av1_optimize_txb`, rav1e `optimize_txb`). Coefficient bits are 53.6% of our +stream (`lanes/census-longgop-v2.md`). + +## Instrument — what the quantiser hands the pass (`EC_AV1_RDOQ_CENSUS=1`) + +Over every TRIAL block of a 12-frame native-gate row (four quantizers), i.e. +the bits at stake inside the search, not in the bitstream: + +| row | blocks | coded coeffs | +-1 | trailing +-1 | zeroed by RDOQ | lowered | trial bits | +|---|---|---|---|---|---|---|---| +| bars 1080p | 11.26 M | 243.3 M | 63.5% | 3.6% | 5.47 M | 0.79 M | -2.50% | +| bars 2160p | 9.96 M | 225.8 M | 60.9% | 3.5% | 4.42 M | 0.74 M | -2.09% | +| film A | 30.68 M | 124.2 M | 68.7% | 14.2% | 10.11 M | 0.54 M | -10.31% | +| film B | 28.56 M | 68.5 M | 78.1% | 17.6% | 8.09 M | 0.31 M | -14.97% | +| screen | 13.92 M | 89.8 M | 61.8% | 6.8% | 3.45 M | 0.25 M | -5.31% | + +Two thirds to four fifths of every coded coefficient is a `+-1`, and on the +two real films one coefficient in six is a `+-1` sitting in the run at the END +of the scan -- the levels an eob-shortening pass takes back whole. + +## The pass (`tile::rdoq`) + +* candidates per coefficient `{level, level-1, ..., 0}`, one step at a time, + walked in REVERSE scan order so the tail is decided first and a dropped tail + is retried against the shorter eob it leaves; +* every candidate priced by re-coding the whole block through `coeff_bits` -- + the same CDFs, q-context, neighbour `skip_ctx`/`sign_ctx` and `write_coeffs` + the search already prices with and the writer will code with, so no second + cost model can drift from the writer; +* distortion in the transform domain, mirroring the dequantizer: a level's + pixel-domain error is `(coeff - level * q) / 8` + (`INVERSE_GAIN_RECIPROCAL`), so `step^2 = (ac_q/8)^2` divides out of every + comparison and the DC's `(dc_q/ac_q)^2` is the only per-position weight; +* lambda = the search's own `LAMBDA_SCALE` in those units + (`EC_AV1_RDOQ_LAMBDA` multiplies it); +* run INSIDE the trial loop: the reconstruction, the price the search ranks by + and the levels the writer takes are all the pass's grid, so the search + decides on RDOQ'd blocks. + +Bounded, because a candidate here costs a whole `write_coeffs` where rav1e's +incremental model costs a table lookup: levels above 2 are never candidates, +and a block spends at most 24 prices, taken from the tail backwards +(`EC_AV1_RDOQ_MAXLEVEL` / `EC_AV1_RDOQ_BUDGET`). Unbounded the q=150 pin is +9853 -> 8959 B at +256% wall on that clip; bounded it is 9059 B at +26%. + +## 12-frame `bd_rate_screen_native` (1920-wide crops, 4 quantizers, vs libaom cpu-used 6 / rav1e speed 6) + +| row | control (`EC_AV1_RDOQ=0`) | SHIPPED (lambda x2.2) | +|---|---|---| +| bars 1080p | +2.2 / -14.0 | -0.9 / -16.7 | +| bars 2160p | +12.7 / -9.8 | +9.3 / -12.8 | +| film A | +37.1 / +7.3 | **+24.4 / -1.8** | +| film B | +52.5 / +22.3 | **+35.5 / +7.6** | +| screen | +33.4 / -23.8 | **+28.1 / -25.7** | + +The control row-for-row reproduces the charter's numbers on this head, so the +baseline is not stale. The keep rule (both film rows down on both columns, +screen not worse by 0.3) passes with room: film A -12.7 / -9.1, film B +-17.0 / -14.7, and the screen capture comes DOWN on both columns too. + +### The rate-term sweep (`EC_AV1_RDOQ_LAMBDA`, BD vs libaom / vs rav1e) + +| x | film A | film B | screen | +|---|---|---|---| +| 0.7 | +27.6 / +0.3 | +39.5 / +11.6 | +29.6 / -25.5 | +| 1.0 | +26.3 / -0.5 | +37.5 / +9.7 | +29.1 / -25.7 | +| 1.3 | +25.6 / -0.9 | +37.0 / +9.3 | +28.8 / -25.8 | +| 1.6 | +24.6 / -1.6 | +35.9 / +8.2 | +28.7 / -25.7 | +| **2.2** | **+24.4 / -1.8** | **+35.5 / +7.6** | **+28.1 / -25.7** | +| 3.2 | +24.7 / -1.5 | +36.1 / +7.6 | +29.4 / -25.0 | + +One bowl, at the same multiplier on all three rows, and it is a factor of TWO +above the weight the mode search prices the same bits at. The likeliest cause +is named in `rdoq_lambda`'s doc comment: the price is taken against tables +that have not adapted yet, which over-states what a coefficient really costs, +and this is the one decision taken per coefficient. + +### The deadzone, re-swept WITH the pass (`EC_AV1_DEADZONE`, at lambda x1.0) + +| deadzone | film A | film B | screen | +|---|---|---|---| +| 0.42 | +48.1 / +20.7 | +55.7 / +23.8 | +29.0 / -25.6 | +| **0.5 (shipped)** | **+26.3 / -0.5** | **+37.5 / +9.7** | **+29.1 / -25.7** | +| 0.6 | +49.3 / +21.5 | +58.4 / +26.6 | +31.4 / -24.8 | + +It was fitted without the pass and it survives it: both neighbours are 20+ +points worse on both films. Rounding to nearest and letting the RD pass do +every zeroing is strictly better than a quantiser that guesses at it, in +either direction. 0.35 was NOT run: 0.42 is already 22 points the wrong way +and the arm below it can only be further out (deferred, one gate arm). + +## Preset gate (`crate::speed::RDOQ`) + +| row | preset 0 off | preset 0 on | preset 6 off | preset 6 on | +|---|---|---|---|---| +| film A | +37.1 / +7.3 (77s) | +24.4 / -1.8 (138s) | +46.0 / +14.5 (32s) | +30.4 / +2.9 (60s) | +| film B | +52.5 / +22.3 (78s) | +35.5 / +7.6 (130s) | +67.8 / +35.0 (30s) | +43.5 / +14.2 (51s) | +| screen | +33.4 / -23.8 (45s) | +28.1 / -25.7 (79s) | +40.3 / -20.0 (15s) | +34.9 / -22.0 (34s) | + +About 2x wall, and it pays at both ends of the measured range. It also +DOMINATES the ladder: preset 6 with the pass beats preset 0 without it on +every row and both columns, at less wall. So the lever is on from preset 0 to +6; 7..=10 are the real-time rungs, are unmeasured here, and keep the cheaper +choice (`EC_AV1_RDOQ=1` turns it on there). + +Wall caveat: every number above is one gate row with a second gate arm running +beside it on the same box (the lane runs two arms in parallel), which is what +the gate's own "noisy" label means. Best-of the five preset-0 RDOQ arms +(lambda 1.0/1.3/1.6/2.2/3.2, all the same work) is film A 131.7s, film B +118.6s, screen 78.5s against the control's 77.1 / 78.1 / 45.1s -- 1.7-1.8x. + +## Long-GOP gate (`bd_rate_film_long_gop`, 48 frames, `-g 48`), at what ships + +| row | control (`EC_AV1_RDOQ=0`, this head) | SHIPPED | +|---|---|---| +| film A | +40.9 / +3.1 | **+29.4 / -3.9** | +| film B | +125.6 / +32.0 | **+100.2 / +16.6** | + +Both control rows reproduce the charter's numbers exactly, so the long-GOP +baseline is not stale either. -11.5 / -7.0 on film A and -25.4 / -15.4 on +film B; film A now beats rav1e speed 6 over a 48-frame GOP. + +## Invariants (release lib binary, on this head) + +| check | result | +|---|---| +| pins, RDOQ on | 9853 -> **8618** at q=150, 35866 -> **33339** at q=60, test ok | +| pins, `EC_AV1_RDOQ=0` | restores 9853 / 35866 (the test passes against the OLD pins with the flag set) | +| `EC_COMP_MISMATCH=1`, presets 0 and 6 | 0 lines, over `tile_bytes_do_not_depend_on_the_thread_count` and `the_facade_codes_the_same_bytes_as_encode_sequence` | +| `tile_bytes_do_not_depend_on_the_thread_count --include-ignored` | ok at preset 0 and at preset 6 | +| `the_facade_codes_the_same_bytes_as_encode_sequence` | ok at preset 0 and at preset 6 | +| `every_speed_preset_decodes_sample_exact_through_both_decoders --ignored` | ok (presets 0..10) | +| `predicted_coeff_bits_track_the_tile_the_writer_wrote` | ok -- the pass hands the search the price of its OWN grid | +| every gate arm above | RC=0, i.e. the three-way (encoder / ffmpeg / our decoder) sample-exactness assertion held on all 12 arms | +| full ec-av1 lib suite | 560 passed / 0 failed / 44 ignored in 883s (559 + this lane's one) | +| `cargo check --workspace --all-targets -j4` | 0 errors, 0 ec-av1 warnings (22 warnings, all pre-existing in ec-opus) | + +## Deferred + +* deadzone 0.35 -- one gate arm, and 0.42 is already 22 points the wrong way. +* the lambda multiplier is fitted (2.2x); the named cause is the unadapted + pricing tables, and the real fix is an adapted price, not this constant. +* the per-superblock temporal lambda map and the key/hidden frame factors do + not reach the pass (both frame factors are 1.0 as shipped); the upgrade is a + `lambda` on the trial call sites. +* incremental candidate pricing (rav1e's table lookup instead of a whole + `write_coeffs` per candidate) is what would let the bounds go: at the + budget of 24 the pass leaves ~1% of the bytes the unbounded pass took + (9059 vs 8959 at the q=150 pin).