mpv/video/out/hwdec
Dudemanguy 6797f54378 hwdec/vaapi: additionally probe hwupload format conversions
This is probably fringe, but I encountered it on my machine. The
hwupload filter happily does conversions all on the GPU side if
possible. Makes sense. However, it turns out that there is a difference
between e.g.yuv420p -> vaapi[bgr0] and a vaapi[yuv420p] -> vaapi[bgr0].
The latter worked without any issues on my hardware, but the first
example fails. To remedy this, we need to also do hardware uploads
during probing against formats and track what actually works (i.e.
vaSurfaceExportHandle). This commit only implements it in vaapi since it
is the only known place where this edge case is relevant. But other
hardware decoding drivers could easily add support later if needed.
2024-09-16 00:07:36 +00:00
..
dmabuf_interop.h hwdec/dmabuf_interop: reduce magic constant use 2024-02-26 17:37:20 +01:00
dmabuf_interop_gl.c hwdec/dmabuf_interop: reduce magic constant use 2024-02-26 17:37:20 +01:00
dmabuf_interop_pl.c hwdec/dmabuf_interop: reduce magic constant use 2024-02-26 17:37:20 +01:00
dmabuf_interop_wl.c vo_dmabuf_wayland: reject formats not supported by the GPU 2024-09-16 00:07:36 +00:00
hwdec_aimagereader.c vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
hwdec_cuda.c vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
hwdec_cuda.h hwdec_cuda: avoid gpu wakeup by deferring cuInit 2024-05-07 00:34:46 +02:00
hwdec_cuda_gl.c hwdec_cuda: reduce nesting in check functions 2024-05-07 00:34:46 +02:00
hwdec_cuda_vk.c hwdec_cuda_vk: add missing io.h include 2024-05-11 21:34:24 +02:00
hwdec_drmprime.c vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
hwdec_drmprime_overlay.c vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
hwdec_ios_gl.m hwdec: support videotoolbox with libplacebo 2023-11-16 09:48:20 -08:00
hwdec_mac_gl.c hwdec: support videotoolbox with libplacebo 2023-11-16 09:48:20 -08:00
hwdec_vaapi.c hwdec/vaapi: additionally probe hwupload format conversions 2024-09-16 00:07:36 +00:00
hwdec_vt.c vo: hwdec: add AVHWDeviceType property to hwdecs 2024-08-10 14:24:36 -07:00
hwdec_vt.h hwdec: support videotoolbox with libplacebo 2023-11-16 09:48:20 -08:00
hwdec_vt_pl.m hwdec: support videotoolbox with libplacebo 2023-11-16 09:48:20 -08:00
hwdec_vulkan.c hwdec_vulkan: allow using multiple decoding family queues 2024-08-17 02:01:05 +02:00