[FFmpeg-devel] [PATCH v3] lavfi: add colorkey_opencl filter

Mark Thompson sw at jkqxz.net
Sat Apr 20 18:46:28 EEST 2019


On 17/04/2019 03:08, Jarek Samic wrote:
> This is a direct port of the CPU filter.
> 
> Signed-off-by: Jarek Samic <cldfire3 at gmail.com>
> ---
> More fixes based on the comments from the second version of the patch (moving sampler declaration into the program scope, `f`-suffixing constants, attaching the `*` sigil to the variable name rather than the data type).
> 
>  configure                        |   1 +
>  doc/filters.texi                 |  33 +++++
>  libavfilter/Makefile             |   2 +
>  libavfilter/allfilters.c         |   1 +
>  libavfilter/opencl/colorkey.cl   |  49 +++++++
>  libavfilter/opencl_source.h      |   1 +
>  libavfilter/vf_colorkey_opencl.c | 244 +++++++++++++++++++++++++++++++
>  7 files changed, 331 insertions(+)
>  create mode 100644 libavfilter/opencl/colorkey.cl
>  create mode 100644 libavfilter/vf_colorkey_opencl.c

LGTM, and applied.

Thanks!

- Mark


More information about the ffmpeg-devel mailing list