logo Sign In

Post #1181149

Author
MWilson
Parent topic
Star Fleet/X-Bomber (1980) Remastered Edition (a work in progress)
Link to post in topic
https://originaltrilogy.com/post/id/1181149/action/topic#1181149
Date created
9-Mar-2018, 4:25 PM

Video Comparison
pass: ot
I have the settings fairly high, probably too high, so I’ve made this function where you can adjust the settings (per clip if you need to). And yes, the name is a pun 😃

function msx(clip y, float “ls”, float “cs”, float “lt”, float “ct”)
{### © MWilson
ls=Default (ls,127/3)
cs=Default(cs,96/3)
lt=Default(lt,3)
ct=Default(ct,2)

y=y.converttoyv12()
a=y.hqdn3d(ls,cs,lt,ct)
b=y.FlipHorizontal().hqdn3d(ls,cs,lt,ct).FlipHorizontal()
c=y.FlipVertical().hqdn3d(ls,cs,lt,ct).FlipVertical()
mt_makediff(a,y,y=3,u=3,v=3)
mt_makediff(y,last,y=3,u=3,v=3)
d=last
mt_makediff(b,y,y=3,u=3,v=3)
mt_makediff(d,last,y=3,u=3,v=3)
e=last
mt_makediff(c,y,y=3,u=3,v=3)
mt_makediff(e,last,y=3,u=3,v=3)
f=last
av=mt_average(f,y,y=3,u=3,v=3)
return av
}