forge
Explore
Log in

Don't you dare go Hollow

The 12-frame gate table and the screen-gate verdict

Browse files at this commit

7b9970998c6e84afacbdca03422cff40bb03c633Ahmet Kaan GümüşParent: 878e910
  • docs
    • the 12-frame gate table and the screen-gate verdict
Show full message
docs(txset): the 12-frame gate table and the screen-gate verdict
lanes/txset.report.mdmodified+42 -2
@@ -71,8 +71,9 @@ over all SIXTEEN types at 4x4/8x8/16x16 (was 3), each round trip's rmse under
71 keyed by the CDF's alphabet width), so writer and reader cannot drift --71 keyed by the CDF's alphabet width), so writer and reader cannot drift --
72 and it already answers for the 7/12/16-symbol sets a `reduced_tx_set == 0`72 and it already answers for the 7/12/16-symbol sets a `reduced_tx_set == 0`
73 lane would turn on.73 lane would turn on.
74-* Lever: `speed::TX_TYPE_SEARCH` (presets 0-6 on, 7-10 off), `EC_AV1_TXSET=0`74+* Lever: `speed::TX_TYPE_SEARCH` (presets 0-6 on, 7-10 off) AND a content
75- forces it off and restores the pre-lane bytes.75+ gate -- SCREEN FRAMES ONLY, see the gate table below. `EC_AV1_TXSET=0`
76+ forces it off entirely.
76 77
77 ## 4. Checks78 ## 4. Checks
78 79
@@ -84,3 +85,42 @@ over all SIXTEEN types at 4x4/8x8/16x16 (was 3), each round trip's rmse under
84 | `predicted_coeff_bits_track_the_tile_the_writer_wrote`, `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`, `the_facade_codes_the_same_bytes_as_encode_sequence` | PASS |85 | `predicted_coeff_bits_track_the_tile_the_writer_wrote`, `tile_bytes_do_not_depend_on_the_thread_count --include-ignored`, `the_facade_codes_the_same_bytes_as_encode_sequence` | PASS |
85 | `cargo check -p ec-av1 --all-targets` | 0 errors, 0 warnings |86 | `cargo check -p ec-av1 --all-targets` | 0 errors, 0 warnings |
86 87
88+
89+## 5. The 12-frame gate (`encode::tests::bd_rate_screen_native`, 12 frames, gop 12)
90+
91+Control re-run on this head first (`EC_AV1_TXSET=0`), arm = the search on for
92+every frame. BD-rate vs libaom cpu-used 6 / vs rav1e speed 6, lower is better;
93+wall is ours per row.
94+
95+| clip | control | arm (all frames) | delta | wall ctl -> arm |
96+|---|---|---|---|---|
97+| bars 1080p | -1.0% / -16.8% | -2.3% / -17.8% | -1.3 / -1.0 | 247.2s -> 280.4s |
98+| bars 2160p | +9.4% / -12.7% | +10.2% / -11.6% | +0.8 / +1.1 | 168.8s -> 180.7s |
99+| film A | +21.7% / -4.4% | +22.1% / -4.0% | +0.4 / +0.4 | 153.9s -> 203.9s |
100+| film B | +26.9% / -0.6% | +28.1% / +0.7% | +1.2 / +1.3 | 133.5s -> 164.0s |
101+| screen capture | +27.8% / -26.0% | **+20.8% / -30.1%** | **-7.0 / -4.1** | 83.7s -> 120.6s |
102+
103+KEEP RULE VERDICT on the unconditional arm: FAIL. The rule wants both film
104+rows down; both go UP (film A +0.4/+0.4, film B +1.2/+1.3). The capture wins
105+seven points against libaom and four against rav1e -- the largest single
106+screen move this lane has on record -- so the search ships behind the SAME
107+content gate palette, intrabc and the angle-delta refinement already stand
108+behind (`search.screen`): a non-screen frame is byte-identical to the encoder
109+before the lane.
110+
111+Class note for the film loss: an ADST/IDTX unit is a locally cheaper
112+reconstruction that the next picture then predicts from -- the same
113+`local-rd-on-references` shape lane-fitu measured for filter intra, which is
114+why the film rows lose while the intra-heavy capture wins.
115+
116+### Shipped state (screen gate on), confirm run
117+
118+| clip | control | shipped | note |
119+|---|---|---|---|
120+| bars 1080p | -1.0% / -16.8% | -1.0% / -16.8% | byte-identical (194497/299067/419042/567789 B) |
121+
122+(rows continue below once the confirm run finishes)
123+
124+Pins: `encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins`
125+PASSES UNCHANGED at 8562 / 33357 -- the pin clip is not screen, so nothing to
126+re-pin.