Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th October 2015, 19:50 | #1 | Link |
Anime addict
Join Date: Feb 2009
Location: Spain
Posts: 673
|
Sangnom2AA
Code:
import vapoursynth as vs ############ # # #Sangnom2AA# # # ############ def sangnom2aa(clip, ss=2.0, aa=48, aac=None, threads=4): core = vs.get_core() if ss <= 0: raise ValueError("MAA2: Supersampling factor must be > 0") aac = aa-8 if (aac == None or aac >= 0) else 0 width = clip.width height = clip.height ss_w = int(round(width*ss/4.0)*4) ss_h = int(round(height*ss/4.0)*4) last = core.resize.Spline(clip, ss_w, ss_h) last = core.std.Transpose(last) last = core.sangnom.SangNomMod(last, 1, aa, aac) last = core.std.Transpose(last) last = core.sangnom.SangNomMod(last, 1, aa, aac) last = core.resize.Spline(last, width, height) return last
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite Last edited by Overdrive80; 14th October 2015 at 17:31. |
|
|