-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


Dave Airlie: vulkan video decoding: anv status


Posted by Roy Schestowitz on Dec 17, 2022


LibreOffice 7.5: Top New Features - Release Info

State of the Word 2022: A Celebration of the Four Freedoms of Open Source


↺ Dave Airlie


After cleaning up the radv stuff I decided to go back and dig into the anv support for H264.


The current status of this work is in a branch[1]. This work is all against the current EXT decode beta extensions in the spec.


This contains an initial implementation of H264 Intel GPUs that anv supports. I've only tested it on Kabylake equivalents so far. It decodes some of the basic streams I've thrown at it from ffmpeg. Now this isn't as far along as the AMD implementation, but I'm also not sure I'm programming the hardware correctly. The Windows DXVA API has 2 ways to decode H264, short and long. I believe but I'm not 100% sure the current Vulkan API is quite close to "short", but the only Intel implementations I've found source for are for "long". I've bridged this gap by writing a slice header parser in mesa, but I think the hw might be capable of taking over that task, and I could in theory dump a bunch of code. But the programming guides for the hw block are a bit vague on some of the details around how "long" works. Maybe at some point someone in Intel can tell me :-)


Read on


↺ Read On: Dave Airlie




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Fri Jun 14 00:41:20 2024