forge
Explore
Log in

Don't you dare go Hollow

Merge branch 'lane-sse' (168b7d0b): the RD distortion clips to the true frame for every block size; worth 0.1% on straddling sizes, byte-identical on aligned ones; EC_AV1_NATIVE_CROP gate arm

Browse files at this commit

36e7040fedcdbf1dd1557172d15c8b59b5202013Ahmet Kaan GümüşParent: e08e2e64831201
crates/ec-av1/src/encode.rsmodified+182 -69
@@ -541,7 +541,8 @@ pub fn take_b64_var_tx_hits() -> usize {
541 /// (lane-b64b). AV1 asks only that the block's own half is inside541 /// (lane-b64b). AV1 asks only that the block's own half is inside
542 /// (`has_cols`/`has_rows`, spec `decode_partition`), and the writer already542 /// (`has_cols`/`has_rows`, spec `decode_partition`), and the writer already
543 /// codes that case; what was missing was a trial whose SSE is scored over the543 /// codes that case; what was missing was a trial whose SSE is scored over the
544-/// INSIDE part alone ([`inside_sse`]) instead of over the padding the encoder544+/// INSIDE part alone ([`Plane::block_sse`], which clips since lane-sse)
545+/// instead of over the padding the encoder
545 /// invented past the edge. Both gate films are superblock-aligned, so this546 /// invented past the edge. Both gate films are superblock-aligned, so this
546 /// only reaches the user's own arbitrary export sizes.547 /// only reaches the user's own arbitrary export sizes.
547 ///548 ///
@@ -1694,6 +1695,58 @@ struct CoefCtxMap {
1694 tu_split: bool,1695 tu_split: bool,
1695 }1696 }
1696 1697
1698+/// Whether [`Plane::block_sse`] scores a block the true frame edge cuts
1699+/// through over its INSIDE part alone. On; `EC_AV1_EDGESSE=0` restores the
1700+/// padding-inclusive score the search used before lane-sse, which is how the
1701+/// before/after arms of the straddling gate rows are read off ONE binary.
1702+fn edge_sse() -> bool {
1703+ static ENV: std::sync::LazyLock<Option<bool>> =
1704+ std::sync::LazyLock::new(|| crate::envflags::var("EC_AV1_EDGESSE").ok().map(|v| v != "0"));
1705+ ENV.unwrap_or(true)
1706+}
1707+
1708+/// Whether [`Plane::block_sse`] counts the blocks the true frame edge cuts
1709+/// through and the share of their raw squared error that sat in the padding
1710+/// (`EC_AV1_EDGE_CENSUS=1`). Off by default: only edge blocks would pay for
1711+/// it, but the numbers are an instrument, not a decision (class
1712+/// `gate-blind-to-feature` -- both gate films are superblock-aligned, so
1713+/// without this census no gate row can say the clip fires at all).
1714+fn edge_census() -> bool {
1715+ static ENV: std::sync::LazyLock<bool> =
1716+ std::sync::LazyLock::new(|| crate::envflags::var("EC_AV1_EDGE_CENSUS").ok().as_deref() == Some("1"));
1717+ *ENV
1718+}
1719+
1720+/// Per block side (indexed by `side.trailing_zeros()`, so 2 is 4x4 and 7 is
1721+/// 128x128): how many scores clipped, the inside squared error they kept and
1722+/// the padding squared error they dropped.
1723+static EDGE_SCORES: [[std::sync::atomic::AtomicU64; 3]; 8] =
1724+ [const { [const { std::sync::atomic::AtomicU64::new(0) }; 3] }; 8];
1725+
1726+/// One clipped score, for [`take_edge_census`].
1727+fn record_edge_score(side: usize, inside: u64, padding: u64) {
1728+ let row = &EDGE_SCORES[(side.trailing_zeros() as usize).min(7)];
1729+ row[0].fetch_add(1, std::sync::atomic::Ordering::Relaxed);
1730+ row[1].fetch_add(inside, std::sync::atomic::Ordering::Relaxed);
1731+ row[2].fetch_add(padding, std::sync::atomic::Ordering::Relaxed);
1732+}
1733+
1734+/// The straddling-block census since the last call, and zero it: one
1735+/// `(side, scores, inside_sse, padding_sse)` row per block size that fired.
1736+#[must_use]
1737+pub fn take_edge_census() -> Vec<(usize, u64, u64, u64)> {
1738+ EDGE_SCORES
1739+ .iter()
1740+ .enumerate()
1741+ .filter_map(|(log2, row)| {
1742+ let n = row[0].swap(0, std::sync::atomic::Ordering::Relaxed);
1743+ let inside = row[1].swap(0, std::sync::atomic::Ordering::Relaxed);
1744+ let padding = row[2].swap(0, std::sync::atomic::Ordering::Relaxed);
1745+ (n != 0).then_some((1usize << log2, n, inside, padding))
1746+ })
1747+ .collect()
1748+}
1749+
1697 struct Plane<'a> {1750 struct Plane<'a> {
1698 source: &'a [u8],1751 source: &'a [u8],
1699 reconstruction: Vec<u8>,1752 reconstruction: Vec<u8>,
@@ -1850,17 +1903,54 @@ impl Plane<'_> {
1850 }1903 }
1851 1904
1852 /// Squared error between the source block at `(x, y)` and a reconstruction1905 /// Squared error between the source block at `(x, y)` and a reconstruction
1853- /// of it. Exact for the same reason [`Self::block_sad`] is: the largest1906+ /// of it, over the part of the block that is INSIDE the true frame.
1854- /// total is `255^2 * 64 * 64`, under 2^28.1907+ /// Exact for the same reason [`Self::block_sad`] is: the largest total is
1908+ /// `255^2 * 64 * 64`, under 2^28.
1909+ ///
1910+ /// A block the frame edge cuts through is still coded whole -- the
1911+ /// decoder reconstructs its outside samples too and the display crop
1912+ /// throws them away -- so scoring the padding would rank a mode, a
1913+ /// transform or a partition tree by how well it codes samples the source
1914+ /// does not have (libaom clips the same way: `av1_dist_block` measures
1915+ /// over `max_blocks_wide`/`max_blocks_high`). The padding is replicated
1916+ /// edge pixels, so predicting it is nearly free, but coding coefficients
1917+ /// for it spends real bits. Both gate films are superblock-aligned; this
1918+ /// only reaches arbitrary export sizes (lane-sse, generalising
1919+ /// lane-b64b's 64-root-only rescore of the 64 root).
1855 fn block_sse(&self, x: usize, y: usize, side: usize, reconstruction: &[u8]) -> f64 {1920 fn block_sse(&self, x: usize, y: usize, side: usize, reconstruction: &[u8]) -> f64 {
1921+ let inside_rows = side.min(self.true_height.saturating_sub(y));
1922+ let inside_cols = side.min(self.true_width.saturating_sub(x));
1923+ let straddles = inside_rows < side || inside_cols < side;
1924+ // The knob is read only for a block the edge cuts, so the interior
1925+ // path -- the hot one -- carries no extra load at all.
1926+ let (rows, cols) = match straddles && !edge_sse() {
1927+ true => (side, side),
1928+ false => (inside_rows, inside_cols),
1929+ };
1856 let mut sse = 0u64;1930 let mut sse = 0u64;
1857- for row in 0..side {1931+ for row in 0..rows {
1858- let source = &self.source[(y + row) * self.width + x..][..side];1932+ let source = &self.source[(y + row) * self.width + x..][..cols];
1859- for (&s, &r) in source.iter().zip(&reconstruction[row * side..][..side]) {1933+ for (&s, &r) in source.iter().zip(&reconstruction[row * side..][..cols]) {
1860 let d = u32::from(s.abs_diff(r));1934 let d = u32::from(s.abs_diff(r));
1861 sse += u64::from(d * d);1935 sse += u64::from(d * d);
1862 }1936 }
1863 }1937 }
1938+ if straddles && edge_census() {
1939+ let (mut inside, mut whole) = (0u64, 0u64);
1940+ for row in 0..side {
1941+ let source = &self.source[(y + row) * self.width + x..][..side];
1942+ for (col, (&s, &r)) in
1943+ source.iter().zip(&reconstruction[row * side..][..side]).enumerate()
1944+ {
1945+ let d = u64::from(u32::from(s.abs_diff(r)).pow(2));
1946+ whole += d;
1947+ if row < inside_rows && col < inside_cols {
1948+ inside += d;
1949+ }
1950+ }
1951+ }
1952+ record_edge_score(side, inside, whole - inside);
1953+ }
1864 sse as f641954 sse as f64
1865 }1955 }
1866 1956
@@ -3964,10 +4054,19 @@ fn ibc_sse(
3964 (sx, sy): (usize, usize),4054 (sx, sy): (usize, usize),
3965 side: usize,4055 side: usize,
3966 ) -> f64 {4056 ) -> f64 {
4057+ // Inside the true frame only, for the reason [`Plane::block_sse`] is
4058+ // (lane-sse): an intrabc block at the edge would otherwise be ranked by
4059+ // how well it copies the padding.
3967 let mut sse = 0.0f64;4060 let mut sse = 0.0f64;
3968- for row in 0..side {4061+ let clip = |whole: usize, inside: usize| match edge_sse() {
3969- let src = &luma.source[(y + row) * luma.width + x..][..side];4062+ true => whole.min(inside),
3970- let rec = &luma.reconstruction[(sy + row) * luma.width + sx..][..side];4063+ false => whole,
4064+ };
4065+ let rows = clip(side, luma.true_height.saturating_sub(y));
4066+ let cols = clip(side, luma.true_width.saturating_sub(x));
4067+ for row in 0..rows {
4068+ let src = &luma.source[(y + row) * luma.width + x..][..cols];
4069+ let rec = &luma.reconstruction[(sy + row) * luma.width + sx..][..cols];
3971 for (&s, &r) in src.iter().zip(rec) {4070 for (&s, &r) in src.iter().zip(rec) {
3972 let d = f64::from(i32::from(s) - i32::from(r));4071 let d = f64::from(i32::from(s) - i32::from(r));
3973 sse += d * d;4072 sse += d * d;
@@ -3975,9 +4074,11 @@ fn ibc_sse(
3975 }4074 }
3976 let half = side / 2;4075 let half = side / 2;
3977 for plane in chroma {4076 for plane in chroma {
3978- for row in 0..half {4077+ let rows = clip(half, plane.true_height.saturating_sub(y / 2));
3979- let src = &plane.source[(y / 2 + row) * plane.width + x / 2..][..half];4078+ let cols = clip(half, plane.true_width.saturating_sub(x / 2));
3980- let rec = &plane.reconstruction[(sy / 2 + row) * plane.width + sx / 2..][..half];4079+ for row in 0..rows {
4080+ let src = &plane.source[(y / 2 + row) * plane.width + x / 2..][..cols];
4081+ let rec = &plane.reconstruction[(sy / 2 + row) * plane.width + sx / 2..][..cols];
3981 for (&s, &r) in src.iter().zip(rec) {4082 for (&s, &r) in src.iter().zip(rec) {
3982 let d = f64::from(i32::from(s) - i32::from(r));4083 let d = f64::from(i32::from(s) - i32::from(r));
3983 sse += d * d;4084 sse += d * d;
@@ -6028,46 +6129,6 @@ where
6028 /// of the frame's reconstruction because a tile's prediction never reads a6129 /// of the frame's reconstruction because a tile's prediction never reads a
6029 /// sample outside its own rectangle, and every sample inside it is written6130 /// sample outside its own rectangle, and every sample inside it is written
6030 /// before it is read.6131 /// before it is read.
6031-/// [`Plane::block_sse`] over the part of a block that is INSIDE the true
6032-/// frame. A block the edge cuts through is still coded whole -- the decoder
6033-/// reconstructs its outside samples too and the display crop throws them away
6034-/// -- so scoring them would rank a 64x64 root by how well it predicts padding
6035-/// the source does not have (lane-b64b).
6036-fn inside_sse(plane: &Plane, x: usize, y: usize, side: usize, reconstruction: &[u8]) -> f64 {
6037- let rows = side.min(plane.true_height.saturating_sub(y));
6038- let cols = side.min(plane.true_width.saturating_sub(x));
6039- let mut sse = 0u64;
6040- for row in 0..rows {
6041- let source = &plane.source[(y + row) * plane.width + x..][..cols];
6042- for (col, &s) in source.iter().enumerate() {
6043- let d = u32::from(s.abs_diff(reconstruction[row * side + col]));
6044- sse += u64::from(d * d);
6045- }
6046- }
6047- sse as f64
6048-}
6049-
6050-/// Rescores one 64x64 root trial set (luma and the two chroma planes) over
6051-/// the inside part of a superblock the frame edge cuts through.
6052-fn clip_sb64_sse(
6053- trials: &mut [Trial; 3],
6054- luma: &Plane,
6055- chroma: &[Plane; 2],
6056- (x, y): (usize, usize),
6057- side: usize,
6058-) {
6059- trials[0].sse = inside_sse(luma, x, y, side, &trials[0].reconstruction);
6060- for plane in 0..2 {
6061- trials[plane + 1].sse = inside_sse(
6062- &chroma[plane],
6063- x / 2,
6064- y / 2,
6065- side / 2,
6066- &trials[plane + 1].reconstruction,
6067- );
6068- }
6069-}
6070-
6071 fn fresh_plane(source: &[u8], width: usize, height: usize, true_width: usize, true_height: usize) -> Plane<'_> {6132 fn fresh_plane(source: &[u8], width: usize, height: usize, true_width: usize, true_height: usize) -> Plane<'_> {
6072 Plane {6133 Plane {
6073 source,6134 source,
@@ -7589,12 +7650,9 @@ fn search_skip_64(
7589 }7650 }
7590 }7651 }
7591 7652
7592- // A superblock the true frame edge cuts through: every trial below is
7593- // ranked over its inside part only ([`clip_sb64_sse`]).
7594- let edge = x + side > luma.true_width || y + side > luma.true_height;
7595 let mut best: Option<(f64, f64, InterInfo, [Trial; 3])> = None;7653 let mut best: Option<(f64, f64, InterInfo, [Trial; 3])> = None;
7596 for (bits, info) in cands {7654 for (bits, info) in cands {
7597- let mut trials = [7655+ let trials = [
7598 (0usize, x, y, side, true),7656 (0usize, x, y, side, true),
7599 (1, x / 2, y / 2, side / 2, false),7657 (1, x / 2, y / 2, side / 2, false),
7600 (2, x / 2, y / 2, side / 2, false),7658 (2, x / 2, y / 2, side / 2, false),
@@ -7631,9 +7689,6 @@ fn search_skip_64(
7631 TxbSet::Luma32Inter,7689 TxbSet::Luma32Inter,
7632 )7690 )
7633 });7691 });
7634- if edge {
7635- clip_sb64_sse(&mut trials, luma, chroma, (x, y), side);
7636- }
7637 let cost = trials[0].sse7692 let cost = trials[0].sse
7638 + trials[1].sse7693 + trials[1].sse
7639 + trials[2].sse7694 + trials[2].sse
@@ -7706,7 +7761,7 @@ fn search_skip_64(
7706 ccands.sort_by(|a, b| a.0.cmp(&b.0).then(a.1.total_cmp(&b.1)));7761 ccands.sort_by(|a, b| a.0.cmp(&b.0).then(a.1.total_cmp(&b.1)));
7707 ccands.dedup_by_key(|c| c.0);7762 ccands.dedup_by_key(|c| c.0);
7708 for (mvs, bits, info) in ccands {7763 for (mvs, bits, info) in ccands {
7709- let mut trials = [7764+ let trials = [
7710 (0usize, x, y, side, true),7765 (0usize, x, y, side, true),
7711 (1, x / 2, y / 2, side / 2, false),7766 (1, x / 2, y / 2, side / 2, false),
7712 (2, x / 2, y / 2, side / 2, false),7767 (2, x / 2, y / 2, side / 2, false),
@@ -7750,9 +7805,6 @@ fn search_skip_64(
7750 TxbSet::Luma32Inter,7805 TxbSet::Luma32Inter,
7751 )7806 )
7752 });7807 });
7753- if edge {
7754- clip_sb64_sse(&mut trials, luma, chroma, (x, y), side);
7755- }
7756 let syntax = fixed - ref_bits + bits;7808 let syntax = fixed - ref_bits + bits;
7757 let cost =7809 let cost =
7758 trials[0].sse + trials[1].sse + trials[2].sse + search.lambda * syntax;7810 trials[0].sse + trials[1].sse + trials[2].sse + search.lambda * syntax;
@@ -7785,7 +7837,7 @@ fn search_skip_64(
7785 let mut luma_levels: Option<(Vec<i32>, u8)> = None;7837 let mut luma_levels: Option<(Vec<i32>, u8)> = None;
7786 if residual {7838 if residual {
7787 let sets = [TxbSet::Luma64, TxbSet::Chroma32, TxbSet::Chroma32];7839 let sets = [TxbSet::Luma64, TxbSet::Chroma32, TxbSet::Chroma32];
7788- let mut residual_trials = [0usize, 1, 2].map(|plane| {7840+ let residual_trials = [0usize, 1, 2].map(|plane| {
7789 let (target, px, py, s) = if plane == 0 {7841 let (target, px, py, s) = if plane == 0 {
7790 (&*luma, x, y, side)7842 (&*luma, x, y, side)
7791 } else {7843 } else {
@@ -7802,9 +7854,6 @@ fn search_skip_64(
7802 sets[plane],7854 sets[plane],
7803 )7855 )
7804 });7856 });
7805- if edge {
7806- clip_sb64_sse(&mut residual_trials, luma, chroma, (x, y), side);
7807- }
7808 let unskip = symbol_bits(&cdf::SKIP[0], 0) - symbol_bits(&cdf::SKIP[0], 1);7857 let unskip = symbol_bits(&cdf::SKIP[0], 0) - symbol_bits(&cdf::SKIP[0], 1);
7809 let coeff_bits: f64 = residual_trials.iter().map(|t| t.bits).sum();7858 let coeff_bits: f64 = residual_trials.iter().map(|t| t.bits).sum();
7810 // lane-b64b: the root's own var-tx decision -- one TX_64X64 or the7859 // lane-b64b: the root's own var-tx decision -- one TX_64X64 or the
@@ -9532,7 +9581,7 @@ pub(crate) fn encode_inter_frame(
9532 // frame is offered it, and (lane-b64b, `EC_AV1_B64EDGE`) one the9581 // frame is offered it, and (lane-b64b, `EC_AV1_B64EDGE`) one the
9533 // edge CUTS THROUGH: the spec's own `has_cols`/`has_rows` ask9582 // edge CUTS THROUGH: the spec's own `has_cols`/`has_rows` ask
9534 // only that the block's half is inside, and the trial is ranked9583 // only that the block's half is inside, and the trial is ranked
9535- // over the inside part alone ([`clip_sb64_sse`]).9584+ // over the inside part alone ([`Plane::block_sse`]).
9536 let (x64, y64) = (sb_c * SUPERBLOCK, sb_r * SUPERBLOCK);9585 let (x64, y64) = (sb_c * SUPERBLOCK, sb_r * SUPERBLOCK);
9537 let whole_inside = (sb_c as u32 + 1) * crate::tile::SB_MI <= header.mi_cols9586 let whole_inside = (sb_c as u32 + 1) * crate::tile::SB_MI <= header.mi_cols
9538 && (sb_r as u32 + 1) * crate::tile::SB_MI <= header.mi_rows9587 && (sb_r as u32 + 1) * crate::tile::SB_MI <= header.mi_rows
@@ -10502,6 +10551,31 @@ mod tests {
10502 /// by predicting -- the textured half of a frame whose other half is10551 /// by predicting -- the textured half of a frame whose other half is
10503 /// flat -- the factor FALLS below 1, i.e. that half is coded more10552 /// flat -- the factor FALLS below 1, i.e. that half is coded more
10504 /// distortion-averse than the half nothing gains from.10553 /// distortion-averse than the half nothing gains from.
10554+ /// The distortion metric itself (lane-sse): a block the true frame edge
10555+ /// cuts through is scored over its INSIDE part only, so a difference that
10556+ /// lives entirely in the padding costs nothing and a block wholly past
10557+ /// the edge scores zero. Before this, the search ranked modes,
10558+ /// transforms and partition trees on samples the display crop throws
10559+ /// away -- which lane-b64b had fixed for the 64x64 root alone.
10560+ #[test]
10561+ fn a_block_the_frame_edge_cuts_is_scored_over_its_inside_only() {
10562+ // A 40x40 true frame on a 64x64 padded coding surface.
10563+ let source = vec![10u8; 64 * 64];
10564+ let plane = fresh_plane(&source, 64, 64, 40, 40);
10565+ let mut reconstruction = vec![10u8; 64 * 64];
10566+ // Off by 190 at (50, 50) -- past the true edge in both axes.
10567+ reconstruction[50 * 64 + 50] = 200;
10568+ assert_eq!(plane.block_sse(0, 0, 64, &reconstruction), 0.0, "padding was scored");
10569+ // Off by 10 at (39, 39) -- the last sample the decoder shows.
10570+ reconstruction[39 * 64 + 39] = 20;
10571+ assert_eq!(plane.block_sse(0, 0, 64, &reconstruction), 100.0, "inside was not scored");
10572+ // A 16x16 block whose every sample is padding.
10573+ let block = vec![200u8; 16 * 16];
10574+ assert_eq!(plane.block_sse(48, 0, 16, &block), 0.0, "a block past the edge scored");
10575+ // A 16x16 block the edge cuts: 8 of its columns are inside.
10576+ assert_eq!(plane.block_sse(32, 32, 16, &block), (190.0 * 190.0) * 64.0);
10577+ }
10578+
10505 #[test]10579 #[test]
10506 fn tpl_factors_are_flat_on_a_uniform_repeat_and_fall_where_the_window_leans() {10580 fn tpl_factors_are_flat_on_a_uniform_repeat_and_fall_where_the_window_leans() {
10507 // Four 64x64 superblocks across: the shipped map forms its ratio per10581 // Four 64x64 superblocks across: the shipped map forms its ratio per
@@ -14943,6 +15017,27 @@ mod tests {
14943 crate::probe::dims(clip)15017 crate::probe::dims(clip)
14944 }15018 }
14945 15019
15020+ /// `EC_AV1_NATIVE_CROP=<width>x<height>`: the native gate's window at a
15021+ /// size of the reader's choosing instead of [`crate::probe::gate_crop`]'s
15022+ /// superblock-aligned one, still centred and still even for 4:2:0.
15023+ ///
15024+ /// WHY IT EXISTS (lane-sse): `gate_crop` rounds DOWN to whole 128-wide
15025+ /// superblocks by design, so no default gate row has a block the frame
15026+ /// edge cuts through -- while every arbitrary export size does (3840x1608
15027+ /// is 25.1 superblock rows, 1920x1080 is 8.4). `EC_AV1_NATIVE_CROP=
15028+ /// 1920x1080` is the straddling arm the edge-clipped distortion score is
15029+ /// read on.
15030+ fn native_crop_override(clip: &str) -> Option<(String, usize, usize)> {
15031+ let spec = std::env::var("EC_AV1_NATIVE_CROP").ok()?;
15032+ let (w, h) = spec.split_once('x').expect("EC_AV1_NATIVE_CROP is <width>x<height>");
15033+ let (cw, ch): (usize, usize) =
15034+ (w.parse().expect("crop width"), h.parse().expect("crop height"));
15035+ let (nw, nh) = crate::probe::dims(clip)?;
15036+ assert!(cw <= nw && ch <= nh, "{cw}x{ch} does not fit in {nw}x{nh}");
15037+ let (x, y) = ((nw - cw) / 2 & !1, (nh - ch) / 2 & !1);
15038+ Some((format!("crop={cw}:{ch}:{x}:{y}"), cw, ch))
15039+ }
15040+
14946 /// The rows of [`bd_rate_screen_native`] -- (label, path, seek) -- shared15041 /// The rows of [`bd_rate_screen_native`] -- (label, path, seek) -- shared
14947 /// with `probe_screen_detect` so the detector sweep measures exactly the15042 /// with `probe_screen_detect` so the detector sweep measures exactly the
14948 /// clips the keep table is read off. Selector env vars as documented on15043 /// clips the keep table is read off. Selector env vars as documented on
@@ -15210,7 +15305,10 @@ mod tests {
15210 // of the middle of the frame; the offsets stay even for 4:2:0.15305 // of the middle of the frame; the offsets stay even for 4:2:0.
15211 // ONE definition, shared with `examples/enc_probe` so the probe15306 // ONE definition, shared with `examples/enc_probe` so the probe
15212 // cannot measure a different window than this gate (lane-probe).15307 // cannot measure a different window than this gate (lane-probe).
15213- let (vf, cw, ch) = crate::probe::gate_crop(path);15308+ let (vf, cw, ch) = match native_crop_override(path) {
15309+ Some(over) => over,
15310+ None => crate::probe::gate_crop(path),
15311+ };
15214 let source = clip_frames_vf(path, seek, &vf, cw, ch, frames);15312 let source = clip_frames_vf(path, seek, &vf, cw, ch, frames);
15215 SCREEN_FRAMES.iter().for_each(|c| {15313 SCREEN_FRAMES.iter().for_each(|c| {
15216 c.store(0, std::sync::atomic::Ordering::Relaxed);15314 c.store(0, std::sync::atomic::Ordering::Relaxed);
@@ -15220,10 +15318,25 @@ mod tests {
15220 let _ = crate::tile::take_intrabc_hits();15318 let _ = crate::tile::take_intrabc_hits();
15221 let _ = take_intrabc_search();15319 let _ = take_intrabc_search();
15222 let _ = crate::tile::take_filter_intra_hits();15320 let _ = crate::tile::take_filter_intra_hits();
15321+ let _ = take_edge_census();
15223 // The sequence path itself codes the pyramid now15322 // The sequence path itself codes the pyramid now
15224 // (lane-av1pyrdef), and prints what it requested and what the15323 // (lane-av1pyrdef), and prints what it requested and what the
15225 // content gate left effective.15324 // content gate left effective.
15226 let (ours, ours_wall) = our_ladder(name, &source, cw, ch, fctx);15325 let (ours, ours_wall) = our_ladder(name, &source, cw, ch, fctx);
15326+ // lane-sse: the blocks the true frame edge cuts through, and how
15327+ // much of their RAW squared error sat in the padding the encoder
15328+ // invented past it -- what the inside-only score stopped ranking
15329+ // on. Empty on a superblock-aligned crop, which is every default
15330+ // gate row (class `gate-blind-to-feature`).
15331+ if edge_census() {
15332+ for (side, n, inside, padding) in take_edge_census() {
15333+ eprintln!(
15334+ "{name}: edge {side}x{side} scores={n} inside_sse={inside} \
15335+ padding_sse={padding} ({:.1}% of raw)",
15336+ 100.0 * padding as f64 / (inside + padding).max(1) as f64,
15337+ );
15338+ }
15339+ }
15227 // gate-blind-to-feature: what the screen tools actually did at15340 // gate-blind-to-feature: what the screen tools actually did at
15228 // native resolution, over this clip's four encodes.15341 // native resolution, over this clip's four encodes.
15229 let screen_on = SCREEN_FRAMES[1].load(std::sync::atomic::Ordering::Relaxed);15342 let screen_on = SCREEN_FRAMES[1].load(std::sync::atomic::Ordering::Relaxed);
crates/ec-av1/src/encoder.rsmodified+50 -0
@@ -3204,6 +3204,56 @@ mod tests {
3204 }3204 }
3205 }3205 }
3206 3206
3207+ /// The 1080p SHAPE at a fifth of its size (lane-sse): 384x216 is three
3208+ /// whole superblock columns and 1.6875 superblock rows, so the bottom
3209+ /// 88-pixel band straddles at EVERY level -- the 64x64 root lane-b64b
3210+ /// already clipped, and the 32x32 (216 = 6*32 + 24) and 16x16 (13*16 + 8)
3211+ /// leaves it did not. Every one of them is now scored over its inside
3212+ /// part alone, and a distortion change that moved a partition or a
3213+ /// transform decision the writer did not follow would desync the tile, so
3214+ /// both decoders reconstruct it sample-exact.
3215+ #[test]
3216+ fn a_1080p_shaped_clip_straddles_at_every_block_size_and_decodes_sample_exact() {
3217+ let _knobs = crate::speed::knob_write();
3218+ let _gate_lock = crate::stream::tests::lock_gate_counters();
3219+ let (width, height) = (384usize, 216usize);
3220+ let sources: Vec<Picture> = (0..3).map(|i| test_card(width, height, i)).collect();
3221+ let config = EncoderConfig {
3222+ width,
3223+ height,
3224+ base_q_idx: 120,
3225+ gop: 8,
3226+ colour: Colour::Bt709Limited,
3227+ tile_cols_log2: 0,
3228+ tile_rows_log2: 0,
3229+ };
3230+ let mut enc = Av1Encoder::new(config).unwrap();
3231+ let mut stream = Vec::new();
3232+ for packet in encode_all(&mut enc, &sources) {
3233+ stream.extend_from_slice(&packet.data);
3234+ }
3235+ let ours = crate::stream::decode_stream(&stream).expect("our decoder");
3236+ assert_eq!(ours.len(), sources.len(), "our decoder's frames");
3237+ if !have_ffmpeg() {
3238+ eprintln!("SKIP the ffmpeg half: no ffmpeg");
3239+ return;
3240+ }
3241+ let theirs = ffmpeg_decode_luma(&stream, width, height);
3242+ assert_eq!(theirs.len(), sources.len(), "ffmpeg's frames");
3243+ for (i, (ours_i, theirs_i)) in ours.iter().zip(&theirs).enumerate() {
3244+ let got: Vec<u8> = ours_i.y.iter().map(|&v| v as u8).collect();
3245+ if let Some(at) = got.iter().zip(theirs_i).position(|(x, y)| x != y) {
3246+ panic!(
3247+ "frame {i}: luma differs first at ({}, {}): ours {} vs ffmpeg {}",
3248+ at % width,
3249+ at / width,
3250+ got[at],
3251+ theirs_i[at],
3252+ );
3253+ }
3254+ }
3255+ }
3256+
3207 /// A clip whose inter residual is HIGH-FREQUENCY (lane-b64b): every3257 /// A clip whose inter residual is HIGH-FREQUENCY (lane-b64b): every
3208 /// frame adds a 4-pixel checkerboard, so the 64x64 root's prediction is3258 /// frame adds a 4-pixel checkerboard, so the 64x64 root's prediction is
3209 /// off by exactly the detail a TX_64X64 throws away (it codes only the3259 /// off by exactly the detail a TX_64X64 throws away (it codes only the
lanes/sse-1080-after.logadded+34 -0
@@ -0,0 +1,34 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+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 })
8+bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=288 (100.0% of raw)
9+bars 1080p: edge 16x16 scores=3911 inside_sse=58676812 padding_sse=19548435 (25.0% of raw)
10+bars 1080p: edge 32x32 scores=22030 inside_sse=306104516 padding_sse=43773571 (12.5% of raw)
11+bars 1080p: edge 64x64 scores=8831 inside_sse=170331423 padding_sse=24328832 (12.5% of raw)
12+bars 1080p: pricer armings default=17 real=182
13+bars 1080p: 64x64 roots 18649 (with a residual 13455, split luma 3328, compound 7665)
14+bars 1080p: motion_mode 32x32 SIMPLE=34617 OBMC=0 WARP=146 | 16x16 SIMPLE=5316 OBMC=0 WARP=364 | 8x8 SIMPLE=12757 OBMC=0 WARP=1643 (0.0% OBMC / 3.9% WARP of 54843 eligible)
15+bars 1080p: inter var-tx depths of 12742 blocks -- leaf single 0=1551 1=1206 (43.7% split) | leaf compound 0=1828 1=667 (26.7% split) | 32x32 single 0=680 1=1969 (74.3% split) | 32x32 compound 0=902 1=3939 (81.4% split)
16+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)
17+bars 1080p: filter intra on=true blocks 18678 (modes DC=4101 V=2750 H=3464 D157=5694 PAETH=2669)
18+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads))
19+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "20"] frame 1 plane Y sample 4: our decoder decoded 80, ffmpeg 79
20+| bars 1080p 1920x1080 | 44.08 dB/224463 B, 47.80 dB/335377 B, 51.16 dB/456394 B, 54.43 dB/601842 B | +8.7% | -4.1% | 43.8s:10.3s:23.7s |
21+
22+thread 'encode::tests::bd_rate_screen_native' (2340661) panicked at crates/ec-av1/src/encode.rs:15036:9:
23+1920x1080 does not fit in 1920x792
24+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
25+FAILED
26+
27+failures:
28+
29+failures:
30+ encode::tests::bd_rate_screen_native
31+
32+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 83.93s
33+
34+RC=101
lanes/sse-1080-before.logadded+34 -0
@@ -0,0 +1,34 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+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 })
8+bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=288 (100.0% of raw)
9+bars 1080p: edge 16x16 scores=3911 inside_sse=58676812 padding_sse=19548435 (25.0% of raw)
10+bars 1080p: edge 32x32 scores=22030 inside_sse=306104516 padding_sse=43773571 (12.5% of raw)
11+bars 1080p: edge 64x64 scores=8831 inside_sse=170331423 padding_sse=24328832 (12.5% of raw)
12+bars 1080p: pricer armings default=17 real=182
13+bars 1080p: 64x64 roots 18649 (with a residual 13455, split luma 3328, compound 7665)
14+bars 1080p: motion_mode 32x32 SIMPLE=34617 OBMC=0 WARP=146 | 16x16 SIMPLE=5316 OBMC=0 WARP=364 | 8x8 SIMPLE=12757 OBMC=0 WARP=1643 (0.0% OBMC / 3.9% WARP of 54843 eligible)
15+bars 1080p: inter var-tx depths of 12742 blocks -- leaf single 0=1551 1=1206 (43.7% split) | leaf compound 0=1828 1=667 (26.7% split) | 32x32 single 0=680 1=1969 (74.3% split) | 32x32 compound 0=902 1=3939 (81.4% split)
16+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)
17+bars 1080p: filter intra on=true blocks 18678 (modes DC=4101 V=2750 H=3464 D157=5694 PAETH=2669)
18+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads))
19+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "20"] frame 1 plane Y sample 4: our decoder decoded 80, ffmpeg 79
20+| bars 1080p 1920x1080 | 44.08 dB/224463 B, 47.80 dB/335377 B, 51.16 dB/456394 B, 54.43 dB/601842 B | +8.7% | -4.1% | 43.5s:9.9s:24.0s |
21+
22+thread 'encode::tests::bd_rate_screen_native' (2340664) panicked at crates/ec-av1/src/encode.rs:15036:9:
23+1920x1080 does not fit in 1920x792
24+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
25+FAILED
26+
27+failures:
28+
29+failures:
30+ encode::tests::bd_rate_screen_native
31+
32+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 83.71s
33+
34+RC=101
lanes/sse-4k-after.logadded+58 -0
@@ -0,0 +1,58 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+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 })
8+bars 2160p: edge 8x8 scores=5760 inside_sse=0 padding_sse=34972 (100.0% of raw)
9+bars 2160p: edge 16x16 scores=10080 inside_sse=36517083 padding_sse=89020200 (70.9% of raw)
10+bars 2160p: edge 32x32 scores=8838 inside_sse=6769810 padding_sse=4792852 (41.5% of raw)
11+bars 2160p: pricer armings default=18 real=195
12+bars 2160p: 64x64 roots 56802 (with a residual 38900, split luma 8110, compound 27286)
13+bars 2160p: motion_mode 32x32 SIMPLE=93785 OBMC=0 WARP=446 | 16x16 SIMPLE=8556 OBMC=0 WARP=1350 | 8x8 SIMPLE=25942 OBMC=0 WARP=5253 (0.0% OBMC / 5.2% WARP of 135332 eligible)
14+bars 2160p: inter var-tx depths of 39419 blocks -- leaf single 0=4336 1=1851 (29.9% split) | leaf compound 0=9598 1=1722 (15.2% split) | 32x32 single 0=1168 1=3853 (76.7% split) | 32x32 compound 0=1026 1=15865 (93.9% split)
15+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)
16+bars 2160p: filter intra on=true blocks 79944 (modes DC=17941 V=11545 H=14793 D157=23635 PAETH=12030)
17+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41
18+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171
19+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106
20+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106
21+| bars 2160p 3840x1608 | 42.90 dB/806220 B, 46.61 dB/1251296 B, 50.13 dB/1715735 B, 53.42 dB/2246249 B | +14.7% | -6.9% | 136.5s:21.1s:61.6s |
22+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 })
23+film B (2160p HDR source): edge 8x8 scores=5760 inside_sse=0 padding_sse=165902 (100.0% of raw)
24+film B (2160p HDR source): edge 16x16 scores=11483 inside_sse=439629 padding_sse=1047490 (70.4% of raw)
25+film B (2160p HDR source): edge 32x32 scores=9276 inside_sse=1844054 padding_sse=2460517 (57.2% of raw)
26+film B (2160p HDR source): pricer armings default=19 real=193
27+film B (2160p HDR source): 64x64 roots 50232 (with a residual 18867, split luma 5030, compound 23956)
28+film B (2160p HDR source): motion_mode 32x32 SIMPLE=104624 OBMC=0 WARP=2460 | 16x16 SIMPLE=31905 OBMC=0 WARP=2334 | 8x8 SIMPLE=7335 OBMC=0 WARP=5319 (0.0% OBMC / 6.6% WARP of 153977 eligible)
29+film B (2160p HDR source): inter var-tx depths of 217071 blocks -- leaf single 0=35268 1=6425 (15.4% split) | leaf compound 0=84168 1=15864 (15.9% split) | 32x32 single 0=23231 1=17140 (42.5% split) | 32x32 compound 0=22427 1=12548 (35.9% split)
30+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)
31+film B (2160p HDR source): filter intra on=true blocks 57181 (modes DC=14938 V=7845 H=7920 D157=20637 PAETH=5841)
32+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126
33+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91
34+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100
35+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89
36+| film B (2160p HDR source) 3840x1608 | 46.59 dB/131226 B, 47.90 dB/261390 B, 49.13 dB/519990 B, 50.27 dB/1252762 B | +35.8% | +17.6% | 224.1s:61.5s:53.6s |
37+
38+thread 'encode::tests::bd_rate_screen_native' (2514358) panicked at crates/ec-av1/src/encode.rs:13856:9:
39+8 reference ladder point(s) did not decode exactly through our decoder:
40+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41
41+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171
42+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106
43+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106
44+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126
45+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91
46+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100
47+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89
48+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
49+FAILED
50+
51+failures:
52+
53+failures:
54+ encode::tests::bd_rate_screen_native
55+
56+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 586.46s
57+
58+RC=101
lanes/sse-4k-before.logadded+58 -0
@@ -0,0 +1,58 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+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 })
8+bars 2160p: edge 8x8 scores=5760 inside_sse=0 padding_sse=13759 (100.0% of raw)
9+bars 2160p: edge 16x16 scores=10086 inside_sse=36436700 padding_sse=88872804 (70.9% of raw)
10+bars 2160p: edge 32x32 scores=8736 inside_sse=6781157 padding_sse=4236165 (38.5% of raw)
11+bars 2160p: pricer armings default=18 real=195
12+bars 2160p: 64x64 roots 56802 (with a residual 38900, split luma 8110, compound 27286)
13+bars 2160p: motion_mode 32x32 SIMPLE=93785 OBMC=0 WARP=446 | 16x16 SIMPLE=8556 OBMC=0 WARP=1350 | 8x8 SIMPLE=25942 OBMC=0 WARP=5253 (0.0% OBMC / 5.2% WARP of 135332 eligible)
14+bars 2160p: inter var-tx depths of 39419 blocks -- leaf single 0=4336 1=1851 (29.9% split) | leaf compound 0=9598 1=1722 (15.2% split) | 32x32 single 0=1168 1=3853 (76.7% split) | 32x32 compound 0=1026 1=15865 (93.9% split)
15+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)
16+bars 2160p: filter intra on=true blocks 79944 (modes DC=17941 V=11545 H=14793 D157=23635 PAETH=12030)
17+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41
18+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171
19+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106
20+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106
21+| bars 2160p 3840x1608 | 42.90 dB/806220 B, 46.61 dB/1251296 B, 50.13 dB/1715735 B, 53.42 dB/2246249 B | +14.7% | -6.9% | 136.8s:20.9s:61.5s |
22+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 })
23+film B (2160p HDR source): edge 8x8 scores=5760 inside_sse=0 padding_sse=160870 (100.0% of raw)
24+film B (2160p HDR source): edge 16x16 scores=11822 inside_sse=451847 padding_sse=1062028 (70.2% of raw)
25+film B (2160p HDR source): edge 32x32 scores=9636 inside_sse=1931899 padding_sse=2544818 (56.8% of raw)
26+film B (2160p HDR source): pricer armings default=19 real=193
27+film B (2160p HDR source): 64x64 roots 50232 (with a residual 18867, split luma 5030, compound 23956)
28+film B (2160p HDR source): motion_mode 32x32 SIMPLE=104624 OBMC=0 WARP=2460 | 16x16 SIMPLE=31905 OBMC=0 WARP=2334 | 8x8 SIMPLE=7335 OBMC=0 WARP=5319 (0.0% OBMC / 6.6% WARP of 153977 eligible)
29+film B (2160p HDR source): inter var-tx depths of 217071 blocks -- leaf single 0=35268 1=6425 (15.4% split) | leaf compound 0=84168 1=15864 (15.9% split) | 32x32 single 0=23231 1=17140 (42.5% split) | 32x32 compound 0=22427 1=12548 (35.9% split)
30+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)
31+film B (2160p HDR source): filter intra on=true blocks 57181 (modes DC=14938 V=7845 H=7920 D157=20637 PAETH=5841)
32+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126
33+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91
34+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100
35+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89
36+| film B (2160p HDR source) 3840x1608 | 46.59 dB/131226 B, 47.90 dB/261390 B, 49.13 dB/519990 B, 50.27 dB/1252762 B | +35.8% | +17.6% | 221.5s:61.2s:53.7s |
37+
38+thread 'encode::tests::bd_rate_screen_native' (2514361) panicked at crates/ec-av1/src/encode.rs:13856:9:
39+8 reference ladder point(s) did not decode exactly through our decoder:
40+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6127315: our decoder decoded 40, ffmpeg 41
41+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6131868: our decoder decoded 170, ffmpeg 171
42+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115985: our decoder decoded 107, ffmpeg 106
43+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6115963: our decoder decoded 107, ffmpeg 106
44+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6135269: our decoder decoded 125, ffmpeg 126
45+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6142306: our decoder decoded 92, ffmpeg 91
46+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6153641: our decoder decoded 101, ffmpeg 100
47+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 6130674: our decoder decoded 90, ffmpeg 89
48+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
49+FAILED
50+
51+failures:
52+
53+failures:
54+ encode::tests::bd_rate_screen_native
55+
56+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 584.06s
57+
58+RC=101
lanes/sse-792-after.logadded+60 -0
@@ -0,0 +1,60 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+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 })
8+bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=3584 (100.0% of raw)
9+bars 1080p: edge 16x16 scores=51780 inside_sse=184517941 padding_sse=59682853 (24.4% of raw)
10+bars 1080p: edge 32x32 scores=33197 inside_sse=211907113 padding_sse=55299738 (20.7% of raw)
11+bars 1080p: pricer armings default=18 real=181
12+bars 1080p: 64x64 roots 12879 (with a residual 9586, split luma 2622, compound 4902)
13+bars 1080p: motion_mode 32x32 SIMPLE=28351 OBMC=0 WARP=206 | 16x16 SIMPLE=3508 OBMC=0 WARP=417 | 8x8 SIMPLE=8284 OBMC=0 WARP=1909 (0.0% OBMC / 5.9% WARP of 42675 eligible)
14+bars 1080p: inter var-tx depths of 11113 blocks -- leaf single 0=1442 1=1124 (43.8% split) | leaf compound 0=1651 1=523 (24.1% split) | 32x32 single 0=599 1=1537 (72.0% split) | 32x32 compound 0=803 1=3434 (81.0% split)
15+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)
16+bars 1080p: filter intra on=true blocks 16456 (modes DC=3638 V=2376 H=2911 D157=5027 PAETH=2504)
17+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads))
18+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41
19+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106
20+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122
21+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106
22+| bars 1080p 1920x792 | 42.60 dB/220495 B, 46.34 dB/337918 B, 49.79 dB/467682 B, 53.10 dB/613770 B | +14.0% | +1.4% | 37.3s:6.4s:17.8s |
23+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 })
24+film A (1080p source): edge 8x8 scores=960 inside_sse=0 padding_sse=52870 (100.0% of raw)
25+film A (1080p source): edge 16x16 scores=75698 inside_sse=29785412 padding_sse=9999651 (25.1% of raw)
26+film A (1080p source): edge 32x32 scores=44740 inside_sse=161811991 padding_sse=44523877 (21.6% of raw)
27+film A (1080p source): pricer armings default=20 real=214
28+film A (1080p source): 64x64 roots 9300 (with a residual 6033, split luma 3003, compound 3636)
29+film A (1080p source): motion_mode 32x32 SIMPLE=35555 OBMC=0 WARP=1204 | 16x16 SIMPLE=18196 OBMC=0 WARP=1332 | 8x8 SIMPLE=4419 OBMC=0 WARP=871 (0.0% OBMC / 5.5% WARP of 61577 eligible)
30+film A (1080p source): inter var-tx depths of 84624 blocks -- leaf single 0=13801 1=2731 (16.5% split) | leaf compound 0=32683 1=6521 (16.6% split) | 32x32 single 0=7280 1=5899 (44.8% split) | 32x32 compound 0=9695 1=6014 (38.3% split)
31+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)
32+film A (1080p source): filter intra on=true blocks 22070 (modes DC=5417 V=3501 H=3992 D157=6271 PAETH=2889)
33+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63
34+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49
35+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46
36+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50
37+| film A (1080p source) 1920x792 | 44.35 dB/79716 B, 45.88 dB/131827 B, 47.08 dB/223892 B, 48.33 dB/525372 B | +36.1% | +7.4% | 84.9s:11.5s:17.6s |
38+
39+thread 'encode::tests::bd_rate_screen_native' (2413136) panicked at crates/ec-av1/src/encode.rs:13856:9:
40+9 reference ladder point(s) did not decode exactly through our decoder:
41+libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads))
42+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41
43+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106
44+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122
45+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106
46+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63
47+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49
48+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46
49+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50
50+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
51+FAILED
52+
53+failures:
54+
55+failures:
56+ encode::tests::bd_rate_screen_native
57+
58+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 184.43s
59+
60+RC=101
lanes/sse-792-before.logadded+60 -0
@@ -0,0 +1,60 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+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 })
8+bars 1080p: edge 8x8 scores=960 inside_sse=0 padding_sse=3008 (100.0% of raw)
9+bars 1080p: edge 16x16 scores=51332 inside_sse=185146766 padding_sse=59712033 (24.4% of raw)
10+bars 1080p: edge 32x32 scores=32964 inside_sse=213557850 padding_sse=55647550 (20.7% of raw)
11+bars 1080p: pricer armings default=18 real=180
12+bars 1080p: 64x64 roots 12879 (with a residual 9602, split luma 2617, compound 4860)
13+bars 1080p: motion_mode 32x32 SIMPLE=28380 OBMC=0 WARP=215 | 16x16 SIMPLE=3709 OBMC=0 WARP=512 | 8x8 SIMPLE=7417 OBMC=0 WARP=2039 (0.0% OBMC / 6.5% WARP of 42272 eligible)
14+bars 1080p: inter var-tx depths of 11230 blocks -- leaf single 0=1546 1=1179 (43.3% split) | leaf compound 0=1640 1=522 (24.1% split) | 32x32 single 0=599 1=1531 (71.9% split) | 32x32 compound 0=807 1=3406 (80.8% split)
15+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)
16+bars 1080p: filter intra on=true blocks 16212 (modes DC=3662 V=2406 H=2859 D157=4771 PAETH=2514)
17+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads))
18+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41
19+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106
20+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122
21+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106
22+| bars 1080p 1920x792 | 42.60 dB/220445 B, 46.34 dB/338256 B, 49.78 dB/467568 B, 53.10 dB/611693 B | +14.0% | +1.5% | 36.8s:6.4s:17.8s |
23+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 })
24+film A (1080p source): edge 8x8 scores=960 inside_sse=0 padding_sse=51397 (100.0% of raw)
25+film A (1080p source): edge 16x16 scores=75977 inside_sse=30141822 padding_sse=10212135 (25.3% of raw)
26+film A (1080p source): edge 32x32 scores=44824 inside_sse=163228694 padding_sse=44888695 (21.6% of raw)
27+film A (1080p source): pricer armings default=20 real=215
28+film A (1080p source): 64x64 roots 9339 (with a residual 6029, split luma 3036, compound 3676)
29+film A (1080p source): motion_mode 32x32 SIMPLE=35490 OBMC=0 WARP=1226 | 16x16 SIMPLE=17812 OBMC=0 WARP=1407 | 8x8 SIMPLE=4222 OBMC=0 WARP=810 (0.0% OBMC / 5.6% WARP of 60967 eligible)
30+film A (1080p source): inter var-tx depths of 84796 blocks -- leaf single 0=13860 1=2663 (16.1% split) | leaf compound 0=32810 1=6546 (16.6% split) | 32x32 single 0=7276 1=5925 (44.9% split) | 32x32 compound 0=9685 1=6031 (38.4% split)
31+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)
32+film A (1080p source): filter intra on=true blocks 22531 (modes DC=5579 V=3482 H=4021 D157=6558 PAETH=2891)
33+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63
34+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49
35+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46
36+LADDER DECODE FAILURE: librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50
37+| film A (1080p source) 1920x792 | 44.35 dB/79563 B, 45.87 dB/132071 B, 47.08 dB/223693 B, 48.33 dB/525562 B | +36.2% | +7.5% | 85.2s:11.5s:17.7s |
38+
39+thread 'encode::tests::bd_rate_screen_native' (2413139) panicked at crates/ec-av1/src/encode.rs:13856:9:
40+9 reference ladder point(s) did not decode exactly through our decoder:
41+libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 tile (a Golomb tail longer than this decoder reads))
42+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500774: our decoder decoded 42, ffmpeg 41
43+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500931: our decoder decoded 105, ffmpeg 106
44+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1501049: our decoder decoded 123, ffmpeg 122
45+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1500785: our decoder decoded 107, ffmpeg 106
46+librav1e ["-rav1e-params", "speed=6:quantizer=50:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1494211: our decoder decoded 64, ffmpeg 63
47+librav1e ["-rav1e-params", "speed=6:quantizer=100:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1479397: our decoder decoded 48, ffmpeg 49
48+librav1e ["-rav1e-params", "speed=6:quantizer=150:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460032: our decoder decoded 47, ffmpeg 46
49+librav1e ["-rav1e-params", "speed=6:quantizer=200:tile_cols=1:tile_rows=1:threads=1"] frame 0 plane Y sample 1460334: our decoder decoded 49, ffmpeg 50
50+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
51+FAILED
52+
53+failures:
54+
55+failures:
56+ encode::tests::bd_rate_screen_native
57+
58+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 607 filtered out; finished in 184.38s
59+
60+RC=101
lanes/sse-suite.logadded+663 -0
@@ -0,0 +1,663 @@
1+
2+running 608 tests
3+test bits::tests::su_roundtrip ... ok
4+test bits::tests::delta_q_roundtrip ... ok
5+test bits::tests::uvlc_roundtrip ... ok
6+test cdf::tests::eob_pt_class1_rows_cover_every_size ... ok
7+test bits::tests::ns_roundtrip ... ok
8+test bits::tests::leb128_roundtrip ... ok
9+test cdf_state::tests::the_luma_end_of_block_table_is_shared_and_chromas_is_not ... ok
10+test cdf::tests::inter_frame_tables_are_well_formed_cdfs ... ok
11+test cdf::tests::inter_frame_tables_have_the_spec_alphabet_size ... ok
12+test cdf_state::tests::the_mv_components_are_separate_and_do_not_share_adaptation ... ok
13+test cdf_state::tests::the_sign_tables_are_shared_within_a_plane_type_and_not_across ... ok
14+test cdf_state::tests::the_state_starts_at_the_defaults ... ok
15+test bits::tests::le_roundtrip ... ok
16+test compound::tests::zero_distance_reference_takes_the_index_3_row ... ok
17+test decode::tests::a_frame_with_no_mode_info_grid_is_refused ... ok
18+test compound::tests::weights_always_sum_to_sixteen ... ok
19+test cdf_state::tests::the_two_luma_sets_share_the_base_range_table ... ok
20+test decode::every_intra_in_inter_shape_the_census_lists_has_a_size_group_row ... ok
21+test compound::tests::equidistant_references_pick_the_first_weight_row ... ok
22+test decode::every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan ... ok
23+test decode::a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered ... ok
24+test decode::every_shape_that_allows_motion_variation_has_a_motion_mode_cdf_row ... ok
25+test decode::size_group_wh_matches_libaom_size_group_lookup ... ok
26+test bits::tests::trailing_bits_and_byte_alignment_are_byte_aligned ... ok
27+test decode::sub_tx_size_map_matches_libaom ... ok
28+test decode::tests::a_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing ... ok
29+test decode::tests::a_rect_strip_below_16x16_reads_its_own_filter_intra_cdf_row ... ok
30+test decode::tests::a_selected_reference_with_an_empty_ref_frame_idx_slot_refuses_by_name ... ok
31+test decode::tests::an_inter_chroma_transform_narrows_its_inherited_tx_type_to_its_own_set ... ok
32+test decode::tests::base_ctx_rect_offsets_match_the_transcribed_tables_over_the_whole_domain ... ok
33+test decode::tests::cdef_gather_and_shifted_constrain_match_the_spec_forms ... ok
34+test decode::tests::compound_mode_ctx_map_matches_libaom_corners ... ok
35+test decode::tests::an_obmc_neighbour_with_no_recorded_filter_refuses_instead_of_panicking ... ok
36+test decode::tests::a_sub16_leaf_after_a_palette_block_yields_palette_ctx_zero ... ok
37+test decode::tests::a_nearmv_block_predicts_from_the_stacks_second_candidate ... ok
38+test decode::tests::a_skipped_block_decodes_to_pure_prediction ... ok
39+test decode::tests::cdef_find_dir_matches_the_per_sample_reference ... ok
40+test decode::tests::flat_taps_match_the_row_col_neighbour_reads ... ok
41+test decode::tests::every_inter_record_publishes_an_obmc_readable_filter ... ok
42+test decode::tests::filter_intra_classes_carry_their_own_libaom_default_row ... ok
43+test decode::tests::is_uni_comp_ref_matches_forward_backward_sides ... ok
44+test decode::tests::narrowed_publish_surface_keeps_neighbour_semantics ... ok
45+test decode::tests::padded_level_buffers_cover_every_neighbour_read_at_every_transform_size ... ok
46+test decode::tests::a_key_frames_tile_needs_the_headers_own_tx_select_bit ... ok
47+test decode::tests::record_compound_ctx_stamps_ref1_for_the_next_block_to_read ... ok
48+test decode::tests::scan_8x4_and_4x8_are_not_transposed_against_each_other ... ok
49+test decode::tests::the_rect4_scans_are_transposed_pairs ... ok
50+test decode::tx4x8_table_tests::the_32_position_eob_tables_are_well_formed ... ok
51+test decode::tx4x8_table_tests::the_rect_4x8_scans_are_each_other_transposed ... ok
52+test decode::tx4x8_table_tests::the_rect_class1_scans_match_libaom ... ok
53+test decode::tx4x8_table_tests::the_sub8_rect_reach_tables_are_shape_specific ... ok
54+test decode::tests::deblock_simd_kernel_matches_the_scalar_filter ... ok
55+test decode::tests::a_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
56+test encode::tests::a_block_the_frame_edge_cuts_is_scored_over_its_inside_only ... ok
57+test encode::tests::a_flat_picture_costs_almost_nothing ... ok
58+test encode::tests::a_frame_of_real_video_decodes_to_what_the_encoder_reconstructed ... ok
59+test decode::tests::an_odd_size_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
60+test decode::tests::real_yuv_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
61+test encode::tests::a_mode_the_encoder_cannot_predict_is_refused ... ok
62+test encode::tests::a_picture_off_the_block_grid_encodes_and_a_malformed_one_is_refused ... ok
63+test decode::tests::every_intra_mode_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
64+test decode::tests::cdef_simd_kernel_matches_the_scalar_filter ... ok
65+test decode::tests::a_filter_intra_key_frame_decodes_pixel_exact_through_ffmpeg ... ok
66+test decode::tests::ffmpeg_and_this_decoder_agree_on_a_gop ... ok
67+test decode::tests::leaf8_straddle_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok
68+test encode::tests::bd_rate_film_long_gop ... ignored, the long-GOP native BD arm: ~7 minutes per film row, needs ffmpeg
69+test encode::tests::bd_rate_screen_native ... ignored, the native-resolution BD arm: minutes per row, needs ffmpeg
70+test encode::tests::bd_rate_vs_libaom_and_rav1e ... ignored, the encoder BD-rate baseline: minutes per clip, needs ffmpeg
71+test encode::tests::calibration_sweep_base_q_idx ... ignored, a calibration probe, not a gate
72+test decode::tests::ffmpeg_and_this_decoder_agree_on_a_key_frame ... ok
73+test encode::tests::a_640x360_half_straddle_sequence_round_trips_through_ffmpeg ... ok
74+test encode::tests::a_640x360_half_straddle_round_trips_through_ffmpeg_across_three_frames ... ok
75+test encode::tests::every_rect_shape_reaches_what_libaom_says_over_the_whole_superblock ... ok
76+test decode::tests::odd_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok
77+test encode::tests::a_frame_round_trips_at_its_own_size ... ok
78+test encode::tests::a_nearestmv_block_with_one_nonzero_coefficient_decodes_clean ... ok
79+test encode::tests::a_repeated_pattern_key_frame_codes_intrabc_blocks_ffmpeg_decodes_exactly ... ok
80+test encode::tests::every_mode_decodes_to_what_the_encoder_predicted ... ok
81+test encode::tests::odd_dimensions_are_refused ... ok
82+test encode::tests::of_tu_follows_the_block_row_including_under_vert_ab ... ok
83+test encode::tests::of_tu_matches_libaom_has_top_right_and_has_bottom_left_per_unit ... ok
84+test encode::tests::every_frame_of_a_sequence_decodes_through_our_own_decoder ... ok
85+test encode::tests::pricer_error_census_on_clips ... ignored, reads the real library, needs ffmpeg
86+test encode::tests::probe_directional ... ignored, a sweep, not a gate
87+test encode::tests::probe_intrabc_key_frame ... ignored, needs the real-library manifest and ffmpeg
88+test encode::tests::probe_ladder ... ignored, a sweep, not a gate
89+test encode::tests::probe_lambda ... ignored, a sweep, not a gate
90+test encode::tests::probe_parity_point ... ignored, diagnostic: needs ffmpeg and a clip
91+test encode::tests::probe_screen_detect ... ignored, reads the real library
92+test encode::tests::probe_screen_library ... ignored, reads the real library
93+test encode::tests::probe_split ... ignored, a sweep, not a gate
94+test encode::tests::prune_k_quality_sweep ... ignored, needs real clips and ffmpeg; prints numbers for the lane report to judge
95+test encode::tests::prune_k_quality_sweep_inter ... ignored, needs real clips and ffmpeg; prints numbers for the lane report to judge
96+test encode::tests::reach_matches_libaom_has_top_right_and_has_bottom_left ... ok
97+test encode::tests::key_frame_and_inter_frame_both_encode_at_half_straddle_size ... ok
98+test encode::tests::predicted_coeff_bits_track_the_tile_the_writer_wrote ... ok
99+test encode::tests::rect_reach_tables_are_indexed_with_a_32_mi_row_stride ... ok
100+test encode::tests::sequence_bench_sanity ... ignored, a perf probe, not a gate
101+test encode::tests::low_motion_makes_an_inter_frame_smaller_than_the_key_frame ... ok
102+test encode::tests::stage_timing_breakdown ... ignored, a perf probe, not a gate
103+test encode::tests::stage_timing_breakdown_inter ... ignored, a perf probe, not a gate
104+test encode::tests::pricer_error_census_by_block_class ... ok
105+test encode::tests::the_encoded_picture_is_the_one_that_went_in ... ok
106+test encode::tests::a_single_axis_straddle_round_trips_through_ffmpeg ... ok
107+test encode::tests::every_frame_of_a_sequence_decodes_to_what_the_encoder_reconstructed ... ok
108+test encode::tests::fidelity_and_rate_move_with_the_quantizer ... ok
109+test encode::tests::the_filter_search_picks_real_filters ... ok
110+test encode::tests::sequence_round_trips_at_a_non_multiple_size ... ok
111+test encode::tests::an_854x480_picture_round_trips_through_its_padding ... ok
112+test encode::tests::the_diagonals_beat_the_modes_that_read_no_further ... ok
113+test encode::tests::tpl_factors_are_flat_on_a_uniform_repeat_and_fall_where_the_window_leans ... ok
114+test encode::tests::tpl_intra_denominator_histogram ... ignored, needs ffmpeg and the film fixtures
115+test encode::tests::vert_ab_partition_flips_below_left_for_the_top_right_8x8 ... ok
116+test encoder::tests::a_1080p_multi_tile_stream_decodes_sample_exact_through_both_decoders ... ignored, 1080p encode: minutes, run it with --ignored
117+test encode::tests::a_screen_content_picture_codes_palette_blocks_ffmpeg_decodes_exactly ... ok
118+test encode::tests::ffmpeg_decodes_exactly_what_the_encoder_reconstructed ... ok
119+test encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins ... ok
120+test encode::tests::a_sequence_round_trips_at_the_exactly_half_straddle_size ... ok
121+test encode::tests::real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size ... ok
122+test encode::tests::real_clip_encodes_within_its_quality_and_size_budget ... ok
123+test encode::tests::the_final_filter_replay_matches_the_capture_decode_at_odd_sizes ... ok
124+test encode::tests::the_probe_arms_the_gates_source ... ok
125+test encode::tests::the_search_picks_the_diagonal_the_picture_runs ... ok
126+test encode::tests::the_search_picks_the_direction_the_picture_runs ... ok
127+test encoder::tests::a_1080p_shaped_clip_straddles_at_every_block_size_and_decodes_sample_exact ... ok
128+test encoder::tests::a_crossfade_clip_codes_a_compound_64x64_root_and_decodes_sample_exact ... ok
129+test encoder::tests::a_dc_stepped_clip_codes_a_64x64_residual_and_decodes_sample_exact ... ok
130+test encoder::tests::a_four_level_pyramid_stream_decodes_in_display_order ... ok
131+test encoder::tests::every_speed_preset_decodes_sample_exact_through_both_decoders ... ignored, sets the process-global speed preset: run it alone
132+test encoder::tests::a_high_frequency_clip_splits_the_64x64_roots_luma_and_decodes_sample_exact ... ok
133+test encoder::tests::a_non_superblock_aligned_clip_codes_edge_64x64_roots_and_decodes_sample_exact ... ok
134+test encoder::tests::a_pyramid_stream_decodes_in_display_order_through_both_decoders ... ok
135+test encoder::tests::a_static_clip_codes_64x64_roots_and_decodes_sample_exact ... ok
136+test encoder::tests::filter_stage_wall_1080p ... ignored, wall measurement: minutes, run it with --ignored --nocapture
137+test encoder::tests::filter_stage_wall_4k ... ignored, wall measurement: minutes, run it with --ignored --nocapture
138+test encoder::tests::filter_stage_wall_film ... ignored, wall measurement: minutes, run it with --ignored --nocapture
139+test encoder::tests::a_three_level_pyramid_stream_decodes_in_display_order ... ok
140+test encoder::tests::filter_stage_bytes_do_not_depend_on_the_thread_count ... ok
141+test encoder::tests::geometry_mismatch_is_refused ... ok
142+test encoder::tests::one_in_one_out_delayed_by_the_lookahead_depth ... ok
143+test encode::tests::the_search_beats_dc_alone ... ok
144+test encoder::tests::bt709_limited_colour_is_reported_by_ffprobe ... ok
145+test encoder::tests::gop_cadence_is_honored ... ok
146+test encoder::tests::the_mini_gop_layout_leaves_no_short_tail ... ok
147+test encoder::tests::bt601_limited_colour_is_reported_by_ffprobe ... ok
148+test encoder::tests::the_key_q_offset_reaches_the_key_frame ... ok
149+test encoder::tests::the_content_gate_keeps_screen_streams_flat ... ok
150+test encoder::tests::tile_search_wall_1080p ... ignored, wall measurement: minutes, run it with --ignored --nocapture
151+test encoder::tests::tile_search_wall_4k ... ignored, wall measurement: minutes, run it with --ignored --nocapture
152+test encoder::tests::tile_wall_table_at_1080p ... ignored, 1080p wall table: minutes, run it with --ignored
153+test encoder::tests::thirty_pictures_at_gop_fifteen_decode_to_two_key_frames ... ok
154+test envflags::tests::snapshot_matches_process_env ... ok
155+test film_grain::grain2_tests::untouched_planes_and_ragged_tail_come_back_clean ... ok
156+test film_grain::perf5_tests::simd_matches_scalar_chroma_noise_row ... ok
157+test film_grain::perf5_tests::simd_matches_scalar_luma_noise_row ... ok
158+test film_grain::ragged_grain_tests::ragged_overlap_tail_matches_spec_reference ... ok
159+test filter_search::tests::unit_sse_matches_the_naive_sum ... ok
160+test frame::tests::four_tile_columns_roundtrip ... ok
161+test frame::tests::key_and_inter_frames_roundtrip ... ok
162+test frame::tests::key_frame_header_roundtrips ... ok
163+test frame::tests::loop_restoration_roundtrips_with_its_own_type_codes ... ok
164+test frame::tests::segmentation_and_delta_q_roundtrip ... ok
165+test frame::tests::unsupported_frames_are_refused_by_name ... ok
166+test gate_coverage::tests::default_on_tools_do_not_duplicate_the_universe ... ok
167+test gate_coverage::tests::every_gate_disabling_a_tool_is_a_listed_coverage_hole ... ok
168+test gate_coverage::tests::never_exercised_10bit_matches_the_gate_recipes ... ok
169+test gate_coverage::tests::never_exercised_8bit_matches_the_gate_recipes ... ok
170+test gate_coverage::tests::never_on_10bit_matches_the_gate_recipes ... ok
171+test gate_coverage::tests::never_on_8bit_matches_the_gate_recipes ... ok
172+test gate_coverage::tests::print_never_exercised_per_bit_depth ... ok
173+test gate_coverage::tests::print_never_on_per_bit_depth ... ok
174+test gate_coverage::tests::tool_settings_reads_whole_flags ... ok
175+test intra::tests::filter_intra_matches_the_libaom_predictor_for_every_mode_and_shape ... ok
176+test intra::tests::rect_predictors_match_c_dump ... ok
177+test mc::compound_intermediate_whole_pel_identity_round_trips_through_combine ... ok
178+test mc::tests::a_narrow_block_reads_the_regular_four_tap_kernel_under_every_sharpness ... ok
179+test mc::tests::constant_plane_has_unit_dc_gain_at_every_subpel_position ... ok
180+test mc::tests::half_pel_reproduces_the_ramp_midpoint ... ok
181+test mc::tests::horizontal_and_vertical_only_filtering_differ ... ok
182+test mc::tests::horizontal_intermediate_fits_i16 ... ok
183+test mc::tests::integer_mv_is_identity ... ok
184+test mc::tests::mv_past_the_edge_clamps_instead_of_panicking ... ok
185+test mc::tests::predict_scaled_at_no_scale_matches_predict_with_filters ... ok
186+test mc::tests::simd_matches_scalar_horizontal_pass ... ok
187+test mc::tests::simd_matches_scalar_vertical_pass ... ok
188+test mc::tests::smooth_filter_matches_aomdec_chroma_inter_block ... ok
189+test mc::tests::whole_pel_horizontal_matches_the_two_pass_form ... ok
190+test motion::tests::cost_is_monotone_non_increasing_over_the_search ... ok
191+test motion::tests::finds_exact_integer_translation_all_four_signs ... ok
192+test motion::tests::finds_half_pel_translation ... ok
193+test motion::tests::mv_bits_prices_a_larger_residual_higher ... ok
194+test motion::tests::sweep_initial_step ... ok
195+test motion_field::tests::an_unprojected_tpl_cell_reads_as_none_but_a_zero_mv_one_does_not ... ok
196+test motion_field::tests::force_integer_mv_rounds_a_projected_candidate_to_full_pel ... ok
197+test motion_field::tests::mv_projection_scales_by_the_distance_ratio ... ok
198+test motion_field::tests::probe_cell_matches_the_spec_parity_derivation ... ok
199+test motion_field::tests::relative_dist_wraps_at_order_hint_bits ... ok
200+test motion_field::tests::setup_motion_field_projects_last_frame_forward ... ok
201+test msac::tests::adaptive_symbols_roundtrip ... ok
202+test msac::tests::bulk_bit_reads_match_the_per_bit_form ... ok
203+test msac::tests::empty_payload_is_short ... ok
204+test msac::tests::fast_paths_match_the_spec_literal_walk ... ok
205+test msac::tests::literals_roundtrip ... ok
206+test msac::tests::mixed_symbols_and_literals_roundtrip ... ok
207+test msac::tests::skewed_symbols_cost_less_than_a_bit ... ok
208+test msac::tests::the_bit_account_matches_the_bytes_written ... ok
209+test mvstack::tests::a_candidate_far_outside_the_frame_is_clamped_to_it ... ok
210+test mvstack::tests::a_corner_only_match_raises_new_mv_ctx_even_when_nearest_match_is_zero ... ok
211+test mvstack::tests::a_diagonal_corner_match_raises_ref_mv_ctx_past_nearest_match ... ok
212+test mvstack::tests::a_missing_compound_combine_slot_takes_that_sides_global_mv_not_zero ... ok
213+test mvstack::tests::a_neighbour_coded_newmv_raises_the_new_mv_context ... ok
214+test mvstack::tests::a_wider_neighbour_than_the_query_block_gets_libaoms_real_weight ... ok
215+test mvstack::tests::all_same_mv_neighbourhood_dedupes_to_one_entry ... ok
216+test mvstack::tests::clamp_mv_ref_window_is_signed_at_the_frame_bottom_edge ... ok
217+test mvstack::tests::combine_compound_candidates_zips_ref_id_then_ref_diff_per_side ... ok
218+test mvstack::tests::comp_reference_type_ctx_bidir_bidir_is_zero ... ok
219+test mvstack::tests::comp_reference_type_ctx_intra_intra_is_two ... ok
220+test mvstack::tests::comp_reference_type_ctx_no_edges_is_two ... ok
221+test mvstack::tests::comp_reference_type_ctx_single_single ... ok
222+test mvstack::tests::comp_reference_type_ctx_unidir_unidir ... ok
223+test mvstack::tests::compound_dedupes_same_pair_and_sums_weight ... ok
224+test mvstack::tests::compound_extension_pass_tops_up_a_short_stack ... ok
225+test mvstack::tests::compound_scan_only_matches_the_exact_pair ... ok
226+test mvstack::tests::compound_two_distinct_pairs_sort_by_weight ... ok
227+test mvstack::tests::extended_col_scan_is_a_no_op_at_8mi_geometry_even_behind_an_intra_neighbour ... ok
228+test mvstack::tests::extended_row_scan_is_a_no_op_at_8mi_geometry_behind_an_inter_neighbour ... ok
229+test mvstack::tests::extended_row_scan_is_a_no_op_at_8mi_geometry_even_behind_an_intra_neighbour ... ok
230+test mvstack::tests::mi_info_cell_stays_compact ... ok
231+test mvstack::tests::mi_info_stays_small_enough_for_a_4k_grid ... ok
232+test mvstack::tests::mi_units_outside_the_tile_contribute_nothing ... ok
233+test mvstack::tests::process_compound_ref_mv_candidate_splits_exact_vs_borrowed ... ok
234+test mvstack::tests::reference_mode_ctx_compound_compound_is_four ... ok
235+test mvstack::tests::reference_mode_ctx_no_edges_is_one ... ok
236+test mvstack::tests::reference_mode_ctx_single_and_compound ... ok
237+test mvstack::tests::reference_mode_ctx_single_single ... ok
238+test mvstack::tests::single_ref_ctx_matches_libaoms_collapsed_forward_only_case ... ok
239+test mvstack::tests::the_ninth_distinct_candidate_is_dropped_at_insertion_not_after_sorting ... ok
240+test mvstack::tests::the_row_reach_is_clamped_to_the_tile_origin_not_the_frame_edge ... ok
241+test mvstack::tests::transposing_above_and_left_produces_a_different_stack ... ok
242+test mvstack::tests::two_distinct_neighbour_mvs_yield_two_entries_in_weight_order ... ok
243+test mvstack::tests::uni_comp_ref_p1_ctx_matches_ref_ctx_shape ... ok
244+test obu::tests::obu_header_extension_roundtrip ... ok
245+test obu::tests::obu_header_plain_roundtrip ... ok
246+test obu::tests::temporal_delimiter_is_two_bytes ... ok
247+test obu::tests::wrap_obu_size_field_matches_payload ... ok
248+test quant::tests::buffered_dequant_matches_the_per_coefficient_form ... ok
249+test quant::tests::denominator_follows_the_area ... ok
250+test quant::tests::dequant_is_symmetric_in_sign ... ok
251+test quant::tests::table_anchors ... ok
252+test refusal_inventory::tests::capability_claims_are_declared_not_scattered ... ok
253+test refusal_inventory::tests::every_intra_mode_symbol_of_the_y_mode_alphabet_is_coded ... ok
254+test refusal_inventory::tests::every_partition_value_of_an_enumerated_alphabet_has_an_arm ... ok
255+test refusal_inventory::tests::every_partition_value_of_an_if_chain_alphabet_is_named_by_a_branch ... ok
256+test refusal_inventory::tests::every_proven_refusal_names_a_test_that_exists ... ok
257+test refusal_inventory::tests::every_read_intra_mode_call_site_hands_the_reader_a_palette_cache ... ok
258+test refusal_inventory::tests::every_rect_strip_shape_the_split_path_codes_has_a_luma_and_chroma_table ... ok
259+test refusal_inventory::tests::every_tx_type_symbol_of_every_cdf_width_maps_into_its_own_set ... ok
260+test refusal_inventory::tests::gates_that_swallow_a_decode_error_are_declared ... ok
261+test refusal_inventory::tests::no_128_root_half_reads_a_cfl_filter_intra_or_palette_symbol ... ok
262+test refusal_inventory::tests::no_block_footprint_with_a_128_pixel_side_can_carry_palette_syntax ... ok
263+test refusal_inventory::tests::read_golomb_reads_every_value_a_conformant_stream_can_carry ... ok
264+test refusal_inventory::tests::the_decode_path_refuses_exactly_the_listed_cases ... ok
265+test restoration::tests::signed_subexp_with_ref_roundtrips ... ok
266+test restoration::tests::subexp_roundtrips_every_value ... ok
267+test restoration::tests::unsigned_subexp_with_ref_roundtrips ... ok
268+test restoration::tests::wiener_filter_roundtrips ... ok
269+test sequence::tests::sequence_header_obu_size_matches_payload ... ok
270+test sequence::tests::sequence_header_roundtrip ... ok
271+test speed::tests::presets_are_monotone_in_speed ... ok
272+test speed::tests::speed_zero_disables_nothing ... ok
273+test encoder::tests::filter_replay_final_matches_the_capture_decode ... ok
274+test stream::tests::a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact ... ok
275+test encoder::tests::the_rate_loop_prices_the_frames_the_pyramid_codes ... ok
276+test encoder::tests::bytes_per_frame_controller_never_oscillates_past_its_clamp ... ok
277+test stream::tests::a_10bit_film_frames_with_rect64_corner_tus_decode_pixel_exact ... ok
278+test stream::tests::a_10bit_film_frames_with_small_side_globalmv_and_rect_warp_reach_decode_pixel_exact ... ok
279+test encoder::tests::quality_target_is_monotone_in_bytes_and_psnr ... ok
280+test encoder::tests::filter_replay_codes_the_same_stream_as_a_full_decode ... ok
281+test stream::tests::a_10bit_key_frame_with_skipped_8x8_intra_leaves_that_split_their_transform_decodes_luma_exact ... ok
282+test stream::tests::a_128_superblock_stream_whose_skipped_blocks_are_var_tx_decodes_pixel_exact ... ok
283+test stream::tests::a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact ... ok
284+test stream::tests::a_10bit_film_hidden_arf_with_split_superblock_strips_decodes_pixel_exact ... ok
285+test stream::tests::a_frame_obu_that_parses_always_carries_at_least_one_tile ... ok
286+test stream::tests::a_frame_whose_segmentation_overrides_a_block_mode_is_refused_by_name ... ok
287+test encoder::tests::bytes_per_frame_target_settles_within_20_percent ... ok
288+test stream::tests::a_10bit_film_frames_with_frame_edge_mv_clamping_decode_pixel_exact ... ok
289+test stream::tests::a_hand_built_golden_reference_decodes_pixel_exact_against_ffmpeg ... ok
290+test stream::tests::a_block_shape_census_over_three_real_streams_leaves_the_rect_residual_refusal_unreachable ... ok
291+test stream::tests::a_directional_16x8_strip_reads_the_right_above_right_samples ... ok
292+test stream::tests::a_lossless_libaom_key_frame_decodes_sample_exact ... ok
293+test stream::tests::a_libaom_screen_stream_with_sub8_groups_beside_palette_blocks_decodes_exact ... ok
294+test stream::tests::a_libaom_stream_with_128_intra_blocks_in_inter_frames_decodes_exact ... ok
295+test encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence ... ok
296+test stream::tests::a_libaom_force_integer_mv_stream_decodes_exact ... ok
297+test stream::tests::a_real_aomenc_10bit_film_grain_stream_decodes_pixel_exact ... ok
298+test stream::tests::a_lossless_libaom_inter_frame_decodes_sample_exact ... ok
299+test encoder::tests::every_tile_layout_decodes_sample_exact_through_both_decoders ... ok
300+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_class1_chroma_eob_decodes_pixel_exact ... ok
301+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok
302+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok
303+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok
304+test stream::tests::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact ... ok
305+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok
306+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact ... ok
307+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok
308+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact ... ok
309+test stream::tests::a_real_aomenc_10bit_intra_tools_stream_decodes_pixel_exact ... ok
310+test stream::tests::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact ... ok
311+test stream::tests::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact ... ok
312+test stream::tests::a_real_aomenc_10bit_rect_and_ab_partitions_decode_pixel_exact ... ok
313+test encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames has been running for over 60 seconds
314+test stream::tests::a_frame_edge_straddling_band_decodes_pixel_exact ... ok
315+test stream::tests::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag ... ok
316+test stream::tests::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact ... ok
317+test stream::tests::a_real_aomenc_10bit_stream_decodes_pixel_exact ... ok
318+test stream::tests::a_real_aomenc_10bit_restoration_stream_decodes_pixel_exact ... ok
319+test stream::tests::a_real_affine_global_motion_stream_decodes_pixel_exact ... ok
320+test stream::tests::a_real_aomenc_10bit_compound_mv_stack_at_128_superblocks_decodes_pixel_exact ... ok
321+test stream::tests::a_real_aomenc_10bit_stream_with_a_32_level_ab_partition_decodes_pixel_exact ... ok
322+test stream::tests::a_real_aomenc_10bit_superres_stream_decodes_pixel_exact ... ok
323+test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count has been running for over 60 seconds
324+test encoder::tests::zero_gop_is_refused has been running for over 60 seconds
325+test stream::tests::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact ... ok
326+test stream::tests::a_real_aomenc_10bit_inter_sequence_decodes_pixel_exact ... ok
327+test stream::tests::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok
328+test stream::tests::a_real_aomenc_10bit_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok
329+test stream::tests::a_real_aomenc_10bit_stream_with_aq_segmentation_decodes_pixel_exact ... ok
330+test stream::tests::a_real_aomenc_10bit_stream_with_interintra_wedge_decodes_pixel_exact ... ok
331+test stream::tests::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact ... ok
332+test stream::tests::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact ... ok
333+test stream::tests::a_real_aomenc_altref_sequence_hidden_frames_decode_pixel_exact ... ok
334+test stream::tests::a_real_aomenc_filter_intra_stream_decodes_pixel_exact ... ok
335+test stream::tests::a_real_aomenc_dual_filter_obmc_8x8_inter_sequence_decodes_pixel_exact ... ok
336+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact ... ok
337+test stream::tests::a_real_aomenc_band_stream_seed46_decodes_pixel_exact ... ok
338+test stream::tests::a_real_aomenc_both_axes_cut_corner_block_decodes_pixel_exact ... ok
339+test encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames ... ok
340+test stream::tests::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact ... ok
341+test stream::tests::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact ... ok
342+test stream::tests::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact ... ok
343+test stream::tests::a_real_aomenc_inter_sequence_with_a_class1_chroma_eob_decodes_pixel_exact ... ok
344+test stream::tests::a_real_aomenc_compound_mv_stack_with_temporal_mvs_decodes_pixel_exact ... ok
345+test stream::tests::a_real_aomenc_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok
346+test stream::tests::a_real_aomenc_inter_sequence_with_a_golden_reference_decodes_pixel_exact ... ok
347+test stream::tests::a_real_aomenc_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok
348+test stream::tests::a_real_aomenc_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok
349+test stream::tests::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact ... ok
350+test stream::tests::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact ... ok
351+test stream::tests::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact ... ok
352+test stream::tests::a_real_aomenc_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok
353+test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_across_tile_columns_decodes_pixel_exact ... ok
354+test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok
355+test stream::tests::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet ... ok
356+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
357+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
358+test stream::tests::a_real_aomenc_inter_sequence_with_128x128_superblocks_decodes_pixel_exact ... ok
359+test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact ... ok
360+test stream::tests::a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact ... ok
361+test stream::tests::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact ... ok
362+test stream::tests::a_real_aomenc_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact ... ok
363+test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit ... ok
364+test stream::tests::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact ... ok
365+test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact ... ok
366+test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count ... ok
367+test encoder::tests::zero_gop_is_refused ... ok
368+test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact ... ok
369+test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact_10bit ... ok
370+test stream::tests::a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact ... ok
371+test stream::tests::a_real_aomenc_intra_stream_with_tx_select_decodes_pixel_exact ... ok
372+test stream::tests::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact ... ok
373+test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds
374+test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual has been running for over 60 seconds
375+test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact has been running for over 60 seconds
376+test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact has been running for over 60 seconds
377+test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact has been running for over 60 seconds
378+test stream::tests::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact has been running for over 60 seconds
379+test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact ... ok
380+test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual ... ok
381+test stream::tests::a_real_aomenc_min8_stream_with_tx_class1_decodes_pixel_exact ... ok
382+test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact ... ok
383+test stream::tests::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact has been running for over 60 seconds
384+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
385+test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact ... ok
386+test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds
387+test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact ... ok
388+test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact has been running for over 60 seconds
389+test stream::tests::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact has been running for over 60 seconds
390+test stream::tests::a_real_aomenc_key_and_inter_superres_sequence_decodes_pixel_exact has been running for over 60 seconds
391+test stream::tests::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact ... ok
392+test stream::tests::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact ... ok
393+test stream::tests::a_real_aomenc_palette_stream_decodes_pixel_exact_at_8_and_10_bit ... ok
394+test stream::tests::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact ... ok
395+test stream::tests::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact has been running for over 60 seconds
396+test stream::tests::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact has been running for over 60 seconds
397+test stream::tests::a_real_aomenc_multi_tile_inter_stream_decodes_pixel_exact has been running for over 60 seconds
398+test stream::tests::a_real_aomenc_multi_tile_intra_10bit_stream_decodes_pixel_exact has been running for over 60 seconds
399+test stream::tests::a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact has been running for over 60 seconds
400+test stream::tests::a_real_aomenc_multi_tile_palette_stream_decodes_pixel_exact has been running for over 60 seconds
401+test stream::tests::a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact has been running for over 60 seconds
402+test stream::tests::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact ... ok
403+test stream::tests::a_real_aomenc_rect_strip_palette_decodes_pixel_exact ... ok
404+test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact ... ok
405+test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact ... ok
406+test stream::tests::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact ... ok
407+test stream::tests::a_real_aomenc_key_and_inter_superres_sequence_decodes_pixel_exact ... ok
408+test stream::tests::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact ... ok
409+test stream::tests::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact ... ok
410+test stream::tests::a_real_aomenc_screen_stream_with_palette_blocks_decodes_pixel_exact ... ok
411+test stream::tests::a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips ... ok
412+test stream::tests::a_real_aomenc_multi_tile_inter_stream_decodes_pixel_exact ... ok
413+test stream::tests::a_real_aomenc_multi_tile_intra_10bit_stream_decodes_pixel_exact ... ok
414+test stream::tests::a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact ... ok
415+test stream::tests::a_real_aomenc_multi_tile_palette_stream_decodes_pixel_exact ... ok
416+test stream::tests::a_real_aomenc_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok
417+test stream::tests::a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact ... ok
418+test stream::tests::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact ... ok
419+test stream::tests::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact ... ok
420+test stream::tests::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact ... ok
421+test stream::tests::a_real_aomenc_sb128_stream_whose_skipped_cfl_and_1to4_chroma_pairs_decode_pixel_exact ... ok
422+test stream::tests::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact ... ok
423+test stream::tests::a_real_aomenc_stream_whose_chroma_edge_filter_reads_a_sub16_neighbours_uv_mode_decodes_pixel_exact ... ok
424+test stream::tests::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact ... ok
425+test stream::tests::a_real_aomenc_stream_whose_square_block_reads_a_sub16_neighbours_mode_decodes_pixel_exact ... ok
426+test stream::tests::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact ... ok
427+test stream::tests::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact ... ok
428+test stream::tests::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact has been running for over 60 seconds
429+test stream::tests::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact has been running for over 60 seconds
430+test stream::tests::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact ... ok
431+test stream::tests::a_real_aomenc_stream_with_a_32_level_ab_partition_decodes_pixel_exact has been running for over 60 seconds
432+test stream::tests::a_real_aomenc_stream_with_a_32_level_ab_partition_decodes_pixel_exact ... ok
433+test stream::tests::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact ... ok
434+test stream::tests::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact has been running for over 60 seconds
435+test stream::tests::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact ... ok
436+test stream::tests::a_real_aomenc_stream_with_a_bwdref_reference_decodes_pixel_exact has been running for over 60 seconds
437+test stream::tests::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact has been running for over 60 seconds
438+test stream::tests::a_real_aomenc_stream_with_a_bwdref_reference_decodes_pixel_exact ... ok
439+test stream::tests::a_real_aomenc_stream_with_a_sub8_rect_leaf_decodes_pixel_exact ... ok
440+test stream::tests::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact ... ok
441+test stream::tests::a_real_aomenc_stream_with_a_sub8_split_decodes_pixel_exact ... ok
442+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
443+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
444+test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact has been running for over 60 seconds
445+test stream::tests::a_real_aomenc_stream_with_a_last2_reference_decodes_pixel_exact has been running for over 60 seconds
446+test stream::tests::a_real_aomenc_stream_with_a_last3_reference_decodes_pixel_exact has been running for over 60 seconds
447+test stream::tests::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact ... ok
448+test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok
449+test stream::tests::a_real_aomenc_stream_with_a_last2_reference_decodes_pixel_exact ... ok
450+test stream::tests::a_real_aomenc_stream_with_a_last3_reference_decodes_pixel_exact ... ok
451+test stream::tests::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact ... ok
452+test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact ... ok
453+test stream::tests::a_real_aomenc_stream_with_cdef_and_sub16_inter_leaves_decodes_pixel_exact ... ok
454+test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact ... ok
455+test stream::tests::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact ... ok
456+test stream::tests::a_real_aomenc_stream_with_directional_chroma_decodes_pixel_exact ... ok
457+test stream::tests::a_real_aomenc_stream_with_film_grain_decodes_pixel_exact ... ok
458+test stream::tests::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact ... ok
459+test stream::tests::a_real_aomenc_stream_with_a_superblock_level_1to4_partition_decodes_pixel_exact ... ok
460+test stream::tests::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact ... ok
461+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub8_rect_leaf_decodes_pixel_exact ... ok
462+test stream::tests::a_real_aomenc_stream_with_four_tile_columns_decodes_pixel_exact ... ok
463+test stream::tests::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact ... ok
464+test stream::tests::a_real_aomenc_stream_with_ab_partitions_below_16x16_decodes_pixel_exact ... ok
465+test stream::tests::a_real_aomenc_stream_with_four_tile_rows_decodes_pixel_exact ... ok
466+test stream::tests::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact ... ok
467+test stream::tests::a_real_aomenc_stream_with_an_altref2_reference_decodes_pixel_exact ... ok
468+test stream::tests::a_real_aomenc_stream_with_an_altref_reference_decodes_pixel_exact ... ok
469+test stream::tests::a_real_aomenc_stream_with_non_uniform_tile_spacing_decodes_pixel_exact ... ok
470+test stream::tests::a_real_aomenc_stream_with_cdef_decodes_pixel_exact ... ok
471+test stream::tests::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact ... ok
472+test stream::tests::a_real_aomenc_stream_with_palette_uv_decodes_pixel_exact ... ok
473+test stream::tests::a_real_aomenc_stream_with_palette_y_decodes_pixel_exact ... ok
474+test stream::tests::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact ... ok
475+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact ... ok
476+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact ... ok
477+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact ... ok
478+test stream::tests::a_real_aomenc_stream_with_several_tile_group_obus_decodes_pixel_exact ... ok
479+test stream::tests::a_real_aomenc_stream_with_skipped_rect_inter_strips_keeps_the_cdef_skip_band ... ok
480+test stream::tests::a_real_aomenc_stream_with_smooth_luma_neighbour_decodes_pixel_exact ... ok
481+test stream::tests::a_real_aomenc_stream_with_smooth_paeth_chroma_decodes_pixel_exact ... ok
482+test stream::tests::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact ... ok
483+test stream::tests::a_real_aomenc_stream_with_two_tile_columns_and_an_inter_frame_decodes_pixel_exact ... ok
484+test stream::tests::a_real_aomenc_stream_with_two_tile_columns_decodes_pixel_exact ... ok
485+test stream::tests::a_real_aomenc_stream_with_two_tile_columns_decodes_through_decode_stream ... ok
486+test stream::tests::a_real_aomenc_stream_with_interintra_decodes_pixel_exact ... ok
487+test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_pixel_exact ... ok
488+test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_through_decode_stream ... ok
489+test stream::tests::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact has been running for over 60 seconds
490+test stream::tests::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact ... ok
491+test stream::tests::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm ... ok
492+test stream::tests::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact has been running for over 60 seconds
493+test stream::tests::a_real_aomenc_stream_with_obmc_8x8_decodes_pixel_exact has been running for over 60 seconds
494+test stream::tests::a_real_aomenc_stream_with_obmc_decodes_pixel_exact has been running for over 60 seconds
495+test stream::tests::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact has been running for over 60 seconds
496+test stream::tests::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact has been running for over 60 seconds
497+test stream::tests::a_real_aomenc_stream_with_reference_select_reads_comp_mode_correctly has been running for over 60 seconds
498+test stream::tests::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly has been running for over 60 seconds
499+test stream::tests::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact ... ok
500+test stream::tests::a_real_aomenc_stream_with_obmc_8x8_decodes_pixel_exact ... ok
501+test stream::tests::a_real_aomenc_stream_with_obmc_decodes_pixel_exact ... ok
502+test stream::tests::a_real_aomenc_stream_with_temporal_mvs_decodes_pixel_exact has been running for over 60 seconds
503+test stream::tests::a_real_aomenc_two_tile_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok
504+test stream::tests::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact ... ok
505+test stream::tests::a_real_film_key_frame_with_a_skipped_cfl_block_decodes_pixel_exact ... ok
506+test stream::tests::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact has been running for over 60 seconds
507+test stream::tests::a_real_aomenc_stream_with_warped_motion_refuses_or_matches has been running for over 60 seconds
508+test stream::tests::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact ... ok
509+test stream::tests::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact has been running for over 60 seconds
510+test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact has been running for over 60 seconds
511+test stream::tests::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact ... ok
512+test stream::tests::a_real_aomenc_stream_with_reference_select_reads_comp_mode_correctly ... ok
513+test stream::tests::a_real_libaom_cfl_stream_decodes_pixel_exact ... ok
514+test stream::tests::a_real_libaom_gradients_stream_decodes_pixel_exact ... ok
515+test stream::tests::a_real_libaom_gradients_stream_with_cdef_decodes_pixel_exact ... ok
516+test stream::tests::a_real_libaom_stream_with_adst_decodes_end_to_end ... ok
517+test stream::tests::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour ... ok
518+test stream::tests::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly ... ok
519+test stream::tests::a_real_aomenc_stream_with_temporal_mvs_decodes_pixel_exact ... ok
520+test stream::tests::a_real_stream_decodes_identically_with_one_and_four_threads ... ok
521+test stream::tests::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact ... ok
522+test stream::tests::a_screen_stream_with_16x4_intra_strips_in_inter_frames_decodes_pixel_exact ... ok
523+test stream::tests::a_screen_stream_with_palette_8x8_leaves_in_inter_frames_decodes_pixel_exact ... ok
524+test stream::tests::a_segmentation_census_over_real_aq_streams_finds_no_mode_overriding_feature ... ok
525+test stream::tests::a_show_existing_frame_header_naming_an_empty_slot_is_refused_by_name ... ok
526+test stream::tests::a_sub8_footprint_census_over_real_streams_leaves_the_intra_16x4_pairing_refusal_unreachable ... ok
527+test stream::tests::a_real_aomenc_stream_with_warped_motion_refuses_or_matches ... ok
528+test stream::tests::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact ... ok
529+test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact ... ok
530+test stream::tests::a_superres_census_over_six_real_streams_records_which_scaled_refusals_fire ... ok
531+test stream::tests::a_sweep_of_doubly_straddling_sizes_round_trips_through_ffmpeg ... ok
532+test stream::tests::a_twelve_bit_sequence_header_is_refused_by_name ... ok
533+test stream::tests::an_inter_frame_naming_an_unrefreshed_primary_ref_slot_is_refused_by_name ... ok
534+test stream::tests::an_inter_frame_opening_a_stream_is_refused_by_name ... ok
535+test stream::tests::an_inter_frame_shorter_than_its_reference_is_refused_by_name ... ok
536+test stream::tests::an_intra_coded_128_half_in_a_screen_content_inter_frame_decodes_pixel_exact ... ok
537+test stream::tests::an_intra_coded_128_half_inside_an_inter_frame_decodes_pixel_exact ... ok
538+test stream::tests::an_intrabc_block_under_tx_mode_select_decodes_pixel_exact ... ok
539+test stream::tests::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact ... ok
540+test stream::tests::an_intrabc_census_over_screen_key_frames_measures_the_tx_select_refusal ... ok
541+test stream::tests::a_real_compound_global_warp_stream_decodes_pixel_exact ... ok
542+test stream::tests::debug_part32_r2_sbpart_pin_mismatch_geometry ... ignored, debug harness, run manually with EC_AV1_GATE_DUMP_PIN
543+test stream::tests::decode_stream_agrees_with_ffmpeg_on_a_gop ... ok
544+test stream::tests::decode_stream_matches_the_tile_path_on_a_key_frame ... ok
545+test stream::tests::decode_stream_round_trips_a_gop ... ok
546+test stream::tests::decode_stream_round_trips_an_odd_size_gop ... ok
547+test stream::tests::every_frame_size_a_header_can_code_has_a_mode_info_grid ... ok
548+test stream::tests::gradients_source_is_reproducible_per_seed ... ok
549+test stream::tests::no_per_frame_state_is_thread_local_any_more ... ok
550+test stream::tests::pinned_golden3_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
551+test stream::tests::pinned_golden4_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
552+test stream::tests::pinned_golden7_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
553+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
554+test stream::tests::pinned_sbpart_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
555+test stream::tests::pinned_warp_stream_decodes_pixel_exact ... ignored, reads pinned fixture paths under the gitignored fixtures dir; run manually
556+test stream::tests::probe_tiny_32x32_trace ... ignored, diagnostic, run manually with --nocapture
557+test stream::tests::probe_tiny_fixture_trace ... ignored, diagnostic, run manually with --nocapture and EC_TINY_FIXTURE_PATH set
558+test stream::tests::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact ... ok
559+test stream::tests::real_aomenc_film_grain_streams_decode_pixel_exact ... ok
560+test stream::tests::a_real_force_integer_mv_warp_stream_decodes_pixel_exact ... ok
561+test stream::tests::sb128_r2_control_sb64 ... ignored, lane-sb128 r2 diagnostic: is the frame-6 mismatch sb128-specific?
562+test stream::tests::scratch_decode_pinned_stream_once ... ignored
563+test stream::tests::scratch_isolate_pinned_mismatch ... ignored
564+test stream::tests::streaming_decode_matches_the_collecting_one ... ok
565+test stream::tests::sweep_rectx_recipes ... ignored, lane-rectx r3 scratch sweep
566+test stream::tests::a_real_globalmv_8x8_leaf_stream_decodes_pixel_exact ... ok
567+test stream::tests::a_real_stream_filters_identically_with_one_and_four_filter_threads ... ok
568+test stream::tests::the_reelb_head_key_frame_decodes_pixel_exact ... ok
569+test stream::tests::the_reelb_ss300_key_frame_skipped_cfl_decodes_pixel_exact ... ok
570+test stream::tests::the_reelb_ss600_key_frame_skipped_split_tx_decodes_pixel_exact ... ok
571+test superres::tests::upscale_row_matches_libaom_in8_out12 ... ok
572+test superres::tests::upscale_row_matches_libaom_in8_out16 ... ok
573+test superres::tests::upscale_row_of_a_flat_input_is_flat ... ok
574+test superres::tests::upscale_row_with_real_margin_matches_libaom_in43_out64 ... ok
575+test tile::tests::a_block_gathers_the_cells_its_neighbours_cover ... ok
576+test tile::tests::a_coefficient_in_the_far_corner_reaches_the_last_end_of_block_group ... ok
577+test tile::tests::a_coefficient_off_the_origin_selects_its_own_basis_function ... ok
578+test stream::tests::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads ... ok
579+test tile::tests::a_dc_level_is_worth_half_as_much_each_time_the_transform_doubles ... ok
580+test tile::tests::a_frame_that_hangs_off_the_bottom_codes_every_block ... ok
581+test tile::tests::a_frame_that_is_not_a_whole_number_of_blocks_is_refused ... ok
582+test tile::tests::a_frame_that_is_not_a_whole_number_of_superblocks_codes_every_block ... ok
583+test tile::tests::a_level_grid_that_does_not_cover_the_frame_is_refused ... ok
584+test tile::tests::a_newmv_block_reads_back_the_exact_symbol_sequence_it_was_written_with ... ok
585+test tile::tests::a_quadrant_splits_into_four_sixteens ... ok
586+test tile::tests::a_quantized_picture_decodes_to_what_the_encoder_reconstructed ... ok
587+test tile::tests::a_single_ac_coefficient_varies_along_its_own_axis ... ok
588+test tile::tests::a_split_superblock_decodes_each_quadrant_on_its_own_level ... ok
589+test tile::tests::a_whole_superblock_at_the_frame_edge_is_refused ... ok
590+test tile::tests::a_whole_superblock_covers_all_four_of_its_quadrants ... ok
591+test tile::tests::an_all_skip_inter_superblock_is_small_and_reads_back ... ok
592+test tile::tests::an_intra_block_in_an_inter_frame_is_caught_reading_kf_y_mode ... ok
593+test tile::tests::an_intra_mode_outside_the_key_frame_set_is_refused ... ok
594+test tile::tests::chroma_dc_signs_read_their_neighbours ... ok
595+test tile::tests::coefficients_the_writer_cannot_code_are_refused ... ok
596+test tile::tests::dc_levels_the_base_syntax_cannot_carry_are_refused ... ok
597+test tile::tests::directional_modes_predict_from_the_neighbours_they_name ... ok
598+test tile::tests::a_dc_coefficient_moves_the_whole_block_off_mid_grey ... ok
599+test tile::tests::each_chroma_plane_codes_its_own_basis_function ... ok
600+test tile::tests::every_quadrant_carries_its_own_coefficients ... ok
601+test tile::tests::each_superblock_decodes_to_the_grey_its_own_level_asks_for ... ok
602+test tile::tests::flat_key_frame_decodes_to_mid_grey ... ok
603+test tile::tests::negating_the_levels_negates_the_residual ... ok
604+test tile::tests::partial_superblocks_are_refused ... ok
605+test tile::tests::the_default_scan_walks_every_position_outwards ... ok
606+test tile::tests::the_golomb_tail_reads_back_as_the_level_it_was_written_for ... ok
607+test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_16x16_block ... ok
608+test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_32x32_block ... ok
609+test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_64x64_block ... ok
610+test tile::tests::the_inverse_transform_reproduces_the_pinned_split_residuals ... ok
611+test tile::tests::the_inverse_transform_reproduces_the_pinned_whole_superblock_residuals ... ok
612+test tile::tests::the_price_grows_with_the_levels ... ok
613+test tile::tests::the_priced_coefficient_bits_match_the_bytes_written ... ok
614+test transform::lossless_tx_tests::the_walsh_hadamard_round_trip_is_exact ... ok
615+test transform::tests::a_64x64_transform_keeps_what_fits_in_its_coded_quarter ... ok
616+test transform::tests::a_fine_quantizer_roundtrips_a_residual_almost_exactly ... ok
617+test transform::tests::a_flat_residual_is_a_dc_level_alone ... ok
618+test transform::tests::a_typed_forward_round_trips_like_the_dct_one ... ok
619+test transform::tests::a_wider_deadzone_codes_fewer_coefficients ... ok
620+test transform::tests::a_zero_vector_transforms_to_zero ... ok
621+test transform::tests::adst_dct_and_dct_adst_disagree_on_an_asymmetric_grid ... ok
622+test transform::tests::iadst16_matches_libaoms_own_output ... ok
623+test transform::tests::iadst4_an_all_zero_input_short_circuits_to_zero ... ok
624+test transform::tests::iadst4_matches_libaoms_own_output ... ok
625+test transform::tests::iadst8_is_not_symmetric_in_its_input_position ... ok
626+test transform::tests::iadst8_matches_libaoms_own_output ... ok
627+test transform::tests::iidentity_matches_libaoms_own_output_at_every_size ... ok
628+test transform::tests::negating_the_residual_negates_every_level ... ok
629+test transform::tests::rect_sizes_pinned_against_libaom ... ok
630+test transform::tests::scratch_probe_32x32_dequant ... ignored
631+test transform::tests::square_wrapper_matches_wh_core ... ok
632+test transform::tests::the_avx2_dct_matches_the_scalar_one_over_the_full_range ... ok
633+test transform::tests::the_eight_wide_dct_matches_the_scalar_one ... ok
634+test transform::tests::the_fixed_point_forward_matches_the_exact_matmul ... ok
635+test transform::tests::the_forward_network_has_one_uniform_gain ... ok
636+test transform::tests::the_inverse_network_is_an_orthonormal_dct_over_eight ... ok
637+test transform::tests::the_roundtrip_error_is_the_quantizer_and_only_the_quantizer ... ok
638+test transform::tests::the_typed_forward_transform_is_bit_identical_to_the_strided_form ... ok
639+test warp::gm_mv_tests::identity_is_always_zero ... ok
640+test warp::gm_mv_tests::rotzoom_projects_block_centre_hp ... ok
641+test warp::gm_mv_tests::rotzoom_projects_block_centre_no_hp ... ok
642+test warp::gm_mv_tests::translation_force_integer_mv_rounds_to_full_pel ... ok
643+test warp::gm_mv_tests::translation_shifts_params_by_13 ... ok
644+test wedge::tests::wedge_codebook_matches_libaom_dump ... ok
645+test tile::tests::levels_above_the_base_range_tail_carry_a_golomb_tail ... ok
646+test stream::tests::a_real_warped_causal_8x8_leaf_stream_decodes_pixel_exact ... ok
647+test stream::tests::a_sub8_leaf_census_over_intrabc_screen_streams_measures_the_sub8_refusal ... ok
648+test stream::tests::a_superres_all_tools_sb128_stream_decodes_pixel_exact ... ok
649+test stream::tests::a_superres_key_frame_with_cdef_and_loop_restoration_decodes_pixel_exact ... ok
650+test stream::tests::an_intrabc_vartx_census_measures_the_mixed_leaf_refusal ... ok
651+test stream::tests::an_sb128_screen_stream_with_intrabc_decodes_pixel_exact ... ok
652+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
653+test stream::tests::real_superres_streams_with_sub8_leaf8_and_warp_decode_pixel_exact has been running for over 60 seconds
654+test stream::tests::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact has been running for over 60 seconds
655+test stream::tests::the_worker_pool_stays_bounded_across_repeated_threaded_decodes has been running for over 60 seconds
656+test stream::tests::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal ... ok
657+test stream::tests::real_superres_streams_with_sub8_leaf8_and_warp_decode_pixel_exact ... ok
658+test stream::tests::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact ... ok
659+test stream::tests::the_worker_pool_stays_bounded_across_repeated_threaded_decodes ... ok
660+
661+test result: ok. 564 passed; 0 failed; 44 ignored; 0 measured; 0 filtered out; finished in 714.54s
662+
663+RC=0
lanes/sse.report.mdadded+96 -0
@@ -0,0 +1,96 @@
1+# lane-sse — the distortion metric scores the inside of the frame only
2+
3+## What was wrong
4+
5+`Plane::block_sse` — the RD distortion every mode, transform, CfL alpha and
6+partition trial in `encode.rs` is ranked by — summed the squared error over
7+the WHOLE block, including the part past the true frame edge. Those samples
8+are the encoder's own edge-replicated padding: the decoder reconstructs them
9+and the display crop throws them away. lane-b64b fixed the 64x64 root alone
10+(`inside_sse`/`clip_sb64_sse`); every other size, shape and tool still paid.
11+
12+The clip now lives in `block_sse` itself, so all callers are fixed once
13+(libaom does the same in `av1_dist_block`, over `max_blocks_wide/high`).
14+`inside_sse`/`clip_sb64_sse` and the `edge` flag at the 64 root are deleted —
15+they became no-ops. `ibc_sse` (intrabc's whole-block distortion) clips too.
16+
17+Knobs: `EC_AV1_EDGESSE=0` restores the padding-inclusive score (the before
18+arm); `EC_AV1_EDGE_CENSUS=1` prints the straddling-block census;
19+`EC_AV1_NATIVE_CROP=<w>x<h>` puts the native BD gate on a window that is NOT
20+superblock-aligned (`probe::gate_crop` rounds down to whole 128-wide
21+superblocks by design, so no default gate row straddles at all).
22+
23+## Instrument — straddling blocks and their padding share (12 frames, 4 q points)
24+
25+`EC_AV1_EDGE_CENSUS=1`, one line per block size that fired. "scores" counts
26+every `block_sse` call on a block the edge cuts, trials included.
27+
28+CHARTER CORRECTION: film A is coded **1920x792**, not 1080p, so the straddling
29+film-A arm is its own full frame (1920x792 = 6.19 superblock rows), not a
30+1920x1080 crop (`EC_AV1_NATIVE_CROP=1920x1080` asserts "does not fit").
31+A 1920x1080 arm was still run on the 1080p bars fixture.
32+
33+| arm | size | 8x8 | 16x16 | 32x32 | 64x64 |
34+|---|---|---|---|---|---|
35+| bars 1080p | 1920x1080 | 960 scores, 100% pad | 3911, 25.0% | 22030, 12.5% | 8831, 12.5% |
36+| bars 1080p | 1920x792 | 960, 100% | 51780, 24.4% | 33197, 20.7% | — |
37+| film A | 1920x792 | 960, 100% | 75698, 25.1% | 44740, 21.6% | — |
38+| bars 2160p | 3840x1608 | 5760, 100% | 10080, 70.9% | 8838, 41.5% | — |
39+| film B | 3840x1608 | 5760, 100% | 11483, 70.4% | 9276, 57.2% | — |
40+
41+Read: on his real 4K film, **57% of the raw squared error of every straddling
42+32x32 block sat in padding**, and 70% of every straddling 16x16 block's. No
43+64x64 line at 792/1608 because those heights leave under half a superblock
44+inside, so `has_rows` splits the root before it is ever scored.
45+
46+## Before/after — native BD gate, 12 frames, gop=12, 4 q points
47+
48+`EC_AV1_EDGESSE=0` vs default, one release binary, same crop.
49+
50+| arm | row | BD vs libaom before -> after | BD vs rav1e before -> after |
51+|---|---|---|---|
52+| 1920x792 | bars 1080p | +14.0% -> +14.0% | +1.5% -> **+1.4%** |
53+| 1920x792 | film A | +36.2% -> **+36.1%** | +7.5% -> **+7.4%** |
54+| 3840x1608 | bars 2160p | +14.7% -> +14.7% (byte-identical) | -6.9% -> -6.9% |
55+| 3840x1608 | film B | +35.8% -> +35.8% (byte-identical) | +17.6% -> +17.6% |
56+| 1920x1080 | bars 1080p | +8.7% -> +8.7% (byte-identical) | -4.1% -> -4.1% |
57+
58+Keep rule met: **no row worse anywhere**; both film-A columns better by 0.1.
59+The charter expected >=0.3 on the straddling arm — it is 0.1. Honest reading:
60+the padding is edge-replicated, so every candidate predicts it almost equally
61+well and the metric change rarely flips a winner. The 4K rows code
62+byte-identical streams at all four points even though their census DOES differ
63+between the arms (10086 vs 10080 straddling 16x16 scores) — the candidate
64+pruning walks a slightly different path and lands on the same decisions.
65+
66+SB-ALIGNED ROWS: byte-identical BY CONSTRUCTION, not just by measurement —
67+on a crop whose width and height are multiples of the superblock,
68+`inside_rows == side` for every block, so `block_sse` takes exactly the old
69+path. The 1920x1080 arm above is the empirical confirmation on a straddling
70+crop that still codes the same stream.
71+
72+## Invariants, pins, suite
73+
74+- `EC_COMP_MISMATCH=1` over pins + facade + thread-count + both straddling
75+ witnesses: 6 passed, 0 failed, no mismatch line printed.
76+- pins `the_encoders_own_streams_are_byte_identical_to_their_pins`: 9808 /
77+ 35791 HOLD (the 640x384 pin clip is 10x6 whole superblocks, so no block of
78+ it straddles and the change cannot reach it).
79+- `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`: pass.
80+- `the_facade_codes_the_same_bytes_as_encode_sequence`: pass.
81+- three-way exact witnesses: lane-b64b's `232x168` still passes, and the new
82+ `a_1080p_shaped_clip_straddles_at_every_block_size_and_decodes_sample_exact`
83+ (384x216 = the 1080p shape at a fifth: 3 whole SB columns, 1.6875 SB rows,
84+ straddling at 64/32/16) decodes sample-exact against our decoder AND ffmpeg.
85+- metric unit check `a_block_the_frame_edge_cuts_is_scored_over_its_inside_only`.
86+- full lib suite (release, detached): **564 passed, 0 failed, 44 ignored**
87+ in 714s (`lanes/sse-suite.log`); the charter's 561 baseline plus this lane's
88+ two new tests plus one that landed on main since.
89+- `cargo check --workspace --all-targets -j4`: 0 errors, 0 ec-av1 warnings
90+ (the 25 remaining are pre-existing ec-opus/ec-vorbis doc warnings).
91+
92+## Not done
93+
94+- `Plane::block_sad` (the MOTION SEARCH's distortion) still scores the whole
95+ block. Deliberate: libaom's motion search runs full-block SAD on its padded
96+ source too, and this lane is the RD distortion. Flagged, not fixed.