forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1llpred2.report.mdClear filter

2026-09-25

lane-av1-llpred2: skip_chroma_above reads the frame ss pair, not a rect-over-chroma_side ratioAhmet Kaan Gümüş · 0db45d1
lane-av1-llpred2: skip_chroma_above reads the frame ss pair, not a rect-over-chroma_side ratio

obmc_plan derived ss from trailing_zeros(write / chroma_side) on ONE
square side: a 4:2:0 16x8 strip read ss=(1,0) and lost its above-chroma
skip (libaom's av1_skip_u4x4_pred_in_obmc skips the plane block 8x4
under frame ss (1,1)), and a 4:4:4 16x8 strip divided 8/16=0 so
trailing_zeros(0)=64 panicked a debug build on the shift.

The decision is now the pure obmc_skip_chroma_above(write_w, write_h,
ss_x, ss_y) over the frame's own pair -- the same values obmc_run's
chroma windows shift by -- fed by ss_x(fctx)/ss_y(fctx) at all three
callsites (decode_inter_block, decode_inter_block8, the encoder's
obmc_prediction). A unit check pins the 4:2:0 16x8/8x16 skip and the
4:4:4 shapes; the 6-frame 444 fixture is cmp-exact against aomdec in a
debug decode probe, and the a_lossless 4:2:0 gates stay green.