forge
Explore
Log in

Don't you dare go Hollow

Lane-svtinter same-shape sweep table

Browse files at this commit

4fcbac5d1e594b3337eb9defc61b5ab51dcc81e0Ahmet Kaan GümüşParent: 7fc807b
  • docs
    • lane-svtinter same-shape sweep table
Show full message
docs(av1): lane-svtinter same-shape sweep table
lanes/svtinter.report.mdmodified+19 -1
@@ -54,11 +54,29 @@ reads" — a desync symptom, never a reader bound, as the standing class says).
5454 the wavefront over that corner at the full-block stride, then replicate the
5555 last on-screen column and row (libaom's own two extension loops).
5656
57-Same-shape sweep — all five reader call sites take the clamp: key-frame square
57+### Same-shape sweep (class: a per-cell map read over a block that straddles
58+the frame edge)
59+
60+Reader call sites of the fixed function — all five take the clamp: key-frame square
5861 (`read_intra_mode`), rect strip (`read_intra_mode_rect`), intra-in-inter rect
5962 (`decode_intra_rect_in_inter`), inter block intra (`decode_inter_block`), 8x8
6063 inter leaf (`decode_inter_block8`), luma and chroma each.
6164
65+Every OTHER syntax family whose symbol COUNT is clipped by the mi grid was
66+checked and already carries its clip — this was the last unclipped one:
67+
68+| family | site | state |
69+|---|---|---|
70+| residual transform units, luma | decode.rs:9546 `if tu_px >= y.true_width \|\| tu_py >= y.true_height` | clipped (lane-hgkf) |
71+| residual transform units, chroma | decode.rs:24773, 24881 (`max_blocks_wide/high`) | clipped |
72+| var-tx recursion | decode.rs:17745 `if blk_row >= max_h_mi \|\| blk_col >= max_w_mi` | clipped |
73+| segment ids | decode.rs:989, 1012 (`x_mis`/`y_mis`) | clipped |
74+| partition | `hasRows`/`hasCols` inferred split | clipped |
75+| palette colour-index map | decode.rs `decode_color_index_map_wh` | **fixed here** |
76+
77+CfL and intrabc read no per-cell map (CfL is one alpha pair per block, intrabc
78+one vector), so neither can spend symbols past the edge.
79+
6280 ## Pass table
6381
6482 Every decode compares EVERY plane of EVERY frame against `ffmpeg -pix_fmt