nibbles
6th October 2006, 21:49
I've seen several threads in the forums that show a call to mvbob (http://home.arcor.de/scharfis_brain/mvbob/mvbob.rar) with no arguments like this:
AssumeTFF()
mvbob()
mvbob will set a bunch of default values because none were set. Here's one:
BobType = Default(Type, 3)
Eventually it calls SecureBob() with that BobType:
Bobbed = Input.SecureBob(Threshold = BobTh, Type=BobType, Length=Length)
SecureBob, if Type=3, then calls EEDIBob with no arguments:
(Type == 3) ? Input.EEDIBob() :\
But EEDIBob() never sets a default maxd and calls EEDI2 like this:
Function EEDIbob(clip Input, int "maxd")
{
#GetParity(Input) ? Input.SeparateFields().EEDI2(Field = 3, maxd = maxd, pp = 0, estr = 0, dstr = 0, mthresh = 0, vthresh = 0, lthresh = 0) : Input.SeparateFields().EEDI2(Field = 2, maxd = maxd, pp = 0, estr = 0, dstr = 0, mthresh = 0, vthresh = 0, lthresh = 0)
GetParity(Input) ? Input.SeparateFields().EEDI2(Field = 3, maxd = maxd) : Input.SeparateFields().EEDI2(Field = 2, maxd = maxd)
AssumeFrameBased()
GetParity(Input) ? AssumeTFF() : AssumeBFF()
}
How does this work if maxd is undefined? There is no error.
Also is it better to use mvbob with the supplied plugins rather
than some updated ones?
Thanks, nibbles
AssumeTFF()
mvbob()
mvbob will set a bunch of default values because none were set. Here's one:
BobType = Default(Type, 3)
Eventually it calls SecureBob() with that BobType:
Bobbed = Input.SecureBob(Threshold = BobTh, Type=BobType, Length=Length)
SecureBob, if Type=3, then calls EEDIBob with no arguments:
(Type == 3) ? Input.EEDIBob() :\
But EEDIBob() never sets a default maxd and calls EEDI2 like this:
Function EEDIbob(clip Input, int "maxd")
{
#GetParity(Input) ? Input.SeparateFields().EEDI2(Field = 3, maxd = maxd, pp = 0, estr = 0, dstr = 0, mthresh = 0, vthresh = 0, lthresh = 0) : Input.SeparateFields().EEDI2(Field = 2, maxd = maxd, pp = 0, estr = 0, dstr = 0, mthresh = 0, vthresh = 0, lthresh = 0)
GetParity(Input) ? Input.SeparateFields().EEDI2(Field = 3, maxd = maxd) : Input.SeparateFields().EEDI2(Field = 2, maxd = maxd)
AssumeFrameBased()
GetParity(Input) ? AssumeTFF() : AssumeBFF()
}
How does this work if maxd is undefined? There is no error.
Also is it better to use mvbob with the supplied plugins rather
than some updated ones?
Thanks, nibbles