forge
Explore
Log in

Don't you dare go Hollow

Preset lever, invariants and the deferral list

Browse files at this commit

bbb91a8cd497e7317da270a37ea5f1ad5eeb17dbAhmet Kaan GümüşParent: 7389995
  • docs
    • preset lever, invariants and the deferral list
Show full message
docs(txset): preset lever, invariants and the deferral list
lanes/txset.report.mdmodified+45 -0
@@ -130,3 +130,48 @@ screen frames of 4 -- so nothing outside screen content moves, pins included.
130 Pins: `encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins`130 Pins: `encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins`
131 PASSES UNCHANGED at 8562 / 33357 -- the pin clip is not screen, so nothing to131 PASSES UNCHANGED at 8562 / 33357 -- the pin clip is not screen, so nothing to
132 re-pin.132 re-pin.
133+
134+## 6. Preset lever and invariants
135+
136+`speed::TX_TYPE_SEARCH = [true x7, false x4]` (presets 0-6 on) on top of the
137+screen content gate. The FIVE-type fire count is preset 0's: at preset 6 the
138+mode/partition pruning removes the blocks `ADST_ADST` and `IDTX` were winning
139+on (hits `[0, 6192, 0, 79, 284, ..]`), so the witness asserts the full set at
140+preset 0 and "some non-`DCT_DCT` type fires" at every preset that carries the
141+lever.
142+
143+| invariant | preset 0 | preset 6 |
144+|---|---|---|
145+| `an_edge_clip_codes_every_reduced_set_tx_type_both_decoders_read_exactly` | PASS | PASS |
146+| `tile_bytes_do_not_depend_on_the_thread_count --include-ignored` | PASS | PASS |
147+| `the_facade_codes_the_same_bytes_as_encode_sequence` | PASS | PASS |
148+| `predicted_coeff_bits_track_the_tile_the_writer_wrote` | PASS | PASS |
149+| all four above with `EC_COMP_MISMATCH=1` | 0 mismatches | 0 mismatches |
150+
151+`every_speed_preset_decodes_sample_exact_through_both_decoders --ignored`
152+PASS (with `EC_COMP_MISMATCH=1`).
153+`the_encoders_own_streams_are_byte_identical_to_their_pins`: PASS at the
154+UNCHANGED 8562 / 33357 -- no re-pin, the pin clip is not screen content.
155+
156+## 7. Deferred
157+
158+* `deferred: inter luma IDTX vs DCT_DCT (the two-type TX_SET_INTER_3 the
159+ writer already codes) -- the plumbing is done (an inter block's
160+ BlockCoeffs carries luma_tx_types through the same writer path), what is
161+ missing is the candidate loop in code_from_prediction/commit_inter_luma and
162+ a gate round -- unblocked by ~40 min of gate wall; the screen row is where
163+ it would pay, same as the intra half.`
164+* `deferred: reduced_tx_set = 0 and the 13/17 alphabets (DTT9_IDTX_1DDCT,
165+ ALL16) -- the FORWARD kernels are DONE and round-trip tested (all sixteen
166+ types), decode::tx_type_symbol already answers for the 7/12/16-symbol sets,
167+ and the decoder reads them; what is missing is the frame-header bit plus
168+ the writer's set map (tile.rs:4208 -> the Luma*Set1/Set2 variants) and a
169+ rav1e-speed-6-shaped candidate list per class -- unblocked by a lane of its
170+ own. Note the shape this lane measured first: the wider a set gets, the
171+ more the FILM rows lose (this five-type set already costs film A +0.4 and
172+ film B +1.2), so that lane should gate by content from the start rather
173+ than measure an unconditional arm.`
174+* `deferred: libaom's own tx_type histogram on film B (syntax_census) -- the
175+ charter's instrument half. Not run: the two gate slots were the budget, and
176+ the decision it would have informed (which types to offer) was settled by
177+ the gate itself. Unblocked by one census run.`