[FFmpeg-devel] [PATCH 3/6] avutil/hwcontext_cuda: add CUstream in cuda hwctx
timo at rothenpieler.org
Tue May 8 19:32:12 EEST 2018
>>> What is this?
>> It allows asynchronous processing of CUDA workloads. The next couple
>> patches make use of it.
>> There's no change in behaviour if it remains unset/NULL, but if you set
>> one, the workload won't block the main CUDA stream so you can do
>> multiple transcode sessions in the same application without blocking one
> Could probably be documented.
> It seems a bit strange that this is per device. Wouldn't it be per
The whole streams thing and its various modes of operation are a bit
strange. But it does make things faster in certain conditions.
See the whole thread with Oscar Amoros Huguet <oamoros at mediapro.tv>
about some background on it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
More information about the ffmpeg-devel