0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/filter
Philip Langdale 872b068cb7 f_hwtransfer: disable vulkan multiplane images when uploading from cuda
Although we can support vulkan multiplane images, cuda lacks any such
support, and so cannot natively import such images for interop. It's
possible that we can do separate exports for each plane in the image
and have it work, but for now, we can selectively disable multiplane
when we know that we'll be consuming cuda frames.

As a reminder, even though cuda is the frame source, interop is one way
so the vulkan images have to be imported to cuda before we copy the
frame contents over.

This logic here is slightly more complex than I'd like but you can't
just set the flag blindly, as it will cause hwframes ctx creation to
fail if the format is packed or if it's planar rgb. Oh well.
2023-05-28 15:46:05 -07:00
..
refqueue.c various: replace if + abort() with MP_HANDLE_OOM() 2023-01-12 22:02:07 +01:00
refqueue.h video: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
vf_d3d11vpp.c various: fix typos 2023-03-28 19:29:44 +00:00
vf_fingerprint.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vf_format.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vf_gpu.c vf_gpu: initialize depth=1 on target textures 2023-02-28 14:13:55 +00:00
vf_sub.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vf_vapoursynth.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vf_vavpp.c f_hwtransfer: disable vulkan multiplane images when uploading from cuda 2023-05-28 15:46:05 -07:00
vf_vdpaupp.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00