The pyramid codes its key frame 48 q-steps below base
Browse files at this commit20d60a547ad6e7cad049ab5b27b0f755faf579afParent: f7ddd74- feat
- the pyramid codes its key frame 48 q-steps below base
11 changed files +296 -13
- crates/ec-av1/src/encode.rs +5 -1
- crates/ec-av1/src/encoder.rs +46 -12
- lanes/keyq.sweep.txt +15 -0
- lanes/keyq/a40k48.log +25 -0
- lanes/keyq/ctl.log +19 -0
- lanes/keyq/k16.log +25 -0
- lanes/keyq/k32.log +19 -0
- lanes/keyq/k48.log +25 -0
- lanes/keyq/k64.log +25 -0
- lanes/keyq/short-ctl.log +46 -0
- lanes/keyq/short-k48.log +46 -0
crates/ec-av1/src/encode.rsmodified+5 -1
| @@ -13520,8 +13520,12 @@ mod tests { | |||
| 13520 | // root can code a REAL residual now (one TX_64X64 luma transform and | 13520 | // root can code a REAL residual now (one TX_64X64 luma transform and |
| 13521 | // two TX_32X32 chroma ones). `EC_AV1_B64RES=0` restores 8446 / 28548; | 13521 | // two TX_32X32 chroma ones). `EC_AV1_B64RES=0` restores 8446 / 28548; |
| 13522 | // `EC_AV1_B64=0` gives the pre-root bytes under this pyramid. | 13522 | // `EC_AV1_B64=0` gives the pre-root bytes under this pyramid. |
| 13523 | + // Re-taken on lane-keyq: the pyramid codes its KEY FRAME at | ||
| 13524 | + // `base_q - 48` now ([`crate::encoder::Pyramid::key_q_offset`]), and | ||
| 13525 | + // one of these four pictures is the key -- 8590 -> 9778 at q=150 and | ||
| 13526 | + // 28535 -> 35450 at q=60. `EC_AV1_PYRAMID=8:-32:16:-8:0` restores these. | ||
| 13523 | let pins: [(u8, usize, u64); 2] = | 13527 | let pins: [(u8, usize, u64); 2] = |
| 13524 | - [(150, 8590, 0x407d_4c27_d24f_d830), (60, 28535, 0xf033_c999_93a3_5b27)]; | 13528 | + [(150, 9778, 0x1f95_859a_9851_8fd6), (60, 35450, 0xd404_19e7_e2ba_84ad)]; |
| 13525 | for (q, bytes, hash) in pins { | 13529 | for (q, bytes, hash) in pins { |
| 13526 | let encoded = encode_sequence(&source, q, 0.5).unwrap(); | 13530 | let encoded = encode_sequence(&source, q, 0.5).unwrap(); |
| 13527 | assert_eq!( | 13531 | assert_eq!( |
crates/ec-av1/src/encoder.rsmodified+46 -12
| @@ -124,7 +124,7 @@ impl RateTarget { | |||
| 124 | /// Applies this target to `config` and returns the closed loop it needs | 124 | /// Applies this target to `config` and returns the closed loop it needs |
| 125 | /// (`None` for the two open-loop variants). `mini_gop` is `Some` in | 125 | /// (`None` for the two open-loop variants). `mini_gop` is `Some` in |
| 126 | /// pyramid mode, which is what makes the loop keep a quantizer per level. | 126 | /// pyramid mode, which is what makes the loop keep a quantizer per level. |
| 127 | - fn into_loop(self, config: &mut EncoderConfig, mini_gop: Option<usize>) -> Option<RateLoop> { | 127 | + fn into_loop(self, config: &mut EncoderConfig, pyramid: Option<Pyramid>) -> Option<RateLoop> { |
| 128 | let target_bytes = match self { | 128 | let target_bytes = match self { |
| 129 | RateTarget::QIndex(q) => { | 129 | RateTarget::QIndex(q) => { |
| 130 | config.base_q_idx = q; | 130 | config.base_q_idx = q; |
| @@ -143,7 +143,8 @@ impl RateTarget { | |||
| 143 | Some(RateLoop::new( | 143 | Some(RateLoop::new( |
| 144 | target_bytes, | 144 | target_bytes, |
| 145 | f64::from(config.base_q_idx), | 145 | f64::from(config.base_q_idx), |
| 146 | - mini_gop, | 146 | + pyramid, |
| 147 | + config.gop, | ||
| 147 | )) | 148 | )) |
| 148 | } | 149 | } |
| 149 | } | 150 | } |
| @@ -207,8 +208,8 @@ impl RateLoop { | |||
| 207 | /// convert a bytes ratio into a `q_idx` step. | 208 | /// convert a bytes ratio into a `q_idx` step. |
| 208 | const GAIN: f64 = 1.0 / 0.0154; | 209 | const GAIN: f64 = 1.0 / 0.0154; |
| 209 | 210 | ||
| 210 | - fn new(target_bytes: f64, start_q: f64, mini_gop: Option<usize>) -> Self { | 211 | + fn new(target_bytes: f64, start_q: f64, pyramid: Option<Pyramid>, gop: usize) -> Self { |
| 211 | - let Some(m) = mini_gop.map(|m| m as f64) else { | 212 | + let Some(p) = pyramid else { |
| 212 | return Self { | 213 | return Self { |
| 213 | target: [target_bytes; 3], | 214 | target: [target_bytes; 3], |
| 214 | q: [start_q; 3], | 215 | q: [start_q; 3], |
| @@ -216,12 +217,28 @@ impl RateLoop { | |||
| 216 | seeded: [false; 3], | 217 | seeded: [false; 3], |
| 217 | }; | 218 | }; |
| 218 | }; | 219 | }; |
| 219 | - // A group of `m` pictures gets `m * target_bytes`, split one | 220 | + let m = p.mini_gop as f64; |
| 220 | - // `ARF_WEIGHT` share to the hidden frame and one each to the `m - 1` | 221 | + // THE KEY FRAME'S SHARE, in frame targets. `KEY_WEIGHT` prices it at |
| 221 | - // leaves, so the group's own average is the target exactly. | 222 | + // the quantizer the loop steers it to, and |
| 222 | - let share = target_bytes * m / (m - 1.0 + ARF_WEIGHT); | 223 | + // [`Pyramid::key_q_offset`] then codes it that much FINER, which the |
| 224 | + // key's own slot cannot steer back: a run holds exactly one key | ||
| 225 | + // frame, so the slot never gets a second frame to correct on. The | ||
| 226 | + // calibration slope (`GAIN`) says what the offset costs in bytes, and | ||
| 227 | + // the rest of the run pays for it -- without this the deeper key ran | ||
| 228 | + // the 48-frame bitrate gate +10.8% over target. | ||
| 229 | + let key = KEY_WEIGHT * (-f64::from(p.key_q_offset) / Self::GAIN).exp(); | ||
| 230 | + // What is left for the `gop - 1` non-key pictures, per picture: a run | ||
| 231 | + // of `gop` pictures is worth `gop` frame targets in total. | ||
| 232 | + let rest = match gop > 1 { | ||
| 233 | + true => (target_bytes * (gop as f64 - key) / (gop as f64 - 1.0)).max(0.0), | ||
| 234 | + false => target_bytes, | ||
| 235 | + }; | ||
| 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, so | ||
| 238 | + // the group's own average is `rest` exactly. | ||
| 239 | + let share = rest * m / (m - 1.0 + ARF_WEIGHT); | ||
| 223 | Self { | 240 | Self { |
| 224 | - target: [target_bytes * KEY_WEIGHT, share * ARF_WEIGHT, share], | 241 | + target: [target_bytes * key, share * ARF_WEIGHT, share], |
| 225 | q: [start_q; 3], | 242 | q: [start_q; 3], |
| 226 | per_level: true, | 243 | per_level: true, |
| 227 | seeded: [false; 3], | 244 | seeded: [false; 3], |
| @@ -766,8 +783,25 @@ const MID_SLOT: u8 = 2; | |||
| 766 | /// gap) by 6.0 / 2.4 BD points. | 783 | /// gap) by 6.0 / 2.4 BD points. |
| 767 | const MID_DEFAULT: Option<i16> = Some(-8); | 784 | const MID_DEFAULT: Option<i16> = Some(-8); |
| 768 | 785 | ||
| 769 | -/// [`Pyramid::default`]'s key-frame offset (`lanes/keyq.sweep.txt`). | 786 | +/// [`Pyramid::default`]'s key-frame offset: the long-GOP sweep's winner |
| 770 | -const KEY_DEFAULT: i16 = 0; | 787 | +/// (`lanes/keyq.sweep.txt`, 48 pictures, gop 48, BD-rate vs libaom cpu-used 6 |
| 788 | +/// / vs rav1e speed 6), which the 12-frame gate agrees with, so it is NOT | ||
| 789 | +/// gated on GOP length the way the third level is: | ||
| 790 | +/// | ||
| 791 | +/// | key offset | film A (48) | film B (48) | film A (12) | film B (12) | | ||
| 792 | +/// |---|---|---|---|---| | ||
| 793 | +/// | 0 (base q) | +52.0 / +11.7 | +144.5 / +44.3 | +43.3 / +15.0 | +66.9 / +35.1 | | ||
| 794 | +/// | -16 | +48.8 / +9.4 | +138.0 / +40.2 | | | | ||
| 795 | +/// | -32 | +45.3 / +6.7 | +132.8 / +36.8 | | | | ||
| 796 | +/// | -48 | +43.5 / +4.6 | +131.3 / +35.0 | +38.5 / +8.2 | +58.2 / +26.5 | | ||
| 797 | +/// | -64 | +44.9 / +3.8 | +140.7 / +37.5 | | | | ||
| 798 | +/// | ||
| 799 | +/// `-64` overshoots on film B, and a deeper ARF (`-40`) under the same key | ||
| 800 | +/// gives bytes back on both films (+44.4 / +5.1, +137.4 / +38.6), so what the | ||
| 801 | +/// group was short of is the ANCHOR, not more ARF. The bars rows move by | ||
| 802 | +/// 0.3 / 0.6 BD points and the screen capture is byte-identical (its pyramid | ||
| 803 | +/// is gated off). | ||
| 804 | +const KEY_DEFAULT: i16 = -48; | ||
| 771 | 805 | ||
| 772 | /// The AV1 software encoder: [`EncoderConfig`] in, one [`Packet`] out per | 806 | /// The AV1 software encoder: [`EncoderConfig`] in, one [`Packet`] out per |
| 773 | /// [`Av1Encoder::encode`] call — or, with a [`Pyramid`] configured, a | 807 | /// [`Av1Encoder::encode`] call — or, with a [`Pyramid`] configured, a |
| @@ -966,7 +1000,7 @@ impl Av1Encoder { | |||
| 966 | pyramid: Pyramid, | 1000 | pyramid: Pyramid, |
| 967 | rate: RateTarget, | 1001 | rate: RateTarget, |
| 968 | ) -> Result<Self> { | 1002 | ) -> Result<Self> { |
| 969 | - let rate_loop = rate.into_loop(&mut config, Some(pyramid.mini_gop)); | 1003 | + let rate_loop = rate.into_loop(&mut config, Some(pyramid)); |
| 970 | let mut encoder = Self::with_pyramid(config, pyramid)?; | 1004 | let mut encoder = Self::with_pyramid(config, pyramid)?; |
| 971 | encoder.rate_loop = rate_loop; | 1005 | encoder.rate_loop = rate_loop; |
| 972 | Ok(encoder) | 1006 | Ok(encoder) |
lanes/keyq.sweep.txtmodified+15 -0
| @@ -2,3 +2,18 @@ | |||
| 2 | # gate: encode::tests::bd_rate_film_long_gop (48 pictures, gop 48), release lib binary, | 2 | # gate: encode::tests::bd_rate_film_long_gop (48 pictures, gop 48), release lib binary, |
| 3 | # --test-threads 1, <= 2 arms in parallel. Rows keyed by the log's own header. | 3 | # --test-threads 1, <= 2 arms in parallel. Rows keyed by the log's own header. |
| 4 | # spec = EC_AV1_PYRAMID=<mini_gop>:<arf>:<leaf>:<mid>:<key>; control = unset (default 8:-32:16:-8:0). | 4 | # spec = EC_AV1_PYRAMID=<mini_gop>:<arf>:<leaf>:<mid>:<key>; control = unset (default 8:-32:16:-8:0). |
| 5 | + | ||
| 6 | +## long-GOP (48 pictures, gop 48) -- BD-rate vs libaom cpu-used 6 / vs rav1e speed 6 | ||
| 7 | +| key offset | film A | film B | | ||
| 8 | +|---|---|---| | ||
| 9 | +| control (0, unset) | +52.0 / +11.7 | +144.5 / +44.3 | | ||
| 10 | +| -32 | +45.3 / +6.7 | +132.8 / +36.8 | | ||
| 11 | +| -48 | +43.5 / +4.6 | +131.3 / +35.0 | | ||
| 12 | +| -64 | +44.9 / +3.8 | +140.7 / +37.5 | | ||
| 13 | +| -16 | +48.8 / +9.4 | +138.0 / +40.2 | | ||
| 14 | +| -48, arf -40 | +44.4 / +5.1 | +137.4 / +38.6 | | ||
| 15 | + | ||
| 16 | +WINNER key -48 at arf -32: both films improve on both columns against the control | ||
| 17 | +(film A -8.5 / -7.1, film B -13.2 / -9.3). -64 overshoots on film B (+140.7) and a | ||
| 18 | +deeper ARF (-40) with the same key gives the bytes back on both films, so the anchor | ||
| 19 | +is what the ARFs wanted, not more ARF. | ||
lanes/keyq/a40k48.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: -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 }) | ||
| 8 | +film A (1080p source): pricer armings default=20 real=902 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 114571 (modes DC=27703 V=17025 H=21850 D157=32067 PAETH=15926) | ||
| 13 | +| 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 | | ||
| 14 | +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 }) | ||
| 15 | +film B (2160p HDR source): pricer armings default=20 real=804 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 72307 (modes DC=18386 V=10750 H=10612 D157=25342 PAETH=7217) | ||
| 20 | +| 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 | | ||
| 21 | +ok | ||
| 22 | + | ||
| 23 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 739.12s | ||
| 24 | + | ||
| 25 | +RC=0 | ||
lanes/keyq/ctl.logmodified+19 -0
| @@ -4,3 +4,22 @@ 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 | 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) | | 5 | | clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | |
| 6 | |---|---|---|---|---| | 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), 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 }) | ||
| 8 | +film A (1080p source): pricer armings default=20 real=910 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 124804 (modes DC=29918 V=18151 H=23863 D157=35160 PAETH=17712) | ||
| 13 | +| 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 | | ||
| 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), 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 }) | ||
| 15 | +film B (2160p HDR source): pricer armings default=17 real=805 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 76193 (modes DC=19370 V=10913 H=10963 D157=27221 PAETH=7726) | ||
| 20 | +| 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 | | ||
| 21 | +ok | ||
| 22 | + | ||
| 23 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 590 filtered out; finished in 703.07s | ||
| 24 | + | ||
| 25 | +RC=0 | ||
lanes/keyq/k16.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), 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 }) | ||
| 8 | +film A (1080p source): pricer armings default=20 real=916 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 124090 (modes DC=29676 V=18106 H=24127 D157=34822 PAETH=17359) | ||
| 13 | +| 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 | | ||
| 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), 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 }) | ||
| 15 | +film B (2160p HDR source): pricer armings default=18 real=814 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 74843 (modes DC=19481 V=10632 H=10965 D157=26429 PAETH=7336) | ||
| 20 | +| 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 | | ||
| 21 | +ok | ||
| 22 | + | ||
| 23 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 744.44s | ||
| 24 | + | ||
| 25 | +RC=0 | ||
lanes/keyq/k32.logmodified+19 -0
| @@ -4,3 +4,22 @@ 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 | 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) | | 5 | | clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | |
| 6 | |---|---|---|---|---| | 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), 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 }) | ||
| 8 | +film A (1080p source): pricer armings default=20 real=900 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 123889 (modes DC=29740 V=18656 H=23015 D157=35048 PAETH=17430) | ||
| 13 | +| 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 | | ||
| 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), 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 }) | ||
| 15 | +film B (2160p HDR source): pricer armings default=20 real=813 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 81403 (modes DC=20633 V=11757 H=11943 D157=28698 PAETH=8372) | ||
| 20 | +| 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 | | ||
| 21 | +ok | ||
| 22 | + | ||
| 23 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 590 filtered out; finished in 694.70s | ||
| 24 | + | ||
| 25 | +RC=0 | ||
lanes/keyq/k48.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), 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 }) | ||
| 8 | +film A (1080p source): pricer armings default=20 real=899 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 108443 (modes DC=26174 V=15842 H=20832 D157=30227 PAETH=15368) | ||
| 13 | +| 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 | | ||
| 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), 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 }) | ||
| 15 | +film B (2160p HDR source): pricer armings default=20 real=811 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 69512 (modes DC=18136 V=9675 H=10183 D157=24563 PAETH=6955) | ||
| 20 | +| 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 | | ||
| 21 | +ok | ||
| 22 | + | ||
| 23 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 721.09s | ||
| 24 | + | ||
| 25 | +RC=0 | ||
lanes/keyq/k64.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), 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 }) | ||
| 8 | +film A (1080p source): pricer armings default=19 real=901 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 107484 (modes DC=26277 V=15386 H=20477 D157=30052 PAETH=15292) | ||
| 13 | +| 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 | | ||
| 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), 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 }) | ||
| 15 | +film B (2160p HDR source): pricer armings default=19 real=811 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 70346 (modes DC=17927 V=9951 H=10291 D157=24583 PAETH=7594) | ||
| 20 | +| 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 | | ||
| 21 | +ok | ||
| 22 | + | ||
| 23 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 723.87s | ||
| 24 | + | ||
| 25 | +RC=0 | ||
lanes/keyq/short-ctl.logadded+46 -0
| @@ -0,0 +1,46 @@ | |||
| 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: 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 }) | ||
| 8 | +bars 1080p: pricer armings default=17 real=182 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 28701 (modes DC=6119 V=3037 H=6066 D157=9332 PAETH=4147) | ||
| 13 | +| 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 | | ||
| 14 | +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 }) | ||
| 15 | +bars 2160p: pricer armings default=15 real=172 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 12582 (modes DC=2996 V=730 H=2723 D157=4594 PAETH=1539) | ||
| 20 | +| 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 | | ||
| 21 | +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 }) | ||
| 22 | +film A (1080p source): pricer armings default=20 real=214 | ||
| 23 | +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) | ||
| 24 | +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) | ||
| 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 25623 (modes DC=6457 V=3365 H=4616 D157=7663 PAETH=3522) | ||
| 27 | +| 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 | | ||
| 28 | +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 }) | ||
| 29 | +film B (2160p HDR source): pricer armings default=17 real=187 | ||
| 30 | +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) | ||
| 31 | +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) | ||
| 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 17473 (modes DC=4830 V=2201 H=2496 D157=6088 PAETH=1858) | ||
| 34 | +| 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 | | ||
| 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: 16, mid_q_offset: Some(-8), key_q_offset: 0 }) 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 | +| 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 | | ||
| 42 | +ok | ||
| 43 | + | ||
| 44 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 376.72s | ||
| 45 | + | ||
| 46 | +RC=0 | ||
lanes/keyq/short-k48.logadded+46 -0
| @@ -0,0 +1,46 @@ | |||
| 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: 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 }) | ||
| 8 | +bars 1080p: pricer armings default=17 real=180 | ||
| 9 | +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) | ||
| 10 | +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) | ||
| 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 27520 (modes DC=6707 V=2819 H=5154 D157=8682 PAETH=4158) | ||
| 13 | +| 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 | | ||
| 14 | +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 }) | ||
| 15 | +bars 2160p: pricer armings default=14 real=172 | ||
| 16 | +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) | ||
| 17 | +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) | ||
| 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 12065 (modes DC=3147 V=729 H=2575 D157=3935 PAETH=1679) | ||
| 20 | +| 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 | | ||
| 21 | +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 }) | ||
| 22 | +film A (1080p source): pricer armings default=20 real=214 | ||
| 23 | +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) | ||
| 24 | +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) | ||
| 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 23554 (modes DC=6107 V=3292 H=4298 D157=6900 PAETH=2957) | ||
| 27 | +| 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 | | ||
| 28 | +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 }) | ||
| 29 | +film B (2160p HDR source): pricer armings default=20 real=188 | ||
| 30 | +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) | ||
| 31 | +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) | ||
| 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 16122 (modes DC=4471 V=2211 H=2374 D157=5391 PAETH=1675) | ||
| 34 | +| 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 | | ||
| 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: 16, mid_q_offset: Some(-8), 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 | +| 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 | | ||
| 42 | +ok | ||
| 43 | + | ||
| 44 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 591 filtered out; finished in 372.60s | ||
| 45 | + | ||
| 46 | +RC=0 | ||