forge
Explore
Log in

Don't you dare go Hollow

Step 1's second round, the shipped screen gate, and step 2's scope

Browse files at this commit

6587882335f0ceb1c4b98f55209fbf4af7422f23Ahmet Kaan GümüşParent: 63f401a
  • docs
    • step 1's second round, the shipped screen gate, and step 2's scope
Show full message
docs(txset2): step 1's second round, the shipped screen gate, and step 2's scope
lanes/txset2.report.mdmodified+61 -0
@@ -86,3 +86,64 @@ Two readings, both decisions:
86 distinct types (set13 symbols 3..11 at 1.5-14% each). Our own stream codes86 distinct types (set13 symbols 3..11 at 1.5-14% each). Our own stream codes
87 `set3/1` and `set6/1` only, 100% `DCT_DCT` in inter frames -- the gap step 287 `set3/1` and `set6/1` only, 100% `DCT_DCT` in inter frames -- the gap step 2
88 is aimed at.88 is aimed at.
89+
90+### Step 1, second round: `le16` (the census's own prune) and the screen gate
91+
92+| clip | control | `le16` (16x16 and below) | screen-gated (SHIPPED) |
93+|---|---|---|---|
94+| bars 1080p | -1.0% / -16.8% | +22.9% / +3.1% | -1.0% / -16.8% (byte-identical) |
95+| bars 2160p | +9.4% / -12.7% | +31.6% / +4.0% | +9.4% / -12.7% (byte-identical) |
96+| film A | +21.7% / -4.4% | +21.6% / -4.5% | +21.7% / -4.4% (byte-identical) |
97+| film B | +26.9% / -0.6% | +27.4% / -0.1% | +26.9% / -0.6% (byte-identical) |
98+| screen capture | +20.8% / -30.1% | +19.9% / -30.4% | **+20.1% / -30.4%** |
99+
100+`le16` does NOT recover the bars rows (+22.9/+31.6 against the unconditional
101+arm's +23.1/+31.2), so the size restriction the libaom census suggested is
102+refuted as a fix: the damage is in the 16x16-and-below inter units, not the
103+32x32 ones. It also drifts film B further up (+27.4/-0.1).
104+
105+DECISION: ship SCREEN-GATED, the same shape the intra half of lane-txset
106+ships behind. The four non-screen rows land on the control's own byte counts
107+to the digit (194497/299067/419042/567789, 205409/321883/435765/564573,
108+64392/102508/170169/413430, 27442/50374/105485/296813 -- the clips classify
109+0 screen frames of 4, the capture 48 of 48), so nothing outside screen
110+content moves, pins included. The capture is 0.7 down against libaom and 0.3
111+against rav1e, at no wall cost (112.2s -> 109.4s, inside the noise).
112+
113+Levers as shipped: `speed::TX_TYPE_SEARCH_INTER` true at presets 0-6 (the row
114+the intra search carries), `inter_tx_type_search()` defaulting to
115+`Screen` on top of it. `EC_AV1_TXSET_INTER=1` is the unconditional arm,
116+`le16` the pruned one, `0` off.
117+
118+## Step 2 -- `reduced_tx_set = 0` and the 13/17 alphabets: NOT ATTEMPTED, scoped
119+
120+`deferred: reduced_tx_set = 0 (sets 13/17, and the 7-symbol intra set at
121+8x8/4x4) -- not started; the two gate slots and the budget went to step 1's
122+three arms. What it needs, from this lane's reading:`
123+
124+* The DECODER half is complete and needs nothing: `decode::txbset_for` /
125+ `txbset_for_inter` already pick `Luma{8,4}Set1`, `Luma{16,8,4}InterSet1`,
126+ `LumaRect16x8Set1`, `LumaRect{4x8,16x4}Set1`, `LumaRect8x4InterSet1` off the
127+ frame's own bit, and `decode::tx_type_symbol` answers for the 7/12/16-symbol
128+ alphabets. Note the spec shape the charter's table simplifies: intra 16x16
129+ stays the FIVE-type `TX_SET_INTRA_2` even with the bit off (there is no
130+ `Luma16Set1` and none is needed), only intra 8x8/4x4 widen to seven; inter
131+ 32x32 stays the two-type `DCT_IDTX`, inter 16x16 becomes the 12-symbol set
132+ and inter 8x8/4x4 ALL16.
133+* The WRITER half is the cross-cutting part (class `tx-class-cross-cutting`):
134+ the frame-header bit (`encode.rs:1660`, `:1760`) plus EVERY luma `TxbSet`
135+ the writer and the pricer pick, which is `tile.rs` 2844, 4087, 4231-4238
136+ (`write_luma_tus`), 4611-4616, 6078, 7004/7006, 7217/7219 and `encode.rs`
137+ `code_tx_depth` / `commit_inter_luma` / `inter_luma_set` / the trial set
138+ arguments. A site that misses the bit codes the right value against the
139+ wrong CDF -- the `wrong-alphabet-same-value` class -- so the bit belongs in
140+ one accessor both sides read, not in nine `match` arms.
141+* The gate shape this lane measured says what to expect: a wider set is worth
142+ BD only where the reference chain is short or intra-heavy. Both halves of
143+ the search now measured (intra 5-type, inter 2-type) win on the capture and
144+ lose on film, so a 13/17 lane should be armed screen-gated from the start
145+ and spend its slots on the FILM question separately (the rate term, class
146+ `rd-rate-term-calibration`, is the suspect: at equal bytes the bars rows
147+ lose 2 dB of PSNR, which is a pricer that under-charges the cheap type, not
148+ a decoder or kernel defect -- the typed round trip at 32 is inside its
149+ bound).