Round 3 — H2's frame-edge localization retracted, H3's crop/store refuted
Browse files at this commitb2e8c4fef3a5ca70d71b3660952dc61a5969b5ccParent: 989dfce- docs
- round 3 — H2's frame-edge localization retracted, H3's crop/store refuted
1 changed file +57 -20
- lanes/av1formatsweep.report.md +57 -20
lanes/av1formatsweep.report.mdmodified+57 -20
| @@ -13,7 +13,7 @@ or divergent. | |||
| 13 | nothing here is an artifact of that lane's build. | 13 | nothing here is an artifact of that lane's build. |
| 14 | 14 | ||
| 15 | **Cross-check from the parallel lane (lane-av1leftref, the ss_y left-chroma | 15 | **Cross-check from the parallel lane (lane-av1leftref, the ss_y left-chroma |
| 16 | -reference fix).** That lane reports main and its tip byte-identical on all 35 | 16 | +reference fix; landed as `83b6af97`).** That lane reports main and its tip byte-identical on all 35 |
| 17 | committed fixtures that decode at all (4:2:0, 4:4:4, 8/10/12-bit), with the | 17 | committed fixtures that decode at all (4:2:0, 4:4:4, 8/10/12-bit), with the |
| 18 | six 4:2:2 pins decoding zero frames in both trees because they need the | 18 | six 4:2:2 pins decoding zero frames in both trees because they need the |
| 19 | uncommitted bypass. That matches what this sweep measured independently: no | 19 | uncommitted bypass. That matches what this sweep measured independently: no |
| @@ -251,10 +251,35 @@ that partial block's chroma — its `unit_height` / | |||
| 251 | `ROUND_POWER_OF_TWO` clamp at `ss 0` (decodeframe.c:989) or its above/left | 251 | `ROUND_POWER_OF_TWO` clamp at `ss 0` (decodeframe.c:989) or its above/left |
| 252 | prediction reach at the frame edge — not in the transform-size rule. | 252 | prediction reach at the frame edge — not in the transform-size rule. |
| 253 | 253 | ||
| 254 | -Named next step for the follow-up lane: dump both sides' | 254 | +**Round 3 (this lane) — THE ROUND-2 LOCALIZATION IS REFUTED, RETRACTED.** |
| 255 | -`EC_PRED`/`EC_MCB` at the mi_row-16 chroma unit and compare the predicted | 255 | +Geometry controls kill it: |
| 256 | -plane before the residual add, which splits "prediction reach" from | 256 | + |
| 257 | -"reconstruction arithmetic" in one run. | 257 | +| stream | frame grid | verdict | |
| 258 | +|---|---|---| | ||
| 259 | +| 128x96 (the H2 stream) | 1.5 x 2 block rows — partial bottom row | divergent, U+V, from f2 | | ||
| 260 | +| **128x128** | **2 x 2 whole 64 blocks — NO partial row, NO partial column** | **divergent, V only, 777 samples from f1** | | ||
| 261 | +| 160x96 | 2.5 x 2 — partial bottom row only | divergent, V only, from f3 | | ||
| 262 | +| 96x96 | partial row AND partial column | divergent, U+V, from f1 | | ||
| 263 | +| any of the above with `--enable-tx-size-search=0` | — | **exact** | | ||
| 264 | + | ||
| 265 | +Candidate (a), the partial block's `unit_height` / `ROUND_POWER_OF_TWO` clamp | ||
| 266 | +at ss 0, is refuted: a frame with no partial block anywhere reproduces the | ||
| 267 | +defect, and a wrong clamp would change the unit COUNT, which the | ||
| 268 | +bit-identical 140820-symbol entropy trace already excludes. Candidate (b) is | ||
| 269 | +also refuted *as an edge class* — the errors appear mid-block (first wrong | ||
| 270 | +sample V(27,60) in the 128x128 control, y=60, inside the first block row) and | ||
| 271 | +the affected extent tracks no frame edge. What survives is narrower and not | ||
| 272 | +geometry at all: **4:4:4 lossy inter with tx size search ON, chroma only, | ||
| 273 | +always ±1, luma always exact, entropy bit-identical, present before every | ||
| 274 | +filter, and the plane that errs varies with content** (V only at 128x128, U | ||
| 275 | +and V at 128x96/96x96). | ||
| 276 | + | ||
| 277 | +Named next step (one run, and it is the measurement that finally splits | ||
| 278 | +dequant from transform): take ONE affected 32x32 chroma unit and compare our | ||
| 279 | +dequantized coefficients against the oracle's `EC_COEFF_VAL` (and ours via | ||
| 280 | +`EC_DQCOEFF`). Values already different => the chroma dequant at `ss (0,0)` | ||
| 281 | +is the fault. Values equal but pixels differ => the fault is in the 32x32 | ||
| 282 | +inverse transform / residual add. | ||
| 258 | 283 | ||
| 259 | ### H3 — 4:4:4 lossless + 2 tile columns: 90 chroma samples wrong in the key frame | 284 | ### H3 — 4:4:4 lossless + 2 tile columns: 90 chroma samples wrong in the key frame |
| 260 | 285 | ||
| @@ -263,15 +288,26 @@ aomdec-confirmed (not an ffmpeg artefact). Frame 0: exactly 90 wrong | |||
| 263 | samples, U and V, ±1, first at U(237,58). Frames 1–5: byte-exact. | 288 | samples, U and V, ±1, first at U(237,58). Frames 1–5: byte-exact. |
| 264 | 289 | ||
| 265 | **Round 2 (this lane).** Also pre-filter: the same `EC_AV1_PREFILT_DUMP` | 290 | **Round 2 (this lane).** Also pre-filter: the same `EC_AV1_PREFILT_DUMP` |
| 266 | -pair shows all 90 samples wrong BEFORE deblock/CDEF/LR, luma 0 wrong. The | 291 | +pair shows all 90 samples wrong BEFORE deblock/CDEF/LR, luma 0 wrong. Frames |
| 267 | -decisive new fact is that frames 1–5 are byte-exact even though they predict | 292 | +1–5 are byte-exact even though they predict from that same key frame — so the |
| 268 | -from that same key frame — so the wrong samples are never read as a | 293 | +wrong samples are never read as a prediction source. |
| 269 | -prediction source, which points at the key frame's chroma OUTPUT/crop or | 294 | + |
| 270 | -reference-store path rather than at reconstruction arithmetic every frame | 295 | +**Round 3 (this lane) — the output/crop and reference-store candidates are |
| 271 | -shares. **H2 and H3 therefore do NOT reduce to one defect:** same stage | 296 | +REFUTED.** The `EC_AV1_FINAL_DUMP` rung writes the picture exactly as it is |
| 272 | -(pre-filter reconstruction), same plane (chroma only), same magnitude (±1) — | 297 | +handed to the reference slots, and diffing it against the oracle's rung 12 |
| 273 | -but H2 fires on inter frames at a frame-edge partial block row and H3 fires | 298 | +gives the SAME 90 chroma samples wrong in frame 0 (first at U(237,58), luma 0) |
| 274 | -on a lossless key frame and never propagates. | 299 | +with frames 1–2 byte-exact. The error is therefore already in the stored |
| 300 | +reference picture: not introduced by the output crop, not introduced by the | ||
| 301 | +reference-store path. It is the key frame's own chroma reconstruction, and the | ||
| 302 | +fact that it never propagates is a property of which samples the inter frames | ||
| 303 | +happen to predict from, not evidence of a healthy path. | ||
| 304 | + | ||
| 305 | +**H2 and H3 still do not reduce to one defect.** Both are pre-filter, | ||
| 306 | +chroma-only, ±1, and present in the stored picture — but they run different | ||
| 307 | +unit paths: H2 is the LOSSY 32x32 chroma unit and needs tx size search ON, | ||
| 308 | +H3 is the LOSSLESS per-4x4 chroma unit (the walk | ||
| 309 | +`rect_split_lossless_chroma444_hits` counts) and fires with tx search | ||
| 310 | +irrelevant. No single fix is claimed for them. | ||
| 275 | 311 | ||
| 276 | ### H4 — 4:4:4 lossless + 2 tile ROWS: hard divergence | 312 | ### H4 — 4:4:4 lossless + 2 tile ROWS: hard divergence |
| 277 | 313 | ||
| @@ -311,12 +347,13 @@ dimensions; 4:4:4 at 10/12-bit with tiles; 12-bit 4:4:4 lossless; 4:4:0 | |||
| 311 | (single-tile-row frame-edge walk). | 347 | (single-tile-row frame-edge walk). |
| 312 | 3. **H5** 4:4:4 10-bit lossless 128-root — a cell the 8-bit 444 gates | 348 | 3. **H5** 4:4:4 10-bit lossless 128-root — a cell the 8-bit 444 gates |
| 313 | suggest is safe and is not. | 349 | suggest is safe and is not. |
| 314 | -4. **H2** 4:4:4 lossy + tx size search chroma ±1 — reconstruction-only and | 350 | +4. **H2** 4:4:4 lossy + tx size search chroma ±1 — reconstruction-only, |
| 315 | - entropy-clean; round 2 exonerated the filter chain AND the tx-size clamp | 351 | + entropy-clean, filter chain exonerated, tx-size clamp exonerated, and |
| 316 | - (both sides already read TX_32X32 chroma units), so the remaining | 352 | + (round 3) the frame-edge geometry exonerated too: a 128x128 control with |
| 317 | - candidates are the frame-edge partial block row's chroma `unit_height` | 353 | + whole blocks reproduces it. What is left is the chroma unit's own |
| 318 | - clamp and its prediction reach. One `EC_PRED`/`EC_MCB` pair at the | 354 | + arithmetic at `ss (0,0)`, gated on tx size search being ON. One |
| 319 | - mi_row-16 chroma unit splits those two. | 355 | + `EC_DQCOEFF` vs `EC_COEFF_VAL` comparison on a single affected 32x32 unit |
| 356 | + splits dequant from inverse transform. | ||
| 320 | 5. **H3** 4:4:4 lossless + tile columns, 90 chroma samples — smallest | 357 | 5. **H3** 4:4:4 lossless + tile columns, 90 chroma samples — smallest |
| 321 | magnitude, likely the same root as H2. | 358 | magnitude, likely the same root as H2. |
| 322 | 359 | ||