src=last wid_den==1 ? last : \ hei_den==1 ? LanczosResize(int(width/wid_den/2)*2,height) : LanczosResize(int(width/wid_den/2)*2,int(height/hei_den/2)*2) super=MSuper( pel=pel, hpad=8, vpad=8,levels=0, rfilter=1) finest=pel==1 ? super : MFinest(super) backward_vec=MAnalyse(super, isb=true, blksize=blkh, blksizev=blkv, overlap=overlap, overlapv=overlapv,levels=0,search_coarse=5 , search=4, chroma=false, searchparam=4, pelsearch=2 ,lambda=1024 ,lsad=768 , pnew=64 ,pzero=24, plevel=1,pglobal=-48, dct=0,divide=0 ) forward_vec=MAnalyse(super, isb=false, blksize=blkh, blksizev=blkv, overlap=overlap, overlapv=overlapv,levels=0,search_coarse=5 , search=4, chroma=false, searchparam=4, pelsearch=2,lambda=1024 ,lsad=768 , pnew=64 ,pzero=24, plevel=1,pglobal=-48, dct=0,divide=0) backward_vec = Recalc==0 ? backward_vec : MRecalculate(super,thSAD=320 ,smooth=1, backward_vec, blksize=blkh2, blksizev=blkv2, overlap=0, overlapv=0, search=4,chroma=false, searchparam=2 ,dct=0,divide=0) forward_vec = Recalc==0 ? forward_vec : MRecalculate(super,thSAD=320 ,smooth=1, forward_vec, blksize=blkh2, blksizev=blkv2, overlap=0, overlapv=0, search=4,chroma=false, searchparam=2,dct=0, divide=0) smooth_video=MSmoothFps(super, backward_vec, forward_vec, finest=finest, num=FramerateNumerator(last)*multinum,den=FramerateDenominator(last)*multiden, algo=algo, ml=ml, sadml=sadml, sadgamma=sadgamma, block=block, blend=blend,thSCD1=4000,thSCD2=7)