Commits
2026-11-25
Merge decode robustness: H.264 4:0:0 on Vk, clean VA refusals, VA pool growth, HEVC level 255, AMD HEVC CTB16 quirkAhmet Kaan Gümüş · 5d36862Browse files
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
ec-hw: Vulkan decode follows mid-stream size and DPB changesAhmet Kaan Gümüş · fc0a0f7
ec-hw: Vulkan decode follows mid-stream size and DPB changes Flush the previous picture when an SPS arrives, so it is finished against its own SPS. Rebuild the H.264/H.265 session when the coded size or DPB size changes (H.265 also on bit depth), flushing pending output first. AV1 sizes the session from the sequence header maximum.
HwDecoder::next_picture -> HwPicture (to_i420/to_i420_16/to_rgb/export_dmabuf per picture) on a reusable exportable output ring (stable fd inodes); old next_* as wrappers; CodecProfile H264ConstrainedBaseline/H264Main/Vp9Profile2Ahmet Kaan Gümüş · e12d32fBrowse files
Vk decode parity: DMA-BUF export, reset, AV1 film grain for 10-bit, per-profile capabilitiesAhmet Kaan Gümüş · f49eeb8Browse files
vk: 10-bit H.265 Main10 and AV1 encode from P010, Vulkan 10-bit decode output; ec-hw encode_16 and HwDecoder::open_16/next_frame_16Ahmet Kaan Gümüş · 82a0fd5
vk: 10-bit H.265 Main10 and AV1 encode from P010, Vulkan 10-bit decode output; ec-hw encode_16 and HwDecoder::open_16/next_frame_16 Shim: P010 input plane upload, Main 10 / high_bitdepth parameter sets, encode_16 on H.265 and AV1 sessions; RGB and DMA-BUF input refused at 10 bits; 10-bit caps query maps to Unsupported. ec-vk: bit_depth in H265/Av1 encoder configs, encode_16. ec-hw: EncoderConfig.bit_depth 10 on Vulkan (H.264 stays Unsupported), HwEncoder::encode_16; Mode::I420_16 decode output for Vulkan and VA-API, shared fill_i420_16 in picture.rs. examples/hw_ten: 30-frame 1280x720 round trip, PSNR and VA comparison.
HwDecoder::open_rgb/next_rgb: GPU YUV->BGRA/RGBA with box downscale (nv12_to_rgb.comp), matrix from bitstream (601/709 limited), VA fallback via ec-dsp i420_to_packed with the same coefficients; hw_decode_rgb exampleAhmet Kaan Gümüş · b411317Browse files