[FFmpeg-devel] [PATCH]opencl: compile kernels separately

Lenny Wang lenny at multicorewareinc.com
Tue Oct 29 07:59:27 CET 2013


Currently opencl kernels in ffmpeg are compiled altogether at
initialization stage, most of related data structures are maintained within
the opencl framework of ffmpeg.  This is very cumbersome to use and is not
efficient.  This patch uses distributed opencl programs/kernels for each
filter (or potentially any other component that uses opencl), allowing
kernels to be compiled separately at each component's initialization stage.

Tests have been conducted successfully on mainstream Nvidia/AMD/Intel
platforms with "-vf deshake=opencl=1,unsharp=opencl=1".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile_opencl_kernels_separately.patch
Type: application/octet-stream
Size: 24531 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131029/9dcccef2/attachment.obj>


More information about the ffmpeg-devel mailing list