PhrostByte
28th February 2010, 14:38
Hello all,
While developing an Avisynth plugin, I ran into a bit of a unique problem -- I needed to read 100 input frames for each one that I outputted. After making my own code as concurrent and optimized as possible, I've still got a huge bottleneck of only being able to decode one input frame at a time.
I'm a newbie to Avisynth plugin coding (though not to C++) -- is there a recommended way to decode multiple frames concurrently? It'd be nice if future Avisynth versions had a flag associated with each clip telling if IClip::GetFrame could safely be called concurrently.
While developing an Avisynth plugin, I ran into a bit of a unique problem -- I needed to read 100 input frames for each one that I outputted. After making my own code as concurrent and optimized as possible, I've still got a huge bottleneck of only being able to decode one input frame at a time.
I'm a newbie to Avisynth plugin coding (though not to C++) -- is there a recommended way to decode multiple frames concurrently? It'd be nice if future Avisynth versions had a flag associated with each clip telling if IClip::GetFrame could safely be called concurrently.