Count the 8x8 inter leaf's fall-through CDEF skip-band write too
Browse files at this commit408ab8793a51b3c61a0f78f09d044159de88b0b3Parent: 2afc992- fix
- count the 8x8 inter leaf's fall-through CDEF skip-band write too
1 changed file +6 -0
crates/ec-av1/src/decode.rsmodified+6 -0
| @@ -21780,6 +21780,12 @@ fn decode_inter_block8( | ||
| 21780 | 21780 | // lane-cdef r1: the fall-through twin of the compound arm's skip-band |
| 21781 | 21781 | // write above -- `skip` is one flag for the whole 8x8 leaf (read at |
| 21782 | 21782 | // `decode.rs`'s `skip_ctx` site), `split8` only splits its transform. |
| 21783 | + // lane-intersub8 r5: ... and it counts too. r1 incremented the counter in | |
| 21784 | + // the COMPOUND early-return arm only, so the gate's assert really read | |
| 21785 | + // "a COMPOUND 8x8 leaf wrote the band"; once main's inter16ab/r14 routing | |
| 21786 | + // landed, the 10-bit cq12 arm's leaves come through here instead and the | |
| 21787 | + // gate failed on an instrumentation gap, with the band written either way. | |
| 21788 | + INTER8_SKIP_BAND_HITS.with(|c| c.set(c.get() + 1)); | |
| 21783 | 21789 | neighbours.fill_skip_grid(leaf_mi, 2, skip); |
| 21784 | 21790 | neighbours.fill_lf_grid( |
| 21785 | 21791 | leaf_mi, |