forge
Explore
Log in

Don't you dare go Hollow

The 12-frame, long-GOP and speed-6 tables, the decision and the invariants

Browse files at this commit

7a807af95d795cad9647df6f87eda5120df67301Ahmet Kaan GümüşParent: ef8dbd1
  • docs
    • the 12-frame, long-GOP and speed-6 tables, the decision and the invariants
Show full message
docs(lane-i64): the 12-frame, long-GOP and speed-6 tables, the decision and the invariants
lanes/i64.report.mdmodified+81 -1
@@ -50,4 +50,84 @@ is green.
50 50
51 ## Gates51 ## Gates
52 52
53-(pending)53+Two arms of ONE build in parallel, `EC_AV1_I64=0` vs default. The OFF arm
54+reproduces the base's screen and bars rows to the digit, so the baseline is
55+this build's own (the charter's film numbers predate the lane-sse merge in the
56+base commit; screen +33.4/-23.8 and the bars rows land exactly).
57+
58+### 12-frame `bd_rate_screen_native` (native crop, gop 12) — `lanes/i64/r1-{off,on}.log`
59+
60+| row | OFF (control) | ON (shipped) | key 64 intra roots | wall ours OFF -> ON |
61+|---|---|---|---|---|
62+| bars 1080p | +1.8% / -14.4% | +1.9% / -14.3% | 1532 of 1920 (79.8%) | 39.3s -> 38.8s |
63+| bars 2160p | +12.6% / -9.9% | +12.7% / -9.8% | 1703 of 1920 (88.7%) | 41.1s -> 39.9s |
64+| film A 1920x768 | +34.8% / +5.0% | **+33.2% / +3.7%** | 452 of 1440 (31.4%) | 78.2s -> 80.3s |
65+| film B 1920x1024 | +47.0% / +16.5% | **+42.4% / +12.2%** | 862 of 1920 (44.9%) | 77.8s -> 79.7s |
66+| screen capture | +33.4% / -23.8% | **+32.8% / -24.2%** | 877 of 1920 (45.7%) | 42.7s -> 42.3s |
67+
68+Keep rule: both film rows improve on BOTH columns (film A -1.6/-1.3, film B
69+-4.6/-4.3) and screen is 0.6/0.4 BETTER, not worse — so the root ships on
70+screen frames too (its palette and 32x32-chroma paths are exercised there:
71+45.7% of the capture's superblocks are coded whole). The two bars rows move
72++0.1 the wrong way, which the keep rule does not cover and which is inside
73+what one partition decision costs on a synthetic pattern. Film wall +2.6%:
74+one 64x64 trial per superblock on 1 frame in 12.
75+
76+### Long-GOP `bd_rate_film_long_gop` (48 frames, gop 48) — `lanes/i64/lg-{off,on}.log`
77+
78+| row | OFF | ON (shipped) | wall ours OFF -> ON |
79+|---|---|---|---|
80+| film A 1920x768 | +36.7% / -0.4% | **+36.5% / -0.6%** | 339.5s -> 338.3s |
81+| film B 1920x1024 | +115.5% / +23.2% | **+113.1% / +21.6%** | 292.7s -> 299.6s |
82+
83+Both rows better on both columns, at 1 key frame in 48 — a fifth of the
84+12-frame gain, which is what one frame in 48 instead of one in 12 predicts.
85+
86+### Speed 6 — `lanes/i64/s6-{off,on}.log`
87+
88+| row | OFF | ON | roots |
89+|---|---|---|---|
90+| bars 1080p | +72.1% / +44.9% | +72.1% / +44.9% | 79.9% |
91+| bars 2160p | +68.3% / +33.7% | +68.1% / +33.6% | 88.7% |
92+| film A | +42.9% / +11.4% | **+41.3% / +10.1%** | 35.9% |
93+| film B | +60.9% / +28.0% | **+56.1% / +23.6%** | 49.8% |
94+| screen | +40.3% / -20.0% | **+39.7% / -20.4%** | 45.8% |
95+
96+Every row is equal or better, wall within noise (film A 33.8s -> 34.3s, film B
97+32.4s -> 33.4s), so `speed::I64_ROOT` is on at every preset. The early-out
98+reads `b64_breakout_threshold`, i.e. the preset's looser `SPLIT_RD` never
99+withholds the four quadrant searches here (lane-b64's own defect, fixed in
100+lane-tx64 and inherited here rather than repeated).
101+
102+DECISION: **KEEP, default on at every preset.** `EC_AV1_I64=0` restores the
103+split-only key search byte for byte (proven by the OFF arm holding the old
104+pins).
105+
106+## Invariants
107+
108+- Byte pins re-taken (the keep rule passed): 9808 -> **9843** (q=150) and
109+ 35791 -> **35834** (q=60); `EC_AV1_I64=0` holds the OLD pair on this build,
110+ checked before the re-take.
111+- At presets 0 AND 6, `EC_COMP_MISMATCH=1` silent throughout:
112+ `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`,
113+ `the_facade_codes_the_same_bytes_as_encode_sequence`,
114+ `predicted_coeff_bits_track_the_tile_the_writer_wrote` — all green.
115+- `every_speed_preset_decodes_sample_exact_through_both_decoders --ignored`:
116+ green (speeds 0, 3, 6, 10).
117+- `timeout 900 cargo check --workspace --all-targets -j4`: 0 errors, 0 ec-av1
118+ warnings (21 pre-existing ec-opus, 1 ec-vorbis).
119+- Full lib suite: (pending)
120+
121+## Deferred
122+
123+- `deferred: a depth-1 (four TX_32X32) luma split under the key 64x64 root —
124+ the writer's `Superblock::Whole` arm takes a 32-sided level grid, so only
125+ TX_64X64 is representable there — unblocked by widening that arm's grid to
126+ 64 and teaching `predicted_coeff_bits_sb` the same four-unit slice
127+ `predicted_coeff_bits`'s `Whole64` arm already has.`
128+- `deferred: the 64x64 root on an `allow_intrabc` frame — the quadrant
129+ searches mutate `Ibc::last_dv`, which a discarded trial would desync —
130+ unblocked by snapshotting the `Ibc` state around the trial.`
131+- `deferred: a 64x64 root the true frame edge CUTS THROUGH (the inter side's
132+ `EC_AV1_B64EDGE`) — the key writer refuses a superblock that is half
133+ outside — unblocked by the `has_half` arm the inter writer already has.`
lanes/i64/bin-r2added+0 -0

Binary file changed