[FFmpeg-devel] [PATCH 0/3] Patch to create a circular delogo area

Jörg Habenicht j.habenicht at gmx.de
Tue Feb 4 21:53:57 EET 2025


Dear list,

sorry for the previous posting. I noticed the lines got mangled. So here
is a new try to get the patches right.


Old text:
I made a patch for the delogo filter. With this I can create a circular or
elliptic zone to apply the delogo algorithm. The borders are defined with
x,y,w,h parameter just like the rectangular area definition. To become
circular I added an additional parameter 'r'=0/1 defaulting to '0' i.e.
rectangular area definition.

I added a large comment to the function body describing the calculation
of the ellipse. Hope you don't mind.
The patch has been tested with 'make fate-rsync fate' and applies
clean to the master branch, commit 957eb2323a924aa0b148927889eae581185c367b .

Please have a look.

best regards
Jörg


Jörg Habenicht (3):
  avfilter/delogo: add parameter to switch on circular delogo
  avfilter/delogo: added circular delogo algorithm description
  avfilter/delogo: added the circular delogo algorithm

 libavfilter/vf_delogo.c | 59 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 54 insertions(+), 5 deletions(-)

--
2.45.3



More information about the ffmpeg-devel mailing list