lavfi: Add OpenCL unsharp mask filter

Multimedia / FFmpeg - Mark Thompson [jkqxz.net] - 22 November 2017 23:18 EST

Intended to replace existing opencl mode of the unsharp filter. Supports many more pixel formats and works without immediate upload and download of frame data. The options are compatible with the existing filter.

7faa8d8b03 lavfi: Add OpenCL unsharp mask filter
configure | 1 +
libavfilter/Makefile | 2 +
libavfilter/allfilters.c | 1 +
libavfilter/opencl/unsharp.cl | 99 +++++++++
libavfilter/opencl_source.h | 1 +
libavfilter/version.h | 2 +-
libavfilter/vf_unsharp_opencl.c | 482 ++++++++++++++++++++++++++++++++++++++++
7 files changed, 587 insertions(+), 1 deletion(-)

  • Share