From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(FillBorders (not finished))
(One intermediate revision by one user not shown)
Line 3: Line 3:
|[ dubhater] / Asd
|[ dubhater] / Asd
|3=[ FillBorders]
|4=Borders and Cropping
|4=Borders and Cropping
|5=[ WTFPL]
|5=[ WTFPL]
Line 15: Line 15:
== Requirements ==
== Requirements ==
* [[AviSynth+]] (x86 / x64)
* [[AviSynth+]] (x86 / x64)
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]]
* Supported color formats: 8...16-bit, [[Y8]], [[YV12]], [[YV16]], [[YV24]]

Latest revision as of 02:39, 11 June 2019

Author dubhater / Asd
Version r1
Download FillBorders
Category Borders and Cropping
License WTFPL


[edit] Description

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

[edit] Requirements

[edit] Syntax and Parameters

FillBorders (clip, int "left", int "top", int "right", int "bottom", int "mode")

clip   =
Input clip.
int  left = 0
int  top = 0
int  right = 0
int  bottom = 0
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.
int  mode = 0
  • 0 : Fills the borders exactly like the AviSynth filter FillMargins, version This mode is similar to mode 1, except that each pixel at the top and bottom borders is filled with a weighted average of its three neighbours from the previous line.
  • 1 : Fills the borders using the outermost line or column (aka "repeat").
  • 2 : Fills the borders by mirroring.

[edit] Examples

FillBorders(left=5,top=7, right=2, bottom=0)

[edit] Changelog

Version       Date            Changes
r1 2019/04/10 - first release

[edit] Archived Downloads

Version Download Mirror

[edit] External Links

Back to External Filters

Personal tools