forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 00c1b3ff2d80d84fef71bb6208110dedbbd95fc4Filtered to lanes/scaledref-r1.report.mdClear filter

2026-09-01

fix(av1): a warp-capable frame under a scaled reference read the 3-symbol motion_mode_cdf where libaom reads the 2-symbol obmc_cdfAhmet Kaan Gümüş · cd8ea46
fix(av1): a warp-capable frame under a scaled reference read the 3-symbol motion_mode_cdf where libaom reads the 2-symbol obmc_cdf

libaom motion_mode_allowed (blockd.h:1484) drops WARPED_CAUSAL eligibility when
av1_is_scaled(block_ref_scale_factors[0]), so a superres block reads obmc_cdf.
We read motion_mode_cdf: the decoded value stayed SIMPLE_TRANSLATION, so nothing
errored -- the stream decoded "OK: 24 frames" with quietly wrong pixels from the
diverged coder state (frame 1: 1342 luma pixels off, growing to |d|=18 by frame
23). The existing warp refusal could not see it (warp_params is None there).

Gate: the superres gate now runs --enable-warped-motion=1 by DEFAULT and
hard-asserts scaled_warp_suppressed_hits() > 0 -- 12/12 pixel-exact, 25 blocks
took the obmc_cdf arm only because of this fix. decode_probe gains EC_PROBE_OUT
(raw yuv420p dump), the instrument that located it. Sibling site in
decode_inter_block8 is unreachable (refused earlier) and carries a note.
feat(av1): scaled-reference MC for compound, OBMC and interintra blocksAhmet Kaan Gümüş · 97a7ed5
feat(av1): scaled-reference MC for compound, OBMC and interintra blocks

Each compound tap now scales off its own stored reference's luma width
(mc::horizontal_scaled_pass shared by predict_scaled and
predict_compound_intermediate), OBMC neighbours are re-predicted through the
scaled walk against their own reference's scale, and interintra blends over the
scaled inter prediction. Warp under a scaled reference stays refused (libaom
allow_warp's translational fallback is implemented but its stream still
mismatches); the 8x8 leaf stays refused (its MC is threaded, but the only
recipe reaching that path desyncs inside the leaf -- lane-sub8's open
below-8x8 defect, not scaling).

Also, found while probing 8x8 leaves and kept: obmc_mask(2) = {45,64} and
one-sided chroma OBMC for an 8x8 luma block (av1_skip_u4x4_pred_in_obmc,
reconinter.c:820) -- the first real 8x8 OBMC block hit unreachable!().

Gate: a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact,
12/12 seeds pixel-exact vs ffmpeg incl. hidden alt-refs, hard-asserting
predict_scaled/scaled_compound/scaled_obmc/scaled_interintra hit counters
(3198/500/9/1). Refusals 47 -> 44.