Commits
2026-11-25
ec-hw: 4:0:0 H.264 on Vulkan, VA surface growth, refuse VA 12-bit VP9 and AMD CTB16 HEVC, accept unknown H.265 levelsAhmet Kaan Gümüş · db3af7cBrowse files
vk-video-ffi, ec-hw: VP9 decode over Vulkan VideoAhmet Kaan Gümüş · 2134128
vk-video-ffi, ec-hw: VP9 decode over Vulkan Video Profile 0 8-bit and profile 2 10-bit 4:2:0 on the Vulkan path, so VP9 no longer needs VA-API. The shim takes the parsed uncompressed header and builds StdVideoDecodeVP9PictureInfo. ec-hw reuses ec-vp9-syntax for parsing and superframes, and the shared RefSlots (renamed from av1_refs) for the eight reference slots. The VA VP9 decoder uses RefSlots too. hw_decode example gains three libvpx VP9 streams (8-bit 640x360 with hidden altrefs, 8-bit 720p realtime, 10-bit), all bit-exact against ffmpeg.
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-20
feat(hw): expose HEVC prefix-SEI HDR peak and VUI colour tags on Frame/DecoderAhmet Kaan Gümüş · 7669974
feat(hw): expose HEVC prefix-SEI HDR peak and VUI colour tags on Frame/Decoder
edith's replica needs MaxCLL/MaxFALL for HDR films whose container never
carried them (they live only in HEVC content_light_level/mastering_display
SEI) — ec-hw's decode() dropped every SEI NAL on the floor. HevcDecoder now
merges ec_core::color::hevc_sei_light per access unit (sticky across frames
that carry none) and resolves VUI colour tags from the SPS; H264Decoder
resolves VUI tags only (no SEI parsing for that codec yet); VP9/AV1 report
None (not implemented). New Frame::colour()/Decoder::colour() surface it,
bundled as ec_hw::frame::Colour{description, light} over the existing
ec-core ColorDescription/ContentLight types.
Tests: hdr_film_light_level_sei_is_exposed pins MaxCLL/MaxFALL 1230/419 and
primaries/transfer/matrix 9/16/9 against the real ReelD rip;
sdr_h264_colour_never_panics proves the VUI-only path doesn't panic on an
SDR fixture (skips when no fixtures generated, same convention as the rest
of gpu.rs).2026-08-14
feat(hw): stateless decoding for H.264, HEVC, VP9 and AV1Ahmet Kaan Gümüş · eb589d4
feat(hw): stateless decoding for H.264, HEVC, VP9 and AV1 One decoder per codec behind one `Decoder`. The driver keeps nothing between pictures, so everything the format spreads across frames lives here: the H.264 decoded picture buffer with its picture order counts, reference numbering, list initialisation and modification and marking (clause 8.2); HEVC's reference picture sets and bumping; VP9's and AV1's reference slots with `show_existing_frame`. Frames leave in display order. Three of the four incumbent defects are addressed by construction: - The RT format follows the *stream's* bit depth, so a Main10 stream gets a 10-bit config and a P010 surface instead of losing two bits per sample. - A `frame_num` gap is a normal condition — a seek, a lost packet, an encoder that skipped a picture — and the missing pictures are inferred per 8.2.5.2 rather than ending the hardware session. The inferred frames share the newest reference's surface, which is both a better guess than grey and the only choice this driver accepts. - Surfaces come from a pool and mappings are guards, so a long export neither reallocates nor leaks. The scaling matrices are sent for every H.264 picture whether or not the stream carries any: a driver that never receives them dequantises with a zero matrix and hands back a uniformly grey frame.