forge
Explore
Log in

Don't you dare go Hollow

av1loss64: record merged-tree close (gates, probes, suite 606/0/60, follow-ups)

Browse files at this commit

cad19f84e5dcc9aa6e79a507a420bd2930acea24Ahmet Kaan GümüşParent: 4181246
lanes/av1loss64.report.mdmodified+109 -0
@@ -116,3 +116,112 @@ test result: ok. 605 passed; 0 failed; 60 ignored; 0 measured; 0 filtered out; f
116 failed 6 tests on a missing TMPDIR directory (`writing the probe stream: No116 failed 6 tests on a missing TMPDIR directory (`writing the probe stream: No
117 such file or directory`) — environmental, green on re-run with the dir117 such file or directory`) — environmental, green on re-run with the dir
118 created.118 created.
119+
120+## Merge-close (main, merge commit 0b12fa9f)
121+
122+Merged as **0b12fa9f** (`Merge lane-av1-loss64: lossless sb128 full-frame
123+exact + skipped sub8 intrabc chroma`), parents 5960a805 (main with the
124+intrabc merge) + 0d0ad1c2 (lane head). Git auto-merged all four touched paths
125+(ort, zero textual conflicts); one SEMANTIC conflict was resolved inside the
126+merge commit:
127+
128+* The intrabc merge rewired `decode_block_rect4`'s 1:4 intrabc strips from
129+ `decode_intrabc_owned_rect` (this lane's base) to `decode_intrabc_rect`,
130+ whose skip arm lacked the band reset this lane added only to
131+ `decode_intrabc_owned_rect`'s. Consequence, traced with a strip-entry
132+ eprintln on both trees: the lane tree visits exactly one rect intrabc
133+ strip (`mi=(48,66) 8x16 skip=true`); the merged tree, running with stale
134+ entropy bands, mis-parsed the NEXT partition as a phantom unskipped 8x32
135+ intrabc strip at `mi=(56,66)` and died on its chroma — a lossless (4,16)
136+ unit hitting `TxParams::run`'s 4x4 WHT assert (`left: (4, 16)`).
137+* Resolution (inside the merge, per the principle that the fix lives in
138+ whichever function serves the call sites): `decode_intrabc_rect`'s skip
139+ arm gains the same lossless-scoped `record_mi_luma_rect` walk (the lossless
140+ arm of `read_block_tx_size_rect` resolves leaves before the skip check, so
141+ the walk only ever fires for lossless strips). `decode_intrabc_owned_rect`
142+ at `decode_block_rect64` keeps its copy. Both loss64 gates then pass on
143+ the merged tree with byte-identical summaries.
144+* The gate binary was rebuilt and `cargo check -p ec-av1 --all-targets`
145+ re-run after the fix: 0 warnings.
146+
147+### Merged-tree gates (private `CARGO_TARGET_DIR`/`TMPDIR` under `$HOME`)
148+
149+```
150+a_lossless_sb128_square_frame_clips_overhanging_chroma_tus
151+ 2 arms full-frame exact, 192 chroma units clipped
152+ test result: ok. 1 passed; 0 failed; 665 filtered out
153+
154+a_skipped_lossless_intrabc_rect_strip_zeroes_its_entropy_bands
155+ full-frame exact, 1 band resets, 3 skipped intrabc chroma predictions
156+ test result: ok. 1 passed; 0 failed; 665 filtered out
157+
158+a_coded_rect_intrabc_block_reconstructs_in_both_orientations
159+ (EC_AV1_RECON_THREADS=1 AND =4, all four vert-skip arm lines:
160+ pal0 horz=11 vert=2, pal1 horz=1 vert=2 at both thread counts)
161+ test result: ok. 1 passed; 0 failed; 665 filtered out (both runs)
162+
163+rect14's five gates (a_16x4_intrabc_pair_strip_decodes_pixel_exact,
164+ a_lossless_16x4_chroma_pair_repairs_the_measured_site,
165+ a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips,
166+ every_proven_refusal_names_a_test_that_exists,
167+ the_decode_path_refuses_exactly_the_listed_cases)
168+ test result: ok. 5 passed; 0 failed; 661 filtered out
169+ in-gate totals: 187 rect-strip use_intrabc reads, 5 intrabc blocks over
170+ 5 arms, 0 refused, 8 frames compared, 3 out of scope (0 mismatched)
171+
172+cargo test -p ec-av1 --lib -- --test-threads=1 refusal
173+ test result: ok. 21 passed; 0 failed; 645 filtered out; finished in 110.59s
174+```
175+
176+### Merged-tree probes (release `decode_probe`, all `cmp` vs fresh ffmpeg oracles)
177+
178+| probe | verdict |
179+|---|---|
180+| loss320 (320x240 lossless sb128 1to4 min4) — the headline | **FULL-FRAME EXACT 115200 B** (`rect4_16_pair: lossless_chroma=6`); pre-lane this stopped at luma row 128, first diff byte 41121 |
181+| sub8 (320x242 lossless sb128 min4) | **EXACT 116160 B** (`leaf8_intrabc_hits=2`, `intrabc_rect=1`) |
182+| A 256x192 cq45 pal0 txs1 (var-tx arm) | EXACT 73728 B (`intrabc_rect=1 var-tx=1`) |
183+| B 512x384 cq45 pal1 txs0 (coded 8x16) | EXACT 294912 B (`intrabc_rect=2`) |
184+| ibc640 (rect14 §2 recipe) | EXACT 460800 B (`rect4_16_pair: intrabc=1`) |
185+| cq50 arm (256x192 cq50 pal0 txs0) | EXACT 73728 B |
186+| mono 60f (`av1-monochrome.ivf` remux, OUT16 low byte) | EXACT 4608000 B vs ffmpeg gray |
187+| reelb_* 8 committed 10-bit fixtures (`EC_PROBE_OUT16`) | 8/8 EXACT vs yuv420p10le |
188+| av1-profile1-444 | REFUSED by name (`a chroma format other than 4:2:0`), 0 bytes |
189+| aomenc `--enable-qm=1` / `=0` | qm=1 REFUSED by name (`a frame using quantisation matrices (using_qmatrix=1)`), 0 bytes; qm=0 control EXACT 73728 B |
190+| `--cdf-update-mode=0` 3-keyframe stream | EXACT 221184 B |
191+
192+### Full suite on the merged tree
193+
194+Hub-supervised (`suite-av1l64m`, `cargo` with `CARGO_TARGET_DIR=$HOME/.cache/cargo-target-av1l64m TMPDIR=$HOME/.cache/tmp-av1l64m EC_AV1_REQUIRE_AOMENC=1 RUST_TEST_THREADS=1`), `cargo test -p ec-av1 --lib -- --test-threads=1` on the committed amended merge commit **0b12fa9f**:
195+
196+```
197+running 666 tests
198+test result: ok. 606 passed; 0 failed; 60 ignored; 0 measured; 0 filtered out; finished in 9641.30s
199+```
200+
201+Exit 0, no kills, no flake: 606 = 604 (main after the intrabc merge, its
202+603+1 evidence recorded in lanes/av1intrabc.report.md §6) + this lane's 2 new
203+gate tests. A first run over the pre-fix merge was killed after the sub8 gate
204+went red (the semantic conflict above); it was superseded by this run and its
205+result discarded.
206+
207+## Follow-ups
208+
209+* `accepted` — the mirrored sub-8x8 8x4 (HORZ) skipped-intrabc leaf route is
210+ fixed by the same code path but is not named by any committed witness: the
211+ gate's stream reaches the VERT -> 4x8 leaf (3 skipped chroma predictions).
212+ The lane report documents no open 4x8-leaf chroma corner beyond this; the
213+ axes-swapped witness would need an encoder recipe that codes a skipped
214+ HORZ 4:8 leaf (none in the corpus does).
215+* `accepted` — pre-existing lossy 128-axis luma class, first difference at
216+ byte 60369 on the reviewer's stream: the reviewer verified it is
217+ identical-on-base (present on 5960a805 before this merge), so it is not a
218+ merge regression. Unchanged by this lane.
219+* `deferred(unblock: a lossless stream that codes an unskipped 8x32-shaped
220+ 1:4 intrabc strip)` — a latent lossless whole-unit
221+ chroma read shared by BOTH `decode_intrabc_rect` and
222+ `decode_intrabc_owned_rect`: an unskipped 8x32-shaped 1:4 strip in a
223+ lossless frame would read chroma as one (4,16) unit through the WHT
224+ assert. Unreachable in the current corpus (the correctly parsed lossless
225+ streams contain no unskipped 8x32 intrabc strip — the phantom one that
226+ reached it was itself the stale-band defect's product), and identical on
227+ both parents. Unblock: a lossless stream that codes one.