From ecbbeba446a9702704e354974008b69a323c0da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 19 Sep 2026 15:20:40 +0300 Subject: [PATCH] vp9odd: align report refusal-witness prose and scratch chroma doc with the shipped ceil layout --- crates/ec-vp9/tests/scratch_pixdump.rs | 5 +++-- lanes/vp9odd.report.md | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/crates/ec-vp9/tests/scratch_pixdump.rs b/crates/ec-vp9/tests/scratch_pixdump.rs index 5bd9bfd6..f2c9f1f1 100644 --- a/crates/ec-vp9/tests/scratch_pixdump.rs +++ b/crates/ec-vp9/tests/scratch_pixdump.rs @@ -2,8 +2,9 @@ //! //! `INTER_IVF= EC_VP9_PIXDUMP= cargo test -p ec-vp9 --test scratch_pixdump` //! -//! Layout matches the oracle: per shown frame, Y (w*h), U ((w/2)*(h/2)), -//! V ((w/2)*(h/2)), rows packed to the visible width. +//! Layout matches the oracle: per shown frame, Y (w*h), U and V each +//! (((w+1)/2)*((h+1)/2)) (chroma ceils, so odd extents keep the last column/ +//! row), rows packed to the visible width. use ec_vp9::decode::Decoder; diff --git a/lanes/vp9odd.report.md b/lanes/vp9odd.report.md index 42d6446c..6202cbd0 100644 --- a/lanes/vp9odd.report.md +++ b/lanes/vp9odd.report.md @@ -34,8 +34,11 @@ an inter frame that inherits the odd size) reproduces it: reference chroma planes of an odd-sized frame are stored at floor(w/2) but the predictor reads libvpx's uv_crop_width = (w+1)/2) -That string is gone after the fix (step: rerun the same command; frame 1 now -decodes). +After the fix the named ODD-DIMS refusal is gone. This particular fixture does +not then decode cleanly, because its frame 1 is genuinely corrupt: libvpx itself +reports `Corrupt frame detected` on it (see Deferred). So the fixture witnesses +only the removal of the refusal; the permanent odd witness generates its own +valid odd stream instead. ## Root cause