Skip to content

Commit

Permalink
Change the tbsize default to 3 instead of 5
Browse files Browse the repository at this point in the history
tbsize 5 is likely to cause artifacts in motion areas unless motion
compensation is used.
  • Loading branch information
HolyWu committed Mar 5, 2015
1 parent 60b630c commit 1fe8a2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DFTTest/DFTTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit 1fe8a2c

Please sign in to comment.