[FFmpeg-devel] [PATCH 12/14] lavfi: Add OpenCL overlay filter

Mark Thompson sw at jkqxz.net
Mon Sep 11 12:34:57 EEST 2017


On 10/09/17 21:53, Mark Thompson wrote:
> Input and output formats must be the same, the overlay format must be
> the same as the input except possibly with an additional alpha component.
> ---
>  configure                       |   1 +
>  libavfilter/Makefile            |   2 +
>  libavfilter/allfilters.c        |   1 +
>  libavfilter/opencl/overlay.cl   | 104 ++++++++++++
>  libavfilter/opencl_source.h     |   2 +
>  libavfilter/vf_overlay_opencl.c | 347 ++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 457 insertions(+)
>  create mode 100644 libavfilter/opencl/overlay.cl
>  create mode 100644 libavfilter/vf_overlay_opencl.c

The positioning is broken in this version for subsampled planes placed at (x, y) != 0.  Will fix.

- Mark


More information about the ffmpeg-devel mailing list