Commits
2026-11-25
ec-hw: Vk Unsupported falls back to VA everywhere; VP9/AV1 refuse below minCodedExtent; VA checks real picture size against driver minimumAhmet Kaan Gümüş · 8af23f0Browse files
hw_parity example; intra_rate runs both backends; Vulkan device-lost maps to the GPU reset epochAhmet Kaan Gümüş · ca831ce
hw_parity example; intra_rate runs both backends; Vulkan device-lost maps to the GPU reset epoch vk-video-ffi: VK_ERROR_DEVICE_LOST surfaces as Error::DeviceLost, one helper for every Vk error mapping. ec-hw: DeviceLost bumps the reset epoch via report_gpu_reset; Vk sessions check the epoch on use, new Vk sessions wait out the grace period; the thread-local Gpu is reopened after an epoch change.
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-14
feat(hw): the VA-API parameter buffers, surface pool and frame readbackAhmet Kaan Gümüş · 89d28a7
feat(hw): the VA-API parameter buffers, surface pool and frame readback The foundation of the hardware crate: every codec parameter struct libva defines for the paths this family uses, transcribed by hand from the system headers and checked field for field by a `const` assertion against `crates/ec-hw/abi-probe.c`. A transcription slip is a compile error rather than a driver reading garbage. Around them: - `SurfacePool`, which allocates once and recycles: a surface returns to the free list when the reference buffer and the caller are both done with it, so nothing leaks and nothing is reallocated per frame. - `Frame`, with the two ways to reach the pixels — DRM PRIME export for the zero-copy path, and `vaGetImage` readback into I420 (8 or 10 bit) for callers that want the samples. The readback image is created once per stream: one `vaCreateImage`/`vaDestroyImage` pair per frame costs ~20 ms at 1080p on this driver, more than the decode itself. - A typed error for every failure. Nothing here panics: edith loads this path as a dlopen'd plugin whose fall back to software is only as good as that promise.