diff --git a/crates/ec-av1/src/encoder.rs b/crates/ec-av1/src/encoder.rs index 0a437c47..a4ba46ae 100644 --- a/crates/ec-av1/src/encoder.rs +++ b/crates/ec-av1/src/encoder.rs @@ -236,6 +236,18 @@ impl RateLoop { // A group of `m` pictures gets `m * rest`, split one `ARF_WEIGHT` // share to the hidden frame and one each to the `m - 1` leaves, so // the group's own average is `rest` exactly. + // + // ONE hidden frame, deliberately, even though the group has coded two + // since the mid level landed (and four with + // [`Pyramid::quarter_q_offset`] on). Pricing the real count + // (`m / (m - h + h * ARF_WEIGHT)`, h = 2) is the truthful model and + // it lands the 48-frame bitrate gate -9.4% / -14.9% under target + // against this line's -1.8% / -6.3%: the h = 1 split over-allocates + // the group by exactly the amount `ARF_WEIGHT` under-prices a hidden + // frame, and the two errors cancel. Fixing the split alone therefore + // makes the loop WORSE; `ARF_WEIGHT` has to be recalibrated in the + // same diff, which is a rate-control lane, not a pyramid-shape one + // (lane-pyr6, `lanes/pyr6.sweep.txt`). let share = rest * m / (m - 1.0 + ARF_WEIGHT); Self { target: [target_bytes * key, share * ARF_WEIGHT, share], @@ -405,6 +417,16 @@ pub struct Pyramid { /// nearest good reference. Ignored by a group of fewer than four /// pictures, where there is no leaf on both sides of a midpoint. pub mid_q_offset: Option, + /// THE FOURTH LEVEL, or `None` for the three-level pyramid: the offset + /// the two hidden QUARTER-POINT ARFs are coded at (between + /// [`Pyramid::mid_q_offset`] and [`Pyramid::leaf_q_offset`], so the group + /// reads key -> top ARF -> mid ARF -> quarter ARFs -> leaves). In a group + /// of eight they sit at pictures 2 and 6, halving again the distance from + /// a leaf to its nearest good reference; every leaf then names the + /// nearest hidden frame on each side. Ignored by a group with fewer than + /// seven leaves, where a quarter point has no leaf on both sides, and -- + /// like the mid level -- by a run no longer than one mini-GOP. + pub quarter_q_offset: Option, /// Added to `base_q_idx` for the GOP's KEY FRAME — negative, since every /// frame of the run reads it, directly or through an ARF. The 48-frame /// census (`lanes/census-longgop.md`) found ours coded at base q while @@ -481,6 +503,12 @@ impl Pyramid { }, // A fifth field is the key frame's own offset. key_q_offset: f.next().and_then(|v| v.parse().ok()).unwrap_or(d.key_q_offset), + // A sixth field is the quarter level's offset, `off` for none. + quarter_q_offset: match f.next() { + None => d.quarter_q_offset, + Some("off") => None, + Some(v) => v.parse().ok().or(d.quarter_q_offset), + }, }) } } @@ -771,6 +799,7 @@ impl Default for Pyramid { leaf_q_offset: 12, mid_q_offset: MID_DEFAULT, key_q_offset: KEY_DEFAULT, + quarter_q_offset: QUARTER_DEFAULT, } } } @@ -807,6 +836,30 @@ const LEAF_SLOT: u8 = 0; /// chain (0) and of `GOLDEN_SLOT` (1), so all four levels are live at once. const MID_SLOT: u8 = 2; +/// The two slots the QUARTER-POINT hidden frames refresh +/// ([`Pyramid::quarter_q_offset`]). THE WHOLE SLOT MAP, with all four levels +/// live at once: +/// +/// | slot | holds | written by | read as | +/// |---|---|---|---| +/// | 0 (`LEAF_SLOT`) | the previous shown leaf | every leaf | `LAST_FRAME` of the next leaf | +/// | 1 (`GOLDEN_SLOT`) | the key frame | the key | `GOLDEN_FRAME` everywhere | +/// | 2 (`MID_SLOT`) | the mid ARF | the mid ARF | `LAST_FRAME` / `ALTREF_FRAME` of the leaves and quarters around it | +/// | 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` | +/// | 5, 6 (`QUARTER_SLOTS`) | the first and second quarter ARF | the quarter ARFs | `LAST_FRAME` / `ALTREF_FRAME` of the leaves beside them | +/// | 7 | unused (the key's copy is never read back) | the key | -- | +/// +/// A frame names exactly two of them plus `GOLDEN_SLOT` +/// ([`Av1Encoder::encode_pyramid_inter`] fills all seven `ref_frame_idx` +/// entries from `last_slot`/`altref_slot`), and `refresh_frame_flags` is the +/// single `self_slot` bit, so no level ever overwrites a slot another level +/// is still reading. +const QUARTER_SLOTS: [u8; 2] = [5, 6]; + +/// [`Pyramid::default`]'s fourth level (`None` = the three-level pyramid). +/// The long-GOP sweep's winner (`lanes/pyr6.sweep.txt`). +const QUARTER_DEFAULT: Option = None; + /// [`Pyramid::default`]'s third level (`None` = the two-level pyramid), the /// long-GOP sweep's winner (`lanes/pyr5.sweep.txt`): every one of the four /// long-GOP columns improves against the two-level shape, film B (the wider @@ -1579,6 +1632,54 @@ impl Av1Encoder { offset, )?); } + // THE FOURTH LEVEL: one hidden frame at the middle of each half of + // the leaf run, so no leaf is more than one picture from a hidden + // reference on either side -- the depth the references run (rav1e + // speed 6 codes 23 hidden frames per 48 pictures, libaom four levels + // per 16-picture group) and the lever three levels had run out of. + // It hangs off the mid level, and it needs a leaf on both sides of + // both quarter points, which a run of fewer than seven leaves cannot + // give. + let quarters = match (mid, pyramid.quarter_q_offset) { + (Some((at, _)), Some(offset)) if leaves >= 7 => { + Some(([(at - 1) / 2, (at + leaves) / 2], offset)) + } + _ => None, + }; + if let Some((at, offset)) = quarters { + // The first quarter predicts forward off the group's anchor and + // backward off the mid ARF; the second starts FROM the mid ARF + // and reads the group's top ARF backward. + for (i, &pos) in at.iter().enumerate() { + let (order, picture) = group[pos].clone(); + let (last_slot, altref_slot) = match i { + 0 => (anchor_slot, MID_SLOT), + _ => (MID_SLOT, next_anchor_slot), + }; + packets.push(self.encode_pyramid_inter( + order, + &picture, + last_slot, + QUARTER_SLOTS[i], + altref_slot, + false, + Level::Arf, + offset, + )?); + } + } + // Every hidden frame INSIDE the leaf run, by leaf index, in display + // order: what a leaf reads forward (the nearest one behind it) and + // backward (the nearest one ahead of it, the group's top ARF when + // there is none). + let mut inner: Vec<(usize, u8)> = Vec::new(); + if let Some((at, _)) = mid { + inner.push((at, MID_SLOT)); + } + if let Some((at, _)) = quarters { + inner.extend(at.iter().zip(QUARTER_SLOTS).map(|(&at, slot)| (at, slot))); + } + inner.sort_unstable(); let (seq, _) = crate::encode::key_frame_headers( self.config.width, self.config.height, @@ -1590,26 +1691,27 @@ impl Av1Encoder { Ok(encoder.packet(data, false, order, Level::ShowExisting)) }; // The leaves, in display order, so every `show_existing_frame` lands - // in its own display position. A leaf before the mid frame names it - // as `ALTREF_FRAME` (the nearer backward reference); the first leaf - // after it starts its chain FROM it. + // in its own display position. Each leaf names the nearest hidden + // frame BEHIND it as `LAST_FRAME` (the group's anchor for the first + // leaf, otherwise the previous leaf) and the nearest one AHEAD as + // `ALTREF_FRAME` (the group's top ARF when none is closer). for (i, (order, picture)) in group[..leaves].iter().enumerate() { - if let Some((at, _)) = mid { - if i == at { - let packet = show_existing(self, MID_SLOT, *order)?; - packets.push(packet); - continue; - } + if let Some(&(_, slot)) = inner.iter().find(|(at, _)| *at == i) { + let packet = show_existing(self, slot, *order)?; + packets.push(packet); + continue; } - let last_slot = match (i, mid) { - (0, _) => anchor_slot, - (i, Some((at, _))) if i == at + 1 => MID_SLOT, - _ => LEAF_SLOT, - }; - let altref_slot = match mid { - Some((at, _)) if i < at => MID_SLOT, - _ => next_anchor_slot, + let last_slot = match i { + 0 => anchor_slot, + i => inner + .iter() + .find(|(at, _)| at + 1 == i) + .map_or(LEAF_SLOT, |&(_, slot)| slot), }; + let altref_slot = inner + .iter() + .find(|(at, _)| *at > i) + .map_or(next_anchor_slot, |&(_, slot)| slot); packets.push(self.encode_pyramid_inter( *order, picture, @@ -2457,6 +2559,28 @@ mod tests { ); } + /// The same round trip over a FOUR-level group + /// ([`Pyramid::quarter_q_offset`]): a mini-GOP of eight now codes four + /// hidden frames -- the top ARF at picture 8, the mid at 4 and the two + /// quarters at 2 and 6 -- each re-output by its own + /// `show_existing_frame`. Every leaf reads a different pair of DPB slots + /// than it did at three levels, so a slot map that lets one level + /// overwrite a picture another is still reading shows up here as a + /// display-order mismatch against ffmpeg. + #[test] + fn a_four_level_pyramid_stream_decodes_in_display_order() { + let _knobs = crate::speed::knob_read(); + pyramid_round_trip( + Pyramid { + mini_gop: 8, + mid_q_offset: Some(-8), + quarter_q_offset: Some(4), + ..Pyramid::default() + }, + 4, + ); + } + /// [`Pyramid::key_q_offset`] reaches the key frame: the whole run reads /// the key, so an offset that never arrived would be invisible in the BD /// table except as "no change" (class symbol-consumption-gap). A finer diff --git a/lanes/pyr6-arm.sh b/lanes/pyr6-arm.sh new file mode 100755 index 00000000..cdbe69b1 --- /dev/null +++ b/lanes/pyr6-arm.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# pyr6 lane: one BD arm on the prebuilt release binary. +# usage: pyr6-arm.sh [|control] +unit=$1; log=$2; test=$3; spec=$4 +bin=$HOME/.cache/cargo-target-pyr6/release/deps/ec_av1-8fef0196ab10338d +env="" +[ "$spec" = control ] || env="EC_AV1_PYRAMID=$spec" +systemd-run --user --unit "$unit" -p MemoryMax=8G --collect bash -c \ + "cd $HOME/Documents/Code/Rust/edith_codecs-pyr6; $env $bin --ignored --nocapture --test-threads 1 --exact $test > $log 2>&1; echo RC=\$? >> $log" diff --git a/lanes/pyr6.sweep.txt b/lanes/pyr6.sweep.txt new file mode 100644 index 00000000..66ce768c --- /dev/null +++ b/lanes/pyr6.sweep.txt @@ -0,0 +1,95 @@ +# lane-pyr6 -- A FOURTH pyramid level: hidden quarter-point ARFs. +# gate: encode::tests::bd_rate_film_long_gop (48 pictures, gop 48), release lib binary, +# --test-threads 1, <= 2 arms in parallel, each arm keyed by the log's own +# "pyramid requested/effective" print. +# spec = ::::: (`off` = level absent). +# logs: lanes/pyr6/*.log + +## controls on this head (0326d9fc), reproducing main 7b05ecee exactly +| gate | film A | film B | +|---|---|---| +| long-GOP (48 pictures, gop 48) | +43.1 / +4.6 | +129.0 / +34.3 | +| 12-frame (bd_rate_screen_native) | +37.5 / +7.6 | +54.1 / +23.9 | +12-frame control also: bars 1080p +1.7 / -14.5, bars 2160p +12.2 / -10.2, screen +capture +33.4 / -23.8 (pyramid gated off). Both charter control rows match to the +decimal. NOTE: bd_rate_screen_native exits 101 on this head for a reason that predates +this lane -- assert_ladder_decodes fails on the libaom crf 5 REFERENCE point ("a +lossless frame (qindex 0): the TX_4X4 Walsh-Hadamard tile syntax ... unimplemented"), +a decoder gap outside this lane's scope. The BD table is printed in full before the +assert, so every arm's numbers are read from the table, not the exit code. + +## long-GOP sweep -- BD-rate vs libaom cpu-used 6 / vs rav1e speed 6 +| arm | spec | film A | film B | +|---|---|---|---| +| control (3 levels) | 8:-32:12:-8:-48 | +43.1 / +4.6 | +129.0 / +34.3 | +| 8, quarter 0 | 8:-32:12:-8:-48:0 | +43.6 / +5.4 | +129.5 / +35.6 | +| 8, quarter +4 | 8:-32:12:-8:-48:4 | +43.4 / +5.1 | +129.7 / +35.4 | +| 8, quarter +8 | 8:-32:12:-8:-48:8 | +43.3 / +5.0 | +129.9 / +35.3 | +| 16, quarter 0 | 16:-32:12:-8:-48:0 | +44.2 / +4.9 | +132.4 / +35.4 | +| 16, quarter +4 | 16:-32:12:-8:-48:4 | +44.3 / +4.9 | +133.7 / +36.0 | +| 8, quarter +8, leaf 16 | 8:-32:16:-8:-48:8 | +43.2 / +4.7 | +131.2 / +35.5 | + +DECISION: the fourth level LOSES on every arm; `quarter_q_offset` stays `None` +(QUARTER_DEFAULT), so the default stream is byte-identical to main 7b05ecee and the +12-frame gate was not re-run at a "winner" -- there is none. The keep rule ("both film +rows improve on both columns") is missed by all six arms; the best of them +(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 +three-level control. + +What the numbers say: + * At mini_gop 8 the quarter arms improve MONOTONICALLY as the quarter offset walks + toward the leaf offset (0: +43.6, +4: +43.4, +8: +43.3 on film A vs libaom), i.e. + the sweep's own optimum is quarter == leaf == "no fourth level". Half the group + (4 of 8 pictures) is hidden at ARF-ish quality, and the extra hidden frames cost + more than the halved reference distance buys. Film B degrades on the same axis in + the opposite direction (+129.5 -> +129.9 vs libaom while rav1e improves +35.6 -> + +35.3), so no offset makes both films agree either. + * At mini_gop 16 the fourth level is a REAL gain over the same group at three levels + (lane-arfq's 16:-32:12:-8:-48 measured +47.2 / +6.3 and +134.7 / +35.6): quarters + take it to +44.3 / +4.9 and +133.7 / +36.0, film A -2.9 / -1.4. The depth is what + a 16-picture group was missing -- it just does not catch the 8-picture group, which + already has one hidden frame per four pictures. + * Leaf 16 under the best quarter arm recovers film A (+43.2 / +4.7, within noise of + the control) but pays film B (+131.2 / +35.5); same trade lane-arfq measured for + leaf 16 without quarters. + +So the depth lever is spent at THIS group size: our per-hidden-frame overhead, not the +level count, is what separates us from rav1e's 23-hidden-per-48 shape. The code stays +in (six-field EC_AV1_PYRAMID, slot map documented, round trip gated) so the next lane +can re-measure it the moment a hidden frame gets cheaper. + +## the rate loop: the truthful group split makes it WORSE (kept at h = 1) +`RateLoop::new` splits a group's byte budget as one `ARF_WEIGHT` share plus `m - 1` +leaf shares -- a model from when the pyramid had ONE hidden frame per group. Extending +it to the real count (`m / (m - h + h * ARF_WEIGHT)`, h = 2 with the mid level, 4 with +quarters) is the truthful model and it FAILS the 48-frame bitrate gate: + +| model | 768 kbps, pyramid | 1536 kbps, pyramid | +|---|---|---| +| h = 1 (main, kept) | -1.8% | -6.3% | +| h = real hidden count | -9.4% | -14.9% (gate limit 10%) | + +The h = 1 split over-allocates a group by exactly what `ARF_WEIGHT` = 2.0 under-prices a +hidden frame at, and the two errors cancel; fixing one alone un-cancels them. So the +extension was REVERTED and the coupling documented at the line -- recalibrating +`ARF_WEIGHT` belongs to a rate-control lane, not to a pyramid-shape one. deferred: +truthful group split + ARF_WEIGHT recalibration -- needs the bitrate gate as its own +keep rule -- unblocked by a rate lane. + +## 12-frame gate at the winner: NOT RUN -- there is no winner +`quarter_q_offset` defaults to `None`, so the 12-frame gate codes the same bytes it +coded on main 7b05ecee; its control run on this head is the table above (film A ++37.5 / +7.6, film B +54.1 / +23.9, bars +1.7 / -14.5 and +12.2 / -10.2, screen ++33.4 / -23.8), which reproduces the charter's numbers exactly. + +## invariants at 73244a41 +* encoder::tests::a_four_level_pyramid_stream_decodes_in_display_order: ok (key 1, + arf 4, leaf 4, show_existing 4 -- four hidden frames per group of eight, each put + back in its own display position, display-order-exact through our decoder AND ffmpeg) +* the_facade_codes_the_same_bytes_as_encode_sequence: ok +* tile_bytes_do_not_depend_on_the_thread_count (--include-ignored): ok +* the_encoders_own_streams_are_byte_identical_to_their_pins: ok (9835 / 35798 unmoved) +* bitrate_target_lands_within_10_percent_over_48_frames: ok, pyramid -0.4% / -6.3% + (lane-arfq's numbers exactly) +* EC_COMP_MISMATCH=1 full lib suite: 555 passed, 0 failed, 43 ignored +* cargo check --workspace --all-targets: 0 errors, 0 ec-av1 warnings diff --git a/lanes/pyr6/ctrl-12.log b/lanes/pyr6/ctrl-12.log new file mode 100644 index 00000000..f1798bb8 --- /dev/null +++ b/lanes/pyr6/ctrl-12.log @@ -0,0 +1,57 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 1080p: pricer armings default=17 real=186 +bars 1080p: motion_mode 32x32 SIMPLE=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) +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) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 29430 (modes DC=7287 V=3047 H=5419 D157=9114 PAETH=4563) +| 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 | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +bars 2160p: pricer armings default=14 real=172 +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) +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) +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 2160p: filter intra on=true blocks 11967 (modes DC=3217 V=773 H=2519 D157=3855 PAETH=1603) +| 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 | +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=212 +film A (1080p source): 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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 24625 (modes DC=6298 V=3531 H=4705 D157=7026 PAETH=3065) +| 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 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=189 +film B (2160p HDR source): 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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 18014 (modes DC=4944 V=2455 H=2591 D157=6224 PAETH=1800) +| 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 | +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91) +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)) +| 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 | + +thread 'encode::tests::bd_rate_screen_native' (574828) panicked at crates/ec-av1/src/encode.rs:13367:9: +1 reference ladder point(s) did not decode exactly through our decoder: +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)) +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace +FAILED + +failures: + +failures: + encode::tests::bd_rate_screen_native + +test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 597 filtered out; finished in 413.71s + +RC=101 diff --git a/lanes/pyr6/ctrl-long.log b/lanes/pyr6/ctrl-long.log new file mode 100644 index 00000000..3e814b16 --- /dev/null +++ b/lanes/pyr6/ctrl-long.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=919 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 111911 (modes DC=27401 V=16305 H=21553 D157=31194 PAETH=15458) +| 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 | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: None, key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=818 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 72959 (modes DC=18937 V=10072 H=10657 D157=25972 PAETH=7321) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 867.79s + +RC=0 diff --git a/lanes/pyr6/m16q0.log b/lanes/pyr6/m16q0.log new file mode 100644 index 00000000..95694bfd --- /dev/null +++ b/lanes/pyr6/m16q0.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 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 }) +film A (1080p source): pricer armings default=20 real=918 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 97674 (modes DC=23765 V=13559 H=19099 D157=27274 PAETH=13977) +| 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 | +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 }) +film B (2160p HDR source): pricer armings default=20 real=800 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 61705 (modes DC=16411 V=8463 H=8652 D157=21788 PAETH=6391) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 882.45s + +RC=0 diff --git a/lanes/pyr6/m16q4.log b/lanes/pyr6/m16q4.log new file mode 100644 index 00000000..38faec1a --- /dev/null +++ b/lanes/pyr6/m16q4.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 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 }) +film A (1080p source): pricer armings default=20 real=916 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 96923 (modes DC=23578 V=13389 H=19146 D157=27096 PAETH=13714) +| 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 | +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 }) +film B (2160p HDR source): pricer armings default=20 real=807 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 61877 (modes DC=16259 V=8621 H=8511 D157=22075 PAETH=6411) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 908.91s + +RC=0 diff --git a/lanes/pyr6/q0.log b/lanes/pyr6/q0.log new file mode 100644 index 00000000..ca53a7ed --- /dev/null +++ b/lanes/pyr6/q0.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: 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 }) +film A (1080p source): pricer armings default=20 real=915 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 116666 (modes DC=28006 V=17031 H=22816 D157=32832 PAETH=15981) +| 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 | +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 }) +film B (2160p HDR source): pricer armings default=20 real=825 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 78883 (modes DC=20698 V=11039 H=11337 D157=27994 PAETH=7815) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 959.76s + +RC=0 diff --git a/lanes/pyr6/q4.log b/lanes/pyr6/q4.log new file mode 100644 index 00000000..f1fccdae --- /dev/null +++ b/lanes/pyr6/q4.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: 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 }) +film A (1080p source): pricer armings default=20 real=918 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 115089 (modes DC=27636 V=16770 H=22217 D157=32376 PAETH=16090) +| 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 | +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 }) +film B (2160p HDR source): pricer armings default=20 real=824 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 78216 (modes DC=20363 V=11038 H=11275 D157=27812 PAETH=7728) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 948.71s + +RC=0 diff --git a/lanes/pyr6/q8.log b/lanes/pyr6/q8.log new file mode 100644 index 00000000..12a023a7 --- /dev/null +++ b/lanes/pyr6/q8.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 12, mid_q_offset: Some(-8), quarter_q_offset: 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 }) +film A (1080p source): pricer armings default=20 real=915 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 113787 (modes DC=27698 V=16681 H=21921 D157=31841 PAETH=15646) +| 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 | +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 }) +film B (2160p HDR source): pricer armings default=20 real=826 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 75863 (modes DC=19831 V=10642 H=10979 D157=26928 PAETH=7483) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 922.86s + +RC=0 diff --git a/lanes/pyr6/q8leaf16.log b/lanes/pyr6/q8leaf16.log new file mode 100644 index 00000000..2a2aaff4 --- /dev/null +++ b/lanes/pyr6/q8leaf16.log @@ -0,0 +1,25 @@ + +running 1 test +test encode::tests::bd_rate_film_long_gop ... +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +film A (1080p source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 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 }) +film A (1080p source): pricer armings default=20 real=904 +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) +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) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 110699 (modes DC=27092 V=16250 H=21088 D157=31033 PAETH=15236) +| 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 | +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 }) +film B (2160p HDR source): pricer armings default=20 real=819 +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) +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) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 73944 (modes DC=19473 V=10383 H=10685 D157=26114 PAETH=7289) +| 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 | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 597 filtered out; finished in 874.09s + +RC=0