R4 handoff -- the band fixture that fires, the un-ignored gate's pixel result, what task 3 still owes
Browse files at this commitc1189655e650bbe6d36f9341ab3189beac57e0a9Parent: 1e9be5f- docs
- r4 handoff -- the band fixture that fires, the un-ignored gate's pixel result, what task 3 still owes
1 changed file +70 -0
- lanes/tx64x16-r4.handoff.md +70 -0
lanes/tx64x16-r4.handoff.mdadded+70 -0
| @@ -0,0 +1,70 @@ | |||
| 1 | +# lane-tx64x16 r4 handoff (tool-call cap) | ||
| 2 | + | ||
| 3 | +Branch `lane-tx64x16`, tip `82a486c` (on top of r3's `9e5c27d`): | ||
| 4 | +- `774e175` — the gate un-ignored + the fixture that fires. | ||
| 5 | +- `82a486c` — refusal message carries the tx depth, `lanes/tx64x16-r4.report.md`. | ||
| 6 | + | ||
| 7 | +## The fixture that fires (TASK 1, done) | ||
| 8 | + | ||
| 9 | +`gradients` never wins a 32-level 1:4 shape. 8-pixel BANDS do — a 32x8 strip is | ||
| 10 | +flat, a 32x16 one straddles two bands: | ||
| 11 | + | ||
| 12 | + color=c=gray:s=192x128:d=0.04:r=25,format=gray, | ||
| 13 | + geq=lum='mod(floor(Y/8)*STEP,256)',noise=alls=N:all_seed=SEED,format=yuv420p | ||
| 14 | + | ||
| 15 | +`X` instead of `Y` gives VERT_4. The `noise` layer is REQUIRED: without it the | ||
| 16 | +flat bands trip the screen-content refusal. aomenc recipe = the gate's r3 one | ||
| 17 | +(`--enable-1to4-partitions=1 --enable-rect-partitions=1 --enable-ab-partitions=0 | ||
| 18 | +--min-partition-size=8 --max-partition-size=32 --sb-size=64 --cpu-used=0`), cq | ||
| 19 | +32/45, no repeated flags. | ||
| 20 | + | ||
| 21 | +Per-attempt counts (`decode_probe` now prints `rect4_32: horz/vert/coded`; | ||
| 22 | +`stream::rect4_32_counters()`), 192x128, one frame: | ||
| 23 | + | ||
| 24 | +| source | cq | depth | horz_4 | vert_4 | coded | decode | | ||
| 25 | +|---|---|---|---|---|---|---| | ||
| 26 | +| bands Y, noise 6, seed 42 | 32 | 8-bit | 16 | 0 | 16 | OK | | ||
| 27 | +| bands Y, noise 6, seed 42 | 32 | 10-bit | 16 | 0 | 16 | OK | | ||
| 28 | +| bands X, noise 6, seed 42 | 32 | 8-bit | 0 | 24 | 24 | OK | | ||
| 29 | +| bands X, noise 6, seed 42 | 32/45/55 | 10-bit | 0 | 24 | 24 | OK | | ||
| 30 | +| bands Y, noise 14, seed 7 | 45/55 | 8+10-bit | 16 | 0 | 16 | OK | | ||
| 31 | + | ||
| 32 | +Determinism (charter: hash twice): bands Y / noise 6 / seed 42 / cq32 / 8-bit | ||
| 33 | +y4m sha256 `a1412882a9d79befe98a039a83081a47276aa38c7814ae4de8a83c520bab9fea` | ||
| 34 | +twice; aomenc obu sha256 | ||
| 35 | +`47509854c7e9142c3268b48de9b84e1cee0c58d8b87fd382f05de748593bd6f9` twice. | ||
| 36 | +Fully synthetic — NO film file and no `fixtures/` entry is needed at test time. | ||
| 37 | + | ||
| 38 | +## The gate (TASK 2, done) | ||
| 39 | + | ||
| 40 | +`stream.rs:13161 a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact` | ||
| 41 | +is UN-IGNORED, asserts unchanged. Result (`cargo test -p ec-av1 --lib -- <name> | ||
| 42 | +--nocapture`, EC_AV1_REQUIRE_AOMENC=1): **ok** — | ||
| 43 | +8-bit 7/8 attempts pixel-exact, horz_4=64, vert_4=72, coded=136, 0 out of | ||
| 44 | +scope, 0 mismatched, 1 named refusal; 10-bit 5/8 pixel-exact, 48/48/96, 0 out | ||
| 45 | +of scope, 3 named refusals. `gate_coverage`: `enable-1to4-partitions` removed | ||
| 46 | +from `NEVER_EXERCISED_10BIT`. r3's ungated lift of "a 32x32 partition type this | ||
| 47 | +decoder does not code (value=8)" is now gated. | ||
| 48 | + | ||
| 49 | +## What is left | ||
| 50 | + | ||
| 51 | +1. TASK 3 (4:1 split transform) NOT started, deliberately: depth 1 = | ||
| 52 | + TX_16X8/TX_8X16 (rectangular unit, no `TxbSet::LumaRect16x8` on this branch — | ||
| 53 | + owed to the rectx merge); depth 2 = TX_8X8 square, but `decode_rect_split` | ||
| 54 | + addresses its block by coarse 16-px cell (`px = c * SUB`) and cannot name | ||
| 55 | + strips 1/3 of a 1:4 block — it needs an mi-granular `at`. The two depths | ||
| 56 | + INTERLEAVE (12/24 attempts stop at depth 1 first, 10/24 at depth 2), so a | ||
| 57 | + depth-2-only port cannot be gated. Fixture for that lane IS in hand: the band | ||
| 58 | + recipe above + `--enable-tx-size-search=1` at cq 12..28. | ||
| 59 | +2. Full-suite totals OWED. The run (`setsid -f`, log | ||
| 60 | + `$HOME/.cache/tx64-suite-r4.log`) was still going at the cap: 173 `... ok`, | ||
| 61 | + **0 FAILED**, 0 panics, including this lane's gate and both split-transform | ||
| 62 | + sibling gates. A first attempt died at 296 ok / 0 failed when a foreground | ||
| 63 | + poll loop's SIGTERM hit its process group — start suites with `setsid -f`. | ||
| 64 | +3. Films on this tip: hg (2160p 10-bit extract) → "a 32x32-level 1:4 strip with | ||
| 65 | + a split transform (... depth=2)"; reelc (1080p extract) → "a coded HORZ/VERT | ||
| 66 | + strip whose chroma transform has no rect coefficient tables here" | ||
| 67 | + (unchanged). | ||
| 68 | +4. Separate capability, out of this lane: the INTER 32x32 dispatch | ||
| 69 | + (`decode.rs:16720`) has NO 1:4 arm — re-encoded inter film crops refuse with | ||
| 70 | + "an INTER 32x32 partition type this decoder does not code (value=9)". | ||