The main idea is to limit each cache size (in frames), opposite to Avisynth approach when all caches uses one common "frames" pool somehow limited with SetMemoryMax value. This can easily lead to cache misses in general case BUT as far as I know that SVP's script is linear frame-by-frame only - it works.
So may be it's not a good idea to include such behavior in official Avisynth, but may be as an additional argument to SetMTMode()...
|