mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
Stateless VA-API decoding with FilmCraft's own H.264 host side: the software decoder's SPS/PPS/slice-header parsers and its DPB (now generic over the picture type in filmcraft-h264) drive the GPU, so reference marking, reference lists and output order are shared and the pictures are bit-exact with the software decoder. libva is loaded at run time; no libva or driver means software decoding as before. frame_num gaps (open-GOP seeks) get the software decoder's stand-in frames. HybridDecoder keeps the transparent software fallback. Tests: hardware parity on 7 H.264 streams incl. 1080p/2160p, seeks, flushes, forced failures, fuzzing, concurrency; front end against a recording stand-in on every OS; ABI checks against va.h. Docs: platform README, ADR 0001 addendum, architecture, performance (H.264 2160p CPU per frame 417 -> 11 ms on Iris Xe), roadmap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>