Skip to content

Instantly share code, notes, and snippets.

View stuxcrystal's full-sized avatar

Roland Netzsch stuxcrystal

  • Net-UP Aktiengesellschaft
  • München
View GitHub Profile
@stuxcrystal
stuxcrystal / kagefunc.py
Last active April 3, 2017 23:10 — forked from kageru/kagefunc.py
My collection of Vapoursynth functions. Some of these are probably useless to most people.
import vapoursynth as vs
import mvsfunc as mvf
import functools
core = vs.core # R37 or newer
# TODO autocrop?
def inverse_scale(source, width=None, height=720, kernel='bilinear', taps=5, a1=0.15, a2=0.5, mask_detail=False,
@stuxcrystal
stuxcrystal / kagefunc.py
Created April 3, 2017 23:09 — forked from kageru/kagefunc.py
My collection of Vapoursynth functions. Some of these are probably useless to most people.
import vapoursynth as vs
import mvsfunc as mvf
import functools
core = vs.core # R37 or newer
# TODO autocrop?
def inverse_scale(source, width=None, height=720, kernel='bilinear', taps=5, a1=0.15, a2=0.5, mask_detail=False,