Metadata-Version: 2.4
Name: vapoursynth-fillborders
Version: 3.0
Summary: Border extension filter for VapourSynth
Keywords: video,borders
Author-Email: Fredrik Mellbin <fredrik.mellbin@gmail.com>
License-Expression: GPL-2.0
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: C++
Classifier: Topic :: Multimedia :: Video
Project-URL: Repository, https://github.com/dubhatervapoursynth/vapoursynth-fillborders.git
Project-URL: Issues, https://github.com/dubhatervapoursynth/vapoursynth-fillborders/issues
Requires-Python: >=3.12
Requires-Dist: VapourSynth
Description-Content-Type: text/x-rst

Description
===========

This is a simple filter that fills the borders of a clip, without changing the clip's dimensions.


Usage
=====
::

   fb.FillBorders(clip clip[, int left=0, int right=0, int top=0, int bottom=0, string mode="repeat", int interlaced=0])

left, right, top, bottom
   Number of pixels to fill on each side. These can be any non-negative numbers, within reason. If they are all 0, the input clip is simply passed through.

mode
   "repeat"
      Fills the borders using the outermost line or column.

   "mirror"
      Fills the borders by mirroring.

   "fillmargins"
      Fills the borders exactly like the Avisynth filter `FillMargins <http://forum.doom9.org/showthread.php?t=50132>`_, version 1.0.2.0. This mode is similar to "repeat", except that each pixel at the top and bottom borders is filled with a weighted average of its three neighbours from the previous line.

   "fixborders"
      A direction "aware" modification of FillMargins. It also works on all four sides.

   "interlaced"
      Fills the top and bottom borders only with pixels taken from the same field. Possible values are 1 (always on), 0 (always off), and -1 (uses the _FieldBased frame property to decide if interlaced processing should be used or not).


Compilation
===========

::

   ./autogen.sh
   ./configure
   make

or

::

    meson build
    ninja -C build


License
=======

The license is WTFPL.
