forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/ec-vp9/tests/data/scaledref.ivfClear filter

2026-09-19

ec-vp9: decode intra-only frames and scaled references, byte-exact vs libvpxAhmet Kaan Gümüş · 2251b71
ec-vp9: decode intra-only frames and scaled references, byte-exact vs libvpx

Two header/frame-setup refusals replaced with the libvpx 1.15.0 behaviour:

* intra-only frames (an INTER frame with intra_only=1, show_frame=0) decode
  through the keyframe body, but load their frame context from storage
  (reset only for reset_frame_context 2/3 or error-resilient mode), read the
  const vp9_kf_partition_probs, and refresh only the slots their
  refresh_frame_flags names.
* a reference whose coded size differs from the current frame is SCALED during
  prediction: ScaleFactors (vp9_setup_scale_factors_for_frame / vp9_scale_mv),
  the sf->predict kernel selection and the step-aware convolve walk.

Witnesses (committed fixtures, generators in lanes/vp9refsetup/) are
byte-identical to libvpx; the whole 8-bit regression corpus is unchanged
(including the 120-frame 60fps stream and the 2160p stream). The odd reference
case (1279x719 -> 640x360) is covered too. Tests fail pre-fix with the named
refusals.