Thread: MPEG2Dec3 v1.10
View Single Post
Old 21st May 2003, 15:36   #60  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
I'm also starting to enjoy filter invokation, and have used it in my latest filters (MipSmooth), and in a more advanced version in ConditionalFilter.


Regarding the bitblitting, you could simply assign AvsEnv 0 in the mpeg2decoder constructor, and do an
Code:
if (AvsEnv) {
  bitblt
} else {
  use existing
}
Edit: Not sure if it is safe to always use env from the constructor - setting it each frame will not be any performance problem.

__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 21st May 2003 at 15:47.
sh0dan is offline   Reply With Quote