From Avisynth wiki
Jump to: navigation, search
Author Tobias Bergmann
Version 0.0.9pre2
Category Deblocker
License GPLv2
Discussion Doom9 Thread



SmoothD filters the input stream by repeated application of a DCT-quant-iDCT on shifted copies of each frame. By doing so it reduces blocks while keeping high frequency detail intact. Ideally it should be used with exactly the same quant matrix as the stream was produced with. In order to keep the list of parameters small and usage simple Didée's 6-of-9 matrix is used. This matrix offers very light filtering at low quants. See official documentation for more information.


Syntax and Parameters

SmoothD (clip clip, int "quant", int "num_shift", int "adaptive_shift", int "zero_weight")

clip   =
Input clip.

int  quant = 3
This parameter specifies the quantizer value used (1 to 31). A higher value means stronger filtering. It should be set according to the quality of the stream. The value should be chosen to match the stream quality with an (imaginary) Didée's 6-of-9 constant quant encode.

int  num_shift = 4
Specifies the number of shifted versions used for filtering (1 to 8). A higher value is both more accurate and time consuming.

int  adaptive_shift = 0
Selects if adaptive shifting is used (0 or 1). Zero means off. Adaptive shifting varies num_shift depending on quant.

int  zero_weight = 1
Defines relative weight of non-shifted original (1 to 8). A higher value counteracts filtering but keeps more detail.


SmoothD with default settings:

SmoothD(quant=3, num_shift=4, adaptive_shift=0, zero_weight=1)

External Links

Back to External Filters

Personal tools