| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
501bd57bdb |
hwcontext_vulkan: initialize semaphores of DMABUF imports
There was a recent change in Intel's driver that triggered a driver-internal error if the semaphore given to the command buffer wasn't initialized. Given that the specifications require the semaphore to be initialized, this is within spec. Unlike what's causing it in the first place, which is that there are no ways to extract/import dma sync objects from DMABUFs, so we must leave our semaphores bare. |
5 years ago |
|
|
9086af2a0a | hwcontext_vulkan: only convert image layout for transfers if necessary | 5 years ago |
|
|
08d0a8992d |
hwcontext_vulkan: minor corrections for DMABUF mapping
We need to consider the amount of layers instead of the image's planes. |
5 years ago |
|
|
a88449ffb2 |
lavu: add Vulkan hwcontext code
This commit adds the necessary code to initialize and use a Vulkan device within the hwcontext libavutil framework. Currently direct mapping to VAAPI and DRM frames is functional, and transfers to CUDA and native frames are supported. Lets hope the future Vulkan video decode extension fits well within this framework. |
6 years ago |