[FFmpeg-devel] [PATCH] configure: autodetect opencl

Gupta, Maneesh Maneesh.Gupta at amd.com
Mon Mar 2 08:29:11 CET 2015


Similar to the way SDL is being autodetected, the attached patch proposes to autodetect OpenCL.

Rationale for the change:
* OpenCL linking typically happens against the OpenCL ICD's import library. Hence there is no hard-linking against the OpenCL ICD's DLL/shared library. So ffmpeg should continue to run fine for non-OpenCL cases even when OpenCL runtime is not available on the user's system.
* Enabling OpenCL is relatively low-impact since it does not automatically disable or override any existing functionality. The user still needs to explicitly specify opencl=1 in the filter options when using ffmpeg to use the OpenCL path.

Please review the patch and share your comments on the same.

Thanks and Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-autodetect-opencl.patch
Type: application/octet-stream
Size: 3093 bytes
Desc: 0001-configure-autodetect-opencl.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150302/08e1d55b/attachment.obj>

More information about the ffmpeg-devel mailing list