forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/maskcomp-r2.charter.mdClear filter

2026-08-28

feat(av1): port the DIFFWTD masked-compound blend (comp_group_idx==1), wedge still refusedAhmet Kaan Gümüş · ddb5bef
feat(av1): port the DIFFWTD masked-compound blend (comp_group_idx==1), wedge still refused

diffwtd_mask/blend_masked_compound in mc.rs, algebraically re-derived onto
this crate's unbiased predict_compound_intermediate domain (libaom's
round_offset bias cancels exactly in both the mask diff and the blend
weight sum, proven in the doc comments -- no offset bookkeeping needed).
Both comp_group_idx==1 decode.rs sites now build+apply the real blend for
COMPOUND_DIFFWTD; COMPOUND_WEDGE still refuses by name (wedge codebook out
of r2 scope per the charter's mergeable-partial fallback). Fixed a real
latent bug while wiring this in: compound_idx was read unconditionally,
missing libaom's comp_group_idx==0 outer gate (dead code before this round
since the masked path always errored earlier).

Gate a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact flipped
to hard assert (masked_compound_hits() > 0) with DIFFWTD refusals now
forbidden; hammered 8/8 green, zero pixel mismatches. Full ec-av1 lib
suite: 220 passed, 0 failed, 17 ignored.