Skip to content

Instantly share code, notes, and snippets.

View resamplehq.py
import vapoursynth as vs
__version__ = '2.0.0'
def resample_hq(clip, width=None, height=None, kernel='spline36', matrix='709', transfer='709',
src_left=None, src_top=None, src_width=None, src_height=None, descale=False,
filter_param_a=None, filter_param_b=None, range_in=None, precision=1):
"""Gamma correct resizing in linear light (RGB).
View finesharp.py
# finesharp.py - finesharp module for VapourSynth
# Original author: Didee (http://forum.doom9.org/showthread.php?t=166082)
# Requirement: VapourSynth r48 or later
# Rev: 2019-11-03
import vapoursynth as vs
def spline(x, coordinates):
def get_matrix(px, py, l):
You can’t perform that action at this time.