edith_codecs
Clone
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
lane-reelckf r2 report
Base lane-reelckf bb6ebe5 (r1). Merged main 85887c7 (lane-mvtwin) at 4667015.
What changed
crates/ec-av1/fixtures/reelc_kf2700.obu(NEW, tracked, 36 kB) — a 1920x792 10-bit AV1 key frame from one of the user's own films, truncated to its first temporal unit. The only stream in this repo containing a skippedUV_CFL_PREDblock; the instrumented oracle counts 5 of them.crates/ec-av1/src/stream.rs:2975—a_real_film_key_frame_with_a_skipped_cfl_block_decodes_pixel_exact: decodes the fixture, HARD-assertsreelc_chroma_counters().0 > 0(skipped CfL) BEFORE any ffmpeg dependency, then compares all three planes againstffmpeg -f obu -i - -f rawvideo -pix_fmt yuv420p10le -.
This closes r1's open item: defect 1 (a skipped intra block must still predict with CfL) now has a gate that fails if the fix is reverted.
Gate hunt for a synthetic recipe: 18 more recipes, still zero
r1 swept 20 aomenc recipes without producing a skipped CfL block. r2 swept 28
more, detecting the block oracle-side (EC_TRACE_MODE=1 aomdec →
EC_IMODE_VAL ... uv_mode=13 skip=1), which needs no decode of ours:
| family | recipes | CfL blocks | skipped CfL |
|---|---|---|---|
geq sin/X chroma-correlated stripes, cq 40..63, 8+10 bit |
6 | 0..3 | 0 |
mandelbrot/testsrc2 with cb=128+0.35*(lum(2X,2Y)-128), cq 40..63 |
6 | 1..117 | 0 |
smooth ramp / low-frequency sin(X/60)cos(Y/70), cq 45..63 |
6 | 0 | 0 |
| blurred mandelbrot/testsrc2/gradients/cellauto/life, 0.6 chroma gain, cq 55..63, 8+10 bit | 10 | 0..10 | 0 |
Result (measured, not inferred): aomenc DOES pick CfL freely on
chroma-correlated content (117 blocks at cq 40), but never with skip=1 — the
two conditions pull against each other (skip needs a zero LUMA residual, CfL
needs luma AC worth scaling). His film reaches it because directional intra on
real texture predicts exactly at a 1:4 leaf. Script:
$HOME/.cache/reelckf-work/cflsweep.sh <tag> <lavfi> <cq> <depth> [cpu] [maxpart] [minpart].
Deviation from the charter
The charter asked for stored per-plane sha256 constants. The crate has no
sha256 (and adding a hash dependency for one fixture is not warranted), and the
sibling film fixture test the_reelb_head_key_frame_decodes_pixel_exact
already pins against a live ffmpeg decode. I used that same helper. Vacuity is
covered the other way round: the decode and the skip_cfl > 0 assert run
unconditionally, only the pixel compare is behind have_ffmpeg().
Ten real key frames, re-measured on the MERGED tree (main 85887c7 in)
$HOME/.cache/reelckf-work/one.sh <ss> per point: 2 s -c:v copy -f obu extract,
truncated to one temporal unit, decoded with EC_PROBE_OUT16 under a 6G scope,
compared sample-by-sample against ffmpeg -pix_fmt yuv420p10le.
| ss | bytes | decode | samples differing (of 2 280 960) |
|---|---|---|---|
| 0 | 74 | OK 1920x792 | 0 |
| 900 | 50350 | OK | 0 |
| 1800 | 98871 | OK | 0 |
| 2700 | 36785 | OK | 0 |
| 3600 | 39883 | OK | 0 |
| 4500 | 44734 | OK | 0 |
| 5400 | 287497 | OK | 0 |
| 6300 | 124067 | OK | 0 |
| 7200 | 82748 | OK | 0 |
| 9900 | 161573 | OK | 0 |
10/10 Y=U=V=0, max|d|=0. The merge of lane-mvtwin changed nothing here.
ss=8100 and ss=9000 still refuse at a 128-root non-SPLIT partition (lane-sb128c's
cluster) and are not in the table.
Residue
- ss=8100 / ss=9000 — deferred(lane-sb128c's 128-root non-SPLIT partition).
Re-measured on the merged tree, both still stop at exactly
unsupported: AV1 tile (a 128x128 superblock HORZ/VERT or AB partition (only SPLIT and NONE are decoded at the 128 root)). - A synthetic aomenc recipe for a skipped CfL block — accepted as unreachable at 48 recipes; the pinned film frame is the gate instead.
Full suite (merged tree, tip 735c80e)
systemd-run --user --unit=reelckf-suite-1788326584 -p MemoryMax=10G ... cargo test -p ec-av1 --lib -j3
-> test result: ok. 379 passed; 0 failed; 33 ignored; 0 measured; 0 filtered out; finished in 1055.41s. Log: $HOME/.cache/reelckf-suite-r2.log.
GREEN 379/0.