[FFmpeg-devel] [Patch] CUDA Thumbnail Filter
timo at rothenpieler.org
Fri Sep 1 13:27:07 EEST 2017
Am 30.08.2017 um 06:19 schrieb Yogender Gupta:
> Attached is a CUDA version of the thumbnail filter, this helps accelerate thumbnails generations significantly, when using the GPU pipeline.
After having a look at the code:
The filter is using a global "CUdeviceptr data;" variable(Which isn't
This is generally not acceptable. It makes it impossible to use the
filter more than once in parallel. All state should be in the filter
Also, the allocated Module and Device-Memory is never freed.
uninit should unload the module, free the memory, and do other
potentially necessary cleanup.
Otherwise the code seems reasonable to me. Would still like to have
someone else review it though.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3994 bytes
Desc: S/MIME Cryptographic Signature
More information about the ffmpeg-devel