This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vapoursynth as vs | |
from havsfunc import Gauss, DitherLumaRebuild | |
import vsutil | |
core = vs.core | |
# Blur image and soften edges to assist in motion matching of edge blocks. Blocks are matched by SAD (sum of absolute differences between blocks), but even | |
# a slight change in an edge from frame to frame will give a high SAD due to the higher contrast of edges | |
def qtgmc_prefilter(clip: vs.VideoNode, SrchClipPP: int = 1, **dlrargs) -> vs.VideoNode: |
NewerOlder