diff --git a/lanes/table-20260908.md b/lanes/table-20260908.md new file mode 100644 index 00000000..ec9887b1 --- /dev/null +++ b/lanes/table-20260908.md @@ -0,0 +1,77 @@ +# Standing quality table of main 152996c8 (measured 2026-09-08, lane-table) + +One re-measurement of every native BD row on ONE base, so the lanes merged today +(ARF temporal filter, 128x128 superblocks by default, per-level delta_q, motion +search rate weight, pricer contexts) are read off the same binary instead of five +different lane bases. MEASUREMENT ONLY -- no encoder change is in this lane. + +Binary: `cargo test -p ec-av1 --release --lib` at 152996c8, one tile, one thread. +Anchors: libaom `cpu-used 6` (crf 5/20/35/45), rav1e `speed=6` (quantizer +50/100/150/200). Every BD number below is read off the log's own table line. +`fps` = coded frames / our ladder wall (48 = 4 points x 12 frames on the 12-frame +arm, 192 = 4 x 48 on the long-GOP arm), single thread. + +## 12-frame arm (`encode::tests::bd_rate_screen_native`, gop=12) + +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | log | +|---|---|---|---|---|---|---| +| bars 1080p | -3.4% | -19.0% | 177.0s:7.5s:17.5s | 10.1x | 0.27 | ~/.cache/table/f12a.log | +| film A (1080p) | +18.1% | -6.2% | 167.3s:9.8s:14.1s | 11.9x | 0.29 | ~/.cache/table/f12a.log | +| bars 2160p | +8.6% | -13.8% | 152.0s:6.0s:16.8s | 9.0x | 0.32 | ~/.cache/table/f12b.log | +| film B (2160p HDR) | +23.8% | -2.8% | 136.2s:21.5s:19.8s | 6.9x | 0.35 | ~/.cache/table/f12b.log | +| screen capture | +14.4% | -33.2% | 107.8s:8.5s:11.5s | 9.4x | 0.45 | ~/.cache/table/s12.log | + +The bars rows are NOT film: `EC_AV1_NATIVE_FILM=1` selects both 1080p rows (bars ++ film A) and `EC_AV1_NATIVE_FILM4K=1` both 2160p rows, so the bars rows come +inside the film arms -- there is no separate bars arm to run. + +## 12-frame arm at `EC_AV1_SPEED=6` (the software fast preset) + +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | vs preset 0 wall | log | +|---|---|---|---|---|---|---|---| +| bars 1080p | +61.9% | +35.6% | 115.2s:8.9s:20.5s | 5.6x | 0.42 | 1.54x faster | ~/.cache/table/s6a.log | +| film A (1080p) | +20.5% | -4.7% | 77.7s:10.7s:14.9s | 5.2x | 0.62 | 2.15x faster | ~/.cache/table/s6a.log | +| bars 2160p | +61.7% | +27.8% | 98.6s:8.0s:22.0s | 4.5x | 0.49 | 1.54x faster | ~/.cache/table/s6b.log | +| film B (2160p HDR) | +27.0% | -0.2% | 65.2s:21.7s:17.2s | 3.8x | 0.74 | 2.09x faster | ~/.cache/table/s6b.log | +| screen capture | +22.7% | -28.7% | 48.0s:9.2s:12.7s | 3.8x | 1.00 | 2.25x faster | ~/.cache/table/s6s.log | + +Preset 6 buys 2.1-2.25x of wall on the three real rows for +2.4 (film A), +3.2 +(film B) and +8.3 (screen) BD points against libaom. The two bars rows lose +~65 points each: colour bars are exactly the content the pruned partition/tx +search cannot serve, and no decision is taken on them. + +## Long-GOP arm (`encode::tests::bd_rate_film_long_gop`, 48 pictures, gop=48) + +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | log | +|---|---|---|---|---|---|---| +| film A (1080p) | +22.6% | -8.1% | 568.2s:36.2s:67.0s | 8.5x | 0.34 | ~/.cache/table/lgop.log | +| film B (2160p HDR) | +78.4% | +2.4% | 422.5s:69.3s:50.9s | 8.3x | 0.45 | ~/.cache/table/lgop.log | + +Pyramid effective on all four film rows: `mini_gop 8, arf -32, leaf +12, mid -8, +key -48` (the capture is gated flat, effective `None`). + +## Rows against the merged lanes' own expectations + +Expected (each lane's own base): 12f film A +18.3/-6.0, film B +24.3/-2.2, +screen +14.4/-33.2; long-GOP film A +22.7/-7.9, film B +79.0/+2.7. + +| row | expected | measured | delta | note | +|---|---|---|---|---| +| 12f film A | +18.3/-6.0 | +18.1/-6.2 | -0.2/-0.2 | within noise | +| 12f film B | +24.3/-2.2 | +23.8/-2.8 | -0.5/-0.6 | MOVED (better): the only row whose rav1e column moves more than 0.5; 128x128 superblocks fire hardest on 4K film (1927 search / 3018 writer 128-roots on this row vs 530/1389 on film A), and this lane measures them stacked on the per-level delta_q instead of beside it | +| 12f screen | +14.4/-33.2 | +14.4/-33.2 | 0.0/0.0 | exact; the capture takes no 128-root pyramid (gated flat), so no merged lever touches it | +| long-GOP film A | +22.7/-7.9 | +22.6/-8.1 | -0.1/-0.2 | within noise | +| long-GOP film B | +79.0/+2.7 | +78.4/+2.4 | -0.6/-0.3 | MOVED (better) on the libaom column, same cause as the 12f film B row; the "near +2 with 128 SB on top" prediction lands at +2.4 | + +No row moved in the LOSING direction by more than 0.5: the five lanes compose. + +## Invariants at this base + +- `encoder::tests::every_speed_preset_decodes_sample_exact_through_both_decoders` + -- ok (11 presets, sample-exact through ffmpeg and our decoder), + `~/.cache/table/presets.log`. +- `encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins` -- ok + at default (`~/.cache/table/pins.log`) and under `EC_AV1_SPEED=6` + (`~/.cache/table/pins6.log`); the test encodes at speed 0 whatever the env says + (process-global write guard), so the two runs are the same assertion, and it + holding under the env proves the guard.