diff options
author | Philip Langdale <philipl@overt.org> | 2023-06-02 16:24:46 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2023-06-03 16:29:38 -0700 |
commit | 378fb4028294bcf27df09d145a1f6ab1d014924e (patch) | |
tree | a6283a9a8b2363c8b0f30acf594ebb1920a5c422 /libavcodec/vulkan_decode.h | |
parent | 4ef5e7d47227fda15976bd70d17f325631730ff2 (diff) | |
download | ffmpeg-378fb4028294bcf27df09d145a1f6ab1d014924e.tar.gz |
avutil/hwcontext_vulkan: disable multiplane when deriving from cuda
Today, cuda is not able to import multiplane images, and cuda requires
images to be imported whether you trying to import to cuda or export
from cuda (in the later case, the image is imported and then copied
into on the cuda side). So any interop between cuda and vulkan requires
that multiplane be disabled.
The existing option for this is not sufficient, because when deriving
devices it is not possible to specify any options.
And, it is necessary to derive the Vulkan device, because any pipeline
that involves uploading from cuda to vulkan and then back to cuda must
use the same cuda context on both sides, and the only way to propagate
the cuda context all the way through is to derive the device at each
stage.
ie:
-vf hwupload=derive_device=vulkan,<filters>,hwupload=derive_device=cuda
Diffstat (limited to 'libavcodec/vulkan_decode.h')
0 files changed, 0 insertions, 0 deletions