Commits
2026-10-23
Restore edith_codecs after local data loss (2026-10-23)Ahmet Kaan Gümüş · b7434a2
Restore edith_codecs after local data loss (2026-10-23) On 2026-10-23 an automated agent ran `rm -rf $HOME` and deleted the local repository with all of its history. This commit restores the working tree from the newest surviving copy, the host-c server lane mirror. That mirror matches local main as of the testcut Phase 2 reports, including the tool cache, the nextest fast profile and changed-crates.sh. The history before this commit was not recovered.
2026-09-19
vp9444: decode profiles 1/3 (4:4:4/4:2:2/4:4:0) and 12-bitAhmet Kaan Gümüş · f81eeb9
vp9444: decode profiles 1/3 (4:4:4/4:2:2/4:4:0) and 12-bit Thread the frame's subsampling through plane geometry, n4 counts, uv transform size, crop extents and the loop-filter plane dispatch; add the non420 loop filter, the uv_txsize_lookup table and the 18-bit CAT6 token for 12-bit. Byte-exact vs a libvpx 1.15.0 oracle across the full corpus.
vp9: decode profile 2 (10-bit 4:2:0) byte-exact vs libvpx 1.15Ahmet Kaan Gümüş · 9025ed3
vp9: decode profile 2 (10-bit 4:2:0) byte-exact vs libvpx 1.15 Store every plane as u16 and thread the frame's bd through the pixel kernels (clip_pixel_bd, bd-scaled loop-filter thresholds, base = 128 << (bd-8) intra fills, highbd idct guard), so one decode walk serves 8- and 10-bit. The one depth-dependent bitstream element is the CAT6 coefficient token: 14 bits/vp9_cat6_prob at 8-bit, 16 bits/ vp9_cat6_prob_high12 + 2 at 10/12-bit -- ported. Profile gate now accepts 0 and 2; profiles 1/3 and 12-bit are refused by name; non-4:2:0 subsampling stays refused. Byte-exact vs libvpx 1.15 on both 10-bit corpus streams (48 and 120 frames) and the whole 8-bit regression corpus. cargo test -p ec-vp9 green; warning parity (the 5 pre-existing). See lanes/vp9hbd.report.md.
2026-09-17
vp9kf: VP9 inter-frame syntax parses block-for-block identical to libvpxAhmet Kaan Gümüş · 834983e
vp9kf: VP9 inter-frame syntax parses block-for-block identical to libvpx
Slice 1 of inter-frame support: an inter frame is now parsed end to end
(compressed header, mode info, MVs, references) and every block matches
libvpx 1.15's own instrumented decoder on the test stream - frame 1
1213/1213, frame 2 1851/1851 on row/col/bsize/tx/mode/skip/seg/ref0/ref1/
interp/MV - with the frame-1 compressed header bit-identical (1200/1200
bools) and frame 2 likewise.
Causes closed while getting there, each ported from libvpx with its line:
update_mv_probs is MV_UPDATE_PROB + seven literal bits + (lit<<1)|1, NOT
diff_update_prob; keyframe partition probs are a const selected by
get_partition_probs and must never be stored in a FrameContext (stored
contexts are new(false), the active keyframe copy new(true) + a
reset_inter_partition before the save); vp9_switchable_interp_tree is
{0,2,-1,-2} (libvpx's EIGHTTAP/EIGHTTAP_SMOOTH/EIGHTTAP_SHARP #defines,
not the spec's naming order); mv_ref_blocks' POSITION is {row,col} and one
accessor added .0 to the column; clamp_mv_ref's edge arithmetic is signed
(usize underflowed on a frame's partial last row) and clamps the COLUMN
with the left/right edges and the ROW with the top/bottom ones; and the
mode-derived candidate-count override sits AFTER libvpx's Done: label, so
an early exit skips it - reproduced bug-for-bug.
This slice is SYNTAX ONLY: decode() still refuses inter frames by name and
no inter pixel is produced. The keyframe path still decodes to pixels and
keyframe_exact is green.
Verified by an independent reviewer in three passes (structural claims
re-derived from libvpx source, the identity comparison re-implemented
independently, a dropped-field audit of the two stale fields, and
delta re-verification of the clamp/error-propagation/gate fixes).2026-09-14
vp9kf: d153 row, idct32 stage 8, flat2 q0, chroma tx-grid — Y byte-exactAhmet Kaan Gümüş · 82ca712
vp9kf: d153 row, idct32 stage 8, flat2 q0, chroma tx-grid — Y byte-exact generic d153 no longer skips row 1; idct32 runs vpx stage 8; flat_mask5 compares q4..q7 to q0 (not p0). Pre-LF Y matches libvpx; post-LF Y matches ffmpeg. Chroma still 16 U + 20 V off (HANDOFF #6). Not pushed.
vp9kf: libvpx-1.15 marker bit, lossless ONLY_4X4 header, tile-info rows/cols bounds, tx-row left-ctx fix; oracle-diff HANDOFF #3Ahmet Kaan Gümüş · 76c8a77Browse files
vp9kf: entropy round 2 — trees, kf partition probs, 8x8 partition symbol, tile-info boundsAhmet Kaan Gümüş · c445467
vp9kf: entropy round 2 — trees, kf partition probs, 8x8 partition symbol, tile-info bounds - INTRA_MODE_TREE leaf order fixed to libvpx vp9_intra_mode_tree; the invented spec-doc chain UV_MODE_TREE deleted (v1.15 decodes uv with the same tree, decodemv.c:232). SEGMENT_TREE corrected to vp9_seg_common.c:58 balanced form. - Keyframes now code partitions with vp9_kf_partition_probs (added; spec 7.2), not the inter defaults. FrameContext::new(key_frame). - The 8x8-level partition symbol is read (decodeframe.c:1188 runs before the !hbs branch); sub-8x8 shapes occupy the full 8x8 mi area (luma 2x2 4x4 TUs, chroma 4x4 once per 8x8). bsize_of_n4 mapping fixed (2->16x16, 1->8x8). Duplicate kf_uv_probs removed from modes.rs (kept in tables). - ec-vp9-syntax DEVIATION (flagged for merge review): tile_cols_log2_bounds returned max-1, skipping the terminating tile-cols increment bit; bounds are now inclusive and rows mirrors vp9_get_tile_n_bits. Test re-pinned to libvpx/spec values (1920 -> (0,3), 3840 -> (0,4), 1 -> (0,1)). - keyframes_match_ffmpeg still FAILING (ours 120 vs 72 at pixel (0,0); was 133). inter_is_named_unsupported PASSES as a named Error. Debug traces (TILE/B/C/RC, EC_VP9_FORCE_TAIL) and scratch_* harnesses kept for the next round; see lanes/vp9kf.report.md HANDOFF #2.
vp9kf: ec-vp9 first lane scaffold — full keyframe pipeline (bool, header, tiles, modes, intra, tokens, transforms, loopfilter, stream) + extracted libvpx tables; bool roundtrips 7/7, profile-1 4:4:4 refusal pinned; byte-exactness vs ffmpeg still off (uv-mode entropy divergence, see lanes/vp9kf.report.md HANDOFF)Ahmet Kaan Gümüş · aee9373Browse files