ChronoCross
16th September 2004, 19:51
I was thinking of an interesting question the other day and though to myself. "When writing a AVS file what would be the fastest way to do it?" the I began comparing several of my AVS's. Here's what I came up with.
LoadPlugin()
Source()
Deinterlacing()
Sharpening()
Smoothing()
Crop()
Resize()
Subs()
Now this is the way most people would write their script however I did a test on my theory and came up with the following.
Function IVTC { Deinterlacing() }
Function Cresize { crop().resize() }
Function Processing { Sharpen().Smooth() }
Source().IVTC().Processing().Cresize().Subtitles()
and this script not only came out better looking but it was 2 fps faster. Can anyone explain why this is, and if there is anything else that can improve upon it.
Note The same number of filters and same settings were used on both scripts.
LoadPlugin()
Source()
Deinterlacing()
Sharpening()
Smoothing()
Crop()
Resize()
Subs()
Now this is the way most people would write their script however I did a test on my theory and came up with the following.
Function IVTC { Deinterlacing() }
Function Cresize { crop().resize() }
Function Processing { Sharpen().Smooth() }
Source().IVTC().Processing().Cresize().Subtitles()
and this script not only came out better looking but it was 2 fps faster. Can anyone explain why this is, and if there is anything else that can improve upon it.
Note The same number of filters and same settings were used on both scripts.