forge
Explore
Log in

Don't you dare go Hollow

vp9kf: report -- the third odd-extent cross-product cell is covered

Browse files at this commit

ae29de7c6dfc832765d1967959d4d8888b4a1fa3Ahmet Kaan GümüşParent: 332f251
`/tmp/odd_hw_tr.ivf` (1913x1210, `-tile-rows 1`) decodes 3 of 3 frames
byte-exact, closing the last unexercised shape: odd width x odd height x
tile rows. All three odd-extent x tile-grid cells now have a byte-exact
witness.

Encoder note recorded with the fixture: libvpx-vp9 declines `-tile-rows`
whenever `-tile-columns` is non-zero in the same command (1366x768,
1366x1200, 1366x1210, 1913x1210 and 1918x1200 with `-tile-columns 1
-tile-rows 1` all come out cols 1 rows 0), and it declines tile rows
outright on short frames (320x242). The tile-row witness therefore needs
`-tile-columns 0` at a tall resolution; layout confirmed with
scratch_tiledbg before the sweep.
lanes/vp9kf.report.mdmodified+15 -7
@@ -837,6 +837,7 @@ Full matrix after this fix (3-frame scratch_realsweep,
837 | `/tmp/w1366.ivf` | 1366x768, 1 tile | 3 of 3 |837 | `/tmp/w1366.ivf` | 1366x768, 1 tile | 3 of 3 |
838 | `/tmp/w1366tc.ivf` | 1366x768, **2 tile columns** | 3 of 3 (`tile cols 1 rows 0`) |838 | `/tmp/w1366tc.ivf` | 1366x768, **2 tile columns** | 3 of 3 (`tile cols 1 rows 0`) |
839 | `/tmp/h1082trc.ivf` | 1366x1082, tile cols + tile rows requested | 3 of 3, but `tile cols 1 rows 0` (encoder declined tile rows at this height) |839 | `/tmp/h1082trc.ivf` | 1366x1082, tile cols + tile rows requested | 3 of 3, but `tile cols 1 rows 0` (encoder declined tile rows at this height) |
840+| `/tmp/odd_hw_tr.ivf` | 1913x1210 (odd width AND odd height), **2 tile rows** | 3 of 3 (`tile cols 0 rows 1`) |
840 | `/tmp/tr.ivf`, `/tmp/tr2.ivf`, `/tmp/t1080.ivf`, `/tmp/t1080-single.ivf`, `/tmp/single1080.ivf` | 1080p, 2/4 tile rows, 4 tile cols | 3 of 3 |841 | `/tmp/tr.ivf`, `/tmp/tr2.ivf`, `/tmp/t1080.ivf`, `/tmp/t1080-single.ivf`, `/tmp/single1080.ivf` | 1080p, 2/4 tile rows, 4 tile cols | 3 of 3 |
841 | `SWEEP_TILE0=1 SWEEP_SRC=/tmp/small320.mp4` | 320x240 | 3 of 3 |842 | `SWEEP_TILE0=1 SWEEP_SRC=/tmp/small320.mp4` | 320x240 | 3 of 3 |
842 843
@@ -844,11 +845,18 @@ Full matrix after this fix (3-frame scratch_realsweep,
844 `cargo check -p ec-vp9` = the same 5 warnings (`TM_PRED`, `read_partition`, `partition_probs`,845 `cargo check -p ec-vp9` = the same 5 warnings (`TM_PRED`, `read_partition`, `partition_probs`,
845 `x_mis`, `y_mis`). No commit (the orchestrator commits).846 `x_mis`, `y_mis`). No commit (the orchestrator commits).
846 847
847-Cross-product coverage: odd HEIGHT x tile rows is now exercised (`/tmp/h1082tr.ivf`,848+Cross-product coverage: ALL THREE cells are now exercised and green.
848-`rows_log2=1`). Odd WIDTH x tile columns is exercised (`/tmp/w1366tc.ivf`, `cols_log2=1`). The849+- odd HEIGHT x tile rows: `/tmp/h1082tr.ivf` (1920x1082, `tile cols 0 rows 1`) 3 of 3.
849-encoder declines `-tile-rows` at short heights (320x242 gives `rows_log2=0`), so the combination850+- odd WIDTH x tile columns: `/tmp/w1366tc.ivf` (1366x768, `tile cols 1 rows 0`) 3 of 3.
850-of an odd width AND an odd height AND both tile axes requested is only reachable via851+- odd WIDTH x odd HEIGHT x tile ROWS: `/tmp/odd_hw_tr.ivf` (1913x1210, `tile cols 0 rows 1`)
851-`/tmp/h1082trc.ivf`, where the encoder again declined tile rows (columns accepted) — that single852+ 3 of 3, generated with
852-cell (odd width × odd height × tile rows) remains unexercised and needs a taller-than-1082,853+ `ffmpeg -v error -y -f lavfi -i testsrc2=size=1913x1210:rate=25 -frames:v 3 -c:v libvpx-vp9 -g 1 -crf 32 -deadline good -cpu-used 4 -tile-columns 0 -tile-rows 1 -pix_fmt yuv420p -f ivf /tmp/odd_hw_tr.ivf`.
853-non-multiple-of-8, odd-width source before it can be covered.854+
855+Encoder note (why earlier attempts failed): libvpx-vp9 declines `-tile-rows` whenever `-tile-columns` is
856+also non-zero in these commands — 1366x768, 1366x1200, 1366x1210, 1913x1210 and 1918x1200 with
857+`-tile-columns 1 -tile-rows 1` all came out `cols 1 rows 0`, while 1920x1200 and 1913x1210 with
858+`-tile-columns 0 -tile-rows 1` came out `rows 1`. Also, a short frame (320x242, 4 SB rows) yields
859+`rows_log2=0` outright. So the odd-width-plus-tile-rows witness must use `-tile-columns 0` (one tile
860+column, i.e. the tile rows alone exercise the row axis) at a resolution tall enough to accept tile rows.
861+
854 862