Drop a stray orchestration scratch file swept in by git add -A
Browse files at this commitcff141ed334e383a82429f8afaf2b826a9145bfdParent: 746f093- chore
- drop a stray orchestration scratch file swept in by git add -A
1 changed file +0 -46
- lanes/av1-inter-plan.md +0 -46
lanes/av1-inter-plan.mddeleted+0 -46
| @@ -1,46 +0,0 @@ | ||
| 1 | -# AV1 inter-frame package — foreman decomposition (2026-08-26) | |
| 2 | -Goal: ec-av1 inter frames -> edith_replica drops rav1e. User-seat gate: AV1 export from | |
| 3 | -edith_replica plays, ffmpeg decodes frame-for-frame, `cargo tree -p engine` has no rav1e. | |
| 4 | - | |
| 5 | -Lanes (I1..I13). Wave 1 armed 2026-08-26: I1 cdf / I2 hdr / I3 mvstack / I4 mc, worktrees | |
| 6 | -edith_codecs-av1-{cdf,hdr,mvstack,mc}. Then I5 motion (needs I4); wave 2 I6 inter tile | |
| 7 | -writer (needs I1+I3) then I10 q-contexts (cdf.rs conflict — sequential after I6); | |
| 8 | -sequential tail I7 encode loop+ref buffer -> I8 ffmpeg multiframe VERIFIER gate -> | |
| 9 | -I9 pad-to-32/render-size crop -> I11 streaming facade+colour config -> I12 replica swap -> | |
| 10 | -I13 entry-surface + rav1e parity VERIFIER. | |
| 11 | - | |
| 12 | -Swap blockers beyond inter itself: | |
| 13 | -- Q_CTX_2 61..=120 only coeff q context (tile.rs:84,600) -> I10 adds the other 3, range 0..=255. | |
| 14 | -- Picture::check refuses non-multiple-of-32 sizes (encode.rs:109-119) -> I9 pad+render crop | |
| 15 | - (frame.rs:361 render_differs already writes crop syntax). | |
| 16 | -- Colour: encode.rs:187-199 hardcodes unspecified; rav1e seat sets Limited + BT709/BT601 | |
| 17 | - (replica export.rs:3494-3507) -> I11 config fields, else visible colour shift. | |
| 18 | - | |
| 19 | -Replica rav1e surface (all in edith_replica/crates/engine/): Cargo.toml:190-197 dep; | |
| 20 | -export.rs:3345 Enc::Av1Sw, :3461 open_av1, :3609 encode arm, :3710 drain arm, | |
| 21 | -:3793-3817 collect_av1/pop_av1 (delete — ec-av1 facade is one-in-one-out like Enc::Hevc, | |
| 22 | -export.rs:3624 "Nothing is ever held back"); name strings export.rs:697, caps.rs:32,:137. | |
| 23 | -I12 gates: cargo tree -p engine no rav1e; cargo test -p engine --test av1 --test backends. | |
| 24 | - | |
| 25 | -I5: crates/ec-av1/src/motion.rs, diamond search around PredMv + half/quarter-pel refine via | |
| 26 | -mc.rs; cost SAD/SSE + lambda*mv_bits priced by interval narrowing (never per-entry prob); | |
| 27 | -constants swept before landing. I6: tile.rs sb_coeff_inter_frame_tile — per block skip, | |
| 28 | -intra_inter, single-ref chain, inter_mode/drl/mv_joint+components; intra-in-inter uses | |
| 29 | -Default_Y_Mode_Cdf NOT KF_Y_MODE; extend Neighbours with per-mi is_inter+mv. | |
| 30 | -I7: encode_sequence(&[Picture]) keeps decoded recon as LAST ref, one slot; RD set = | |
| 31 | -intra ∪ {NEARESTMV skip, NEARESTMV coded, NEWMV}; gate = sample-exact ffmpeg equality | |
| 32 | -key+4 inter. I8 verifier: EC_AV1_CLIP multi-frame, per-frame PSNR floor, inter frames | |
| 33 | -smaller than key on low-motion + inter-block share printed (gate-blind-to-feature). | |
| 34 | -I11: EncoderConfig{w,h,q|bitrate,gop,colour}, encode_planes one-in-one-out, flush none; | |
| 35 | -30-frame gop-15 test = 2 key + 28 inter; colour fields round-trip via ec-av1-syntax. | |
| 36 | -I13 verifier: entry-surface export from replica settings row on a real ~/Videos clip, | |
| 37 | -label/progress/error-path captured; parity table vs rav1e (bytes, PSNR, wall-clock); | |
| 38 | ->2x bytes at equal PSNR = numeric REPORT not fail. | |
| 39 | - | |
| 40 | -Rejected: feature-depth-first (compound/switchable/TX_SELECT first) — triples CDF surface | |
| 41 | -before first ffmpeg-decoded inter frame. | |
| 42 | - | |
| 43 | -Charter boilerplate every lane: own worktree + CARGO_TARGET_DIR=$HOME/.cache/cargo-target-av1-<lane>; | |
| 44 | -no new tests/*.rs (ec-av1 tests inline); never validate tables against rav1e layout (transposed); | |
| 45 | -gates cargo test -p ec-av1 (+ --release for ffmpeg roundtrips), clippy, fmt --check; long runs | |
| 46 | -under systemd-run MemoryMax=10G; merge into main at close, branch+worktree die same batch. |