forge
Explore
Log in

Don't you dare go Hollow

Merge branch 'lane-pyr6' (a0661824): a fourth pyramid level (quarter ARFs) wired and measured, off by default; it loses at mini_gop 8 on every arm and only pays at 16, which still trails the 8-group

Browse files at this commit

afec53f6e7340b6b72913fc6b9408f431f13bf3dAhmet Kaan GümüşParent: f60365ce868777
crates/ec-av1/src/encoder.rsmodified+141 -17
@@ -236,6 +236,18 @@ impl RateLoop {
236 // A group of `m` pictures gets `m * rest`, split one `ARF_WEIGHT`236 // A group of `m` pictures gets `m * rest`, split one `ARF_WEIGHT`
237 // share to the hidden frame and one each to the `m - 1` leaves, so237 // share to the hidden frame and one each to the `m - 1` leaves, so
238 // the group's own average is `rest` exactly.238 // the group's own average is `rest` exactly.
239+ //
240+ // ONE hidden frame, deliberately, even though the group has coded two
241+ // since the mid level landed (and four with
242+ // [`Pyramid::quarter_q_offset`] on). Pricing the real count
243+ // (`m / (m - h + h * ARF_WEIGHT)`, h = 2) is the truthful model and
244+ // it lands the 48-frame bitrate gate -9.4% / -14.9% under target
245+ // against this line's -1.8% / -6.3%: the h = 1 split over-allocates
246+ // the group by exactly the amount `ARF_WEIGHT` under-prices a hidden
247+ // frame, and the two errors cancel. Fixing the split alone therefore
248+ // makes the loop WORSE; `ARF_WEIGHT` has to be recalibrated in the
249+ // same diff, which is a rate-control lane, not a pyramid-shape one
250+ // (lane-pyr6, `lanes/pyr6.sweep.txt`).
239 let share = rest * m / (m - 1.0 + ARF_WEIGHT);251 let share = rest * m / (m - 1.0 + ARF_WEIGHT);
240 Self {252 Self {
241 target: [target_bytes * key, share * ARF_WEIGHT, share],253 target: [target_bytes * key, share * ARF_WEIGHT, share],
@@ -405,6 +417,16 @@ pub struct Pyramid {
405 /// nearest good reference. Ignored by a group of fewer than four417 /// nearest good reference. Ignored by a group of fewer than four
406 /// pictures, where there is no leaf on both sides of a midpoint.418 /// pictures, where there is no leaf on both sides of a midpoint.
407 pub mid_q_offset: Option<i16>,419 pub mid_q_offset: Option<i16>,
420+ /// THE FOURTH LEVEL, or `None` for the three-level pyramid: the offset
421+ /// the two hidden QUARTER-POINT ARFs are coded at (between
422+ /// [`Pyramid::mid_q_offset`] and [`Pyramid::leaf_q_offset`], so the group
423+ /// reads key -> top ARF -> mid ARF -> quarter ARFs -> leaves). In a group
424+ /// of eight they sit at pictures 2 and 6, halving again the distance from
425+ /// a leaf to its nearest good reference; every leaf then names the
426+ /// nearest hidden frame on each side. Ignored by a group with fewer than
427+ /// seven leaves, where a quarter point has no leaf on both sides, and --
428+ /// like the mid level -- by a run no longer than one mini-GOP.
429+ pub quarter_q_offset: Option<i16>,
408 /// Added to `base_q_idx` for the GOP's KEY FRAME — negative, since every430 /// Added to `base_q_idx` for the GOP's KEY FRAME — negative, since every
409 /// frame of the run reads it, directly or through an ARF. The 48-frame431 /// frame of the run reads it, directly or through an ARF. The 48-frame
410 /// census (`lanes/census-longgop.md`) found ours coded at base q while432 /// census (`lanes/census-longgop.md`) found ours coded at base q while
@@ -481,6 +503,12 @@ impl Pyramid {
481 },503 },
482 // A fifth field is the key frame's own offset.504 // A fifth field is the key frame's own offset.
483 key_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.key_q_offset),505 key_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.key_q_offset),
506+ // A sixth field is the quarter level's offset, `off` for none.
507+ quarter_q_offset: match f.next() {
508+ None => d.quarter_q_offset,
509+ Some("off") => None,
510+ Some(v) => v.parse().ok().or(d.quarter_q_offset),
511+ },
484 })512 })
485 }513 }
486 }514 }
@@ -771,6 +799,7 @@ impl Default for Pyramid {
771 leaf_q_offset: 12,799 leaf_q_offset: 12,
772 mid_q_offset: MID_DEFAULT,800 mid_q_offset: MID_DEFAULT,
773 key_q_offset: KEY_DEFAULT,801 key_q_offset: KEY_DEFAULT,
802+ quarter_q_offset: QUARTER_DEFAULT,
774 }803 }
775 }804 }
776 }805 }
@@ -807,6 +836,30 @@ const LEAF_SLOT: u8 = 0;
807 /// chain (0) and of `GOLDEN_SLOT` (1), so all four levels are live at once.836 /// chain (0) and of `GOLDEN_SLOT` (1), so all four levels are live at once.
808 const MID_SLOT: u8 = 2;837 const MID_SLOT: u8 = 2;
809 838
839+/// The two slots the QUARTER-POINT hidden frames refresh
840+/// ([`Pyramid::quarter_q_offset`]). THE WHOLE SLOT MAP, with all four levels
841+/// live at once:
842+///
843+/// | slot | holds | written by | read as |
844+/// |---|---|---|---|
845+/// | 0 (`LEAF_SLOT`) | the previous shown leaf | every leaf | `LAST_FRAME` of the next leaf |
846+/// | 1 (`GOLDEN_SLOT`) | the key frame | the key | `GOLDEN_FRAME` everywhere |
847+/// | 2 (`MID_SLOT`) | the mid ARF | the mid ARF | `LAST_FRAME` / `ALTREF_FRAME` of the leaves and quarters around it |
848+/// | 3, 4 (`ANCHOR_SLOTS`) | this group's anchor and the next one (the top ARF) | the key, each top ARF | anchor = `LAST_FRAME`, next = `ALTREF_FRAME` |
849+/// | 5, 6 (`QUARTER_SLOTS`) | the first and second quarter ARF | the quarter ARFs | `LAST_FRAME` / `ALTREF_FRAME` of the leaves beside them |
850+/// | 7 | unused (the key's copy is never read back) | the key | -- |
851+///
852+/// A frame names exactly two of them plus `GOLDEN_SLOT`
853+/// ([`Av1Encoder::encode_pyramid_inter`] fills all seven `ref_frame_idx`
854+/// entries from `last_slot`/`altref_slot`), and `refresh_frame_flags` is the
855+/// single `self_slot` bit, so no level ever overwrites a slot another level
856+/// is still reading.
857+const QUARTER_SLOTS: [u8; 2] = [5, 6];
858+
859+/// [`Pyramid::default`]'s fourth level (`None` = the three-level pyramid).
860+/// The long-GOP sweep's winner (`lanes/pyr6.sweep.txt`).
861+const QUARTER_DEFAULT: Option<i16> = None;
862+
810 /// [`Pyramid::default`]'s third level (`None` = the two-level pyramid), the863 /// [`Pyramid::default`]'s third level (`None` = the two-level pyramid), the
811 /// long-GOP sweep's winner (`lanes/pyr5.sweep.txt`): every one of the four864 /// long-GOP sweep's winner (`lanes/pyr5.sweep.txt`): every one of the four
812 /// long-GOP columns improves against the two-level shape, film B (the wider865 /// long-GOP columns improves against the two-level shape, film B (the wider
@@ -1579,6 +1632,54 @@ impl Av1Encoder {
1579 offset,1632 offset,
1580 )?);1633 )?);
1581 }1634 }
1635+ // THE FOURTH LEVEL: one hidden frame at the middle of each half of
1636+ // the leaf run, so no leaf is more than one picture from a hidden
1637+ // reference on either side -- the depth the references run (rav1e
1638+ // speed 6 codes 23 hidden frames per 48 pictures, libaom four levels
1639+ // per 16-picture group) and the lever three levels had run out of.
1640+ // It hangs off the mid level, and it needs a leaf on both sides of
1641+ // both quarter points, which a run of fewer than seven leaves cannot
1642+ // give.
1643+ let quarters = match (mid, pyramid.quarter_q_offset) {
1644+ (Some((at, _)), Some(offset)) if leaves >= 7 => {
1645+ Some(([(at - 1) / 2, (at + leaves) / 2], offset))
1646+ }
1647+ _ => None,
1648+ };
1649+ if let Some((at, offset)) = quarters {
1650+ // The first quarter predicts forward off the group's anchor and
1651+ // backward off the mid ARF; the second starts FROM the mid ARF
1652+ // and reads the group's top ARF backward.
1653+ for (i, &pos) in at.iter().enumerate() {
1654+ let (order, picture) = group[pos].clone();
1655+ let (last_slot, altref_slot) = match i {
1656+ 0 => (anchor_slot, MID_SLOT),
1657+ _ => (MID_SLOT, next_anchor_slot),
1658+ };
1659+ packets.push(self.encode_pyramid_inter(
1660+ order,
1661+ &picture,
1662+ last_slot,
1663+ QUARTER_SLOTS[i],
1664+ altref_slot,
1665+ false,
1666+ Level::Arf,
1667+ offset,
1668+ )?);
1669+ }
1670+ }
1671+ // Every hidden frame INSIDE the leaf run, by leaf index, in display
1672+ // order: what a leaf reads forward (the nearest one behind it) and
1673+ // backward (the nearest one ahead of it, the group's top ARF when
1674+ // there is none).
1675+ let mut inner: Vec<(usize, u8)> = Vec::new();
1676+ if let Some((at, _)) = mid {
1677+ inner.push((at, MID_SLOT));
1678+ }
1679+ if let Some((at, _)) = quarters {
1680+ inner.extend(at.iter().zip(QUARTER_SLOTS).map(|(&at, slot)| (at, slot)));
1681+ }
1682+ inner.sort_unstable();
1582 let (seq, _) = crate::encode::key_frame_headers(1683 let (seq, _) = crate::encode::key_frame_headers(
1583 self.config.width,1684 self.config.width,
1584 self.config.height,1685 self.config.height,
@@ -1590,26 +1691,27 @@ impl Av1Encoder {
1590 Ok(encoder.packet(data, false, order, Level::ShowExisting))1691 Ok(encoder.packet(data, false, order, Level::ShowExisting))
1591 };1692 };
1592 // The leaves, in display order, so every `show_existing_frame` lands1693 // The leaves, in display order, so every `show_existing_frame` lands
1593- // in its own display position. A leaf before the mid frame names it1694+ // in its own display position. Each leaf names the nearest hidden
1594- // as `ALTREF_FRAME` (the nearer backward reference); the first leaf1695+ // frame BEHIND it as `LAST_FRAME` (the group's anchor for the first
1595- // after it starts its chain FROM it.1696+ // leaf, otherwise the previous leaf) and the nearest one AHEAD as
1697+ // `ALTREF_FRAME` (the group's top ARF when none is closer).
1596 for (i, (order, picture)) in group[..leaves].iter().enumerate() {1698 for (i, (order, picture)) in group[..leaves].iter().enumerate() {
1597- if let Some((at, _)) = mid {1699+ if let Some(&(_, slot)) = inner.iter().find(|(at, _)| *at == i) {
1598- if i == at {1700+ let packet = show_existing(self, slot, *order)?;
1599- let packet = show_existing(self, MID_SLOT, *order)?;1701+ packets.push(packet);
1600- packets.push(packet);1702+ continue;
1601- continue;
1602- }
1603 }1703 }
1604- let last_slot = match (i, mid) {1704+ let last_slot = match i {
1605- (0, _) => anchor_slot,1705+ 0 => anchor_slot,
1606- (i, Some((at, _))) if i == at + 1 => MID_SLOT,1706+ i => inner
1607- _ => LEAF_SLOT,1707+ .iter()
1608- };1708+ .find(|(at, _)| at + 1 == i)
1609- let altref_slot = match mid {1709+ .map_or(LEAF_SLOT, |&(_, slot)| slot),
1610- Some((at, _)) if i < at => MID_SLOT,
1611- _ => next_anchor_slot,
1612 };1710 };
1711+ let altref_slot = inner
1712+ .iter()
1713+ .find(|(at, _)| *at > i)
1714+ .map_or(next_anchor_slot, |&(_, slot)| slot);
1613 packets.push(self.encode_pyramid_inter(1715 packets.push(self.encode_pyramid_inter(
1614 *order,1716 *order,
1615 picture,1717 picture,
@@ -2457,6 +2559,28 @@ mod tests {
2457 );2559 );
2458 }2560 }
2459 2561
2562+ /// The same round trip over a FOUR-level group
2563+ /// ([`Pyramid::quarter_q_offset`]): a mini-GOP of eight now codes four
2564+ /// hidden frames -- the top ARF at picture 8, the mid at 4 and the two
2565+ /// quarters at 2 and 6 -- each re-output by its own
2566+ /// `show_existing_frame`. Every leaf reads a different pair of DPB slots
2567+ /// than it did at three levels, so a slot map that lets one level
2568+ /// overwrite a picture another is still reading shows up here as a
2569+ /// display-order mismatch against ffmpeg.
2570+ #[test]
2571+ fn a_four_level_pyramid_stream_decodes_in_display_order() {
2572+ let _knobs = crate::speed::knob_read();
2573+ pyramid_round_trip(
2574+ Pyramid {
2575+ mini_gop: 8,
2576+ mid_q_offset: Some(-8),
2577+ quarter_q_offset: Some(4),
2578+ ..Pyramid::default()
2579+ },
2580+ 4,
2581+ );
2582+ }
2583+
2460 /// [`Pyramid::key_q_offset`] reaches the key frame: the whole run reads2584 /// [`Pyramid::key_q_offset`] reaches the key frame: the whole run reads
2461 /// the key, so an offset that never arrived would be invisible in the BD2585 /// the key, so an offset that never arrived would be invisible in the BD
2462 /// table except as "no change" (class symbol-consumption-gap). A finer2586 /// table except as "no change" (class symbol-consumption-gap). A finer
lanes/pyr6-arm.shadded+9 -0
@@ -0,0 +1,9 @@
1+#!/usr/bin/env bash
2+# pyr6 lane: one BD arm on the prebuilt release binary.
3+# usage: pyr6-arm.sh <unit> <log> <test> [<pyramid spec>|control]
4+unit=$1; log=$2; test=$3; spec=$4
5+bin=$HOME/.cache/cargo-target-pyr6/release/deps/ec_av1-8fef0196ab10338d
6+env=""
7+[ "$spec" = control ] || env="EC_AV1_PYRAMID=$spec"
8+systemd-run --user --unit "$unit" -p MemoryMax=8G --collect bash -c \
9+ "cd $HOME/Documents/Code/Rust/edith_codecs-pyr6; $env $bin --ignored --nocapture --test-threads 1 --exact $test > $log 2>&1; echo RC=\$? >> $log"
lanes/pyr6.sweep.txtadded+95 -0
@@ -0,0 +1,95 @@
1+# lane-pyr6 -- A FOURTH pyramid level: hidden quarter-point ARFs.
2+# gate: encode::tests::bd_rate_film_long_gop (48 pictures, gop 48), release lib binary,
3+# --test-threads 1, <= 2 arms in parallel, each arm keyed by the log's own
4+# "pyramid requested/effective" print.
5+# spec = <mini_gop>:<arf>:<leaf>:<mid>:<key>:<quarter> (`off` = level absent).
6+# logs: lanes/pyr6/*.log
7+
8+## controls on this head (0326d9fc), reproducing main 7b05ecee exactly
9+| gate | film A | film B |
10+|---|---|---|
11+| long-GOP (48 pictures, gop 48) | +43.1 / +4.6 | +129.0 / +34.3 |
12+| 12-frame (bd_rate_screen_native) | +37.5 / +7.6 | +54.1 / +23.9 |
13+12-frame control also: bars 1080p +1.7 / -14.5, bars 2160p +12.2 / -10.2, screen
14+capture +33.4 / -23.8 (pyramid gated off). Both charter control rows match to the
15+decimal. NOTE: bd_rate_screen_native exits 101 on this head for a reason that predates
16+this lane -- assert_ladder_decodes fails on the libaom crf 5 REFERENCE point ("a
17+lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax ... unimplemented"),
18+a decoder gap outside this lane's scope. The BD table is printed in full before the
19+assert, so every arm's numbers are read from the table, not the exit code.
20+
21+## long-GOP sweep -- BD-rate vs libaom cpu-used 6 / vs rav1e speed 6
22+| arm | spec | film A | film B |
23+|---|---|---|---|
24+| control (3 levels) | 8:-32:12:-8:-48 | +43.1 / +4.6 | +129.0 / +34.3 |
25+| 8, quarter 0 | 8:-32:12:-8:-48:0 | +43.6 / +5.4 | +129.5 / +35.6 |
26+| 8, quarter +4 | 8:-32:12:-8:-48:4 | +43.4 / +5.1 | +129.7 / +35.4 |
27+| 8, quarter +8 | 8:-32:12:-8:-48:8 | +43.3 / +5.0 | +129.9 / +35.3 |
28+| 16, quarter 0 | 16:-32:12:-8:-48:0 | +44.2 / +4.9 | +132.4 / +35.4 |
29+| 16, quarter +4 | 16:-32:12:-8:-48:4 | +44.3 / +4.9 | +133.7 / +36.0 |
30+| 8, quarter +8, leaf 16 | 8:-32:16:-8:-48:8 | +43.2 / +4.7 | +131.2 / +35.5 |
31+
32+DECISION: the fourth level LOSES on every arm; `quarter_q_offset` stays `None`
33+(QUARTER_DEFAULT), so the default stream is byte-identical to main 7b05ecee and the
34+12-frame gate was not re-run at a "winner" -- there is none. The keep rule ("both film
35+rows improve on both columns") is missed by all six arms; the best of them
36+(8:-32:12:-8:-48:8) is +0.2 / +0.4 on film A and +0.9 / +1.0 on film B WORSE than the
37+three-level control.
38+
39+What the numbers say:
40+ * At mini_gop 8 the quarter arms improve MONOTONICALLY as the quarter offset walks
41+ toward the leaf offset (0: +43.6, +4: +43.4, +8: +43.3 on film A vs libaom), i.e.
42+ the sweep's own optimum is quarter == leaf == "no fourth level". Half the group
43+ (4 of 8 pictures) is hidden at ARF-ish quality, and the extra hidden frames cost
44+ more than the halved reference distance buys. Film B degrades on the same axis in
45+ the opposite direction (+129.5 -> +129.9 vs libaom while rav1e improves +35.6 ->
46+ +35.3), so no offset makes both films agree either.
47+ * At mini_gop 16 the fourth level is a REAL gain over the same group at three levels
48+ (lane-arfq's 16:-32:12:-8:-48 measured +47.2 / +6.3 and +134.7 / +35.6): quarters
49+ take it to +44.3 / +4.9 and +133.7 / +36.0, film A -2.9 / -1.4. The depth is what
50+ a 16-picture group was missing -- it just does not catch the 8-picture group, which
51+ already has one hidden frame per four pictures.
52+ * Leaf 16 under the best quarter arm recovers film A (+43.2 / +4.7, within noise of
53+ the control) but pays film B (+131.2 / +35.5); same trade lane-arfq measured for
54+ leaf 16 without quarters.
55+
56+So the depth lever is spent at THIS group size: our per-hidden-frame overhead, not the
57+level count, is what separates us from rav1e's 23-hidden-per-48 shape. The code stays
58+in (six-field EC_AV1_PYRAMID, slot map documented, round trip gated) so the next lane
59+can re-measure it the moment a hidden frame gets cheaper.
60+
61+## the rate loop: the truthful group split makes it WORSE (kept at h = 1)
62+`RateLoop::new` splits a group's byte budget as one `ARF_WEIGHT` share plus `m - 1`
63+leaf shares -- a model from when the pyramid had ONE hidden frame per group. Extending
64+it to the real count (`m / (m - h + h * ARF_WEIGHT)`, h = 2 with the mid level, 4 with
65+quarters) is the truthful model and it FAILS the 48-frame bitrate gate:
66+
67+| model | 768 kbps, pyramid | 1536 kbps, pyramid |
68+|---|---|---|
69+| h = 1 (main, kept) | -1.8% | -6.3% |
70+| h = real hidden count | -9.4% | -14.9% (gate limit 10%) |
71+
72+The h = 1 split over-allocates a group by exactly what `ARF_WEIGHT` = 2.0 under-prices a
73+hidden frame at, and the two errors cancel; fixing one alone un-cancels them. So the
74+extension was REVERTED and the coupling documented at the line -- recalibrating
75+`ARF_WEIGHT` belongs to a rate-control lane, not to a pyramid-shape one. deferred:
76+truthful group split + ARF_WEIGHT recalibration -- needs the bitrate gate as its own
77+keep rule -- unblocked by a rate lane.
78+
79+## 12-frame gate at the winner: NOT RUN -- there is no winner
80+`quarter_q_offset` defaults to `None`, so the 12-frame gate codes the same bytes it
81+coded on main 7b05ecee; its control run on this head is the table above (film A
82++37.5 / +7.6, film B +54.1 / +23.9, bars +1.7 / -14.5 and +12.2 / -10.2, screen
83++33.4 / -23.8), which reproduces the charter's numbers exactly.
84+
85+## invariants at 73244a41
86+* encoder::tests::a_four_level_pyramid_stream_decodes_in_display_order: ok (key 1,
87+ arf 4, leaf 4, show_existing 4 -- four hidden frames per group of eight, each put
88+ back in its own display position, display-order-exact through our decoder AND ffmpeg)
89+* the_facade_codes_the_same_bytes_as_encode_sequence: ok
90+* tile_bytes_do_not_depend_on_the_thread_count (--include-ignored): ok
91+* the_encoders_own_streams_are_byte_identical_to_their_pins: ok (9835 / 35798 unmoved)
92+* bitrate_target_lands_within_10_percent_over_48_frames: ok, pyramid -0.4% / -6.3%
93+ (lane-arfq's numbers exactly)
94+* EC_COMP_MISMATCH=1 full lib suite: 555 passed, 0 failed, 43 ignored
95+* cargo check --workspace --all-targets: 0 errors, 0 ec-av1 warnings
lanes/pyr6/ctrl-12.logadded+57 -0
@@ -0,0 +1,57 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_screen_native ...
4+native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128
5+| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) |
6+|---|---|---|---|---|
7+bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 })
8+bars 1080p: pricer armings default=17 real=186
9+bars 1080p: motion_mode 32x32 SIMPLE=50273 OBMC=0 WARP=178 | 16x16 SIMPLE=4821 OBMC=0 WARP=316 | 8x8 SIMPLE=17680 OBMC=0 WARP=1286 (0.0% OBMC / 2.4% WARP of 74554 eligible)
10+bars 1080p: inter var-tx depths of 11490 blocks -- leaf single 0=1833 1=1120 (37.9% split) | leaf compound 0=909 1=635 (41.1% split) | 32x32 single 0=790 1=1741 (68.8% split) | 32x32 compound 0=2249 1=2213 (49.6% 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+bars 1080p: filter intra on=true blocks 29430 (modes DC=7287 V=3047 H=5419 D157=9114 PAETH=4563)
13+| bars 1080p 1920x1024 | 44.10 dB/218144 B, 47.66 dB/318010 B, 51.05 dB/439435 B, 54.25 dB/587007 B | +1.7% | -14.5% | 38.3s:10.2s:20.4s |
14+bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 })
15+bars 2160p: pricer armings default=14 real=172
16+bars 2160p: motion_mode 32x32 SIMPLE=40526 OBMC=0 WARP=275 | 16x16 SIMPLE=2452 OBMC=0 WARP=801 | 8x8 SIMPLE=7250 OBMC=0 WARP=461 (0.0% OBMC / 3.0% WARP of 51765 eligible)
17+bars 2160p: inter var-tx depths of 9016 blocks -- leaf single 0=1113 1=512 (31.5% split) | leaf compound 0=1107 1=240 (17.8% split) | 32x32 single 0=378 1=1204 (76.1% split) | 32x32 compound 0=144 1=4318 (96.8% 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: filter intra on=true blocks 11967 (modes DC=3217 V=773 H=2519 D157=3855 PAETH=1603)
20+| bars 2160p 1920x1024 | 43.70 dB/228646 B, 47.60 dB/341309 B, 51.18 dB/452951 B, 54.52 dB/582847 B | +12.2% | -10.2% | 31.7s:7.1s:19.1s |
21+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 })
22+film A (1080p source): pricer armings default=20 real=212
23+film A (1080p source): motion_mode 32x32 SIMPLE=41371 OBMC=0 WARP=1393 | 16x16 SIMPLE=20213 OBMC=0 WARP=2070 | 8x8 SIMPLE=4708 OBMC=0 WARP=1038 (0.0% OBMC / 6.4% WARP of 70793 eligible)
24+film A (1080p source): inter var-tx depths of 85428 blocks -- leaf single 0=15069 1=2749 (15.4% split) | leaf compound 0=31906 1=6568 (17.1% split) | 32x32 single 0=7219 1=5640 (43.9% split) | 32x32 compound 0=9936 1=6341 (39.0% split)
25+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)
26+film A (1080p source): filter intra on=true blocks 24625 (modes DC=6298 V=3531 H=4705 D157=7026 PAETH=3065)
27+| film A (1080p source) 1920x768 | 44.23 dB/75096 B, 45.82 dB/125659 B, 47.05 dB/217532 B, 48.31 dB/518999 B | +37.5% | +7.6% | 72.7s:10.3s:15.0s |
28+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 })
29+film B (2160p HDR source): pricer armings default=20 real=189
30+film B (2160p HDR source): motion_mode 32x32 SIMPLE=51091 OBMC=0 WARP=1231 | 16x16 SIMPLE=13800 OBMC=0 WARP=1158 | 8x8 SIMPLE=1892 OBMC=0 WARP=478 (0.0% OBMC / 4.1% WARP of 69650 eligible)
31+film B (2160p HDR source): inter var-tx depths of 75827 blocks -- leaf single 0=14308 1=2386 (14.3% split) | leaf compound 0=27605 1=4672 (14.5% split) | 32x32 single 0=7920 1=5847 (42.5% split) | 32x32 compound 0=8142 1=4947 (37.8% split)
32+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)
33+film B (2160p HDR source): filter intra on=true blocks 18014 (modes DC=4944 V=2455 H=2591 D157=6224 PAETH=1800)
34+| film B (2160p HDR source) 1920x1024 | 46.69 dB/34137 B, 48.03 dB/69950 B, 49.15 dB/149378 B, 50.29 dB/399139 B | +54.1% | +23.9% | 65.5s:23.5s:16.1s |
35+screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective None
36+screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0
37+screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible)
38+screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split)
39+screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0)
40+screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91)
41+LADDER DECODE FAILURE: libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 decode_stream (a lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax and the lossless CfL rule are unimplemented))
42+| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.87 dB/40155 B, 48.55 dB/51325 B, 50.86 dB/63998 B, 53.07 dB/80203 B | +33.4% | -23.8% | 39.1s:8.7s:12.2s |
43+
44+thread 'encode::tests::bd_rate_screen_native' (574828) panicked at crates/ec-av1/src/encode.rs:13367:9:
45+1 reference ladder point(s) did not decode exactly through our decoder:
46+libaom-av1 ["-cpu-used", "6", "-b:v", "0", "-crf", "5"]: our decoder refused the stream (unsupported: AV1 decode_stream (a lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax and the lossless CfL rule are unimplemented))
47+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
48+FAILED
49+
50+failures:
51+
52+failures:
53+ encode::tests::bd_rate_screen_native
54+
55+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 597 filtered out; finished in 413.71s
56+
57+RC=101
lanes/pyr6/ctrl-long.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=919
9+film A (1080p source): motion_mode 32x32 SIMPLE=161930 OBMC=0 WARP=5530 | 16x16 SIMPLE=80152 OBMC=0 WARP=8909 | 8x8 SIMPLE=24317 OBMC=0 WARP=3976 (0.0% OBMC / 6.5% WARP of 284814 eligible)
10+film A (1080p source): inter var-tx depths of 372486 blocks -- leaf single 0=54006 1=10881 (16.8% split) | leaf compound 0=146057 1=35490 (19.5% split) | 32x32 single 0=26503 1=19817 (42.8% split) | 32x32 compound 0=45729 1=34003 (42.6% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 111911 (modes DC=27401 V=16305 H=21553 D157=31194 PAETH=15458)
13+| film A (1080p source) 1920x768 | 44.34 dB/221221 B, 45.97 dB/394851 B, 47.15 dB/707839 B, 48.27 dB/1637237 B | +43.1% | +4.6% | 300.3s:37.9s:54.7s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=818
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=211082 OBMC=0 WARP=4508 | 16x16 SIMPLE=63954 OBMC=0 WARP=4476 | 8x8 SIMPLE=14848 OBMC=0 WARP=2268 (0.0% OBMC / 3.7% WARP of 301136 eligible)
17+film B (2160p HDR source): inter var-tx depths of 328346 blocks -- leaf single 0=52993 1=12352 (18.9% split) | leaf compound 0=113081 1=26109 (18.8% split) | 32x32 single 0=31518 1=28025 (47.1% split) | 32x32 compound 0=34853 1=29415 (45.8% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 72959 (modes DC=18937 V=10072 H=10657 D157=25972 PAETH=7321)
20+| film B (2160p HDR source) 1920x1024 | 46.76 dB/90674 B, 47.99 dB/203731 B, 49.01 dB/479686 B, 50.06 dB/1261714 B | +129.0% | +34.3% | 254.6s:101.1s:82.6s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 867.79s
24+
25+RC=0
lanes/pyr6/m16q0.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=918
9+film A (1080p source): motion_mode 32x32 SIMPLE=165318 OBMC=0 WARP=4791 | 16x16 SIMPLE=74304 OBMC=0 WARP=5596 | 8x8 SIMPLE=17278 OBMC=0 WARP=2556 (0.0% OBMC / 4.8% WARP of 269843 eligible)
10+film A (1080p source): inter var-tx depths of 381482 blocks -- leaf single 0=51419 1=9102 (15.0% split) | leaf compound 0=153719 1=37196 (19.5% split) | 32x32 single 0=27210 1=20208 (42.6% split) | 32x32 compound 0=47661 1=34967 (42.3% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 97674 (modes DC=23765 V=13559 H=19099 D157=27274 PAETH=13977)
13+| film A (1080p source) 1920x768 | 44.10 dB/205450 B, 45.77 dB/363801 B, 46.99 dB/657218 B, 48.08 dB/1408505 B | +44.2% | +4.9% | 322.9s:40.6s:61.0s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=800
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=201721 OBMC=0 WARP=3631 | 16x16 SIMPLE=56998 OBMC=0 WARP=2923 | 8x8 SIMPLE=8706 OBMC=0 WARP=2103 (0.0% OBMC / 3.1% WARP of 276082 eligible)
17+film B (2160p HDR source): inter var-tx depths of 331398 blocks -- leaf single 0=48507 1=10112 (17.3% split) | leaf compound 0=120197 1=27150 (18.4% split) | 32x32 single 0=30945 1=26950 (46.5% split) | 32x32 compound 0=36763 1=30774 (45.6% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 61705 (modes DC=16411 V=8463 H=8652 D157=21788 PAETH=6391)
20+| film B (2160p HDR source) 1920x1024 | 46.50 dB/80775 B, 47.82 dB/178852 B, 48.89 dB/431576 B, 49.90 dB/1103013 B | +132.4% | +35.4% | 273.1s:84.3s:66.3s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 882.45s
24+
25+RC=0
lanes/pyr6/m16q4.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=916
9+film A (1080p source): motion_mode 32x32 SIMPLE=165404 OBMC=0 WARP=5007 | 16x16 SIMPLE=72916 OBMC=0 WARP=5655 | 8x8 SIMPLE=17257 OBMC=0 WARP=2579 (0.0% OBMC / 4.9% WARP of 268818 eligible)
10+film A (1080p source): inter var-tx depths of 379585 blocks -- leaf single 0=51349 1=9149 (15.1% split) | leaf compound 0=152460 1=36966 (19.5% split) | 32x32 single 0=27261 1=20486 (42.9% split) | 32x32 compound 0=47191 1=34723 (42.4% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 96923 (modes DC=23578 V=13389 H=19146 D157=27096 PAETH=13714)
13+| film A (1080p source) 1920x768 | 44.07 dB/203291 B, 45.74 dB/359461 B, 46.98 dB/652236 B, 48.06 dB/1392488 B | +44.3% | +4.9% | 326.3s:38.7s:68.3s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 16, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=807
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=206392 OBMC=0 WARP=3798 | 16x16 SIMPLE=56562 OBMC=0 WARP=3040 | 8x8 SIMPLE=8613 OBMC=0 WARP=2296 (0.0% OBMC / 3.3% WARP of 280701 eligible)
17+film B (2160p HDR source): inter var-tx depths of 328803 blocks -- leaf single 0=47926 1=10003 (17.3% split) | leaf compound 0=119195 1=26917 (18.4% split) | 32x32 single 0=30790 1=26899 (46.6% split) | 32x32 compound 0=36602 1=30471 (45.4% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 61877 (modes DC=16259 V=8621 H=8511 D157=22075 PAETH=6411)
20+| film B (2160p HDR source) 1920x1024 | 46.47 dB/79836 B, 47.78 dB/175545 B, 48.87 dB/425713 B, 49.88 dB/1089913 B | +133.7% | +36.0% | 285.9s:86.6s:60.4s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 908.91s
24+
25+RC=0
lanes/pyr6/q0.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=915
9+film A (1080p source): motion_mode 32x32 SIMPLE=150382 OBMC=0 WARP=4603 | 16x16 SIMPLE=67269 OBMC=0 WARP=7239 | 8x8 SIMPLE=22856 OBMC=0 WARP=3662 (0.0% OBMC / 6.1% WARP of 256011 eligible)
10+film A (1080p source): inter var-tx depths of 393239 blocks -- leaf single 0=45524 1=9051 (16.6% split) | leaf compound 0=163761 1=42613 (20.6% split) | 32x32 single 0=25118 1=18361 (42.2% split) | 32x32 compound 0=50713 1=38098 (42.9% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 116666 (modes DC=28006 V=17031 H=22816 D157=32832 PAETH=15981)
13+| film A (1080p source) 1920x768 | 44.43 dB/228852 B, 46.04 dB/410394 B, 47.21 dB/742773 B, 48.34 dB/1704323 B | +43.6% | +5.4% | 312.9s:45.0s:85.9s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(0), key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=825
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=209067 OBMC=0 WARP=4181 | 16x16 SIMPLE=60887 OBMC=0 WARP=4126 | 8x8 SIMPLE=14458 OBMC=0 WARP=2210 (0.0% OBMC / 3.6% WARP of 294929 eligible)
17+film B (2160p HDR source): inter var-tx depths of 348790 blocks -- leaf single 0=49180 1=11303 (18.7% split) | leaf compound 0=126527 1=30138 (19.2% split) | 32x32 single 0=31490 1=27730 (46.8% split) | 32x32 compound 0=39085 1=33337 (46.0% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 78883 (modes DC=20698 V=11039 H=11337 D157=27994 PAETH=7815)
20+| film B (2160p HDR source) 1920x1024 | 46.83 dB/94190 B, 48.07 dB/218218 B, 49.10 dB/527615 B, 50.16 dB/1349343 B | +129.5% | +35.6% | 323.9s:82.5s:59.8s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 959.76s
24+
25+RC=0
lanes/pyr6/q4.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=918
9+film A (1080p source): motion_mode 32x32 SIMPLE=152474 OBMC=0 WARP=4694 | 16x16 SIMPLE=67141 OBMC=0 WARP=7335 | 8x8 SIMPLE=22474 OBMC=0 WARP=3661 (0.0% OBMC / 6.1% WARP of 257779 eligible)
10+film A (1080p source): inter var-tx depths of 388027 blocks -- leaf single 0=45470 1=8906 (16.4% split) | leaf compound 0=160509 1=41924 (20.7% split) | 32x32 single 0=25125 1=18161 (42.0% split) | 32x32 compound 0=49997 1=37935 (43.1% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 115089 (modes DC=27636 V=16770 H=22217 D157=32376 PAETH=16090)
13+| film A (1080p source) 1920x768 | 44.40 dB/226237 B, 46.02 dB/404403 B, 47.19 dB/733690 B, 48.32 dB/1679865 B | +43.4% | +5.1% | 306.9s:44.9s:85.3s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(4), key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=824
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=209978 OBMC=0 WARP=4192 | 16x16 SIMPLE=59887 OBMC=0 WARP=4035 | 8x8 SIMPLE=14392 OBMC=0 WARP=2191 (0.0% OBMC / 3.5% WARP of 294675 eligible)
17+film B (2160p HDR source): inter var-tx depths of 342287 blocks -- leaf single 0=48567 1=11190 (18.7% split) | leaf compound 0=123317 1=29685 (19.4% split) | 32x32 single 0=31030 1=27123 (46.6% split) | 32x32 compound 0=38483 1=32892 (46.1% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 78216 (modes DC=20363 V=11038 H=11275 D157=27812 PAETH=7728)
20+| film B (2160p HDR source) 1920x1024 | 46.80 dB/93084 B, 48.04 dB/212258 B, 49.08 dB/516947 B, 50.13 dB/1320755 B | +129.7% | +35.4% | 321.7s:82.9s:58.3s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 948.71s
24+
25+RC=0
lanes/pyr6/q8.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=915
9+film A (1080p source): motion_mode 32x32 SIMPLE=153578 OBMC=0 WARP=4876 | 16x16 SIMPLE=66316 OBMC=0 WARP=7388 | 8x8 SIMPLE=22348 OBMC=0 WARP=3659 (0.0% OBMC / 6.2% WARP of 258165 eligible)
10+film A (1080p source): inter var-tx depths of 380020 blocks -- leaf single 0=45459 1=8991 (16.5% split) | leaf compound 0=156609 1=40096 (20.4% split) | 32x32 single 0=24879 1=18213 (42.3% split) | 32x32 compound 0=48825 1=36948 (43.1% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 113787 (modes DC=27698 V=16681 H=21921 D157=31841 PAETH=15646)
13+| film A (1080p source) 1920x768 | 44.37 dB/224286 B, 45.99 dB/399897 B, 47.17 dB/721115 B, 48.30 dB/1659872 B | +43.3% | +5.0% | 330.4s:37.8s:72.8s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=826
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=211564 OBMC=0 WARP=4219 | 16x16 SIMPLE=58627 OBMC=0 WARP=4046 | 8x8 SIMPLE=14440 OBMC=0 WARP=2224 (0.0% OBMC / 3.6% WARP of 295120 eligible)
17+film B (2160p HDR source): inter var-tx depths of 334660 blocks -- leaf single 0=47910 1=10981 (18.6% split) | leaf compound 0=120399 1=28882 (19.3% split) | 32x32 single 0=30298 1=26367 (46.5% split) | 32x32 compound 0=37642 1=32181 (46.1% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 75863 (modes DC=19831 V=10642 H=10979 D157=26928 PAETH=7483)
20+| film B (2160p HDR source) 1920x1024 | 46.78 dB/92206 B, 48.02 dB/208676 B, 49.05 dB/501581 B, 50.10 dB/1296336 B | +129.9% | +35.3% | 293.7s:89.1s:58.4s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 922.86s
24+
25+RC=0
lanes/pyr6/q8leaf16.logadded+25 -0
@@ -0,0 +1,25 @@
1+
2+running 1 test
3+test encode::tests::bd_rate_film_long_gop ...
4+native crop, 48 frames, gop=48; 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+film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 })
8+film A (1080p source): pricer armings default=20 real=904
9+film A (1080p source): motion_mode 32x32 SIMPLE=150952 OBMC=0 WARP=4656 | 16x16 SIMPLE=62243 OBMC=0 WARP=7057 | 8x8 SIMPLE=21542 OBMC=0 WARP=3496 (0.0% OBMC / 6.1% WARP of 249946 eligible)
10+film A (1080p source): inter var-tx depths of 361972 blocks -- leaf single 0=43784 1=8225 (15.8% split) | leaf compound 0=149244 1=36166 (19.5% split) | 32x32 single 0=23698 1=17576 (42.6% split) | 32x32 compound 0=47086 1=36193 (43.5% split)
11+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)
12+film A (1080p source): filter intra on=true blocks 110699 (modes DC=27092 V=16250 H=21088 D157=31033 PAETH=15236)
13+| film A (1080p source) 1920x768 | 44.31 dB/219713 B, 45.95 dB/392218 B, 47.13 dB/700041 B, 48.26 dB/1622435 B | +43.2% | +4.7% | 316.1s:40.1s:60.5s |
14+film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), quarter_q_offset: Some(8), key_q_offset: -48 })
15+film B (2160p HDR source): pricer armings default=20 real=819
16+film B (2160p HDR source): motion_mode 32x32 SIMPLE=208310 OBMC=0 WARP=4058 | 16x16 SIMPLE=55063 OBMC=0 WARP=3967 | 8x8 SIMPLE=14084 OBMC=0 WARP=2243 (0.0% OBMC / 3.6% WARP of 287725 eligible)
17+film B (2160p HDR source): inter var-tx depths of 319364 blocks -- leaf single 0=46192 1=10294 (18.2% split) | leaf compound 0=115456 1=26040 (18.4% split) | 32x32 single 0=28576 1=25283 (46.9% split) | 32x32 compound 0=36039 1=31484 (46.6% split)
18+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)
19+film B (2160p HDR source): filter intra on=true blocks 73944 (modes DC=19473 V=10383 H=10685 D157=26114 PAETH=7289)
20+| film B (2160p HDR source) 1920x1024 | 46.76 dB/91094 B, 47.99 dB/205291 B, 49.01 dB/485187 B, 50.06 dB/1264894 B | +131.2% | +35.5% | 272.6s:84.7s:67.0s |
21+ok
22+
23+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 874.09s
24+
25+RC=0