From 1fe8a2c0aa3d73521450170ed6ec0e5bb1f29eff Mon Sep 17 00:00:00 2001 From: HolyWu Date: Thu, 5 Mar 2015 20:55:50 +0800 Subject: [PATCH] Change the tbsize default to 3 instead of 5 tbsize 5 is likely to cause artifacts in motion areas unless motion compensation is used. --- DFTTest/DFTTest.cpp | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DFTTest/DFTTest.cpp b/DFTTest/DFTTest.cpp index 635ebc6..83c2aa0 100644 --- a/DFTTest/DFTTest.cpp +++ b/DFTTest/DFTTest.cpp @@ -967,7 +967,7 @@ static void VS_CC dfttestCreate(const VSMap *in, VSMap *out, void *userData, VSC d.sosize = 9; d.tbsize = int64ToIntS(vsapi->propGetInt(in, "tbsize", 0, &err)); if (err) - d.tbsize = 5; + d.tbsize = 3; d.tmode = int64ToIntS(vsapi->propGetInt(in, "tmode", 0, &err)); d.tosize = int64ToIntS(vsapi->propGetInt(in, "tosize", 0, &err)); d.swin = int64ToIntS(vsapi->propGetInt(in, "swin", 0, &err)); diff --git a/README.md b/README.md index 389d7b8..1ab88cc 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Ported from AviSynth plugin http://bengal.missouri.edu/~kes25c/ Usage ===== - dfttest.DFTTest(clip clip[, int ftype=0, float sigma=5.0, float sigma2=5.0, float pmin=0.0, float pmax=500.0, int sbsize=12, int smode=1, int sosize=9, int tbsize=5, int tmode=0, int tosize=0, int swin=0, int twin=7, float sbeta=2.5, float tbeta=2.5, bint zmean=True, float f0beta=1.0, string nstring='', string sstring='', string ssx='', string ssy='', string sst='', int[] planes]) + dfttest.DFTTest(clip clip[, int ftype=0, float sigma=5.0, float sigma2=5.0, float pmin=0.0, float pmax=500.0, int sbsize=12, int smode=1, int sosize=9, int tbsize=3, int tmode=0, int tosize=0, int swin=0, int twin=7, float sbeta=2.5, float tbeta=2.5, bint zmean=True, float f0beta=1.0, string nstring='', string sstring='', string ssx='', string ssy='', string sst='', int[] planes]) ``` ftype -