From ab431b51e7f7f188d1c490bcdb4ba3f27179fd4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 7 Sep 2026 18:38:50 +0300 Subject: [PATCH] docs(lane-b64b): shipped 12-frame and long-GOP tables, invariants, suite totals --- lanes/b64b.report.md | 47 ++++++++++++++++++++++++++++++++++++++++++ lanes/b64b/ship-12.log | 46 +++++++++++++++++++++++++++++++++++++++++ lanes/b64b/ship-lg.log | 22 ++++++++++++++++++++ 3 files changed, 115 insertions(+) diff --git a/lanes/b64b.report.md b/lanes/b64b.report.md index df30891d..456fae38 100644 --- a/lanes/b64b.report.md +++ b/lanes/b64b.report.md @@ -158,3 +158,50 @@ inter root's — unblocks: one lane scoped to the key search plus `sb_coeff_key_frame_tile`'s `Superblock::Whole` arm, gated on the key-frame share of the film rows (a 12-frame gate at gop 12 codes one key frame in twelve, so the long-GOP arm is the honest one for it).` + +## Shipped state + +Steps 1, 2 and 3 all default ON; step 4 deferred (above). + +### 12-frame `bd_rate_screen_native` at the shipped state + +| clip | vs libaom cpu-used 6 | vs rav1e speed 6 | roots / residual / split luma / compound | wall ours:libaom:rav1e | +|---|---|---|---|---| +| bars 1080p | +1.6% | -14.6% | 17585 / 12602 / 3076 / 6371 | 43.5s:8.1s:21.8s | +| bars 2160p | +12.4% | -10.1% | 18446 / 12409 / 2477 / 5387 | 35.6s:6.7s:19.0s | +| film A 1920x768 | **+35.4%** | **+5.4%** | 9159 / 6146 / 2873 / 3543 | 82.8s:12.8s:18.9s | +| film B 1920x1024 | **+47.6%** | **+17.0%** | 15308 / 6604 / 1942 / 6976 | 83.1s:21.2s:16.6s | +| screen capture | +33.4% | -23.8% | 20558 / 0 / 0 / 0 | 43.2s:10.9s:16.1s | + +Against the charter's control (film A +37.5/+7.6, film B +54.1/+23.9, screen ++33.4/-23.8, reproduced to the digit by this build's OFF arm): film A -2.1 / +-2.2, film B -6.5 / -6.9, screen unchanged. Edge roots on every row: 0 (all +five clips are superblock aligned). + +### Long-GOP `bd_rate_film_long_gop` at the shipped state (48 frames, gop 48) + +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | +|---|---|---|---| +| film A 1920x768 | **+39.2%** | **+1.3%** | 349.5s:37.0s:61.6s | +| film B 1920x1024 | **+118.5%** | **+25.1%** | 276.4s:74.4s:60.2s | + +Charter control: film A +43.1/+4.6, film B +129.0/+34.3 — so -3.9 / -3.3 and +-10.5 / -9.2. + +### Invariants + +- `the_encoders_own_streams_are_byte_identical_to_their_pins`: green at + 9798 (q=150) / 35614 (q=60), re-taken once for steps 1+2 (step 3 does not + move that clip: it is superblock aligned). +- `every_speed_preset_decodes_sample_exact_through_both_decoders --ignored`: + green (speeds 0, 3, 6, 10). +- `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`, + `filter_stage_bytes_do_not_depend_on_the_thread_count`, + `the_facade_codes_the_same_bytes_as_encode_sequence`, + `predicted_coeff_bits_track_the_tile_the_writer_wrote`: green. +- `EC_COMP_MISMATCH=1` over all of the above and the four 64-root witnesses: + silent. +- Full lib suite (release binary, `--test-threads=4`): **561 passed / 0 + failed / 44 ignored**, 707.9 s (558 + this lane's three new tests). +- `timeout 900 cargo check --workspace --all-targets -j4`: 0 errors, 0 + ec-av1 warnings (21 pre-existing ec-opus doc warnings, 1 ec-vorbis). diff --git a/lanes/b64b/ship-12.log b/lanes/b64b/ship-12.log index 673634ab..8790590f 100644 --- a/lanes/b64b/ship-12.log +++ b/lanes/b64b/ship-12.log @@ -4,3 +4,49 @@ running 1 test 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=182 +bars 1080p: 64x64 roots 17585 (with a residual 12602, split luma 3076, compound 6371) +bars 1080p: motion_mode 32x32 SIMPLE=35093 OBMC=0 WARP=153 | 16x16 SIMPLE=4272 OBMC=0 WARP=354 | 8x8 SIMPLE=17673 OBMC=0 WARP=1245 (0.0% OBMC / 3.0% WARP of 58790 eligible) +bars 1080p: inter var-tx depths of 11083 blocks -- leaf single 0=1579 1=1035 (39.6% split) | leaf compound 0=903 1=595 (39.7% split) | 32x32 single 0=767 1=1743 (69.4% split) | 32x32 compound 0=2256 1=2205 (49.4% 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 28167 (modes DC=6817 V=3003 H=5194 D157=8847 PAETH=4306) +test encode::tests::bd_rate_screen_native has been running for over 60 seconds +| bars 1080p 1920x1024 | 44.12 dB/216837 B, 47.67 dB/318361 B, 51.05 dB/440558 B, 54.26 dB/586929 B | +1.6% | -14.6% | 43.5s:8.1s:21.8s | +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=173 +bars 2160p: 64x64 roots 18446 (with a residual 12409, split luma 2477, compound 5387) +bars 2160p: motion_mode 32x32 SIMPLE=30626 OBMC=0 WARP=222 | 16x16 SIMPLE=2726 OBMC=0 WARP=566 | 8x8 SIMPLE=7636 OBMC=0 WARP=418 (0.0% OBMC / 2.9% WARP of 42194 eligible) +bars 2160p: inter var-tx depths of 9120 blocks -- leaf single 0=1142 1=574 (33.4% split) | leaf compound 0=1080 1=256 (19.2% split) | 32x32 single 0=355 1=1244 (77.8% split) | 32x32 compound 0=149 1=4320 (96.7% 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 12137 (modes DC=3244 V=758 H=2570 D157=3957 PAETH=1608) +| bars 2160p 1920x1024 | 43.69 dB/230153 B, 47.60 dB/340963 B, 51.19 dB/453726 B, 54.53 dB/583931 B | +12.4% | -10.1% | 35.6s:6.7s:19.0s | +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=211 +film A (1080p source): 64x64 roots 9159 (with a residual 6146, split luma 2873, compound 3543) +film A (1080p source): motion_mode 32x32 SIMPLE=31944 OBMC=0 WARP=1354 | 16x16 SIMPLE=19551 OBMC=0 WARP=1774 | 8x8 SIMPLE=4749 OBMC=0 WARP=962 (0.0% OBMC / 6.8% WARP of 60334 eligible) +film A (1080p source): inter var-tx depths of 84842 blocks -- leaf single 0=15228 1=2939 (16.2% split) | leaf compound 0=31338 1=6470 (17.1% split) | 32x32 single 0=7351 1=5988 (44.9% split) | 32x32 compound 0=9568 1=5960 (38.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 23894 (modes DC=5941 V=3527 H=4575 D157=6839 PAETH=3012) +| film A (1080p source) 1920x768 | 44.31 dB/74014 B, 45.82 dB/124228 B, 47.04 dB/213754 B, 48.28 dB/508682 B | +35.4% | +5.4% | 82.8s:12.8s:18.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: 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): 64x64 roots 15308 (with a residual 6604, split luma 1942, compound 6976) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=35188 OBMC=0 WARP=1176 | 16x16 SIMPLE=12759 OBMC=0 WARP=1063 | 8x8 SIMPLE=2051 OBMC=0 WARP=455 (0.0% OBMC / 5.1% WARP of 52692 eligible) +film B (2160p HDR source): inter var-tx depths of 75568 blocks -- leaf single 0=14462 1=2522 (14.8% split) | leaf compound 0=27231 1=4839 (15.1% split) | 32x32 single 0=8006 1=5955 (42.7% split) | 32x32 compound 0=7857 1=4696 (37.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 17092 (modes DC=4751 V=2305 H=2503 D157=5823 PAETH=1710) +| film B (2160p HDR source) 1920x1024 | 46.94 dB/33616 B, 48.04 dB/68149 B, 49.11 dB/143984 B, 50.25 dB/388383 B | +47.6% | +17.0% | 83.1s:21.2s:16.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: 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): 64x64 roots 20558 (with a residual 0, split luma 0, compound 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% | 43.2s:10.9s:16.1s | +test encode::tests::bd_rate_screen_native ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 604 filtered out; finished in 471.82s + +RC=0 diff --git a/lanes/b64b/ship-lg.log b/lanes/b64b/ship-lg.log index 0da69b0f..9278ec96 100644 --- a/lanes/b64b/ship-lg.log +++ b/lanes/b64b/ship-lg.log @@ -4,3 +4,25 @@ running 1 test 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) | |---|---|---|---|---| +test encode::tests::bd_rate_film_long_gop has been running for over 60 seconds +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=914 +film A (1080p source): 64x64 roots 37956 (with a residual 29069, split luma 13979, compound 20454) +film A (1080p source): motion_mode 32x32 SIMPLE=110256 OBMC=0 WARP=5364 | 16x16 SIMPLE=70639 OBMC=0 WARP=8484 | 8x8 SIMPLE=24386 OBMC=0 WARP=4175 (0.0% OBMC / 8.1% WARP of 223304 eligible) +film A (1080p source): inter var-tx depths of 368368 blocks -- leaf single 0=54189 1=11591 (17.6% split) | leaf compound 0=143138 1=34825 (19.6% split) | 32x32 single 0=27727 1=21869 (44.1% split) | 32x32 compound 0=43580 1=31449 (41.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 108179 (modes DC=26484 V=15961 H=20634 D157=30138 PAETH=14962) +| film A (1080p source) 1920x768 | 44.39 dB/214863 B, 45.95 dB/382467 B, 47.11 dB/678120 B, 48.22 dB/1559181 B | +39.2% | +1.3% | 349.5s:37.0s:61.6s | +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=809 +film B (2160p HDR source): 64x64 roots 65052 (with a residual 21582, split luma 7182, compound 33309) +film B (2160p HDR source): motion_mode 32x32 SIMPLE=137733 OBMC=0 WARP=3986 | 16x16 SIMPLE=55701 OBMC=0 WARP=4167 | 8x8 SIMPLE=14788 OBMC=0 WARP=2226 (0.0% OBMC / 4.7% WARP of 218601 eligible) +film B (2160p HDR source): inter var-tx depths of 326918 blocks -- leaf single 0=52760 1=12425 (19.1% split) | leaf compound 0=112608 1=26391 (19.0% split) | 32x32 single 0=31963 1=28897 (47.5% split) | 32x32 compound 0=33390 1=28484 (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 68560 (modes DC=18004 V=9535 H=10010 D157=24205 PAETH=6806) +| film B (2160p HDR source) 1920x1024 | 46.90 dB/87437 B, 48.01 dB/191846 B, 48.94 dB/439618 B, 50.01 dB/1209815 B | +118.5% | +25.1% | 276.4s:74.4s:60.2s | +test encode::tests::bd_rate_film_long_gop ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 604 filtered out; finished in 890.44s + +RC=0