Hi,

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,
Maneesh

Attachment: 0001-configure-autodetect-opencl.patch
Description: 0001-configure-autodetect-opencl.patch

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to