Skip to content

Instantly share code, notes, and snippets.

import vapoursynth as vs
__version__ = '1.1.0'
def _clamp(minimum, value, maximum):
return int(max(minimum, min(round(value), maximum)))
def _m4(value, mult=4.0):
import vapoursynth as vs
def nnedi3_rpow2(clip, rfactor=2, width=None, height=None, correct_shift=True,
kernel="spline36", nsize=0, nns=3, qual=None, etype=None, pscrn=None,
opt=True, int16_prescreener=None, int16_predictor=None, exp=None):
"""nnedi3_rpow2 is for enlarging images by powers of 2.
rfactor (int): Image enlargement factor.
You can’t perform that action at this time.