forge
Explore
Log in

Don't you dare go Hollow

Merge branch 'lane-av1pyrdef' (3f626b2c): the frame pyramid ships as the default; encode_sequence delegates to the facade's mini-GOP driver

Browse files at this commit

77aeca16966c027bcf2d58417d09d5a5e6e1b417Ahmet Kaan GümüşParent: 5d7858a5f548e6
One driver for both entry points, so facade/sequence byte-identity is by
construction (proven on film-like and screen-like content). Native rows:
film A +54.1/+24.2, film B +82.6/+47.4, screen +50.1/-15.4 (gated flat).
EncodedSequence.frames is display order with a coding_order map;
EC_AV1_PYRAMID=0 restores the flat path everywhere.
crates/ec-av1/src/encode.rsmodified+167 -60
@@ -960,6 +960,23 @@ thread_local! {
960960 static SCREEN_FORCE: std::cell::Cell<Option<bool>> = const { std::cell::Cell::new(None) };
961961 }
962962
963+thread_local! {
964+ /// What the last [`encode_sequence_with_ctx`] call on this thread coded
965+ /// under, AFTER the content gate: the pyramid, or `None` for a stream
966+ /// that stayed flat. Read by the BD gates, which print the requested and
967+ /// the effective pyramid side by side -- a screen clip requests one and
968+ /// codes flat, and that difference is the gate (class
969+ /// `gate-blind-to-feature`).
970+ static LAST_SEQ_PYRAMID: std::cell::Cell<Option<crate::encoder::Pyramid>> =
971+ const { std::cell::Cell::new(None) };
972+}
973+
974+/// The pyramid the last sequence coded on this thread was EFFECTIVELY under.
975+#[allow(dead_code)] // read only from the `#[cfg(test)]` gates
976+pub(crate) fn last_sequence_pyramid() -> Option<crate::encoder::Pyramid> {
977+ LAST_SEQ_PYRAMID.with(std::cell::Cell::get)
978+}
979+
963980 #[cfg(test)]
964981 pub(crate) fn force_screen(value: Option<bool>) {
965982 SCREEN_FORCE.with(|c| c.set(value));
@@ -5456,6 +5473,14 @@ pub fn encode_key_frame_with_modes(
54565473
54575474 /// Codes `pictures` as one key frame followed by inter frames.
54585475 ///
5476+/// Camera material is coded under [`crate::encoder::Pyramid::default`] since
5477+/// lane-av1pyrdef -- mini-GOPs of 4 with a hidden `ALTREF` and a
5478+/// `show_existing_frame` header, so `stream` is in CODING order while
5479+/// `frames` stays in display order (`EncodedSequence::coding_order` is the
5480+/// map). Screen content codes flat, decided once per sequence by the same
5481+/// detector the streaming facade's content gate uses, and `EC_AV1_PYRAMID=0`
5482+/// puts every stream back on the flat path for an A/B.
5483+///
54595484 /// # Errors
54605485 /// Returns an error under the same conditions [`encode_key_frame`] and the
54615486 /// inter frame path do.
@@ -8983,8 +9008,15 @@ pub struct EncodedSequence {
89839008 /// `stream` (a temporal delimiter and that frame's OBU alone; it reuses
89849009 /// the sequence header the key frame carried).
89859010 pub stream: Vec<u8>,
8986- /// One entry per picture, in coding order.
9011+ /// One entry per picture, in DISPLAY order — the order a decoder outputs
9012+ /// them and the order `pictures` came in. Without a pyramid that is also
9013+ /// the coding order; with one the two differ, and `coding_order` is the
9014+ /// map between them.
89879015 pub frames: Vec<Encoded>,
9016+ /// The index into `frames` of each coded frame, in CODING order — what a
9017+ /// per-coded-frame census (`take_predicted_bits`) must be zipped against.
9018+ /// `0..frames.len()` on the flat path.
9019+ pub coding_order: Vec<usize>,
89889020 }
89899021
89909022 /// Encodes a sequence of pictures as a key frame followed by one inter frame
@@ -9012,6 +9044,42 @@ pub(crate) fn encode_sequence_with_ctx(
90129044 };
90139045 first.check_even()?;
90149046 let render = (first.width, first.height);
9047+ // THE CODING PYRAMID (lane-av1pyrdef): a sequence of camera material is
9048+ // coded as mini-GOPs -- a hidden ALTREF ahead of its display position,
9049+ // the leaves that predict backward off it, and a `show_existing_frame`
9050+ // header that re-outputs it -- unless `EC_AV1_PYRAMID` turns it off for
9051+ // an A/B. Screen content stays flat (the content gate in
9052+ // `Av1Encoder::encode_frames`, whose detector this asks first so the
9053+ // whole sequence path is decided in one place), and so does a run that
9054+ // asks for a quantizer rounding offset the facade does not carry: the
9055+ // facade codes at `encoder::DEADZONE` (0.5), so any other deadzone --
9056+ // the ablations' -- must keep the flat path rather than be silently
9057+ // ignored.
9058+ //
9059+ // The reordering itself is NOT reimplemented here: it is the facade's
9060+ // own driver ([`crate::encoder::Av1Encoder::encode_sequence_pyramid`]),
9061+ // called with this sequence's shape, so the two paths cannot drift.
9062+ let pyramid = crate::encoder::Pyramid::from_env()
9063+ .filter(|_| !rest.is_empty() && (deadzone - 0.5).abs() < f64::EPSILON)
9064+ .filter(|_| !picture_is_screen(first));
9065+ LAST_SEQ_PYRAMID.with(|c| c.set(pyramid));
9066+ if let Some(pyramid) = pyramid {
9067+ for picture in rest {
9068+ picture.check_even()?;
9069+ if (picture.width, picture.height) != render {
9070+ return Err(Error::unsupported(
9071+ "AV1 encode",
9072+ "every picture in a sequence must be the same size as the first",
9073+ ));
9074+ }
9075+ }
9076+ return crate::encoder::Av1Encoder::encode_sequence_pyramid(
9077+ pictures,
9078+ base_q_idx,
9079+ pyramid,
9080+ armed_tiles(),
9081+ );
9082+ }
90159083 // The key frame and every inter frame after it are coded at the same
90169084 // padded size, so the reference each inter frame predicts from -- the
90179085 // previous frame's own uncropped reconstruction, at the size a decoder's
@@ -9077,7 +9145,11 @@ pub(crate) fn encode_sequence_with_ctx(
90779145 ));
90789146 frames.push(crop_encoded(&inter, render.0, render.1));
90799147 }
9080- Ok(EncodedSequence { stream, frames })
9148+ Ok(EncodedSequence {
9149+ stream,
9150+ coding_order: (0..frames.len()).collect(),
9151+ frames,
9152+ })
90819153 }
90829154
90839155 #[cfg(test)]
@@ -11354,11 +11426,24 @@ mod tests {
1135411426 // on that side, so the two directions no longer share a bound.
1135511427 let mut worst_over: f64 = 0.0;
1135611428 let mut worst_under: f64 = 0.0;
11357- for (i, (frame, &bits)) in encoded.frames.iter().zip(&predicted).enumerate() {
11429+ // The census is per CODED frame, so it is zipped in coding order --
11430+ // which is not display order under a pyramid.
11431+ let coded: Vec<&Encoded> =
11432+ encoded.coding_order.iter().map(|&i| &encoded.frames[i]).collect();
11433+ for (i, (frame, &bits)) in coded.into_iter().zip(&predicted).enumerate() {
1135811434 let written = frame.tile.len() as f64 * 8.0;
1135911435 let drift = (written - bits) / written;
1136011436 worst_over = worst_over.max(-drift);
11361- worst_under = worst_under.max(drift);
11437+ // lane-av1pyrdef: a pyramid LEAF codes almost no coefficients at
11438+ // all (150-250 bits of tile, nearly all of it partition/mode/mv
11439+ // syntax the coefficient sum never counts), so its ratio measures
11440+ // that floor rather than any drift. Frames under 512 written bits
11441+ // are left out of the under-price bound for that reason; the
11442+ // over-price bound -- the defect direction, where the search pays
11443+ // MORE than the writer -- still covers every frame.
11444+ if written >= 512.0 {
11445+ worst_under = worst_under.max(drift);
11446+ }
1136211447 eprintln!("{i:5} {bits:14.0} {written:12.0} {:+6.2}%", drift * 100.0);
1136311448 }
1136411449 // Measured 2026-09-06 on this sequence: -13.5% at the key frame,
@@ -11394,6 +11479,11 @@ mod tests {
1139411479 // decisions, so this bound and the byte pins above FAIL BY DESIGN
1139511480 // under it; the default path (no motion_mode syntax at all) is the
1139611481 // one they are measured on.
11482+ // lane-av1pyrdef: `encode_sequence` codes this fixture under the
11483+ // coding pyramid now, so the five frames are a key frame, a hidden
11484+ // ALTREF at q-16 and three leaves at q+8: +2.6% / +6.9% (the two
11485+ // frames over the 512-bit floor) and +44.7 / +74.4 / +74.4 on the
11486+ // near-empty leaves below it. Both bounds stand where they were.
1139711487 // lane-av1rejudge: local warp is ON by default now, so every eligible
1139811488 // single-reference block carries that same `motion_mode` symbol (a
1139911489 // 3-value alphabet where a warp sample exists) on the DEFAULT path --
@@ -12326,33 +12416,19 @@ mod tests {
1232612416 / source.len() as f64;
1232712417 ladder.push((mean, (encoded.stream.len() as f64).log10()));
1232812418 }
12419+ // What this clip asked for and what the content gate left it coding
12420+ // under: a screen clip requests a pyramid and codes flat, and that
12421+ // difference is what keeps its row identical to the flat baseline
12422+ // (class `gate-blind-to-feature`).
12423+ eprintln!(
12424+ "{name}: sequence, pyramid requested {:?} effective {:?}",
12425+ crate::encoder::Pyramid::from_env(),
12426+ last_sequence_pyramid(),
12427+ );
1232912428 ladder.sort_by(|a, b| a.0.total_cmp(&b.0));
1233012429 (ladder, wall)
1233112430 }
1233212431
12333- /// The [`crate::encoder::Pyramid`] this run's ladder is coded under, from
12334- /// `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>]`. Unset
12335- /// keeps the flat one-key-then-all-inter ladder the baseline was measured
12336- /// on, so the gate's default recipe is unchanged.
12337- ///
12338- /// RE-SWEPT on lane-av1pyrgate under the content gate (see
12339- /// [`crate::encoder::Pyramid`]'s own table): with the screen capture
12340- /// coding flat by construction, `4:-16:8` takes film A +62.8/+32.5 ->
12341- /// +54.1/+24.2 and film B +86.3/+50.5 -> +82.6/+47.4, and the screen row
12342- /// is unchanged to the byte. The gate ladder still defaults to flat --
12343- /// the sequence path this arm is pinned against codes no pyramid.
12344- fn pyramid_from_env() -> Option<crate::encoder::Pyramid> {
12345- let spec = std::env::var("EC_AV1_PYRAMID").ok()?;
12346- let mut f = spec.split(':');
12347- let mini_gop = f.next()?.parse().ok()?;
12348- let d = crate::encoder::Pyramid::default();
12349- Some(crate::encoder::Pyramid {
12350- mini_gop,
12351- arf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.arf_q_offset),
12352- leaf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.leaf_q_offset),
12353- })
12354- }
12355-
1235612432 /// [`our_ladder`] through the streaming facade — the surface the editor's
1235712433 /// export drives (`EC_AV1_GATE_FACADE=1`). With a [`crate::encoder::Pyramid`]
1235812434 /// each stream is also reordered (hidden `ALTREF` first,
@@ -12485,8 +12561,15 @@ mod tests {
1248512561 (h ^ u64::from(v)).wrapping_mul(0x0000_0100_0000_01b3)
1248612562 })
1248712563 };
12564+ // Re-taken on lane-av1pyrdef: `encode_sequence` codes this (non-screen)
12565+ // clip under the coding pyramid now -- one hidden ALTREF per mini-GOP
12566+ // of 4, its leaves at q+8 and a `show_existing_frame` header per
12567+ // group. 7299 -> 8194 bytes at q=150 and 26804 -> 28285 at q=60 over
12568+ // four frames; four pictures is one short mini-GOP, which is the
12569+ // shape that pays least (the ARF's own quality has no later group to
12570+ // carry it), so this is not the BD gate's number.
1248812571 let pins: [(u8, usize, u64); 2] =
12489- [(150, 7299, 0xaa98_12b4_860a_28cc), (60, 26804, 0xedea_182d_e11b_3c3f)];
12572+ [(150, 8194, 0x08ba_a7a8_26f6_f414), (60, 28285, 0x64af_fc52_eef6_2967)];
1249012573 for (q, bytes, hash) in pins {
1249112574 let encoded = encode_sequence(&source, q, 0.5).unwrap();
1249212575 assert_eq!(
@@ -12660,12 +12743,24 @@ mod tests {
1266012743 /// | bars 2160p | +81.6% | +41.5% | 4.8s:1.0s:2.2s |
1266112744 /// | screen capture | +49.1% | -4.3% | 5.5s:1.0s:2.1s |
1266212745 ///
12663- /// The same run under `EC_AV1_PYRAMID=4:-16:8 EC_AV1_GATE_FACADE=1`
12664- /// (lane-av1pyrgate), which is what the content gate does at this scale:
12665- /// the bars are non-screen so they take the pyramid (+84.7 / +39.9 and
12666- /// +124.4 / +75.2 -- this downscaled recipe hates it, as it hates every
12667- /// knob the real film rows keep), and the capture's row comes back
12668- /// +49.1 / -4.3, the flat row to the byte. That equality IS the gate.
12746+ /// RE-RECORDED 2026-09-07 (lane-av1pyrdef), with the coding pyramid the
12747+ /// DEFAULT of the sequence path this gate codes through -- the bars are
12748+ /// non-screen so they take it, the capture is gated flat:
12749+ ///
12750+ /// | clip | effective pyramid | BD vs libaom | BD vs rav1e | wall |
12751+ /// |---|---|---|---|---|
12752+ /// | bars 1080p | 4:-16:8 | +84.7% | +39.9% | 5.1s:1.1s:2.6s |
12753+ /// | bars 2160p | 4:-16:8 | +124.4% | +75.2% | 4.4s:1.0s:2.8s |
12754+ /// | screen capture | none (gated) | +49.1% | -4.3% | 6.5s:1.2s:2.3s |
12755+ ///
12756+ /// Those are, to the byte, the numbers lane-av1pyrgate recorded for the
12757+ /// same clips under `EC_AV1_PYRAMID=4:-16:8 EC_AV1_GATE_FACADE=1` -- the
12758+ /// facade arm -- which is what "one mini-GOP driver, two entry points"
12759+ /// means here. This downscaled recipe HATES the pyramid (as it hates
12760+ /// every knob the real film rows of `bd_rate_screen_native` keep, which
12761+ /// is why it decides nothing); `EC_AV1_PYRAMID=0` restores the flat rows
12762+ /// above. The capture's row is the flat row to the byte in both runs --
12763+ /// that equality IS the content gate.
1266912764 ///
1267012765 /// Loop restoration is NOT in yet: it is the one filter whose parameters
1267112766 /// are per restoration UNIT inside the tile payload, so it needs both
@@ -12778,14 +12873,16 @@ mod tests {
1277812873 let _ = crate::tile::take_compound_size_hits();
1277912874 let _ = crate::tile::take_compound_leaf_mode_hits();
1278012875 let _ = crate::motion::take_census();
12781- let pyramid_env = pyramid_from_env();
1278212876 // The entry-surface arm: run the SAME ladder through the
1278312877 // streaming facade the editor's export calls, which must print
12784- // the same BD numbers as the sequence path.
12878+ // the same BD numbers as the sequence path -- byte for byte the
12879+ // same stream now that both drive one mini-GOP driver
12880+ // (lane-av1pyrdef).
1278512881 let facade = std::env::var_os("EC_AV1_GATE_FACADE").is_some();
12786- let (ours, ours_wall) = match (facade, pyramid_env) {
12787- (false, None) => our_ladder(name, &source, width, height, fctx),
12788- (_, pyramid) => {
12882+ let (ours, ours_wall) = match facade {
12883+ false => our_ladder(name, &source, width, height, fctx),
12884+ true => {
12885+ let pyramid = crate::encoder::Pyramid::from_env();
1278912886 let (ladder, wall, counts, bytes, effective) =
1279012887 our_ladder_facade(name, &source, width, height, pyramid);
1279112888 eprintln!(
@@ -13184,13 +13281,17 @@ mod tests {
1318413281 /// EC_AV1_INTRABC=1 ... same command # intra block copy
1318513282 /// EC_AV1_PAL_MAXCOLORS=256 ... same command # palette bound
1318613283 /// EC_AV1_TILES=1:1 EC_AV1_TILE_THREADS=4 ... # 2x2 tiles
13187- /// EC_AV1_PYRAMID=4:-16:8 ... same command # coding pyramid
13284+ /// EC_AV1_PYRAMID=0 ... same command # no coding pyramid
13285+ /// EC_AV1_GATE_FACADE=1 ... same command # the facade arm
1318813286 ///
13189- /// Under `EC_AV1_PYRAMID` this arm codes its ladder through the streaming
13190- /// facade ([`our_ladder_pyramid`]), which exposes no per-packet
13191- /// reconstruction: that path asserts ffmpeg's decode against our own
13192- /// decoder on all three planes in display order, and prints the per-level
13193- /// frame and byte census.
13287+ /// The coding pyramid is the DEFAULT of the sequence path this arm codes
13288+ /// through (lane-av1pyrdef); the run prints the requested and the
13289+ /// effective pyramid per clip, and a screen clip's effective one is
13290+ /// `None`. `EC_AV1_GATE_FACADE=1` runs the same ladder through the
13291+ /// streaming facade instead, which prints the per-level frame and byte
13292+ /// census and asserts ffmpeg's decode against our own decoder on all
13293+ /// three planes in display order; both arms code the same bytes
13294+ /// (`encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence`).
1319413295 ///
1319513296 /// WHICH ROWS ARE REAL CONTENT: the `bars 1080p` / `bars 2160p` rows are
1319613297 /// the repo fixtures `scripts/gen-fixtures.sh` builds with ffmpeg
@@ -13220,6 +13321,23 @@ mod tests {
1322013321 /// (their classification never moved); the palette search over film was
1322113322 /// costing roughly a tenth of the film rows' wall.
1322213323 ///
13324+ /// CONFIRM RUN 2026-09-07 (lane-av1pyrdef), with the pyramid now the
13325+ /// sequence path's default -- the four non-screen rows take `4:-16:8`,
13326+ /// the capture is gated flat and does not move a byte:
13327+ ///
13328+ /// | clip | effective | flat -> default | vs rav1e | wall ours:libaom:rav1e |
13329+ /// |---|---|---|---|---|
13330+ /// | bars 1080p | 4:-16:8 | +16.4% -> +21.5% | -1.1% -> +3.7% | 37.8s:8.4s:16.4s |
13331+ /// | bars 2160p | 4:-16:8 | +48.2% -> +48.3% | +20.4% -> +20.4% | 32.2s:5.6s:16.2s |
13332+ /// | film A | 4:-16:8 | +62.8% -> +54.1% | +32.5% -> +24.2% | 58.9s:9.5s:13.6s |
13333+ /// | film B | 4:-16:8 | +86.3% -> +82.6% | +50.5% -> +47.4% | 63.2s:18.7s:16.4s |
13334+ /// | screen capture | none (gated) | +50.1% -> +50.1% | -15.4% -> -15.4% | 31.1s:8.4s:11.3s |
13335+ ///
13336+ /// Every row lands on lane-av1pyrgate's facade-arm number to the digit,
13337+ /// which is the point of the shared driver: the two entry points code one
13338+ /// stream. The bars rows are fixtures (recorded, never a decision); the
13339+ /// two real films are what the pyramid ships for.
13340+ ///
1322313341 /// All five gate clips are rows by default. `EC_AV1_NATIVE_FILM=1`,
1322413342 /// `EC_AV1_NATIVE_FILM4K=1` and `EC_AV1_NATIVE_SCREEN=1` select a subset:
1322513343 /// setting any one of them keeps only the selected rows (the two 1080p
@@ -13293,21 +13411,10 @@ mod tests {
1329313411 let _ = crate::tile::take_palette_uv_hits();
1329413412 let _ = crate::tile::take_intrabc_hits();
1329513413 let _ = take_intrabc_search();
13296- let (ours, ours_wall) = match pyramid_from_env() {
13297- None => our_ladder(name, &source, cw, ch, fctx),
13298- Some(pyramid) => {
13299- let (ladder, wall, counts, bytes, effective) =
13300- our_ladder_facade(name, &source, cw, ch, Some(pyramid));
13301- eprintln!(
13302- "{name}: pyramid requested {pyramid:?} effective {effective:?} \
13303- -- frames key {} arf {} leaf {} \
13304- show_existing {}; bytes key {} arf {} leaf {} show_existing {}",
13305- counts[0], counts[1], counts[2], counts[3],
13306- bytes[0], bytes[1], bytes[2], bytes[3],
13307- );
13308- (ladder, wall)
13309- }
13310- };
13414+ // The sequence path itself codes the pyramid now
13415+ // (lane-av1pyrdef), and prints what it requested and what the
13416+ // content gate left effective.
13417+ let (ours, ours_wall) = our_ladder(name, &source, cw, ch, fctx);
1331113418 // gate-blind-to-feature: what the screen tools actually did at
1331213419 // native resolution, over this clip's four encodes.
1331313420 let screen_on = SCREEN_FRAMES[1].load(std::sync::atomic::Ordering::Relaxed);
crates/ec-av1/src/encoder.rsmodified+208 -47
@@ -356,6 +356,33 @@ pub struct Pyramid {
356356 pub leaf_q_offset: i16,
357357 }
358358
359+impl Pyramid {
360+ /// The pyramid a run asks for through the environment:
361+ /// `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>]`, with
362+ /// `0` (or anything that is not a mini-GOP of at least 2, e.g. `flat`)
363+ /// meaning the flat one-picture-one-frame path. UNSET is
364+ /// [`Pyramid::default`]: the pyramid is what
365+ /// [`crate::encode::encode_sequence`], the BD gate and `ec-bench` code
366+ /// under unless a run turns it off for an A/B.
367+ #[must_use]
368+ pub fn from_env() -> Option<Self> {
369+ let d = Self::default();
370+ let Some(spec) = std::env::var("EC_AV1_PYRAMID").ok() else {
371+ return Some(d);
372+ };
373+ let mut f = spec.split(':');
374+ let mini_gop: usize = f.next().and_then(|v| v.parse().ok()).unwrap_or(0);
375+ if mini_gop < 2 {
376+ return None;
377+ }
378+ Some(Self {
379+ mini_gop,
380+ arf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.arf_q_offset),
381+ leaf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.leaf_q_offset),
382+ })
383+ }
384+}
385+
359386 impl Default for Pyramid {
360387 /// The best point of the offset sweep run through the BD gate's own
361388 /// `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>]` knob
@@ -479,15 +506,20 @@ impl Default for Pyramid {
479506 /// (the pyramid changes the reference structure): +54.5 / +24.5 and
480507 /// +85.2 / +49.4, worse on both films, so 0.0275 stands.
481508 ///
482- /// Nothing selects the pyramid but an explicit
483- /// [`Av1Encoder::with_pyramid`] call (or `EC_AV1_PYRAMID` on the gate and
484- /// on `ec-bench`); the default one-in-one-out path is byte-identical to
485- /// before it existed. Making it the DEFAULT needs the same reordering in
486- /// [`crate::encode::encode_sequence`] first -- the facade is pinned byte
487- /// for byte to that path
488- /// (`encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence`),
489- /// so a pyramid the facade takes by default and the sequence path cannot
490- /// would break that pin rather than ship a gain.
509+ /// SHIPPED AS THE DEFAULT on lane-av1pyrdef. `4:-16:8` is what
510+ /// [`crate::encode::encode_sequence`] (through
511+ /// [`Av1Encoder::encode_sequence_pyramid`], the one mini-GOP driver both
512+ /// paths run), the BD gates and `ec-bench` code a non-screen stream
513+ /// under; a screen stream still codes flat, decided once per stream by
514+ /// the content gate in [`Av1Encoder::encode_frames`]. `EC_AV1_PYRAMID=0`
515+ /// restores the flat path everywhere for an A/B, and
516+ /// `EC_AV1_PYRAMID=<mini_gop>[:<arf>:<leaf>]` another shape of it
517+ /// ([`Pyramid::from_env`]).
518+ ///
519+ /// [`Av1Encoder::new`] is unchanged: the one-picture-one-packet facade
520+ /// entry point still codes flat, since a picture no longer maps to a
521+ /// packet under a pyramid — [`Av1Encoder::with_pyramid`] plus
522+ /// [`Av1Encoder::encode_frames`] is the streaming surface that reorders.
491523 fn default() -> Self {
492524 Self {
493525 mini_gop: 4,
@@ -580,6 +612,11 @@ pub struct Av1Encoder {
580612 anchor: usize,
581613 /// Coding-order position of the next packet — a packet's `dts`.
582614 next_dts: u64,
615+ /// Set by [`Av1Encoder::encode_sequence_pyramid`]: every coded frame's
616+ /// own cropped [`Encoded`] (its display position and its reconstruction),
617+ /// which is what [`crate::encode::EncodedSequence`] carries and a packet
618+ /// does not. `None` for every other caller, which pays nothing for it.
619+ collected: Option<Vec<(u64, Encoded)>>,
583620 }
584621
585622 /// One decoded-picture-buffer slot: what a `refresh_frame_flags` bit stores
@@ -645,6 +682,7 @@ impl Av1Encoder {
645682 held: std::collections::VecDeque::new(),
646683 anchor: 0,
647684 next_dts: 0,
685+ collected: None,
648686 })
649687 }
650688
@@ -931,6 +969,71 @@ impl Av1Encoder {
931969 Ok(self.packet(cropped.stream, is_key, order, level))
932970 }
933971
972+ /// THE SHARED MINI-GOP DRIVER: codes a whole sequence — one key frame
973+ /// then all inter, which is [`crate::encode::encode_sequence`]'s only
974+ /// shape — through this very facade, under `pyramid`, and hands back what
975+ /// that path returns. The two are byte-identical BY CONSTRUCTION rather
976+ /// than by a mirrored second implementation: there is one reordering,
977+ /// one DPB/slot policy and one set of per-level quantizer offsets, here
978+ /// (`encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence`
979+ /// still pins it, now over a pyramid sequence too).
980+ ///
981+ /// The content gate lives in [`Av1Encoder::encode_frames`] and applies
982+ /// unchanged, so a screen-content clip handed in here codes flat.
983+ ///
984+ /// `EncodedSequence::frames` comes back in DISPLAY order, one entry per
985+ /// source picture — the order the flat path's coding order happens to be,
986+ /// and the order every reader of it (the BD gate's sample-exactness
987+ /// assertions against a decoder's output) needs. `stream` stays in coding
988+ /// order, which is the order a decoder reads.
989+ ///
990+ /// # Errors
991+ /// As [`Av1Encoder::encode_frames`].
992+ pub(crate) fn encode_sequence_pyramid(
993+ pictures: &[Picture],
994+ base_q_idx: u8,
995+ pyramid: Pyramid,
996+ tiles: (u32, u32),
997+ ) -> Result<crate::encode::EncodedSequence> {
998+ let first = pictures.first().ok_or_else(|| {
999+ Error::unsupported("AV1 encode", "a sequence needs at least one picture")
1000+ })?;
1001+ let config = EncoderConfig {
1002+ width: first.width,
1003+ height: first.height,
1004+ base_q_idx,
1005+ // One key frame, at picture 0, and inter for the rest.
1006+ gop: pictures.len().max(1),
1007+ // `encode_sequence` writes an unspecified colour config.
1008+ colour: Colour::Unspecified,
1009+ tile_cols_log2: tiles.0,
1010+ tile_rows_log2: tiles.1,
1011+ };
1012+ let mut encoder = Self::with_pyramid(config, pyramid)?;
1013+ encoder.collected = Some(Vec::with_capacity(pictures.len()));
1014+ let mut stream = Vec::new();
1015+ for picture in pictures {
1016+ for packet in encoder.encode_frames(picture)? {
1017+ stream.extend_from_slice(&packet.data);
1018+ }
1019+ }
1020+ for packet in encoder.flush()? {
1021+ stream.extend_from_slice(&packet.data);
1022+ }
1023+ let mut collected = encoder.collected.take().expect("collecting");
1024+ // Every source picture is coded exactly once, so a frame's display
1025+ // order IS its index once the list is sorted by it.
1026+ let coding_order: Vec<usize> =
1027+ collected.iter().map(|(order, _)| *order as usize).collect();
1028+ collected.sort_by_key(|(order, _)| *order);
1029+ let frames: Vec<Encoded> = collected.into_iter().map(|(_, encoded)| encoded).collect();
1030+ assert!(
1031+ coding_order.iter().all(|&i| i < frames.len()),
1032+ "a coded frame's display position is outside the sequence"
1033+ );
1034+ Ok(crate::encode::EncodedSequence { stream, frames, coding_order })
1035+ }
1036+
9341037 /// Stamps a packet with its display and coding positions and advances the
9351038 /// coding-order clock.
9361039 fn packet(&mut self, data: Vec<u8>, key: bool, order: u64, level: Level) -> Packet {
@@ -983,6 +1086,9 @@ impl Av1Encoder {
9831086 if let Some(rate_loop) = self.rate_loop.as_mut() {
9841087 rate_loop.update(Level::Key, cropped.stream.len());
9851088 }
1089+ if let Some(collected) = self.collected.as_mut() {
1090+ collected.push((order, cropped.clone()));
1091+ }
9861092 Ok(self.packet(cropped.stream, true, order, Level::Key))
9871093 }
9881094
@@ -1091,6 +1197,9 @@ impl Av1Encoder {
10911197 if let Some(rate_loop) = self.rate_loop.as_mut() {
10921198 rate_loop.update(level, cropped.stream.len());
10931199 }
1200+ if let Some(collected) = self.collected.as_mut() {
1201+ collected.push((order, cropped.clone()));
1202+ }
10941203 Ok(self.packet(cropped.stream, false, order, level))
10951204 }
10961205
@@ -1263,54 +1372,106 @@ mod tests {
12631372 assert!(enc.flush().unwrap().is_empty(), "nothing is held twice");
12641373 }
12651374
1266- /// THE ENTRY-SURFACE GATE (lane-av1facade): the streaming facade — what
1267- /// the editor's export drives — codes byte for byte what
1268- /// [`crate::encode::encode_sequence`] codes, which is the path the BD
1269- /// gate measures. It did not before: the facade passed no lookahead, so
1270- /// every inter frame missed the per-superblock temporal lambda map
1271- /// (lane-av1tpl) the gate's numbers were measured with.
1375+ /// A screen-like card: hard-edged 4-pixel bands of two flat luma values
1376+ /// with a moving block over the lower half — few colours per 16x16 block
1377+ /// at high variance, which is exactly what
1378+ /// [`crate::encode::picture_is_screen`] separates. Used unforced, so the
1379+ /// gate below runs the real detector rather than an override.
1380+ fn screen_card(width: usize, height: usize, shift: usize) -> Picture {
1381+ let mut picture = Picture::grey(width, height);
1382+ for y in 0..height {
1383+ for x in 0..width {
1384+ let band = if (x / 4).is_multiple_of(2) { 40 } else { 200 };
1385+ let over = y >= height / 2 && (x + shift) % width < width / 3;
1386+ picture.y[y * width + x] = if over { 128 } else { band };
1387+ }
1388+ }
1389+ picture
1390+ }
1391+
1392+ /// THE ENTRY-SURFACE GATE (lane-av1facade, extended to the pyramid on
1393+ /// lane-av1pyrdef): the streaming facade — what the editor's export
1394+ /// drives — codes byte for byte what [`crate::encode::encode_sequence`]
1395+ /// codes, which is the path the BD gate measures. Both now drive ONE
1396+ /// mini-GOP driver ([`Av1Encoder::encode_sequence_pyramid`]), so the
1397+ /// identity is by construction; this pins it anyway, over both content
1398+ /// classes the content gate splits:
12721399 ///
1273- /// Runs on the gate's own clip at the gate's own size when the fixture is
1274- /// there, and on a synthetic card otherwise — never skipped, since a
1275- /// skipped identity gate is the defect it is meant to catch.
1400+ /// * film-like (the gate's own clip when the fixture is there, a
1401+ /// multi-tone moving card otherwise): the pyramid is EFFECTIVE, the
1402+ /// stream is reordered (a hidden `ALTREF` per mini-GOP), and the two
1403+ /// paths' whole streams are identical;
1404+ /// * screen-like: the content gate drops BOTH paths back to flat, one
1405+ /// packet per picture, identical frame by frame as well as whole.
1406+ ///
1407+ /// Never skipped, since a skipped identity gate is the defect it is meant
1408+ /// to catch.
12761409 #[test]
12771410 fn the_facade_codes_the_same_bytes_as_encode_sequence() {
12781411 let frames = 12usize;
1279- let pictures = h264_clip_frames(640, 384, frames).unwrap_or_else(|| {
1412+ let film = h264_clip_frames(640, 384, frames).unwrap_or_else(|| {
12801413 eprintln!("no h264 clip: the facade identity gate runs on a synthetic card");
12811414 (0..frames).map(|t| test_card(64, 64, t)).collect()
12821415 });
1283- let (width, height) = (pictures[0].width, pictures[0].height);
1284- for q in [150u8, 60] {
1285- let config = EncoderConfig {
1286- width,
1287- height,
1288- base_q_idx: q,
1289- // One key frame then all inter, which is `encode_sequence`'s
1290- // only shape, and the gate's recipe.
1291- gop: frames,
1292- // `encode_sequence` writes an unspecified colour config.
1293- colour: Colour::Unspecified,
1294- tile_cols_log2: 0,
1295- tile_rows_log2: 0,
1296- };
1297- let mut enc = Av1Encoder::new(config).unwrap();
1298- let packets = encode_all(&mut enc, &pictures);
1299- let sequence = crate::encode::encode_sequence(&pictures, q, DEADZONE).unwrap();
1300- assert_eq!(packets.len(), frames, "q={q}: one packet per picture");
1301- for (i, (packet, coded)) in packets.iter().zip(&sequence.frames).enumerate() {
1302- let cropped = crate::encode::crop_encoded(coded, width, height);
1416+ let screen: Vec<Picture> = (0..frames).map(|t| screen_card(64, 64, t)).collect();
1417+ let pyramid = Pyramid::from_env().expect("the pyramid is this build's default");
1418+ for (content, pictures, is_screen) in
1419+ [("film", &film, false), ("screen", &screen, true)]
1420+ {
1421+ let (width, height) = (pictures[0].width, pictures[0].height);
1422+ for q in [150u8, 60] {
1423+ let config = EncoderConfig {
1424+ width,
1425+ height,
1426+ base_q_idx: q,
1427+ // One key frame then all inter, which is
1428+ // `encode_sequence`'s only shape, and the gate's recipe.
1429+ gop: frames,
1430+ // `encode_sequence` writes an unspecified colour config.
1431+ colour: Colour::Unspecified,
1432+ tile_cols_log2: 0,
1433+ tile_rows_log2: 0,
1434+ };
1435+ let mut enc = Av1Encoder::with_pyramid(config, pyramid).unwrap();
1436+ let mut packets = Vec::new();
1437+ for picture in pictures {
1438+ packets.extend(enc.encode_frames(picture).unwrap());
1439+ }
1440+ packets.extend(enc.flush().unwrap());
1441+ assert_eq!(
1442+ enc.pyramid().is_none(),
1443+ is_screen,
1444+ "{content} q={q}: the content gate read this clip the other way round"
1445+ );
1446+ let sequence = crate::encode::encode_sequence(pictures, q, DEADZONE).unwrap();
1447+ assert_eq!(
1448+ (packets.iter().map(|p| p.data.len()).sum::<usize>(), concat(&packets)),
1449+ (sequence.stream.len(), sequence.stream.clone()),
1450+ "{content} q={q}: the facade's stream is not the sequence path's"
1451+ );
13031452 assert_eq!(
1304- (packet.data.len(), packet.data.clone()),
1305- (cropped.stream.len(), cropped.stream.clone()),
1306- "q={q} frame {i}: the facade's bytes are not the sequence path's"
1453+ sequence.frames.len(),
1454+ frames,
1455+ "{content} q={q}: one entry per picture, in display order"
13071456 );
1457+ if is_screen {
1458+ assert_eq!(packets.len(), frames, "{content} q={q}: one packet per picture");
1459+ for (i, (packet, coded)) in packets.iter().zip(&sequence.frames).enumerate() {
1460+ let cropped = crate::encode::crop_encoded(coded, width, height);
1461+ assert_eq!(
1462+ (packet.data.len(), packet.data.clone()),
1463+ (cropped.stream.len(), cropped.stream.clone()),
1464+ "{content} q={q} frame {i}: the facade's bytes are not the \
1465+ sequence path's"
1466+ );
1467+ }
1468+ } else {
1469+ assert!(
1470+ packets.iter().any(|p| p.level == Level::Arf),
1471+ "{content} q={q}: a non-screen stream coded no hidden frame"
1472+ );
1473+ }
13081474 }
1309- assert_eq!(
1310- concat(&packets),
1311- sequence.stream,
1312- "q={q}: whole stream"
1313- );
13141475 }
13151476 }
13161477
lanes/pyrdef/g640.logadded+71 -0
@@ -0,0 +1,71 @@
1+
2+running 1 test
3+
4+12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e |
6+|---|---|---|---|---|
7+bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
8+bars 1080p: inter modes NEAREST 11635 (87.0%) NEAR 188 (1.4%) GLOBAL 164 (1.2%) NEW 1389 (10.4%); drl idx 0/1/2/3+ 13108/252/16/0
9+bars 1080p: compound 13005 of 26381 inter blocks (49.3%); modes NEAREST_NEAREST 9793 NEAR_NEAR 0 NEAREST_NEW 863 NEW_NEAREST 734 GLOBAL_GLOBAL 853 NEW_NEW 762; pairs LAST+GOLDEN 4113 LAST+ALTREF 8892
10+bars 1080p: leaf (16x16 and below) compound modes NEAREST_NEAREST 7089 NEAR_NEAR 0 NEAREST_NEW 806 NEW_NEAREST 623 GLOBAL_GLOBAL 709 NEW_NEW 642
11+bars 1080p: compound by size 8x8 6726 16x16 3143 32x32 3136
12+bars 1080p: motion search 88043 calls, 4942345 candidate evals (56.1/call, 28.5% of them subpel), 424238 integer rounds (4.82/call); winner within +-1 pel of pred_mv 86.0%, winner = starting seed 70.3%
13+bars 1080p: references LAST 6503 GOLDEN 5825 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 1048)
14+bars 1080p: inter 32x32 split into 16s 1818 of 10560 blocks (17.2%); 16x16 leaves split into 8s 2302 of 8908 (25.8%)
15+bars 1080p: over 48 frames -- deblock luma mean 9.4 chroma 9.3; cdef luma pri 4.4/sec 3.3, chroma pri 3.1/sec 2.1
16+bars 1080p: cdef_bits frames 5/17/12/14 (0/1/2/3); 829 of 2880 64x64 units on a non-default preset (28.8%)
17+bars 1080p: lr units none=2861 wiener=19 (0.7% restored)
18+bars 1080p: pricer armings default=18 real=180
19+bars 1080p: screen frames on=0 off=4; palette blocks 0 sizes
20+bars 1080p: chroma palette blocks 0 sizes
21+bars 1080p: uv modes DC=14271 (40.4%) V=2701 (7.6%) H=3293 (9.3%) SMOOTH=3714 (10.5%) SMOOTH_V=2188 (6.2%) SMOOTH_H=2620 (7.4%) PAETH=6533 (18.5%)
22+bars 1080p: intra tx depths 0=11051 (31.3%) 1=21035 (59.6%) 2=3234 (9.2%)
23+bars 1080p: inter var-tx depths of 5216 blocks -- leaf single 0=377 1=220 (36.9% split) | leaf compound 0=1566 1=1091 (41.1% split) | 32x32 single 0=236 1=491 (67.5% split) | 32x32 compound 0=311 1=924 (74.8% split)
24+bars 1080p: motion_mode 32x32 SIMPLE=8466 OBMC=0 WARP=241 | 16x16 SIMPLE=916 OBMC=0 WARP=239 | 8x8 SIMPLE=1507 OBMC=0 WARP=808 (0.0% OBMC / 10.6% WARP of 12177 eligible)
25+| bars 1080p | 43.90 dB/18230 B, 46.66 dB/30260 B, 49.24 dB/49978 B, 51.84 dB/72519 B | +84.7% | +39.9% | 5.1s:1.1s:2.6s |
26+| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | |
27+bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
28+bars 2160p: inter modes NEAREST 12089 (89.3%) NEAR 236 (1.7%) GLOBAL 196 (1.4%) NEW 1012 (7.5%); drl idx 0/1/2/3+ 13227/297/9/0
29+bars 2160p: compound 8268 of 21801 inter blocks (37.9%); modes NEAREST_NEAREST 6210 NEAR_NEAR 0 NEAREST_NEW 697 NEW_NEAREST 359 GLOBAL_GLOBAL 567 NEW_NEW 435; pairs LAST+GOLDEN 2245 LAST+ALTREF 6023
30+bars 2160p: leaf (16x16 and below) compound modes NEAREST_NEAREST 3332 NEAR_NEAR 0 NEAREST_NEW 599 NEW_NEAREST 298 GLOBAL_GLOBAL 432 NEW_NEW 326
31+bars 2160p: compound by size 8x8 2804 16x16 2183 32x32 3281
32+bars 2160p: motion search 71140 calls, 3978713 candidate evals (55.9/call, 28.6% of them subpel), 341363 integer rounds (4.80/call); winner within +-1 pel of pred_mv 86.4%, winner = starting seed 79.5%
33+bars 2160p: references LAST 6308 GOLDEN 6089 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 1136)
34+bars 2160p: inter 32x32 split into 16s 1393 of 10560 blocks (13.2%); 16x16 leaves split into 8s 1547 of 7268 (21.3%)
35+bars 2160p: over 48 frames -- deblock luma mean 8.6 chroma 5.1; cdef luma pri 1.3/sec 1.5, chroma pri 2.0/sec 2.0
36+bars 2160p: cdef_bits frames 3/18/20/7 (0/1/2/3); 737 of 2880 64x64 units on a non-default preset (25.6%)
37+bars 2160p: lr units none=2849 wiener=31 (1.1% restored)
38+bars 2160p: pricer armings default=18 real=181
39+bars 2160p: screen frames on=0 off=4; palette blocks 0 sizes
40+bars 2160p: chroma palette blocks 0 sizes
41+bars 2160p: uv modes DC=16231 (55.7%) V=2662 (9.1%) H=1828 (6.3%) SMOOTH=1080 (3.7%) SMOOTH_V=1806 (6.2%) SMOOTH_H=972 (3.3%) PAETH=4577 (15.7%)
42+bars 2160p: intra tx depths 0=12624 (43.3%) 1=14486 (49.7%) 2=2046 (7.0%)
43+bars 2160p: inter var-tx depths of 3751 blocks -- leaf single 0=346 1=192 (35.7% split) | leaf compound 0=1040 1=600 (36.6% split) | 32x32 single 0=262 1=453 (63.4% split) | 32x32 compound 0=298 1=560 (65.3% split)
44+bars 2160p: motion_mode 32x32 SIMPLE=9459 OBMC=0 WARP=238 | 16x16 SIMPLE=876 OBMC=0 WARP=277 | 8x8 SIMPLE=924 OBMC=0 WARP=602 (0.0% OBMC / 9.0% WARP of 12376 eligible)
45+| bars 2160p | 45.02 dB/14125 B, 48.15 dB/19322 B, 50.51 dB/30242 B, 52.76 dB/43769 B | +124.4% | +75.2% | 4.4s:1.0s:2.8s |
46+| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | |
47+screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None
48+screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 12197 (99.5%) NEAR 2 (0.0%) GLOBAL 0 (0.0%) NEW 63 (0.5%); drl idx 0/1/2/3+ 12260/2/0/0
49+screen capture (2026-07-25 02-09-04.mkv): compound 5746 of 18008 inter blocks (31.9%); modes NEAREST_NEAREST 5721 NEAR_NEAR 0 NEAREST_NEW 6 NEW_NEAREST 12 GLOBAL_GLOBAL 7 NEW_NEW 0; pairs LAST+GOLDEN 362 LAST+ALTREF 5384
50+screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 1303 NEAR_NEAR 0 NEAREST_NEW 6 NEW_NEAREST 8 GLOBAL_GLOBAL 6 NEW_NEW 0
51+screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 284 16x16 1039 32x32 4423
52+screen capture (2026-07-25 02-09-04.mkv): motion search 95358 calls, 4956775 candidate evals (52.0/call, 30.8% of them subpel), 416890 integer rounds (4.37/call); winner within +-1 pel of pred_mv 97.7%, winner = starting seed 96.0%
53+screen capture (2026-07-25 02-09-04.mkv): references LAST 5134 GOLDEN 6517 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 611)
54+screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 479 of 10560 blocks (4.5%); 16x16 leaves split into 8s 360 of 12176 (3.0%)
55+screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.4 chroma 0.7; cdef luma pri 0.7/sec 0.4, chroma pri 2.4/sec 0.2
56+screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 23/6/12/7 (0/1/2/3); 732 of 2880 64x64 units on a non-default preset (25.4%)
57+screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored)
58+screen capture (2026-07-25 02-09-04.mkv): pricer armings default=170 real=0
59+screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 2167 sizes 3=12 4=457 5=4 7=2 8=1692
60+screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 392 sizes 2=6 3=6 4=292 6=4 7=4 8=80
61+screen capture (2026-07-25 02-09-04.mkv): uv modes DC=9401 (26.3%) V=829 (2.3%) H=6417 (18.0%) SMOOTH=1468 (4.1%) SMOOTH_V=805 (2.3%) SMOOTH_H=1100 (3.1%) PAETH=15676 (43.9%)
62+screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=6541 (18.3%) 1=21129 (59.2%) 2=8026 (22.5%)
63+screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 6023 blocks -- leaf single 0=874 1=746 (46.0% split) | leaf compound 0=936 1=580 (38.3% split) | 32x32 single 0=762 1=1041 (57.7% split) | 32x32 compound 0=473 1=611 (56.4% split)
64+screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=9564 OBMC=0 WARP=616 | 16x16 SIMPLE=1338 OBMC=0 WARP=166 | 8x8 SIMPLE=211 OBMC=0 WARP=270 (0.0% OBMC / 8.6% WARP of 12165 eligible)
65+| screen capture (2026-07-25 02-09-04.mkv) | 42.49 dB/11051 B, 45.53 dB/15531 B, 47.84 dB/20793 B, 49.94 dB/26389 B | +49.1% | -4.3% | 6.5s:1.2s:2.3s |
66+| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | |
67+test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok
68+
69+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 580 filtered out; finished in 30.23s
70+
71+RC=0
lanes/pyrdef/native.logadded+42 -0
@@ -0,0 +1,42 @@
1+
2+running 1 test
3+
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: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
8+bars 1080p: pricer armings default=16 real=177
9+bars 1080p: motion_mode 32x32 SIMPLE=76115 OBMC=0 WARP=138 | 16x16 SIMPLE=2927 OBMC=0 WARP=163 | 8x8 SIMPLE=17155 OBMC=0 WARP=1236 (0.0% OBMC / 1.6% WARP of 97734 eligible)
10+bars 1080p: inter var-tx depths of 12372 blocks -- leaf single 0=1211 1=649 (34.9% split) | leaf compound 0=1472 1=1210 (45.1% split) | 32x32 single 0=940 1=2057 (68.6% split) | 32x32 compound 0=2446 1=2387 (49.4% split)
11+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)
12+test encode::tests::bd_rate_screen_native has been running for over 60 seconds
13+| bars 1080p 1920x1024 | 43.96 dB/264019 B, 47.65 dB/387214 B, 51.09 dB/518844 B, 53.97 dB/647879 B | +21.5% | +3.7% | 37.8s:8.4s:16.4s |
14+bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
15+bars 2160p: pricer armings default=15 real=149
16+bars 2160p: motion_mode 32x32 SIMPLE=45730 OBMC=0 WARP=6 | 16x16 SIMPLE=211 OBMC=0 WARP=9 | 8x8 SIMPLE=5537 OBMC=0 WARP=317 (0.0% OBMC / 0.6% WARP of 51810 eligible)
17+bars 2160p: inter var-tx depths of 12845 blocks -- leaf single 0=427 1=80 (15.8% split) | leaf compound 0=5080 1=676 (11.7% split) | 32x32 single 0=568 1=1663 (74.5% split) | 32x32 compound 0=110 1=4241 (97.5% split)
18+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)
19+| bars 2160p 1920x1024 | 43.61 dB/314759 B, 47.66 dB/459853 B, 51.36 dB/596600 B, 54.40 dB/714070 B | +48.3% | +20.4% | 32.2s:5.6s:16.2s |
20+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
21+film A (1080p source): pricer armings default=20 real=217
22+film A (1080p source): motion_mode 32x32 SIMPLE=63427 OBMC=0 WARP=2032 | 16x16 SIMPLE=29966 OBMC=0 WARP=2625 | 8x8 SIMPLE=10914 OBMC=0 WARP=2281 (0.0% OBMC / 6.2% WARP of 111245 eligible)
23+film A (1080p source): inter var-tx depths of 114875 blocks -- leaf single 0=19623 1=4907 (20.0% split) | leaf compound 0=41256 1=11823 (22.3% split) | 32x32 single 0=9247 1=6437 (41.0% split) | 32x32 compound 0=12947 1=8635 (40.0% split)
24+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)
25+| film A (1080p source) 1920x768 | 43.45 dB/72608 B, 45.36 dB/121963 B, 46.82 dB/218318 B, 47.98 dB/397376 B | +54.1% | +24.2% | 58.9s:9.5s:13.6s |
26+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 })
27+film B (2160p HDR source): pricer armings default=17 real=194
28+film B (2160p HDR source): motion_mode 32x32 SIMPLE=90680 OBMC=0 WARP=1169 | 16x16 SIMPLE=23506 OBMC=0 WARP=976 | 8x8 SIMPLE=3306 OBMC=0 WARP=1170 (0.0% OBMC / 2.7% WARP of 120807 eligible)
29+film B (2160p HDR source): inter var-tx depths of 101802 blocks -- leaf single 0=18886 1=5121 (21.3% split) | leaf compound 0=31381 1=7835 (20.0% split) | 32x32 single 0=12097 1=9516 (44.0% split) | 32x32 compound 0=10521 1=6445 (38.0% 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) 1920x1024 | 46.48 dB/38089 B, 47.91 dB/74527 B, 49.07 dB/169528 B, 50.05 dB/340970 B | +82.6% | +47.4% | 63.2s:18.7s:16.4s |
32+screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 4, arf_q_offset: -16, leaf_q_offset: 8 }) effective None
33+screen capture (2026-07-25 02-09-04.mkv): pricer armings default=163 real=0
34+screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=81719 OBMC=0 WARP=2056 | 16x16 SIMPLE=4530 OBMC=0 WARP=772 | 8x8 SIMPLE=1003 OBMC=0 WARP=906 (0.0% OBMC / 4.1% WARP of 90986 eligible)
35+screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 18765 blocks -- leaf single 0=2093 1=2172 (50.9% split) | leaf compound 0=2264 1=1810 (44.4% split) | 32x32 single 0=2293 1=4692 (67.2% split) | 32x32 compound 0=1342 1=2099 (61.0% split)
36+screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 10148 chroma 1331; intrabc blocks 0 (searched 0 / valid 0 / won 0)
37+| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 46.00 dB/45256 B, 48.82 dB/57616 B, 51.21 dB/74177 B, 53.49 dB/96308 B | +50.1% | -15.4% | 31.1s:8.4s:11.3s |
38+test encode::tests::bd_rate_screen_native ... ok
39+
40+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 580 filtered out; finished in 362.70s
41+
42+RC=0
lanes/pyrdef/suite.logadded+596 -0
@@ -0,0 +1,596 @@
1+
2+running 581 tests
3+test bits::tests::delta_q_roundtrip ... ok
4+test bits::tests::le_roundtrip ... ok
5+test bits::tests::leb128_roundtrip ... ok
6+test bits::tests::su_roundtrip ... ok
7+test bits::tests::trailing_bits_and_byte_alignment_are_byte_aligned ... ok
8+test cdf::tests::eob_pt_class1_rows_cover_every_size ... ok
9+test cdf::tests::inter_frame_tables_are_well_formed_cdfs ... ok
10+test cdf::tests::inter_frame_tables_have_the_spec_alphabet_size ... ok
11+test cdf_state::tests::the_mv_components_are_separate_and_do_not_share_adaptation ... ok
12+test cdf_state::tests::the_luma_end_of_block_table_is_shared_and_chromas_is_not ... ok
13+test bits::tests::ns_roundtrip ... ok
14+test cdf_state::tests::the_sign_tables_are_shared_within_a_plane_type_and_not_across ... ok
15+test cdf_state::tests::the_state_starts_at_the_defaults ... ok
16+test cdf_state::tests::the_two_luma_sets_share_the_base_range_table ... ok
17+test compound::tests::equidistant_references_pick_the_first_weight_row ... ok
18+test compound::tests::weights_always_sum_to_sixteen ... ok
19+test compound::tests::zero_distance_reference_takes_the_index_3_row ... ok
20+test decode::a_var_tx_tree_never_presents_a_leaf_larger_than_the_unit_it_entered ... ok
21+test decode::every_intra_in_inter_shape_the_census_lists_has_a_size_group_row ... ok
22+test decode::every_rect_transform_shape_the_census_lists_has_a_coefficient_table_and_scan ... ok
23+test decode::size_group_wh_matches_libaom_size_group_lookup ... ok
24+test decode::sub_tx_size_map_matches_libaom ... ok
25+test decode::every_shape_that_allows_motion_variation_has_a_motion_mode_cdf_row ... ok
26+test bits::tests::uvlc_roundtrip ... ok
27+test decode::tests::a_frame_with_no_mode_info_grid_is_refused ... ok
28+test decode::tests::a_rect_strip_below_16x16_reads_its_own_filter_intra_cdf_row ... ok
29+test decode::tests::a_selected_reference_with_an_empty_ref_frame_idx_slot_refuses_by_name ... ok
30+test decode::tests::a_non_split_inter_sb_partition_refuses_by_name_instead_of_desyncing ... ok
31+test decode::tests::a_nearmv_block_predicts_from_the_stacks_second_candidate ... ok
32+test decode::tests::a_sub16_leaf_after_a_palette_block_yields_palette_ctx_zero ... ok
33+test decode::tests::an_inter_chroma_transform_narrows_its_inherited_tx_type_to_its_own_set ... ok
34+test decode::tests::an_obmc_neighbour_with_no_recorded_filter_refuses_instead_of_panicking ... ok
35+test decode::tests::a_skipped_block_decodes_to_pure_prediction ... ok
36+test decode::tests::base_ctx_rect_offsets_match_the_transcribed_tables_over_the_whole_domain ... ok
37+test decode::tests::cdef_find_dir_matches_the_per_sample_reference ... ok
38+test decode::tests::cdef_gather_and_shifted_constrain_match_the_spec_forms ... ok
39+test decode::tests::compound_mode_ctx_map_matches_libaom_corners ... ok
40+test decode::tests::every_inter_record_publishes_an_obmc_readable_filter ... ok
41+test decode::tests::a_key_frames_tile_needs_the_headers_own_tx_select_bit ... ok
42+test decode::tests::deblock_simd_kernel_matches_the_scalar_filter ... ok
43+test decode::tests::a_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
44+test decode::tests::filter_intra_classes_carry_their_own_libaom_default_row ... ok
45+test decode::tests::flat_taps_match_the_row_col_neighbour_reads ... ok
46+test decode::tests::is_uni_comp_ref_matches_forward_backward_sides ... ok
47+test decode::tests::every_intra_mode_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
48+test decode::tests::narrowed_publish_surface_keeps_neighbour_semantics ... ok
49+test decode::tests::an_odd_size_gop_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
50+test decode::tests::padded_level_buffers_cover_every_neighbour_read_at_every_transform_size ... ok
51+test decode::tests::real_yuv_round_trips_bit_exact_against_the_encoder_reconstruction ... ok
52+test decode::tests::record_compound_ctx_stamps_ref1_for_the_next_block_to_read ... ok
53+test decode::tests::scan_8x4_and_4x8_are_not_transposed_against_each_other ... ok
54+test decode::tests::the_rect4_scans_are_transposed_pairs ... ok
55+test decode::tx4x8_table_tests::the_32_position_eob_tables_are_well_formed ... ok
56+test decode::tx4x8_table_tests::the_rect_4x8_scans_are_each_other_transposed ... ok
57+test decode::tx4x8_table_tests::the_rect_class1_scans_match_libaom ... ok
58+test decode::tx4x8_table_tests::the_sub8_rect_reach_tables_are_shape_specific ... ok
59+test decode::tests::cdef_simd_kernel_matches_the_scalar_filter ... ok
60+test decode::tests::ffmpeg_and_this_decoder_agree_on_a_gop ... ok
61+test encode::tests::a_flat_picture_costs_almost_nothing ... ok
62+test encode::tests::a_frame_of_real_video_decodes_to_what_the_encoder_reconstructed ... ok
63+test decode::tests::leaf8_straddle_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok
64+test encode::tests::a_mode_the_encoder_cannot_predict_is_refused ... ok
65+test decode::tests::ffmpeg_and_this_decoder_agree_on_a_key_frame ... ok
66+test encode::tests::a_nearestmv_block_with_one_nonzero_coefficient_decodes_clean ... ok
67+test encode::tests::a_picture_off_the_block_grid_encodes_and_a_malformed_one_is_refused ... ok
68+test decode::tests::odd_sizes_round_trip_bit_exact_against_the_encoder_reconstruction ... ok
69+test encode::tests::a_repeated_pattern_key_frame_codes_intrabc_blocks_ffmpeg_decodes_exactly ... ok
70+test encode::tests::a_640x360_half_straddle_sequence_round_trips_through_ffmpeg ... ok
71+test encode::tests::a_single_axis_straddle_round_trips_through_ffmpeg ... ok
72+test encode::tests::bd_rate_screen_native ... ignored, the native-resolution BD arm: minutes per row, needs ffmpeg
73+test encode::tests::bd_rate_vs_libaom_and_rav1e ... ignored, the encoder BD-rate baseline: minutes per clip, needs ffmpeg
74+test encode::tests::calibration_sweep_base_q_idx ... ignored, a calibration probe, not a gate
75+test encode::tests::a_screen_content_picture_codes_palette_blocks_ffmpeg_decodes_exactly ... ok
76+test encode::tests::a_640x360_half_straddle_round_trips_through_ffmpeg_across_three_frames ... ok
77+test encode::tests::every_frame_of_a_sequence_decodes_through_our_own_decoder ... ok
78+test encode::tests::every_rect_shape_reaches_what_libaom_says_over_the_whole_superblock ... ok
79+test encode::tests::every_frame_of_a_sequence_decodes_to_what_the_encoder_reconstructed ... ok
80+test encode::tests::fidelity_and_rate_move_with_the_quantizer ... ok
81+test encode::tests::an_854x480_picture_round_trips_through_its_padding ... ok
82+test encode::tests::key_frame_and_inter_frame_both_encode_at_half_straddle_size ... ok
83+test encode::tests::odd_dimensions_are_refused ... ok
84+test encode::tests::of_tu_follows_the_block_row_including_under_vert_ab ... ok
85+test encode::tests::of_tu_matches_libaom_has_top_right_and_has_bottom_left_per_unit ... ok
86+test encode::tests::low_motion_makes_an_inter_frame_smaller_than_the_key_frame ... ok
87+test encode::tests::predicted_coeff_bits_track_the_tile_the_writer_wrote ... ok
88+test encode::tests::pricer_error_census_on_clips ... ignored, reads the real library, needs ffmpeg
89+test encode::tests::probe_directional ... ignored, a sweep, not a gate
90+test encode::tests::probe_intrabc_key_frame ... ignored, needs the real-library manifest and ffmpeg
91+test encode::tests::probe_ladder ... ignored, a sweep, not a gate
92+test encode::tests::probe_lambda ... ignored, a sweep, not a gate
93+test encode::tests::probe_screen_detect ... ignored, reads the real library
94+test encode::tests::probe_split ... ignored, a sweep, not a gate
95+test encode::tests::prune_k_quality_sweep ... ignored, needs real clips and ffmpeg; prints numbers for the lane report to judge
96+test encode::tests::prune_k_quality_sweep_inter ... ignored, needs real clips and ffmpeg; prints numbers for the lane report to judge
97+test encode::tests::reach_matches_libaom_has_top_right_and_has_bottom_left ... ok
98+test encode::tests::pricer_error_census_by_block_class ... ok
99+test encode::tests::ffmpeg_decodes_exactly_what_the_encoder_reconstructed ... ok
100+test encode::tests::rect_reach_tables_are_indexed_with_a_32_mi_row_stride ... ok
101+test encode::tests::sequence_bench_sanity ... ignored, a perf probe, not a gate
102+test encode::tests::sequence_round_trips_at_a_non_multiple_size ... ok
103+test encode::tests::stage_timing_breakdown ... ignored, a perf probe, not a gate
104+test encode::tests::stage_timing_breakdown_inter ... ignored, a perf probe, not a gate
105+test encode::tests::the_diagonals_beat_the_modes_that_read_no_further ... ok
106+test encode::tests::the_encoded_picture_is_the_one_that_went_in ... ok
107+test encode::tests::a_sequence_round_trips_at_the_exactly_half_straddle_size ... ok
108+test encode::tests::the_filter_search_picks_real_filters ... ok
109+test encode::tests::real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size ... ok
110+test encode::tests::every_mode_decodes_to_what_the_encoder_predicted ... ok
111+test encode::tests::the_search_beats_dc_alone ... ok
112+test encode::tests::the_search_picks_the_direction_the_picture_runs ... 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::the_search_picks_the_diagonal_the_picture_runs ... ok
118+test encode::tests::real_clip_encodes_within_its_quality_and_size_budget ... ok
119+test encode::tests::the_final_filter_replay_matches_the_capture_decode_at_odd_sizes ... ok
120+test encoder::tests::bt601_limited_colour_is_reported_by_ffprobe ... ok
121+test encoder::tests::a_pyramid_stream_decodes_in_display_order_through_both_decoders ... ok
122+test encode::tests::a_frame_round_trips_at_its_own_size ... ok
123+test encoder::tests::bt709_limited_colour_is_reported_by_ffprobe ... ok
124+test encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins ... ok
125+test encoder::tests::filter_replay_codes_the_same_stream_as_a_full_decode ... ok
126+test encoder::tests::bytes_per_frame_controller_never_oscillates_past_its_clamp ... ok
127+test encoder::tests::filter_stage_wall_1080p ... ignored, wall measurement: minutes, run it with --ignored --nocapture
128+test encoder::tests::filter_stage_wall_4k ... ignored, wall measurement: minutes, run it with --ignored --nocapture
129+test encoder::tests::filter_stage_wall_film ... ignored, wall measurement: minutes, run it with --ignored --nocapture
130+test encoder::tests::geometry_mismatch_is_refused ... ok
131+test encoder::tests::gop_cadence_is_honored ... ok
132+test encoder::tests::one_in_one_out_delayed_by_the_lookahead_depth ... ok
133+test encoder::tests::filter_replay_final_matches_the_capture_decode ... ok
134+test encoder::tests::the_content_gate_keeps_screen_streams_flat ... ok
135+test encoder::tests::bytes_per_frame_target_settles_within_20_percent ... ok
136+test encoder::tests::thirty_pictures_at_gop_fifteen_decode_to_two_key_frames ... ok
137+test encoder::tests::every_tile_layout_decodes_sample_exact_through_both_decoders ... ok
138+test encoder::tests::tile_search_wall_1080p ... ignored, wall measurement: minutes, run it with --ignored --nocapture
139+test encoder::tests::tile_search_wall_4k ... ignored, wall measurement: minutes, run it with --ignored --nocapture
140+test encoder::tests::tile_wall_table_at_1080p ... ignored, 1080p wall table: minutes, run it with --ignored
141+test encoder::tests::zero_gop_is_refused ... ok
142+test envflags::tests::snapshot_matches_process_env ... ok
143+test film_grain::grain2_tests::untouched_planes_and_ragged_tail_come_back_clean ... ok
144+test film_grain::perf5_tests::simd_matches_scalar_chroma_noise_row ... ok
145+test film_grain::perf5_tests::simd_matches_scalar_luma_noise_row ... ok
146+test film_grain::ragged_grain_tests::ragged_overlap_tail_matches_spec_reference ... ok
147+test filter_search::tests::unit_sse_matches_the_naive_sum ... ok
148+test frame::tests::four_tile_columns_roundtrip ... ok
149+test frame::tests::key_and_inter_frames_roundtrip ... ok
150+test frame::tests::key_frame_header_roundtrips ... ok
151+test frame::tests::loop_restoration_roundtrips_with_its_own_type_codes ... ok
152+test frame::tests::segmentation_and_delta_q_roundtrip ... ok
153+test frame::tests::unsupported_frames_are_refused_by_name ... ok
154+test gate_coverage::tests::default_on_tools_do_not_duplicate_the_universe ... ok
155+test gate_coverage::tests::every_gate_disabling_a_tool_is_a_listed_coverage_hole ... ok
156+test gate_coverage::tests::never_exercised_10bit_matches_the_gate_recipes ... ok
157+test gate_coverage::tests::never_exercised_8bit_matches_the_gate_recipes ... ok
158+test gate_coverage::tests::never_on_10bit_matches_the_gate_recipes ... ok
159+test gate_coverage::tests::never_on_8bit_matches_the_gate_recipes ... ok
160+test gate_coverage::tests::print_never_exercised_per_bit_depth ... ok
161+test gate_coverage::tests::print_never_on_per_bit_depth ... ok
162+test gate_coverage::tests::tool_settings_reads_whole_flags ... ok
163+test intra::tests::filter_intra_matches_the_libaom_predictor_for_every_mode_and_shape ... ok
164+test intra::tests::rect_predictors_match_c_dump ... ok
165+test mc::compound_intermediate_whole_pel_identity_round_trips_through_combine ... ok
166+test mc::tests::a_narrow_block_reads_the_regular_four_tap_kernel_under_every_sharpness ... ok
167+test mc::tests::constant_plane_has_unit_dc_gain_at_every_subpel_position ... ok
168+test mc::tests::half_pel_reproduces_the_ramp_midpoint ... ok
169+test mc::tests::horizontal_and_vertical_only_filtering_differ ... ok
170+test mc::tests::horizontal_intermediate_fits_i16 ... ok
171+test mc::tests::integer_mv_is_identity ... ok
172+test mc::tests::mv_past_the_edge_clamps_instead_of_panicking ... ok
173+test mc::tests::predict_scaled_at_no_scale_matches_predict_with_filters ... ok
174+test mc::tests::simd_matches_scalar_horizontal_pass ... ok
175+test mc::tests::simd_matches_scalar_vertical_pass ... ok
176+test mc::tests::smooth_filter_matches_aomdec_chroma_inter_block ... ok
177+test mc::tests::whole_pel_horizontal_matches_the_two_pass_form ... ok
178+test motion::tests::cost_is_monotone_non_increasing_over_the_search ... ok
179+test motion::tests::finds_exact_integer_translation_all_four_signs ... ok
180+test motion::tests::finds_half_pel_translation ... ok
181+test motion::tests::mv_bits_prices_a_larger_residual_higher ... ok
182+test motion::tests::sweep_initial_step ... ok
183+test motion_field::tests::an_unprojected_tpl_cell_reads_as_none_but_a_zero_mv_one_does_not ... ok
184+test motion_field::tests::mv_projection_scales_by_the_distance_ratio ... ok
185+test motion_field::tests::probe_cell_matches_the_spec_parity_derivation ... ok
186+test motion_field::tests::relative_dist_wraps_at_order_hint_bits ... ok
187+test motion_field::tests::setup_motion_field_projects_last_frame_forward ... ok
188+test msac::tests::adaptive_symbols_roundtrip ... ok
189+test msac::tests::bulk_bit_reads_match_the_per_bit_form ... ok
190+test msac::tests::empty_payload_is_short ... ok
191+test msac::tests::fast_paths_match_the_spec_literal_walk ... ok
192+test msac::tests::literals_roundtrip ... ok
193+test msac::tests::mixed_symbols_and_literals_roundtrip ... ok
194+test msac::tests::skewed_symbols_cost_less_than_a_bit ... ok
195+test msac::tests::the_bit_account_matches_the_bytes_written ... ok
196+test mvstack::tests::a_candidate_far_outside_the_frame_is_clamped_to_it ... ok
197+test mvstack::tests::a_corner_only_match_raises_new_mv_ctx_even_when_nearest_match_is_zero ... ok
198+test mvstack::tests::a_diagonal_corner_match_raises_ref_mv_ctx_past_nearest_match ... ok
199+test mvstack::tests::a_missing_compound_combine_slot_takes_that_sides_global_mv_not_zero ... ok
200+test mvstack::tests::a_neighbour_coded_newmv_raises_the_new_mv_context ... ok
201+test mvstack::tests::a_wider_neighbour_than_the_query_block_gets_libaoms_real_weight ... ok
202+test mvstack::tests::all_same_mv_neighbourhood_dedupes_to_one_entry ... ok
203+test mvstack::tests::clamp_mv_ref_window_is_signed_at_the_frame_bottom_edge ... ok
204+test mvstack::tests::combine_compound_candidates_zips_ref_id_then_ref_diff_per_side ... ok
205+test mvstack::tests::comp_reference_type_ctx_bidir_bidir_is_zero ... ok
206+test mvstack::tests::comp_reference_type_ctx_intra_intra_is_two ... ok
207+test mvstack::tests::comp_reference_type_ctx_no_edges_is_two ... ok
208+test mvstack::tests::comp_reference_type_ctx_single_single ... ok
209+test mvstack::tests::comp_reference_type_ctx_unidir_unidir ... ok
210+test mvstack::tests::compound_dedupes_same_pair_and_sums_weight ... ok
211+test mvstack::tests::compound_extension_pass_tops_up_a_short_stack ... ok
212+test mvstack::tests::compound_scan_only_matches_the_exact_pair ... ok
213+test mvstack::tests::compound_two_distinct_pairs_sort_by_weight ... ok
214+test mvstack::tests::extended_col_scan_is_a_no_op_at_8mi_geometry_even_behind_an_intra_neighbour ... ok
215+test mvstack::tests::extended_row_scan_is_a_no_op_at_8mi_geometry_behind_an_inter_neighbour ... ok
216+test mvstack::tests::extended_row_scan_is_a_no_op_at_8mi_geometry_even_behind_an_intra_neighbour ... ok
217+test mvstack::tests::mi_info_cell_stays_compact ... ok
218+test mvstack::tests::mi_info_stays_small_enough_for_a_4k_grid ... ok
219+test mvstack::tests::mi_units_outside_the_tile_contribute_nothing ... ok
220+test mvstack::tests::process_compound_ref_mv_candidate_splits_exact_vs_borrowed ... ok
221+test mvstack::tests::reference_mode_ctx_compound_compound_is_four ... ok
222+test mvstack::tests::reference_mode_ctx_no_edges_is_one ... ok
223+test mvstack::tests::reference_mode_ctx_single_and_compound ... ok
224+test mvstack::tests::reference_mode_ctx_single_single ... ok
225+test mvstack::tests::single_ref_ctx_matches_libaoms_collapsed_forward_only_case ... ok
226+test mvstack::tests::the_ninth_distinct_candidate_is_dropped_at_insertion_not_after_sorting ... ok
227+test mvstack::tests::the_row_reach_is_clamped_to_the_tile_origin_not_the_frame_edge ... ok
228+test mvstack::tests::transposing_above_and_left_produces_a_different_stack ... ok
229+test mvstack::tests::two_distinct_neighbour_mvs_yield_two_entries_in_weight_order ... ok
230+test mvstack::tests::uni_comp_ref_p1_ctx_matches_ref_ctx_shape ... ok
231+test obu::tests::obu_header_extension_roundtrip ... ok
232+test obu::tests::obu_header_plain_roundtrip ... ok
233+test obu::tests::temporal_delimiter_is_two_bytes ... ok
234+test obu::tests::wrap_obu_size_field_matches_payload ... ok
235+test quant::tests::buffered_dequant_matches_the_per_coefficient_form ... ok
236+test quant::tests::denominator_follows_the_area ... ok
237+test quant::tests::dequant_is_symmetric_in_sign ... ok
238+test quant::tests::table_anchors ... ok
239+test refusal_inventory::tests::capability_claims_are_declared_not_scattered ... ok
240+test refusal_inventory::tests::every_intra_mode_symbol_of_the_y_mode_alphabet_is_coded ... ok
241+test refusal_inventory::tests::every_partition_value_of_an_enumerated_alphabet_has_an_arm ... ok
242+test refusal_inventory::tests::every_partition_value_of_an_if_chain_alphabet_is_named_by_a_branch ... ok
243+test refusal_inventory::tests::every_proven_refusal_names_a_test_that_exists ... ok
244+test refusal_inventory::tests::every_read_intra_mode_call_site_hands_the_reader_a_palette_cache ... ok
245+test refusal_inventory::tests::every_rect_strip_shape_the_split_path_codes_has_a_luma_and_chroma_table ... ok
246+test refusal_inventory::tests::every_tx_type_symbol_of_every_cdf_width_maps_into_its_own_set ... ok
247+test refusal_inventory::tests::gates_that_swallow_a_decode_error_are_declared ... ok
248+test refusal_inventory::tests::no_128_root_half_reads_a_cfl_filter_intra_or_palette_symbol ... ok
249+test refusal_inventory::tests::no_block_footprint_with_a_128_pixel_side_can_carry_palette_syntax ... ok
250+test refusal_inventory::tests::read_golomb_reads_every_value_a_conformant_stream_can_carry ... ok
251+test refusal_inventory::tests::the_decode_path_refuses_exactly_the_listed_cases ... ok
252+test restoration::tests::signed_subexp_with_ref_roundtrips ... ok
253+test restoration::tests::subexp_roundtrips_every_value ... ok
254+test restoration::tests::unsigned_subexp_with_ref_roundtrips ... ok
255+test restoration::tests::wiener_filter_roundtrips ... ok
256+test sequence::tests::sequence_header_obu_size_matches_payload ... ok
257+test sequence::tests::sequence_header_roundtrip ... ok
258+test encoder::tests::filter_stage_bytes_do_not_depend_on_the_thread_count ... ok
259+test stream::tests::a_10bit_128sb_film_frames_with_warp_cdef_and_interintra_decode_pixel_exact ... ok
260+test encoder::tests::quality_target_is_monotone_in_bytes_and_psnr ... ok
261+test stream::tests::a_10bit_film_frames_with_rect64_corner_tus_decode_pixel_exact ... ok
262+test stream::tests::a_10bit_film_frames_with_small_side_globalmv_and_rect_warp_reach_decode_pixel_exact ... ok
263+test encoder::tests::tile_bytes_do_not_depend_on_the_thread_count ... ok
264+test stream::tests::a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact ... ok
265+test stream::tests::a_128_superblock_stream_whose_skipped_blocks_are_var_tx_decodes_pixel_exact ... ok
266+test stream::tests::a_10bit_key_frame_with_skipped_8x8_intra_leaves_that_split_their_transform_decodes_luma_exact ... ok
267+test stream::tests::a_10bit_film_frames_with_frame_edge_mv_clamping_decode_pixel_exact ... ok
268+test stream::tests::a_10bit_film_hidden_arf_with_split_superblock_strips_decodes_pixel_exact ... ok
269+test stream::tests::a_block_shape_census_over_three_real_streams_leaves_the_rect_residual_refusal_unreachable ... ok
270+test stream::tests::a_frame_obu_that_parses_always_carries_at_least_one_tile ... ok
271+test stream::tests::a_frame_whose_segmentation_overrides_a_block_mode_is_refused_by_name ... ok
272+test stream::tests::a_directional_16x8_strip_reads_the_right_above_right_samples ... ok
273+test stream::tests::a_hand_built_golden_reference_decodes_pixel_exact_against_ffmpeg ... ok
274+test encoder::tests::the_facade_codes_the_same_bytes_as_encode_sequence ... ok
275+test stream::tests::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact ... ok
276+test encoder::tests::bitrate_target_lands_within_10_percent_over_48_frames ... ok
277+test stream::tests::a_real_aomenc_10bit_film_grain_stream_decodes_pixel_exact ... ok
278+test stream::tests::a_frame_edge_straddling_band_decodes_pixel_exact ... ok
279+test stream::tests::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag ... ok
280+test stream::tests::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact ... ok
281+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok
282+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_class1_chroma_eob_decodes_pixel_exact ... ok
283+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok
284+test stream::tests::a_real_affine_global_motion_stream_decodes_pixel_exact ... ok
285+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok
286+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok
287+test stream::tests::a_real_aomenc_10bit_compound_mv_stack_at_128_superblocks_decodes_pixel_exact ... ok
288+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact ... ok
289+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok
290+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact ... ok
291+test stream::tests::a_real_aomenc_10bit_intra_tools_stream_decodes_pixel_exact ... ok
292+test stream::tests::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact ... ok
293+test stream::tests::a_real_aomenc_10bit_inter_sequence_decodes_pixel_exact ... ok
294+test stream::tests::a_real_aomenc_10bit_rect_and_ab_partitions_decode_pixel_exact ... ok
295+test stream::tests::a_real_aomenc_10bit_stream_decodes_pixel_exact ... ok
296+test stream::tests::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact ... ok
297+test stream::tests::a_real_aomenc_10bit_restoration_stream_decodes_pixel_exact ... ok
298+test stream::tests::a_real_aomenc_10bit_stream_with_a_32_level_ab_partition_decodes_pixel_exact ... ok
299+test stream::tests::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact ... ok
300+test stream::tests::a_real_aomenc_10bit_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok
301+test stream::tests::a_real_aomenc_10bit_superres_stream_decodes_pixel_exact ... ok
302+test stream::tests::a_real_aomenc_10bit_stream_with_aq_segmentation_decodes_pixel_exact ... ok
303+test stream::tests::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok
304+test stream::tests::a_real_aomenc_10bit_stream_with_interintra_wedge_decodes_pixel_exact ... ok
305+test stream::tests::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact ... ok
306+test stream::tests::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact ... ok
307+test stream::tests::a_real_aomenc_altref_sequence_hidden_frames_decode_pixel_exact ... ok
308+test stream::tests::a_real_aomenc_band_stream_seed46_decodes_pixel_exact ... ok
309+test stream::tests::a_real_aomenc_both_axes_cut_corner_block_decodes_pixel_exact ... ok
310+test stream::tests::a_real_aomenc_dual_filter_obmc_8x8_inter_sequence_decodes_pixel_exact ... ok
311+test stream::tests::a_real_aomenc_filter_intra_stream_decodes_pixel_exact ... ok
312+test stream::tests::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact ... ok
313+test stream::tests::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact ... ok
314+test stream::tests::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact ... ok
315+test stream::tests::a_real_aomenc_compound_mv_stack_with_temporal_mvs_decodes_pixel_exact ... ok
316+test stream::tests::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact ... ok
317+test stream::tests::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact ... ok
318+test stream::tests::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact ... ok
319+test stream::tests::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet ... ok
320+test stream::tests::a_real_aomenc_inter_sequence_with_a_class1_chroma_eob_decodes_pixel_exact ... ok
321+test stream::tests::a_real_aomenc_inter_sequence_with_128x128_superblocks_decodes_pixel_exact ... ok
322+test stream::tests::a_real_aomenc_inter_sequence_with_a_directional_intra_block_with_angle_delta_decodes_pixel_exact ... ok
323+test stream::tests::a_real_aomenc_inter_sequence_with_a_golden_reference_decodes_pixel_exact ... ok
324+test stream::tests::a_real_aomenc_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok
325+test stream::tests::a_real_aomenc_inter_sequence_with_a_split_transform_intra_block_decodes_pixel_exact ... ok
326+test stream::tests::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact ... ok
327+test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact ... ok
328+test stream::tests::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact ... ok
329+test stream::tests::a_real_aomenc_inter_sequence_with_a_whole_superblock_block_decodes_pixel_exact ... ok
330+test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_across_tile_columns_decodes_pixel_exact ... ok
331+test stream::tests::a_real_aomenc_inter_sequence_with_an_8x8_leaf_split_decodes_pixel_exact ... ok
332+test stream::tests::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual ... ok
333+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
334+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
335+test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact has been running for over 60 seconds
336+test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact ... ok
337+test stream::tests::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact ... ok
338+test stream::tests::a_real_aomenc_inter_sequence_with_cdf_forwarding_decodes_pixel_exact ... ok
339+test stream::tests::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact ... ok
340+test stream::tests::a_real_aomenc_inter_sequence_with_filter_intra_on_an_intra_block_decodes_pixel_exact ... ok
341+test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact has been running for over 60 seconds
342+test stream::tests::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact ... ok
343+test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact has been running for over 60 seconds
344+test stream::tests::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact ... ok
345+test stream::tests::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit ... ok
346+test stream::tests::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact ... ok
347+test stream::tests::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact ... ok
348+test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact ... ok
349+test stream::tests::a_real_aomenc_inter_sequence_with_tx_select_decodes_pixel_exact_10bit ... ok
350+test stream::tests::a_real_aomenc_intra_stream_with_deblocking_decodes_pixel_exact ... ok
351+test stream::tests::a_real_aomenc_intra_stream_with_tx_select_decodes_pixel_exact ... ok
352+test stream::tests::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact ... ok
353+test stream::tests::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact ... ok
354+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
355+test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact has been running for over 60 seconds
356+test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact has been running for over 60 seconds
357+test stream::tests::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact has been running for over 60 seconds
358+test stream::tests::a_real_aomenc_key_and_inter_superres_sequence_decodes_pixel_exact has been running for over 60 seconds
359+test stream::tests::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact has been running for over 60 seconds
360+test stream::tests::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact ... ok
361+test stream::tests::a_real_aomenc_min8_stream_with_tx_class1_decodes_pixel_exact ... ok
362+test stream::tests::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact ... ok
363+test stream::tests::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact ... ok
364+test stream::tests::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact ... ok
365+test stream::tests::a_real_aomenc_key_and_inter_superres_sequence_decodes_pixel_exact ... ok
366+test stream::tests::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact ... ok
367+test stream::tests::a_real_aomenc_palette_stream_decodes_pixel_exact_at_8_and_10_bit ... ok
368+test stream::tests::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact ... ok
369+test stream::tests::a_real_aomenc_multi_tile_inter_stream_decodes_pixel_exact ... ok
370+test stream::tests::a_real_aomenc_multi_tile_intra_10bit_stream_decodes_pixel_exact ... ok
371+test stream::tests::a_real_aomenc_multi_tile_intra_stream_decodes_pixel_exact ... ok
372+test stream::tests::a_real_aomenc_multi_tile_palette_stream_decodes_pixel_exact ... ok
373+test stream::tests::a_real_aomenc_rect_strip_palette_decodes_pixel_exact ... ok
374+test stream::tests::a_real_aomenc_rect_inter_block_predicts_chroma_with_the_narrow_kernel_pixel_exact ... ok
375+test stream::tests::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact ... ok
376+test stream::tests::a_real_aomenc_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips ... ok
377+test stream::tests::a_real_aomenc_screen_stream_with_palette_blocks_decodes_pixel_exact ... ok
378+test stream::tests::a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips ... ok
379+test stream::tests::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact ... ok
380+test stream::tests::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact ... ok
381+test stream::tests::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact ... ok
382+test stream::tests::a_real_aomenc_sb128_stream_whose_skipped_cfl_and_1to4_chroma_pairs_decode_pixel_exact ... ok
383+test stream::tests::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact ... ok
384+test stream::tests::a_real_aomenc_stream_whose_chroma_edge_filter_reads_a_sub16_neighbours_uv_mode_decodes_pixel_exact ... ok
385+test stream::tests::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact ... ok
386+test stream::tests::a_real_aomenc_stream_whose_square_block_reads_a_sub16_neighbours_mode_decodes_pixel_exact ... ok
387+test stream::tests::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact ... ok
388+test stream::tests::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact ... ok
389+test stream::tests::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact ... ok
390+test stream::tests::a_real_aomenc_stream_with_a_32_level_ab_partition_decodes_pixel_exact ... ok
391+test stream::tests::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact ... ok
392+test stream::tests::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact ... ok
393+test stream::tests::a_real_aomenc_stream_with_a_bwdref_reference_decodes_pixel_exact ... ok
394+test stream::tests::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact ... ok
395+test stream::tests::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact ... ok
396+test stream::tests::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact ... ok
397+test stream::tests::a_real_aomenc_stream_with_a_last2_reference_decodes_pixel_exact ... ok
398+test stream::tests::a_real_aomenc_stream_with_a_last3_reference_decodes_pixel_exact ... ok
399+test stream::tests::a_real_aomenc_stream_with_a_sub8_rect_leaf_decodes_pixel_exact ... ok
400+test stream::tests::a_real_aomenc_stream_with_a_sub8_split_decodes_pixel_exact ... ok
401+test stream::tests::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact ... ok
402+test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact ... ok
403+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
404+test stream::tests::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact ... ok
405+test stream::tests::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact ... ok
406+test stream::tests::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact ... ok
407+test stream::tests::a_real_aomenc_stream_with_a_superblock_level_1to4_partition_decodes_pixel_exact ... ok
408+test stream::tests::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact ... ok
409+test stream::tests::a_real_aomenc_stream_with_cdef_and_sub16_inter_leaves_decodes_pixel_exact ... ok
410+test stream::tests::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact ... ok
411+test stream::tests::a_real_aomenc_stream_with_ab_partitions_below_16x16_decodes_pixel_exact ... ok
412+test stream::tests::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact ... ok
413+test stream::tests::a_real_aomenc_stream_with_directional_chroma_decodes_pixel_exact ... ok
414+test stream::tests::a_real_aomenc_stream_with_film_grain_decodes_pixel_exact ... ok
415+test stream::tests::a_real_aomenc_stream_with_an_altref2_reference_decodes_pixel_exact ... ok
416+test stream::tests::a_real_aomenc_stream_with_an_altref_reference_decodes_pixel_exact ... ok
417+test stream::tests::a_real_aomenc_stream_with_cdef_decodes_pixel_exact ... ok
418+test stream::tests::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact ... ok
419+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub8_rect_leaf_decodes_pixel_exact ... ok
420+test stream::tests::a_real_aomenc_stream_with_four_tile_columns_decodes_pixel_exact ... ok
421+test stream::tests::a_real_aomenc_stream_with_four_tile_rows_decodes_pixel_exact ... ok
422+test stream::tests::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact ... ok
423+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact ... ok
424+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact ... ok
425+test stream::tests::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact ... ok
426+test stream::tests::a_real_aomenc_stream_with_non_uniform_tile_spacing_decodes_pixel_exact ... ok
427+test stream::tests::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact ... ok
428+test stream::tests::a_real_aomenc_stream_with_interintra_decodes_pixel_exact ... ok
429+test stream::tests::a_real_aomenc_stream_with_palette_uv_decodes_pixel_exact ... ok
430+test stream::tests::a_real_aomenc_stream_with_palette_y_decodes_pixel_exact ... ok
431+test stream::tests::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact ... ok
432+test stream::tests::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm ... ok
433+test stream::tests::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact ... ok
434+test stream::tests::a_real_aomenc_stream_with_obmc_8x8_decodes_pixel_exact ... ok
435+test stream::tests::a_real_aomenc_stream_with_obmc_decodes_pixel_exact ... ok
436+test stream::tests::a_real_aomenc_stream_with_skipped_rect_inter_strips_keeps_the_cdef_skip_band ... ok
437+test stream::tests::a_real_aomenc_stream_with_smooth_luma_neighbour_decodes_pixel_exact ... ok
438+test stream::tests::a_real_aomenc_stream_with_several_tile_group_obus_decodes_pixel_exact ... ok
439+test stream::tests::a_real_aomenc_stream_with_smooth_paeth_chroma_decodes_pixel_exact ... ok
440+test stream::tests::a_real_aomenc_stream_with_two_tile_columns_and_an_inter_frame_decodes_pixel_exact ... ok
441+test stream::tests::a_real_aomenc_stream_with_two_tile_columns_decodes_pixel_exact ... ok
442+test stream::tests::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact ... ok
443+test stream::tests::a_real_aomenc_stream_with_two_tile_columns_decodes_through_decode_stream ... ok
444+test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_pixel_exact ... ok
445+test stream::tests::a_real_aomenc_stream_with_two_tile_rows_decodes_through_decode_stream ... ok
446+test stream::tests::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact ... ok
447+test stream::tests::a_real_aomenc_stream_with_reference_select_reads_comp_mode_correctly ... ok
448+test stream::tests::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly ... ok
449+test stream::tests::a_real_aomenc_stream_with_temporal_mvs_decodes_pixel_exact ... ok
450+test stream::tests::a_real_aomenc_two_tile_inter_sequence_with_a_non_dc_chroma_8x8_intra_leaf_decodes_pixel_exact ... ok
451+test stream::tests::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact ... ok
452+test stream::tests::a_real_aomenc_stream_with_warped_motion_refuses_or_matches ... ok
453+test stream::tests::a_real_film_key_frame_with_a_skipped_cfl_block_decodes_pixel_exact ... ok
454+test stream::tests::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact ... ok
455+test stream::tests::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact ... ok
456+test stream::tests::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact ... ok
457+test stream::tests::a_real_libaom_cfl_stream_decodes_pixel_exact ... ok
458+test stream::tests::a_real_libaom_gradients_stream_decodes_pixel_exact ... ok
459+test stream::tests::a_real_libaom_gradients_stream_with_cdef_decodes_pixel_exact ... ok
460+test stream::tests::a_real_libaom_stream_with_adst_decodes_end_to_end ... ok
461+test stream::tests::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact ... ok
462+test stream::tests::a_real_stream_decodes_identically_with_one_and_four_threads ... ok
463+test stream::tests::a_real_compound_global_warp_stream_decodes_pixel_exact ... ok
464+test stream::tests::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact ... ok
465+test stream::tests::a_real_force_integer_mv_warp_stream_decodes_pixel_exact ... ok
466+test stream::tests::a_screen_stream_with_16x4_intra_strips_in_inter_frames_decodes_pixel_exact ... ok
467+test stream::tests::a_screen_stream_with_palette_8x8_leaves_in_inter_frames_decodes_pixel_exact ... ok
468+test stream::tests::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour ... ok
469+test stream::tests::a_show_existing_frame_header_naming_an_empty_slot_is_refused_by_name ... ok
470+test stream::tests::a_segmentation_census_over_real_aq_streams_finds_no_mode_overriding_feature ... ok
471+test stream::tests::a_sub8_footprint_census_over_real_streams_leaves_the_intra_16x4_pairing_refusal_unreachable ... ok
472+test stream::tests::a_real_globalmv_8x8_leaf_stream_decodes_pixel_exact ... ok
473+test stream::tests::a_real_stream_filters_identically_with_one_and_four_filter_threads ... ok
474+test stream::tests::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads ... ok
475+test stream::tests::a_superres_census_over_six_real_streams_records_which_scaled_refusals_fire ... ok
476+test stream::tests::a_twelve_bit_sequence_header_is_refused_by_name ... ok
477+test stream::tests::an_inter_frame_naming_an_unrefreshed_primary_ref_slot_is_refused_by_name ... ok
478+test stream::tests::an_inter_frame_opening_a_stream_is_refused_by_name ... ok
479+test stream::tests::an_inter_frame_shorter_than_its_reference_is_refused_by_name ... ok
480+test stream::tests::an_intra_coded_128_half_in_a_screen_content_inter_frame_decodes_pixel_exact ... ok
481+test stream::tests::an_intra_coded_128_half_inside_an_inter_frame_decodes_pixel_exact ... ok
482+test stream::tests::a_sweep_of_doubly_straddling_sizes_round_trips_through_ffmpeg ... ok
483+test stream::tests::a_real_warped_causal_8x8_leaf_stream_decodes_pixel_exact ... ok
484+test stream::tests::an_intrabc_block_under_tx_mode_select_decodes_pixel_exact ... ok
485+test stream::tests::a_sub8_leaf_census_over_intrabc_screen_streams_measures_the_sub8_refusal ... ok
486+test stream::tests::debug_part32_r2_sbpart_pin_mismatch_geometry ... ignored, debug harness, run manually with EC_AV1_GATE_DUMP_PIN
487+test stream::tests::a_superres_all_tools_sb128_stream_decodes_pixel_exact ... ok
488+test stream::tests::decode_stream_matches_the_tile_path_on_a_key_frame ... ok
489+test stream::tests::decode_stream_round_trips_a_gop ... ok
490+test stream::tests::decode_stream_agrees_with_ffmpeg_on_a_gop ... ok
491+test stream::tests::every_frame_size_a_header_can_code_has_a_mode_info_grid ... ok
492+test stream::tests::a_superres_key_frame_with_cdef_and_loop_restoration_decodes_pixel_exact ... ok
493+test stream::tests::no_per_frame_state_is_thread_local_any_more ... ok
494+test stream::tests::pinned_golden3_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
495+test stream::tests::pinned_golden4_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
496+test stream::tests::pinned_golden7_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
497+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
498+test stream::tests::pinned_sbpart_stream_decodes_pixel_exact ... ignored, reads a pinned fixture path outside the repo; run manually
499+test stream::tests::pinned_warp_stream_decodes_pixel_exact ... ignored, reads pinned fixture paths under the gitignored fixtures dir; run manually
500+test stream::tests::probe_tiny_32x32_trace ... ignored, diagnostic, run manually with --nocapture
501+test stream::tests::probe_tiny_fixture_trace ... ignored, diagnostic, run manually with --nocapture and EC_TINY_FIXTURE_PATH set
502+test stream::tests::decode_stream_round_trips_an_odd_size_gop ... ok
503+test stream::tests::gradients_source_is_reproducible_per_seed ... ok
504+test stream::tests::real_aomenc_film_grain_streams_decode_pixel_exact ... ok
505+test stream::tests::sb128_r2_control_sb64 ... ignored, lane-sb128 r2 diagnostic: is the frame-6 mismatch sb128-specific?
506+test stream::tests::scratch_decode_pinned_stream_once ... ignored
507+test stream::tests::scratch_isolate_pinned_mismatch ... ignored
508+test stream::tests::streaming_decode_matches_the_collecting_one ... ok
509+test stream::tests::sweep_rectx_recipes ... ignored, lane-rectx r3 scratch sweep
510+test stream::tests::an_intrabc_vartx_census_measures_the_mixed_leaf_refusal ... ok
511+test stream::tests::the_reelb_head_key_frame_decodes_pixel_exact ... ok
512+test stream::tests::the_reelb_ss300_key_frame_skipped_cfl_decodes_pixel_exact ... ok
513+test stream::tests::an_sb128_screen_stream_with_intrabc_decodes_pixel_exact ... ok
514+test stream::tests::the_reelb_ss600_key_frame_skipped_split_tx_decodes_pixel_exact ... ok
515+test superres::tests::upscale_row_matches_libaom_in8_out12 ... ok
516+test superres::tests::upscale_row_matches_libaom_in8_out16 ... ok
517+test superres::tests::upscale_row_of_a_flat_input_is_flat ... ok
518+test superres::tests::upscale_row_with_real_margin_matches_libaom_in43_out64 ... ok
519+test tile::tests::a_block_gathers_the_cells_its_neighbours_cover ... ok
520+test tile::tests::a_coefficient_in_the_far_corner_reaches_the_last_end_of_block_group ... ok
521+test tile::tests::a_coefficient_off_the_origin_selects_its_own_basis_function ... ok
522+test stream::tests::an_intrabc_census_over_screen_key_frames_measures_the_tx_select_refusal ... ok
523+test tile::tests::a_dc_level_is_worth_half_as_much_each_time_the_transform_doubles ... ok
524+test tile::tests::a_frame_that_hangs_off_the_bottom_codes_every_block ... ok
525+test tile::tests::a_frame_that_is_not_a_whole_number_of_blocks_is_refused ... ok
526+test tile::tests::a_frame_that_is_not_a_whole_number_of_superblocks_codes_every_block ... ok
527+test tile::tests::a_level_grid_that_does_not_cover_the_frame_is_refused ... ok
528+test tile::tests::a_newmv_block_reads_back_the_exact_symbol_sequence_it_was_written_with ... ok
529+test tile::tests::a_quadrant_splits_into_four_sixteens ... ok
530+test tile::tests::a_quantized_picture_decodes_to_what_the_encoder_reconstructed ... ok
531+test tile::tests::a_single_ac_coefficient_varies_along_its_own_axis ... ok
532+test tile::tests::a_split_superblock_decodes_each_quadrant_on_its_own_level ... ok
533+test tile::tests::a_whole_superblock_at_the_frame_edge_is_refused ... ok
534+test tile::tests::a_whole_superblock_covers_all_four_of_its_quadrants ... ok
535+test tile::tests::an_all_skip_inter_superblock_is_small_and_reads_back ... ok
536+test tile::tests::an_intra_block_in_an_inter_frame_is_caught_reading_kf_y_mode ... ok
537+test tile::tests::an_intra_mode_outside_the_key_frame_set_is_refused ... ok
538+test tile::tests::chroma_dc_signs_read_their_neighbours ... ok
539+test tile::tests::coefficients_the_writer_cannot_code_are_refused ... ok
540+test tile::tests::dc_levels_the_base_syntax_cannot_carry_are_refused ... ok
541+test tile::tests::directional_modes_predict_from_the_neighbours_they_name ... ok
542+test tile::tests::each_chroma_plane_codes_its_own_basis_function ... ok
543+test tile::tests::each_superblock_decodes_to_the_grey_its_own_level_asks_for ... ok
544+test tile::tests::every_quadrant_carries_its_own_coefficients ... ok
545+test tile::tests::flat_key_frame_decodes_to_mid_grey ... ok
546+test tile::tests::a_dc_coefficient_moves_the_whole_block_off_mid_grey ... ok
547+test tile::tests::negating_the_levels_negates_the_residual ... ok
548+test tile::tests::partial_superblocks_are_refused ... ok
549+test tile::tests::the_default_scan_walks_every_position_outwards ... ok
550+test tile::tests::the_golomb_tail_reads_back_as_the_level_it_was_written_for ... ok
551+test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_16x16_block ... ok
552+test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_32x32_block ... ok
553+test tile::tests::the_inverse_transform_predicts_what_ffmpeg_decodes_for_a_64x64_block ... ok
554+test tile::tests::the_inverse_transform_reproduces_the_pinned_split_residuals ... ok
555+test tile::tests::the_inverse_transform_reproduces_the_pinned_whole_superblock_residuals ... ok
556+test tile::tests::the_price_grows_with_the_levels ... ok
557+test tile::tests::the_priced_coefficient_bits_match_the_bytes_written ... ok
558+test transform::tests::a_64x64_transform_keeps_what_fits_in_its_coded_quarter ... ok
559+test transform::tests::a_fine_quantizer_roundtrips_a_residual_almost_exactly ... ok
560+test transform::tests::a_flat_residual_is_a_dc_level_alone ... ok
561+test transform::tests::a_typed_forward_round_trips_like_the_dct_one ... ok
562+test transform::tests::a_wider_deadzone_codes_fewer_coefficients ... ok
563+test transform::tests::a_zero_vector_transforms_to_zero ... ok
564+test transform::tests::adst_dct_and_dct_adst_disagree_on_an_asymmetric_grid ... ok
565+test transform::tests::iadst16_matches_libaoms_own_output ... ok
566+test transform::tests::iadst4_an_all_zero_input_short_circuits_to_zero ... ok
567+test transform::tests::iadst4_matches_libaoms_own_output ... ok
568+test transform::tests::iadst8_is_not_symmetric_in_its_input_position ... ok
569+test transform::tests::iadst8_matches_libaoms_own_output ... ok
570+test transform::tests::iidentity_matches_libaoms_own_output_at_every_size ... ok
571+test transform::tests::negating_the_residual_negates_every_level ... ok
572+test transform::tests::rect_sizes_pinned_against_libaom ... ok
573+test transform::tests::scratch_probe_32x32_dequant ... ignored
574+test transform::tests::square_wrapper_matches_wh_core ... ok
575+test transform::tests::the_avx2_dct_matches_the_scalar_one_over_the_full_range ... ok
576+test transform::tests::the_eight_wide_dct_matches_the_scalar_one ... ok
577+test transform::tests::the_fixed_point_forward_matches_the_exact_matmul ... ok
578+test transform::tests::the_forward_network_has_one_uniform_gain ... ok
579+test transform::tests::the_inverse_network_is_an_orthonormal_dct_over_eight ... ok
580+test transform::tests::the_roundtrip_error_is_the_quantizer_and_only_the_quantizer ... ok
581+test transform::tests::the_typed_forward_transform_is_bit_identical_to_the_strided_form ... ok
582+test warp::gm_mv_tests::identity_is_always_zero ... ok
583+test warp::gm_mv_tests::rotzoom_projects_block_centre_hp ... ok
584+test warp::gm_mv_tests::rotzoom_projects_block_centre_no_hp ... ok
585+test warp::gm_mv_tests::translation_force_integer_mv_rounds_to_full_pel ... ok
586+test warp::gm_mv_tests::translation_shifts_params_by_13 ... ok
587+test wedge::tests::wedge_codebook_matches_libaom_dump ... ok
588+test tile::tests::levels_above_the_base_range_tail_carry_a_golomb_tail ... ok
589+test stream::tests::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal ... ok
590+test stream::tests::real_superres_streams_with_sub8_leaf8_and_warp_decode_pixel_exact ... ok
591+test stream::tests::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact ... ok
592+test stream::tests::the_worker_pool_stays_bounded_across_repeated_threaded_decodes ... ok
593+
594+test result: ok. 541 passed; 0 failed; 40 ignored; 0 measured; 0 filtered out; finished in 579.69s
595+
596+RC=0
tools/ec-bench/src/main.rsmodified+17 -14
@@ -368,19 +368,13 @@ fn bench_av1_encode(rows: &mut Vec<Row>) {
368368 tile_cols_log2,
369369 tile_rows_log2,
370370 };
371- // `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>]` benches the
372- // encoder's coding pyramid (hidden ALTREF + show_existing_frame) instead
373- // of the flat one-picture-one-packet stream, the same knob shape as
374- // `EC_H265_RDOQ_ESTIMATE`. Unset keeps the flat default.
375- let pyramid = std::env::var("EC_AV1_PYRAMID").ok().and_then(|spec| {
376- let mut f = spec.split(':');
377- let d = Pyramid::default();
378- Some(Pyramid {
379- mini_gop: f.next()?.parse().ok()?,
380- arf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.arf_q_offset),
381- leaf_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.leaf_q_offset),
382- })
383- });
371+ // The encoder's coding pyramid (hidden ALTREF + show_existing_frame) is
372+ // the default, as it is in `encode_sequence`; `EC_AV1_PYRAMID=0` benches
373+ // the flat one-picture-one-packet stream instead, and
374+ // `EC_AV1_PYRAMID=<mini_gop>[:<arf_q_offset>:<leaf_q_offset>]` another
375+ // shape of it. The `hidden` column below is how many frames of the row
376+ // were coded ahead of their display position.
377+ let pyramid = Pyramid::from_env();
384378 let mut enc = match pyramid {
385379 None => Av1Encoder::new(cfg).expect("av1 encoder"),
386380 Some(p) => Av1Encoder::with_pyramid(cfg, p).expect("av1 encoder"),
@@ -411,6 +405,14 @@ fn bench_av1_encode(rows: &mut Vec<Row>) {
411405 stream.extend_from_slice(&packet.data);
412406 }
413407 let wall = start.elapsed().as_secs_f64();
408+ // What the content gate left this clip coding under: a screen-content
409+ // source asks for the pyramid and codes flat, and then `hidden` is 0 for
410+ // a reason the row itself names.
411+ let coded_under = match (pyramid, enc.pyramid()) {
412+ (_, Some(p)) => format!("pyramid {}:{}:{}", p.mini_gop, p.arf_q_offset, p.leaf_q_offset),
413+ (Some(_), None) => "flat (gated: screen content)".to_string(),
414+ (None, None) => "flat".to_string(),
415+ };
414416 let media_s = n as f64 / 30.0;
415417 let fps = if wall > 0.0 { f64::from(n) / wall } else { 0.0 };
416418 let bytes_per_frame = stream.len() as f64 / f64::from(n);
@@ -418,7 +420,8 @@ fn bench_av1_encode(rows: &mut Vec<Row>) {
418420 component: "ec-av1",
419421 direction: "encode",
420422 content: format!(
421- "{w}x{h}, {n} frames, gop=10, {hidden} hidden, {fps:.1} fps, {bytes_per_frame:.0} B/frame"
423+ "{w}x{h}, {n} frames, gop=10, {coded_under}, {hidden} hidden, {fps:.1} fps, \
424+ {bytes_per_frame:.0} B/frame"
422425 ),
423426 media: format!("{media_s:.1}s"),
424427 wall_ms: wall * 1000.0,