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-08-21
2026-08-14
perf(h265): 32x32 coding trees by default, for the wavefront rowsAhmet Kaan Gümüş · 7a75a9b
perf(h265): 32x32 coding trees by default, for the wavefront rows The wavefront hands one CTB row to a worker, so the tree size sets the parallelism: 1080 lines are 17 rows at CTB 64 but 34 at 32, and 17 rows dealt round-robin over twelve workers leaves seven of them holding half the work of the other five. Measured at 1080p QP 27: the sizes are identical on one thread (1.80 fps each) and 9.03 vs 7.92 fps on twelve, for 1.0% more bits and 0.02 dB less PSNR. Both numbers are now tests: perf.rs measures the two sizes alternately so a drifting machine load cannot favour whichever ran first, and conformance.rs bounds the bits and the PSNR against 64. The ffmpeg bit-exactness oracle now codes shapes at both tree sizes. The bigger figure that prompted this (3.5 vs 11.8 fps) was an end-to-end export at QP 40 on real content, not this crate's pure-encode harness.
feat(h265): full-depth quadtree search, VA-API check, parse-side fuzzAhmet Kaan Gümüş · b19a281
feat(h265): full-depth quadtree search, VA-API check, parse-side fuzz The search goes down to 8x8 by default because on real pictures that is both better and no slower: measured on a 1080p camera frame at QP 22, -27% bits and +1.5 dB against stopping at 16x16, at the same wall time. The 16x16 floor stays available as a setting. Two defects the earlier tests could not see, both found by pointing the encoder at real footage: - stopping the search early skipped split_cu_flag entirely, while the sequence still allowed a split. Every picture decoded to noise. The flag is written now whatever the search decides. - a fuzzed SPS could name a 45-bit POC field and take ec-core's bit reader past its documented contract. Picture size, POC width and long-term set count are validated where they are parsed. Also: VA-API decode of the encoder's own output is a test (radeonsi, real GPU), progress counters are one per cache line - twelve workers polling eight counters per line spend their time invalidating each other - and waits back off to a sleep instead of spinning on a core someone needs.
feat(h265): wavefront-parallel intra IDR encoderAhmet Kaan Gümüş · fa29faa
feat(h265): wavefront-parallel intra IDR encoder One encode_idr call uses every core: entropy_coding_sync (WPP) makes each CTB row a substream, a worker starts a row once the row above is two CTBs ahead, and the only shared mutable state is one atomic byte per boundary sample plus a progress counter. No unsafe, no rayon, and the bitstream is identical whatever the thread count - a test asserts that. Deblocking and SAO are signalled off. An intra-only stream predicts from its own reconstruction, so an in-loop filter changes what a decoder shows without changing what either side predicts from; off, the encoder's reconstruction is bit-identical to ffmpeg's decode, which the conformance test checks at four picture shapes including 1916x1080.