forge
Explore
Log in

Don't you dare go Hollow

Merge faa7fdab (422ctxgather) — suite green: 422ctxgather GREEN 623/0 23904s on server-3

Browse files at this commit

ee9bb042a09a1120bc59b9779c3789424807b1a0Ahmet Kaan GümüşParent: fef26dfa34d785
# Conflicts:
#	crates/ec-av1/src/decode.rs
#	lanes/av1422ctxgather.report.md
crates/ec-av1/src/decode.rsmodified+6 -3
@@ -35408,9 +35408,12 @@ fn decode_inter_block(
3540835408 // `!(subsampling_y)` row clause) -- pair_mi is the strip
3540935409 // itself and the context reads the strip's own 8x4, ONE
3541035410 // luma-mi row tall, with the 4:2:2 above sampling
35411- // ([`Neighbours::around_mi_422_chroma`]). The 4:2:0 pair
35412- // merge keeps the (16, 8) span and the plain per-mi gather
35413- // (as do 4:4:4 and every VERT shape).
35411+ // ([`Neighbours::around_mi_422_chroma`]) -- and the same
35412+ // reroute catches 4:2:2 VERT: its (8, 16) pair span's
35413+ // above side covers one chroma column per two luma mi
35414+ // columns, the identical double-count. The plain per-mi
35415+ // gather survives only where the ss gate excludes it:
35416+ // the 4:2:0 pair merge (16, 8) and every 4:4:4 shape.
3541435417 let around_c = match strip_chroma {
3541535418 Some(s) if s.has_chroma => {
3541635419 let (pw, ph) = if s.horz {
lanes/av1422ctxgather.report.mdmodified+6 -1
@@ -23,7 +23,12 @@
2323 columns at ss_x 1, so every column's whole-unit dc sign is counted
2424 twice). At ss (1,0) it now reads `(16, 4)` through
2525 [`Neighbours::around_mi_422_chroma`]; the 4:2:0 pair merge keeps the
26- (16, 8) span and the per-mi gather, as do 4:4:4 and every VERT shape.
26+ (16, 8) span and the per-mi gather, as does 4:4:4. The same reroute
27+ catches 4:2:2 VERT (pair span (8, 16)): its above side covers one
28+ chroma column per two luma mi columns — the identical double-count —
29+ so it reads through [`around_mi_422_chroma`] too, and is
30+ oracle-correct there. Only the ss gate's excluded shapes (4:2:0
31+ VERT/4:4:4 VERT) keep the plain gather.
2732 3. **The intra strip's chroma gather** (the charter's named site,
2833 `decode_rect4_16_strip` ~15331): the else arm's
2934 `around_mi_rect(pair_mi, pw, ph)` is routed through