Merge faa7fdab (422ctxgather) — suite green: 422ctxgather GREEN 623/0 23904s on server-3
Browse files at this commit2 changed files +12 -4
crates/ec-av1/src/decode.rsmodified+6 -3
| @@ -35408,9 +35408,12 @@ fn decode_inter_block( | ||
| 35408 | 35408 | // `!(subsampling_y)` row clause) -- pair_mi is the strip |
| 35409 | 35409 | // itself and the context reads the strip's own 8x4, ONE |
| 35410 | 35410 | // 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. | |
| 35414 | 35417 | let around_c = match strip_chroma { |
| 35415 | 35418 | Some(s) if s.has_chroma => { |
| 35416 | 35419 | let (pw, ph) = if s.horz { |
lanes/av1422ctxgather.report.mdmodified+6 -1
| @@ -23,7 +23,12 @@ | ||
| 23 | 23 | columns at ss_x 1, so every column's whole-unit dc sign is counted |
| 24 | 24 | twice). At ss (1,0) it now reads `(16, 4)` through |
| 25 | 25 | [`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. | |
| 27 | 32 | 3. **The intra strip's chroma gather** (the charter's named site, |
| 28 | 33 | `decode_rect4_16_strip` ~15331): the else arm's |
| 29 | 34 | `around_mi_rect(pair_mi, pw, ph)` is routed through |