forge
Explore
Log in

Don't you dare go Hollow

The film arm -- the header bit alone moves bytes, which is why the lever is screen-gated

Browse files at this commit

443d56b8de8106a92f0ea07bb924fc3e87b2bcaeAhmet Kaan GümüşParent: 3329cf4
  • docs
    • the film arm -- the header bit alone moves bytes, which is why the lever is screen-gated
Show full message
docs(txw): the film arm -- the header bit alone moves bytes, which is why the lever is screen-gated
lanes/txw.report.mdmodified+20 -7
@@ -105,13 +105,26 @@ ADST_DCT 5.3% / DCT_ADST 3.8%` to `IDTX 4.1% / DCT_DCT 78.0% / ADST_ADST
105105 2.4% / ADST_DCT 3.0% / DCT_ADST 2.3% / V_DCT 2.8% / H_DCT 7.4%`: the win is
106106 the two types that only exist in the wide set.
107107
108-FILMS: no arm was run and none is needed to state the keep rule's second
109-half. `encode::wide_tx_set` takes the preset value through the SCREEN gate
110-(`InterTxSearch::Screen` -> the frame's own screen flag), so a non-screen
111-frame writes the same `reduced_tx_set = 1` header bit and takes the same
112-code path as before the lane -- the bit alone never reaches a film frame.
113-The byte pins (8562 / 33357) are unchanged with the lever ON, which is the
114-in-suite instance of that statement.
108+FILM rows (`EC_AV1_NATIVE_FILM4K=1`), the HEADER BIT ALONE -- the intra type
109+search left screen-gated as shipped, so a film frame searches no type and
110+only the ALPHABET it names changes (`EC_AV1_TXSET_WIDE=1`, every frame):
111+
112+| row | control | bit on every frame |
113+|---|---|---|
114+| bars 2160p | +9.4% / -12.7%, 205409 B at point 1 | +9.6% / -12.6%, 208456 B |
115+| film B 2160p | +26.9% / -0.6%, 27442 B at point 1 | +27.2% / -0.3%, 27562 B |
116+
117+So the answer to the charter's question is YES: the header bit alone MOVES
118+BYTES on a film. Every intra 8x8/4x4 luma unit still codes a `tx_type`
119+symbol, and coding `DCT_DCT` into the seven-symbol `TX_SET_INTRA_1` CDF is
120+not the same number of bits as coding it into the five-symbol
121+`TX_SET_INTRA_2` one -- both films come out 0.2/0.3 WORSE against libaom
122+(and 0.1/0.3 better against rav1e) for it. That fails the keep rule's film
123+half, which is exactly why the lever ships behind the SCREEN gate:
124+`encode::wide_tx_set` returns the frame's own screen flag, so a non-screen
125+frame writes `reduced_tx_set = 1` and the same bytes as before the lane.
126+The byte pins (8562 / 33357) unmoved with the lever ON are the in-suite
127+instance of that.
115128
116129 DECISION: `speed::WIDE_TX_SET[0] = true` (preset 0 only). Presets 1..6 carry
117130 the type search but were not measured with the wider alphabets, so they stay