[FFmpeg-devel] [PATCH] V2: avutil/hwcontext_vulkan: disable multiplane when deriving from cuda

Lynne dev at lynne.ee
Sun Jun 4 00:31:59 EEST 2023


Jun 3, 2023, 02:43 by philipl at overt.org:

> 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.
>

LGTM


More information about the ffmpeg-devel mailing list