[FFmpeg-devel] [PATCH] avfilter/drawbox+drawgrid - add option to prevent overwriting, of source pixels
Lou Logan
lou at lrcd.com
Fri Dec 15 00:54:49 EET 2017
On Tue, 12 Dec 2017 18:36:29 +0530
Gyan Doshi <gyandoshi at gmail.com> wrote:
> From cc2979978a8c101588c237c0bc9b6c03731b10e9 Mon Sep 17 00:00:00 2001
> From: Gyan Doshi <gyandoshi at gmail.com>
> Date: Mon, 11 Dec 2017 22:35:18 +0530
> Subject: [PATCH] avfilter/drawbox+drawgrid - add option to prevent overwriting
> of source pixels
>
> If the user-supplied color in drawbox and drawgrid filters is non-opaque,
> the box & grid painting overwrites the input's pixels (including alpha).
> Users typically expect the alpha of the specified color to only act as a key
> for compositing on top of the main input.
>
> Added option allows users to select between replacement and composition.
> Tested and documented.
> ---
> doc/filters.texi | 10 ++++++++++
> libavfilter/vf_drawbox.c | 7 +++++--
> 2 files changed, 15 insertions(+), 2 deletions(-)
LGTM and pushed. Thanks.
More information about the ffmpeg-devel
mailing list