Commits
Commits on
84fa44cfe66f76e22181d4ff8bc06ef6ea78db07Filtered to crates/ec-h264/examples/bench_decode.rsClear filter2026-09-12
perf(h264): fuse the bi-predicted combining pass into motion compensationAhmet Kaan Gümüş · 57ad7eb
perf(h264): fuse the bi-predicted combining pass into motion compensation Default-weighted bi-prediction (8.4.2.3.1) is the rounded average of the two lists' clipped byte predictions, so list 0 now interpolates straight into the picture and list 1 averages on top of it (Put::Avg) instead of both landing in 256/64-byte temporaries, going through combine(), and being copied back per row. Weighted slices keep the temporary path. SliceCtx::no_weights() hoists the per-component weights_for lookup for streams that signal no weighted prediction at all. Byte-exact A/B vs d27a904d on five fixture classes (720p High CABAC+B, 720p CAVLC baseline, 1440p High no-B, 1080p Main, 4K Main): all display- order frame hashes identical. ec-h264 suite green (79 lib + 23 conformance + 12 encode + 1 decode-first).