ResizerMods

Ein Skript mit vielen Shortcuts.

#Author: eXmendiC
#Version: 1.3

Function SplineMod16(clip src, int "w", int "h", bool "noring"){
w = Default (w, 1280)
h = Default (h, 720)
noring = Default (noring, false)
return src.Dither_resize16nr(w,h,kernel="spline16",invks=true, invkstaps=6, noring=noring)
}

Function GaussMod16(clip src, int "w", int "h", int "taps", float "p", bool "noring"){
w = Default (w, 1280)
h = Default (h, 720)
taps = Default (taps, 2)
b = Default (p, 0.45)
noring = Default (noring, false)
return src.Dither_resize16nr(w,h, kernel="gauss", invks=true, invkstaps=taps, a1=p, noring=noring)
}

Function BicubicMod16(clip src, int "w", int "h", int "taps", float "b", float "c", bool "noring"){
w = Default (w, 1280)
h = Default (h, 720)
taps = Default (taps, 2)
b = Default (b, 0.75)
c = Default (c, 0)
noring = Default (noring, false)
return src.Dither_resize16nr(w,h,kernel="bicubic", invks=true, invkstaps=taps, a1=b, a2=c, noring=noring)
}

Function MemeResize16(clip src, int "w", int "h", int "taps", float "b", float "c", bool "noring"){
w = Default (w, 1280)
h = Default (h, 720)
taps = Default (taps, 5)
b = Default (b, 0.5)
c = Default (c, 0)
noring = Default (noring, true)
return src.Dither_resize16nr(w,h,kernel="bicubic", invks=true, invkstaps=taps, a1=b, a2=c, noring=noring)
}

Function FieldMod16(clip src, int "w", int "h", float "crco"){
w = Default (w, 1280)
h = Default (h, 720)
crco = Default(crco, 0)
return interleave(src.separatefields().selecteven().Debilinear(w,h/2,src_top=-crco,src_height=540-crco,lsb_inout=true),src.separatefields().selectodd().Debilinear(w,h/2,src_top=+crco,src_height=540+crco,lsb_inout=true)).weave()
}

Function FieldMod16Y(clip src, int "w", int "h", float "crco"){
w = Default (w, 1280)
h = Default (h, 720)
crco = Default(crco, 0)
return interleave(src.separatefields().selecteven().DebilinearY(w,h/2,src_top=-crco,src_height=540-crco,lsb_inout=true),src.separatefields().selectodd().DebilinearY(w,h/2,src_top=+crco,src_height=540+crco,lsb_inout=true)).weave()
}

Function Debicubic16M(clip src, int "w", int "h", float "b", float "c"){
w = Default (w, 1280)
h = Default (h, 720)
b = Default (b, 1.0/3)
c = Default (c, 1.0/3)
return src.DebicubicM_precise16(w,h,chroma=true,b=b,c=c)
}

Function Debicubic16Y(clip src, int "w", int "h", float "b", float "c"){
w = Default (w, 1280)
h = Default (h, 720)
b = Default (b, 1.0/3)
c = Default (c, 1.0/3)
return src.debicubicY_precise(w,h,b=b,c=c)
}

Function Debicubic16YM(clip src, int "w", int "h", float "b", float "c"){
w = Default (w, 1280)
h = Default (h, 720)
b = Default (b, 1.0/3)
c = Default (c, 1.0/3)
return src.DebicubicM_precise16(w,h,chroma=false,b=b,c=c)
}

Function DeOS16(clip src, int "w", int "h", float "b", float "c"){
w = Default (w, 1280)
h = Default (h, 720)
b = Default (b, 0.2)
c = Default (c, 0.4)
return src.debicubic16(w,h,b=b,c=c).xaa(mode="eedi3",chroma=0,eediA=0.25,eediB=0.6,eediG=0.15,lsb_in=true,lsb=true)
}

Function DeOS16Y(clip src, int "w", int "h", float "b", float "c"){
w = Default (w, 1280)
h = Default (h, 720)
b = Default (b, 0.2)
c = Default (c, 0.4)
return src.debicubicY_precise(w,h,b=b,c=c).xaa(mode="eedi3",chroma=0,eediA=0.25,eediB=0.6,eediG=0.15,lsb_in=true,lsb=true)
}
Advertisements