diff --git a/crates/ec-av1/src/encode.rs b/crates/ec-av1/src/encode.rs index 391b1397..f92d9c83 100644 --- a/crates/ec-av1/src/encode.rs +++ b/crates/ec-av1/src/encode.rs @@ -13566,8 +13566,12 @@ mod tests { // root can code a REAL residual now (one TX_64X64 luma transform and // two TX_32X32 chroma ones). `EC_AV1_B64RES=0` restores 8446 / 28548; // `EC_AV1_B64=0` gives the pre-root bytes under this pyramid. + // Re-taken on lane-keyq: the pyramid codes its KEY FRAME at + // `base_q - 48` now ([`crate::encoder::Pyramid::key_q_offset`]), and + // one of these four pictures is the key -- 8590 -> 9778 at q=150 and + // 28535 -> 35450 at q=60. `EC_AV1_PYRAMID=8:-32:16:-8:0` restores these. let pins: [(u8, usize, u64); 2] = - [(150, 8590, 0x407d_4c27_d24f_d830), (60, 28535, 0xf033_c999_93a3_5b27)]; + [(150, 9778, 0x1f95_859a_9851_8fd6), (60, 35450, 0xd404_19e7_e2ba_84ad)]; for (q, bytes, hash) in pins { let encoded = encode_sequence(&source, q, 0.5).unwrap(); assert_eq!( diff --git a/crates/ec-av1/src/encoder.rs b/crates/ec-av1/src/encoder.rs index 06f505f6..35566b50 100644 --- a/crates/ec-av1/src/encoder.rs +++ b/crates/ec-av1/src/encoder.rs @@ -124,7 +124,7 @@ impl RateTarget { /// Applies this target to `config` and returns the closed loop it needs /// (`None` for the two open-loop variants). `mini_gop` is `Some` in /// pyramid mode, which is what makes the loop keep a quantizer per level. - fn into_loop(self, config: &mut EncoderConfig, mini_gop: Option) -> Option { + fn into_loop(self, config: &mut EncoderConfig, pyramid: Option) -> Option { let target_bytes = match self { RateTarget::QIndex(q) => { config.base_q_idx = q; @@ -143,7 +143,8 @@ impl RateTarget { Some(RateLoop::new( target_bytes, f64::from(config.base_q_idx), - mini_gop, + pyramid, + config.gop, )) } } @@ -207,8 +208,8 @@ impl RateLoop { /// convert a bytes ratio into a `q_idx` step. const GAIN: f64 = 1.0 / 0.0154; - fn new(target_bytes: f64, start_q: f64, mini_gop: Option) -> Self { - let Some(m) = mini_gop.map(|m| m as f64) else { + fn new(target_bytes: f64, start_q: f64, pyramid: Option, gop: usize) -> Self { + let Some(p) = pyramid else { return Self { target: [target_bytes; 3], q: [start_q; 3], @@ -216,12 +217,28 @@ impl RateLoop { seeded: [false; 3], }; }; - // A group of `m` pictures gets `m * target_bytes`, split one - // `ARF_WEIGHT` share to the hidden frame and one each to the `m - 1` - // leaves, so the group's own average is the target exactly. - let share = target_bytes * m / (m - 1.0 + ARF_WEIGHT); + let m = p.mini_gop as f64; + // THE KEY FRAME'S SHARE, in frame targets. `KEY_WEIGHT` prices it at + // the quantizer the loop steers it to, and + // [`Pyramid::key_q_offset`] then codes it that much FINER, which the + // key's own slot cannot steer back: a run holds exactly one key + // frame, so the slot never gets a second frame to correct on. The + // calibration slope (`GAIN`) says what the offset costs in bytes, and + // the rest of the run pays for it -- without this the deeper key ran + // the 48-frame bitrate gate +10.8% over target. + let key = KEY_WEIGHT * (-f64::from(p.key_q_offset) / Self::GAIN).exp(); + // What is left for the `gop - 1` non-key pictures, per picture: a run + // of `gop` pictures is worth `gop` frame targets in total. + let rest = match gop > 1 { + true => (target_bytes * (gop as f64 - key) / (gop as f64 - 1.0)).max(0.0), + false => target_bytes, + }; + // 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. + let share = rest * m / (m - 1.0 + ARF_WEIGHT); Self { - target: [target_bytes * KEY_WEIGHT, share * ARF_WEIGHT, share], + target: [target_bytes * key, share * ARF_WEIGHT, share], q: [start_q; 3], per_level: true, seeded: [false; 3], @@ -388,6 +405,13 @@ 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, + /// 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 + /// its own ARFs sat 32 steps finer, where rav1e (key 100 / arf 120 / + /// leaf 153) and libaom (63 / 95 / 163) both make the key the best frame + /// of the run and spend 22--37% of the stream on it against our 10--11%. + pub key_q_offset: i16, } /// How many pictures the mini-GOP now being collected takes, given how many @@ -425,7 +449,7 @@ fn absorb_tail() -> bool { impl Pyramid { /// The pyramid a run asks for through the environment: - /// `EC_AV1_PYRAMID=[::[:]]`, + /// `EC_AV1_PYRAMID=[::[:[:]]]`, /// where `` is the third level's offset or `off` for none, with /// `0` (or anything that is not a mini-GOP of at least 2, e.g. `flat`) /// meaning the flat one-picture-one-frame path. UNSET is @@ -455,6 +479,8 @@ impl Pyramid { Some("off") => None, Some(v) => v.parse().ok().or(d.mid_q_offset), }, + // 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), }) } } @@ -714,6 +740,7 @@ impl Default for Pyramid { arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: MID_DEFAULT, + key_q_offset: KEY_DEFAULT, } } } @@ -756,6 +783,26 @@ const MID_SLOT: u8 = 2; /// gap) by 6.0 / 2.4 BD points. const MID_DEFAULT: Option = Some(-8); +/// [`Pyramid::default`]'s key-frame offset: the long-GOP sweep's winner +/// (`lanes/keyq.sweep.txt`, 48 pictures, gop 48, BD-rate vs libaom cpu-used 6 +/// / vs rav1e speed 6), which the 12-frame gate agrees with, so it is NOT +/// gated on GOP length the way the third level is: +/// +/// | key offset | film A (48) | film B (48) | film A (12) | film B (12) | +/// |---|---|---|---|---| +/// | 0 (base q) | +52.0 / +11.7 | +144.5 / +44.3 | +43.3 / +15.0 | +66.9 / +35.1 | +/// | -16 | +48.8 / +9.4 | +138.0 / +40.2 | | | +/// | -32 | +45.3 / +6.7 | +132.8 / +36.8 | | | +/// | -48 | +43.5 / +4.6 | +131.3 / +35.0 | +38.5 / +8.2 | +58.2 / +26.5 | +/// | -64 | +44.9 / +3.8 | +140.7 / +37.5 | | | +/// +/// `-64` overshoots on film B, and a deeper ARF (`-40`) under the same key +/// gives bytes back on both films (+44.4 / +5.1, +137.4 / +38.6), so what the +/// group was short of is the ANCHOR, not more ARF. The bars rows move by +/// 0.3 / 0.6 BD points and the screen capture is byte-identical (its pyramid +/// is gated off). +const KEY_DEFAULT: i16 = -48; + /// The AV1 software encoder: [`EncoderConfig`] in, one [`Packet`] out per /// [`Av1Encoder::encode`] call — or, with a [`Pyramid`] configured, a /// coding-order burst of them per [`Av1Encoder::encode_frames`] call plus a @@ -953,7 +1000,7 @@ impl Av1Encoder { pyramid: Pyramid, rate: RateTarget, ) -> Result { - let rate_loop = rate.into_loop(&mut config, Some(pyramid.mini_gop)); + let rate_loop = rate.into_loop(&mut config, Some(pyramid)); let mut encoder = Self::with_pyramid(config, pyramid)?; encoder.rate_loop = rate_loop; Ok(encoder) @@ -1290,10 +1337,12 @@ impl Av1Encoder { /// whole GOP at once. fn encode_key(&mut self, order: u64, picture: &Picture) -> Result { let render = (self.config.width, self.config.height); - let base_q_idx = self + let base = self .rate_loop .as_ref() - .map_or(self.config.base_q_idx, |r| r.q_idx(Level::Key)); + .map_or(i16::from(self.config.base_q_idx), |r| i16::from(r.q_idx(Level::Key))); + let offset = self.pyramid.map_or(0, |p| p.key_q_offset); + let base_q_idx = (base + offset).clamp(1, 255) as u8; let encoded = encode_key_frame_inner( &picture.padded_to(SUPERBLOCK), base_q_idx, @@ -2378,6 +2427,35 @@ mod tests { ); } + /// [`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 + /// key must cost strictly more bytes than the same picture at base q. + #[test] + fn the_key_q_offset_reaches_the_key_frame() { + let _knobs = crate::speed::knob_read(); + crate::encode::force_screen(Some(false)); + let key_bytes = |offset: i16| { + let config = EncoderConfig { + width: 128, + height: 128, + base_q_idx: 120, + gop: 32, + colour: Colour::Bt709Limited, + tile_cols_log2: 0, + tile_rows_log2: 0, + }; + let pyramid = Pyramid { key_q_offset: offset, ..Pyramid::default() }; + let mut enc = Av1Encoder::with_pyramid(config, pyramid).unwrap(); + let packets = enc.encode_frames(&test_card(128, 128, 0)).unwrap(); + let key = packets.iter().find(|p| p.level == Level::Key).expect("key frame"); + key.data.len() + }; + let (base, finer) = (key_bytes(0), key_bytes(-48)); + eprintln!("key at base q {base} bytes, at base q - 48 {finer} bytes"); + assert!(finer > base, "key_q_offset -48 did not reach the key frame ({finer} <= {base})"); + } + fn pyramid_round_trip(pyramid: Pyramid, hidden: usize) { let (width, height) = (128usize, 128usize); let config = EncoderConfig { diff --git a/lanes/keyq-arm.sh b/lanes/keyq-arm.sh new file mode 100755 index 00000000..d2bb22dd --- /dev/null +++ b/lanes/keyq-arm.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# keyq lane: one long-GOP (or 12-frame) BD arm on the prebuilt release binary. +# usage: keyq-arm.sh [|control] +unit=$1; log=$2; test=$3; spec=$4 +bin=$HOME/.cache/cargo-target-keyq/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-keyq; $env $bin --ignored --nocapture --test-threads 1 --exact $test > $log 2>&1; echo RC=\$? >> $log" diff --git a/lanes/keyq.sweep.txt b/lanes/keyq.sweep.txt new file mode 100644 index 00000000..a93d5449 --- /dev/null +++ b/lanes/keyq.sweep.txt @@ -0,0 +1,53 @@ +# lane-keyq -- key-frame quantizer offset (Pyramid::key_q_offset, 5th env field) +# gate: encode::tests::bd_rate_film_long_gop (48 pictures, gop 48), release lib binary, +# --test-threads 1, <= 2 arms in parallel. Rows keyed by the log's own header. +# spec = EC_AV1_PYRAMID=::::; control = unset (default 8:-32:16:-8:0). + +## long-GOP (48 pictures, gop 48) -- BD-rate vs libaom cpu-used 6 / vs rav1e speed 6 +| key offset | film A | film B | +|---|---|---| +| control (0, unset) | +52.0 / +11.7 | +144.5 / +44.3 | +| -32 | +45.3 / +6.7 | +132.8 / +36.8 | +| -48 | +43.5 / +4.6 | +131.3 / +35.0 | +| -64 | +44.9 / +3.8 | +140.7 / +37.5 | +| -16 | +48.8 / +9.4 | +138.0 / +40.2 | +| -48, arf -40 | +44.4 / +5.1 | +137.4 / +38.6 | + +WINNER key -48 at arf -32: both films improve on both columns against the control +(film A -8.5 / -7.1, film B -13.2 / -9.3). -64 overshoots on film B (+140.7) and a +deeper ARF (-40) with the same key gives the bytes back on both films, so the anchor +is what the ARFs wanted, not more ARF. + +## 12-frame gate (encode::tests::bd_rate_screen_native) at the winner +| clip | control (key 0) | key -48 | +|---|---|---| +| bars 1080p | +1.7 / -14.3 | +2.0 / -14.0 | +| bars 2160p | +13.7 / -9.5 | +13.1 / -9.6 | +| film A | +43.3 / +15.0 | +38.5 / +8.2 | +| film B | +66.9 / +35.1 | +58.2 / +26.5 | +| screen capture | +33.4 / -23.8 | +33.4 / -23.8 (pyramid gated off, byte-identical) | + +Both film rows improve on both columns at 12 frames too, so key_q_offset is NOT +gated on GOP length (unlike mid_q_offset). + +## rate loop +The key slot cannot steer the offset back (one key frame per run), so the finer key +ran bitrate_target_lands_within_10_percent_over_48_frames +10.8% over target. The +loop now prices the key's share through the calibration slope +(KEY_WEIGHT * exp(-key_q_offset / GAIN)) and takes it out of the other gop-1 +pictures: 768 kbps pyramid arm -0.3%, 1536 kbps -6.2%. + +## per-level census after (film B, q150, EC_AV1_BITCENSUS=1 + examples/syntax_census) +stream 89,239 B (the gate's own first point, byte-identical), 88,079 B censused, +PSNR-Y mean 45.432 dB over 48 displayed pictures, display-0 47.67 dB. + +| level | before (3-level, key at base q) | after (key -48) | +|---|---|---| +| key | 1 @ 150: 8,399 B (10.2%) | 1 @ 102: 19,321 B (21.9%) | +| arf top+mid | 12: 64,980 B | 12: 58,457 B (66.4%) | +| leaf | 35: 9,117 B | 35: 10,301 B (11.7%) | +| stream / mean PSNR-Y | 82,496 B / 45.096 dB | 89,239 B / 45.432 dB | + +Key share 10.2% -> 21.9%, inside the references' 22-37% band (rav1e 31.6%, libaom +36.9% on film A); display-0 PSNR 45.0 -> 47.67 dB against rav1e's 47.1 at its own +matched point. diff --git a/lanes/keyq/a40k48.log b/lanes/keyq/a40k48.log new file mode 100644 index 00000000..efcafd9e --- /dev/null +++ b/lanes/keyq/a40k48.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: -40, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -40, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=902 +film A (1080p source): motion_mode 32x32 SIMPLE=156212 OBMC=0 WARP=5582 | 16x16 SIMPLE=70513 OBMC=0 WARP=7631 | 8x8 SIMPLE=23554 OBMC=0 WARP=4186 (0.0% OBMC / 6.5% WARP of 267678 eligible) +film A (1080p source): inter var-tx depths of 338266 blocks -- leaf single 0=50258 1=8992 (15.2% split) | leaf compound 0=132003 1=29397 (18.2% split) | 32x32 single 0=24218 1=18201 (42.9% split) | 32x32 compound 0=43792 1=31405 (41.8% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 114571 (modes DC=27703 V=17025 H=21850 D157=32067 PAETH=15926) +| film A (1080p source) 1920x768 | 44.41 dB/228662 B, 46.03 dB/404341 B, 47.21 dB/740717 B, 48.38 dB/1851224 B | +44.4% | +5.1% | 277.8s:33.8s:55.0s | +film B (2160p HDR source): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -40, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -40, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=804 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=203015 OBMC=0 WARP=4252 | 16x16 SIMPLE=56799 OBMC=0 WARP=4341 | 8x8 SIMPLE=13028 OBMC=0 WARP=1995 (0.0% OBMC / 3.7% WARP of 283430 eligible) +film B (2160p HDR source): inter var-tx depths of 293495 blocks -- leaf single 0=47250 1=9996 (17.5% split) | leaf compound 0=102061 1=21460 (17.4% split) | 32x32 single 0=27405 1=25131 (47.8% split) | 32x32 compound 0=32173 1=28019 (46.5% 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 72307 (modes DC=18386 V=10750 H=10612 D157=25342 PAETH=7217) +| film B (2160p HDR source) 1920x1024 | 46.88 dB/99492 B, 48.04 dB/218354 B, 49.05 dB/511898 B, 50.11 dB/1418271 B | +137.4% | +38.6% | 231.4s:69.1s:55.8s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 739.12s + +RC=0 diff --git a/lanes/keyq/census-k48.log b/lanes/keyq/census-k48.log new file mode 100644 index 00000000..f80bccde --- /dev/null +++ b/lanes/keyq/census-k48.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), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=899 +film A (1080p source): motion_mode 32x32 SIMPLE=156871 OBMC=0 WARP=5617 | 16x16 SIMPLE=74020 OBMC=0 WARP=8500 | 8x8 SIMPLE=23001 OBMC=0 WARP=3809 (0.0% OBMC / 6.6% WARP of 271818 eligible) +film A (1080p source): inter var-tx depths of 349107 blocks -- leaf single 0=51707 1=9795 (15.9% split) | leaf compound 0=136423 1=30700 (18.4% split) | 32x32 single 0=25086 1=19162 (43.3% split) | 32x32 compound 0=43642 1=32592 (42.8% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 108443 (modes DC=26174 V=15842 H=20832 D157=30227 PAETH=15368) +| film A (1080p source) 1920x768 | 44.24 dB/215165 B, 45.91 dB/384487 B, 47.09 dB/679658 B, 48.21 dB/1587936 B | +43.5% | +4.6% | 244.2s:32.9s:54.9s | +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), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=811 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=208521 OBMC=0 WARP=4443 | 16x16 SIMPLE=58728 OBMC=0 WARP=4354 | 8x8 SIMPLE=14071 OBMC=0 WARP=2158 (0.0% OBMC / 3.7% WARP of 292275 eligible) +film B (2160p HDR source): inter var-tx depths of 307146 blocks -- leaf single 0=50658 1=11044 (17.9% split) | leaf compound 0=106215 1=22525 (17.5% split) | 32x32 single 0=28832 1=26865 (48.2% split) | 32x32 compound 0=32486 1=28521 (46.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 69512 (modes DC=18136 V=9675 H=10183 D157=24563 PAETH=6955) +| film B (2160p HDR source) 1920x1024 | 46.72 dB/89239 B, 47.95 dB/199138 B, 48.95 dB/454936 B, 50.00 dB/1212928 B | +131.3% | +35.0% | 221.6s:76.6s:55.8s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 700.12s + +RC=0 diff --git a/lanes/keyq/ctl.log b/lanes/keyq/ctl.log new file mode 100644 index 00000000..8a19494e --- /dev/null +++ b/lanes/keyq/ctl.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), key_q_offset: 0 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) +film A (1080p source): pricer armings default=20 real=910 +film A (1080p source): motion_mode 32x32 SIMPLE=164048 OBMC=0 WARP=6355 | 16x16 SIMPLE=78082 OBMC=0 WARP=9487 | 8x8 SIMPLE=24420 OBMC=0 WARP=3973 (0.0% OBMC / 6.9% WARP of 286365 eligible) +film A (1080p source): inter var-tx depths of 361116 blocks -- leaf single 0=56115 1=10836 (16.2% split) | leaf compound 0=134575 1=34594 (20.4% split) | 32x32 single 0=27181 1=20375 (42.8% split) | 32x32 compound 0=44662 1=32778 (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 124804 (modes DC=29918 V=18151 H=23863 D157=35160 PAETH=17712) +| film A (1080p source) 1920x768 | 43.89 dB/212149 B, 45.71 dB/377034 B, 46.96 dB/655607 B, 48.08 dB/1425712 B | +52.0% | +11.7% | 251.1s:33.4s:53.3s | +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), key_q_offset: 0 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) +film B (2160p HDR source): pricer armings default=17 real=805 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=201110 OBMC=0 WARP=4168 | 16x16 SIMPLE=61328 OBMC=0 WARP=4358 | 8x8 SIMPLE=14392 OBMC=0 WARP=1464 (0.0% OBMC / 3.5% WARP of 286820 eligible) +film B (2160p HDR source): inter var-tx depths of 315865 blocks -- leaf single 0=53262 1=12051 (18.5% split) | leaf compound 0=101676 1=26058 (20.4% split) | 32x32 single 0=30507 1=30659 (50.1% split) | 32x32 compound 0=32269 1=29383 (47.7% 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 76193 (modes DC=19370 V=10913 H=10963 D157=27221 PAETH=7726) +| film B (2160p HDR source) 1920x1024 | 46.44 dB/86723 B, 47.81 dB/188242 B, 48.86 dB/435075 B, 49.89 dB/1087401 B | +144.5% | +44.3% | 229.3s:68.1s:53.2s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 590 filtered out; finished in 703.07s + +RC=0 diff --git a/lanes/keyq/k16.log b/lanes/keyq/k16.log new file mode 100644 index 00000000..7fb3c560 --- /dev/null +++ b/lanes/keyq/k16.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), key_q_offset: -16 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -16 }) +film A (1080p source): pricer armings default=20 real=916 +film A (1080p source): motion_mode 32x32 SIMPLE=165152 OBMC=0 WARP=5501 | 16x16 SIMPLE=77420 OBMC=0 WARP=9015 | 8x8 SIMPLE=24158 OBMC=0 WARP=3875 (0.0% OBMC / 6.5% WARP of 285121 eligible) +film A (1080p source): inter var-tx depths of 356826 blocks -- leaf single 0=54478 1=10299 (15.9% split) | leaf compound 0=133664 1=34359 (20.4% split) | 32x32 single 0=26522 1=20193 (43.2% split) | 32x32 compound 0=44295 1=33016 (42.7% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 124090 (modes DC=29676 V=18106 H=24127 D157=34822 PAETH=17359) +| film A (1080p source) 1920x768 | 43.98 dB/212999 B, 45.76 dB/376464 B, 46.99 dB/658290 B, 48.12 dB/1438708 B | +48.8% | +9.4% | 278.8s:33.9s:55.1s | +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), key_q_offset: -16 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -16 }) +film B (2160p HDR source): pricer armings default=18 real=814 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=208155 OBMC=0 WARP=4592 | 16x16 SIMPLE=60334 OBMC=0 WARP=4544 | 8x8 SIMPLE=12183 OBMC=0 WARP=4222 (0.0% OBMC / 4.5% WARP of 294030 eligible) +film B (2160p HDR source): inter var-tx depths of 313895 blocks -- leaf single 0=52335 1=11577 (18.1% split) | leaf compound 0=102087 1=26689 (20.7% split) | 32x32 single 0=29944 1=30063 (50.1% split) | 32x32 compound 0=31867 1=29333 (47.9% split) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 74843 (modes DC=19481 V=10632 H=10965 D157=26429 PAETH=7336) +| film B (2160p HDR source) 1920x1024 | 46.52 dB/86272 B, 47.84 dB/188458 B, 48.88 dB/435247 B, 49.92 dB/1099997 B | +138.0% | +40.2% | 235.1s:69.1s:56.2s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 744.44s + +RC=0 diff --git a/lanes/keyq/k32.log b/lanes/keyq/k32.log new file mode 100644 index 00000000..dbef07f3 --- /dev/null +++ b/lanes/keyq/k32.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), key_q_offset: -32 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -32 }) +film A (1080p source): pricer armings default=20 real=900 +film A (1080p source): motion_mode 32x32 SIMPLE=157905 OBMC=0 WARP=5811 | 16x16 SIMPLE=75304 OBMC=0 WARP=8342 | 8x8 SIMPLE=25690 OBMC=0 WARP=4263 (0.0% OBMC / 6.6% WARP of 277315 eligible) +film A (1080p source): inter var-tx depths of 352223 blocks -- leaf single 0=52908 1=10202 (16.2% split) | leaf compound 0=135131 1=32162 (19.2% split) | 32x32 single 0=25591 1=19805 (43.6% split) | 32x32 compound 0=44189 1=32235 (42.2% 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 123889 (modes DC=29740 V=18656 H=23015 D157=35048 PAETH=17430) +| film A (1080p source) 1920x768 | 44.09 dB/212443 B, 45.84 dB/381156 B, 47.03 dB/660057 B, 48.16 dB/1474549 B | +45.3% | +6.7% | 248.9s:33.4s:52.9s | +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), key_q_offset: -32 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -32 }) +film B (2160p HDR source): pricer armings default=20 real=813 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=208662 OBMC=0 WARP=4590 | 16x16 SIMPLE=59592 OBMC=0 WARP=4154 | 8x8 SIMPLE=14008 OBMC=0 WARP=2468 (0.0% OBMC / 3.8% WARP of 293474 eligible) +film B (2160p HDR source): inter var-tx depths of 307893 blocks -- leaf single 0=50830 1=11330 (18.2% split) | leaf compound 0=103567 1=23825 (18.7% split) | 32x32 single 0=29539 1=28671 (49.3% split) | 32x32 compound 0=31379 1=28752 (47.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 81403 (modes DC=20633 V=11757 H=11943 D157=28698 PAETH=8372) +| film B (2160p HDR source) 1920x1024 | 46.62 dB/86349 B, 47.91 dB/195052 B, 48.91 dB/441277 B, 49.96 dB/1122966 B | +132.8% | +36.8% | 223.9s:68.0s:53.1s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 590 filtered out; finished in 694.70s + +RC=0 diff --git a/lanes/keyq/k48.log b/lanes/keyq/k48.log new file mode 100644 index 00000000..60e455e8 --- /dev/null +++ b/lanes/keyq/k48.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), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=899 +film A (1080p source): motion_mode 32x32 SIMPLE=156871 OBMC=0 WARP=5617 | 16x16 SIMPLE=74020 OBMC=0 WARP=8500 | 8x8 SIMPLE=23001 OBMC=0 WARP=3809 (0.0% OBMC / 6.6% WARP of 271818 eligible) +film A (1080p source): inter var-tx depths of 349107 blocks -- leaf single 0=51707 1=9795 (15.9% split) | leaf compound 0=136423 1=30700 (18.4% split) | 32x32 single 0=25086 1=19162 (43.3% split) | 32x32 compound 0=43642 1=32592 (42.8% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 108443 (modes DC=26174 V=15842 H=20832 D157=30227 PAETH=15368) +| film A (1080p source) 1920x768 | 44.24 dB/215165 B, 45.91 dB/384487 B, 47.09 dB/679658 B, 48.21 dB/1587936 B | +43.5% | +4.6% | 249.8s:34.4s:55.7s | +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), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=811 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=208521 OBMC=0 WARP=4443 | 16x16 SIMPLE=58728 OBMC=0 WARP=4354 | 8x8 SIMPLE=14071 OBMC=0 WARP=2158 (0.0% OBMC / 3.7% WARP of 292275 eligible) +film B (2160p HDR source): inter var-tx depths of 307146 blocks -- leaf single 0=50658 1=11044 (17.9% split) | leaf compound 0=106215 1=22525 (17.5% split) | 32x32 single 0=28832 1=26865 (48.2% split) | 32x32 compound 0=32486 1=28521 (46.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 69512 (modes DC=18136 V=9675 H=10183 D157=24563 PAETH=6955) +| film B (2160p HDR source) 1920x1024 | 46.72 dB/89239 B, 47.95 dB/199138 B, 48.95 dB/454936 B, 50.00 dB/1212928 B | +131.3% | +35.0% | 227.2s:80.6s:57.7s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 721.09s + +RC=0 diff --git a/lanes/keyq/k64.log b/lanes/keyq/k64.log new file mode 100644 index 00000000..576ec5b5 --- /dev/null +++ b/lanes/keyq/k64.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), key_q_offset: -64 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -64 }) +film A (1080p source): pricer armings default=19 real=901 +film A (1080p source): motion_mode 32x32 SIMPLE=156788 OBMC=0 WARP=6042 | 16x16 SIMPLE=73796 OBMC=0 WARP=8240 | 8x8 SIMPLE=22950 OBMC=0 WARP=3907 (0.0% OBMC / 6.7% WARP of 271723 eligible) +film A (1080p source): inter var-tx depths of 344815 blocks -- leaf single 0=51397 1=9109 (15.1% split) | leaf compound 0=135547 1=29740 (18.0% split) | 32x32 single 0=24144 1=19125 (44.2% split) | 32x32 compound 0=43395 1=32358 (42.7% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 107484 (modes DC=26277 V=15386 H=20477 D157=30052 PAETH=15292) +| film A (1080p source) 1920x768 | 44.40 dB/223528 B, 45.98 dB/391417 B, 47.16 dB/719141 B, 48.36 dB/1951267 B | +44.9% | +3.8% | 250.7s:34.6s:55.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), key_q_offset: -64 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -64 }) +film B (2160p HDR source): pricer armings default=19 real=811 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=205582 OBMC=0 WARP=4303 | 16x16 SIMPLE=57776 OBMC=0 WARP=4304 | 8x8 SIMPLE=12586 OBMC=0 WARP=2595 (0.0% OBMC / 3.9% WARP of 287146 eligible) +film B (2160p HDR source): inter var-tx depths of 303246 blocks -- leaf single 0=50230 1=10512 (17.3% split) | leaf compound 0=105320 1=21773 (17.1% split) | 32x32 single 0=27454 1=26179 (48.8% split) | 32x32 compound 0=32953 1=28825 (46.7% 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 70346 (modes DC=17927 V=9951 H=10291 D157=24583 PAETH=7594) +| film B (2160p HDR source) 1920x1024 | 46.80 dB/96939 B, 47.98 dB/205969 B, 48.99 dB/479844 B, 50.17 dB/1699601 B | +140.7% | +37.5% | 228.7s:80.4s:57.6s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 723.87s + +RC=0 diff --git a/lanes/keyq/short-ctl.log b/lanes/keyq/short-ctl.log new file mode 100644 index 00000000..8ce4bad1 --- /dev/null +++ b/lanes/keyq/short-ctl.log @@ -0,0 +1,46 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) +bars 1080p: pricer armings default=17 real=182 +bars 1080p: motion_mode 32x32 SIMPLE=45528 OBMC=0 WARP=308 | 16x16 SIMPLE=4378 OBMC=0 WARP=447 | 8x8 SIMPLE=14599 OBMC=0 WARP=1400 (0.0% OBMC / 3.2% WARP of 66660 eligible) +bars 1080p: inter var-tx depths of 11588 blocks -- leaf single 0=2124 1=902 (29.8% split) | leaf compound 0=993 1=504 (33.7% split) | 32x32 single 0=842 1=1832 (68.5% split) | 32x32 compound 0=2319 1=2072 (47.2% split) +bars 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 1080p: filter intra on=true blocks 28701 (modes DC=6119 V=3037 H=6066 D157=9332 PAETH=4147) +| bars 1080p 1920x1024 | 43.21 dB/191066 B, 46.83 dB/291161 B, 50.15 dB/404264 B, 53.14 dB/530840 B | +1.7% | -14.3% | 38.1s:8.4s:18.6s | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) +bars 2160p: pricer armings default=15 real=172 +bars 2160p: motion_mode 32x32 SIMPLE=39106 OBMC=0 WARP=171 | 16x16 SIMPLE=2952 OBMC=0 WARP=520 | 8x8 SIMPLE=7328 OBMC=0 WARP=210 (0.0% OBMC / 1.8% WARP of 50287 eligible) +bars 2160p: inter var-tx depths of 9358 blocks -- leaf single 0=1367 1=384 (21.9% split) | leaf compound 0=1120 1=222 (16.5% split) | 32x32 single 0=429 1=1256 (74.5% split) | 32x32 compound 0=143 1=4437 (96.9% 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 12582 (modes DC=2996 V=730 H=2723 D157=4594 PAETH=1539) +| bars 2160p 1920x1024 | 42.74 dB/205973 B, 46.77 dB/317204 B, 50.31 dB/425119 B, 53.40 dB/537450 B | +13.7% | -9.5% | 34.6s:5.8s:16.5s | +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), key_q_offset: 0 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) +film A (1080p source): pricer armings default=20 real=214 +film A (1080p source): motion_mode 32x32 SIMPLE=43735 OBMC=0 WARP=1360 | 16x16 SIMPLE=20005 OBMC=0 WARP=1659 | 8x8 SIMPLE=4384 OBMC=0 WARP=1063 (0.0% OBMC / 5.7% WARP of 72206 eligible) +film A (1080p source): inter var-tx depths of 89602 blocks -- leaf single 0=16570 1=2820 (14.5% split) | leaf compound 0=32886 1=6613 (16.7% split) | 32x32 single 0=8000 1=6124 (43.4% split) | 32x32 compound 0=10325 1=6264 (37.8% split) +film A (1080p source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film A (1080p source): filter intra on=true blocks 25623 (modes DC=6457 V=3365 H=4616 D157=7663 PAETH=3522) +| film A (1080p source) 1920x768 | 43.16 dB/63812 B, 45.17 dB/105903 B, 46.58 dB/176966 B, 47.74 dB/327681 B | +43.3% | +15.0% | 59.6s:9.7s:14.2s | +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), key_q_offset: 0 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) +film B (2160p HDR source): pricer armings default=17 real=187 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=50030 OBMC=0 WARP=1003 | 16x16 SIMPLE=13096 OBMC=0 WARP=923 | 8x8 SIMPLE=1650 OBMC=0 WARP=449 (0.0% OBMC / 3.5% WARP of 67151 eligible) +film B (2160p HDR source): inter var-tx depths of 78144 blocks -- leaf single 0=15362 1=2610 (14.5% split) | leaf compound 0=26823 1=4562 (14.5% split) | 32x32 single 0=8634 1=7403 (46.2% split) | 32x32 compound 0=7582 1=5168 (40.5% 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 17473 (modes DC=4830 V=2201 H=2496 D157=6088 PAETH=1858) +| film B (2160p HDR source) 1920x1024 | 45.77 dB/26906 B, 47.48 dB/51899 B, 48.72 dB/112019 B, 49.74 dB/250587 B | +66.9% | +35.1% | 57.1s:19.1s:17.9s | +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.87 dB/40155 B, 48.55 dB/51325 B, 50.86 dB/63998 B, 53.07 dB/80203 B | +33.4% | -23.8% | 42.1s:8.6s:11.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 376.72s + +RC=0 diff --git a/lanes/keyq/short-k48.log b/lanes/keyq/short-k48.log new file mode 100644 index 00000000..35bfa56d --- /dev/null +++ b/lanes/keyq/short-k48.log @@ -0,0 +1,46 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| +bars 1080p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_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), key_q_offset: -48 }) +bars 1080p: pricer armings default=17 real=180 +bars 1080p: motion_mode 32x32 SIMPLE=47185 OBMC=0 WARP=221 | 16x16 SIMPLE=4234 OBMC=0 WARP=315 | 8x8 SIMPLE=15377 OBMC=0 WARP=2343 (0.0% OBMC / 4.1% WARP of 69675 eligible) +bars 1080p: inter var-tx depths of 10971 blocks -- leaf single 0=1687 1=979 (36.7% split) | leaf compound 0=917 1=617 (40.2% split) | 32x32 single 0=782 1=1719 (68.7% split) | 32x32 compound 0=2132 1=2138 (50.1% 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 27520 (modes DC=6707 V=2819 H=5154 D157=8682 PAETH=4158) +| bars 1080p 1920x1024 | 43.70 dB/208030 B, 47.29 dB/307423 B, 50.66 dB/424002 B, 53.95 dB/575642 B | +2.0% | -14.0% | 37.7s:8.2s:18.9s | +bars 2160p: sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_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), key_q_offset: -48 }) +bars 2160p: pricer armings default=14 real=172 +bars 2160p: motion_mode 32x32 SIMPLE=40621 OBMC=0 WARP=190 | 16x16 SIMPLE=2981 OBMC=0 WARP=535 | 8x8 SIMPLE=7599 OBMC=0 WARP=402 (0.0% OBMC / 2.2% WARP of 52328 eligible) +bars 2160p: inter var-tx depths of 9103 blocks -- leaf single 0=1196 1=476 (28.5% split) | leaf compound 0=1102 1=261 (19.1% split) | 32x32 single 0=387 1=1273 (76.7% split) | 32x32 compound 0=121 1=4287 (97.3% split) +bars 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +bars 2160p: filter intra on=true blocks 12065 (modes DC=3147 V=729 H=2575 D157=3935 PAETH=1679) +| bars 2160p 1920x1024 | 43.24 dB/217281 B, 47.19 dB/330959 B, 50.78 dB/442498 B, 54.24 dB/571747 B | +13.1% | -9.6% | 34.5s:5.9s:16.4s | +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), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film A (1080p source): pricer armings default=20 real=214 +film A (1080p source): motion_mode 32x32 SIMPLE=43008 OBMC=0 WARP=1572 | 16x16 SIMPLE=18874 OBMC=0 WARP=1996 | 8x8 SIMPLE=4402 OBMC=0 WARP=994 (0.0% OBMC / 6.4% WARP of 70846 eligible) +film A (1080p source): inter var-tx depths of 79351 blocks -- leaf single 0=14704 1=2496 (14.5% split) | leaf compound 0=29155 1=5306 (15.4% split) | 32x32 single 0=7015 1=5484 (43.9% split) | 32x32 compound 0=9323 1=5868 (38.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 23554 (modes DC=6107 V=3292 H=4298 D157=6900 PAETH=2957) +| film A (1080p source) 1920x768 | 44.11 dB/73077 B, 45.73 dB/122519 B, 46.97 dB/209413 B, 48.24 dB/505324 B | +38.5% | +8.2% | 58.3s:9.7s:13.8s | +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), key_q_offset: -48 }) effective Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) +film B (2160p HDR source): pricer armings default=20 real=188 +film B (2160p HDR source): motion_mode 32x32 SIMPLE=50919 OBMC=0 WARP=1276 | 16x16 SIMPLE=12316 OBMC=0 WARP=1087 | 8x8 SIMPLE=1759 OBMC=0 WARP=506 (0.0% OBMC / 4.2% WARP of 67863 eligible) +film B (2160p HDR source): inter var-tx depths of 71248 blocks -- leaf single 0=13703 1=2173 (13.7% split) | leaf compound 0=26014 1=3973 (13.2% split) | 32x32 single 0=7247 1=5782 (44.4% split) | 32x32 compound 0=7507 1=4849 (39.2% split) +film B (2160p HDR source): screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) +film B (2160p HDR source): filter intra on=true blocks 16122 (modes DC=4471 V=2211 H=2374 D157=5391 PAETH=1675) +| film B (2160p HDR source) 1920x1024 | 46.60 dB/33452 B, 47.94 dB/67669 B, 49.05 dB/140324 B, 50.21 dB/382782 B | +58.2% | +26.5% | 55.9s:19.1s:17.6s | +screen capture (2026-07-25 02-09-04.mkv): sequence, pyramid requested Some(Pyramid { mini_gop: 8, arf_q_offset: -32, leaf_q_offset: 16, mid_q_offset: Some(-8), key_q_offset: -48 }) effective None +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=155 real=0 +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=23654 OBMC=0 WARP=160 | 16x16 SIMPLE=1322 OBMC=0 WARP=318 | 8x8 SIMPLE=562 OBMC=0 WARP=576 (0.0% OBMC / 4.0% WARP of 26592 eligible) +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 34092 blocks -- leaf single 0=5772 1=7043 (55.0% split) | leaf compound 0=2826 1=2851 (50.2% split) | 32x32 single 0=6059 1=8017 (57.0% split) | 32x32 compound 0=860 1=664 (43.6% split) +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 9907 chroma 1109; intrabc blocks 0 (searched 0 / valid 0 / won 0) +screen capture (2026-07-25 02-09-04.mkv): filter intra on=true blocks 8198 (modes DC=98 V=2410 H=5376 D157=223 PAETH=91) +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 45.87 dB/40155 B, 48.55 dB/51325 B, 50.86 dB/63998 B, 53.07 dB/80203 B | +33.4% | -23.8% | 42.2s:8.6s:11.4s | +ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 372.60s + +RC=0