[osg-users] Image update in ImageStream objects
mourad.boufarguine at gmail.com
Wed Nov 25 02:01:44 PST 2009
Thank you Robert, this helped me.
On Sat, Nov 21, 2009 at 4:57 PM, Robert Osfield wrote:
> HI Mourad,
> On Fri, Nov 20, 2009 at 5:51 PM, Mourad Boufarguine
> > When using an ImageStream object (using ffmpeg, gif, quicktime... plugins
> > for instance), is there a way to "catch" the image uptade event without
> > messing with the plugins source code ? I am willing to apply image
> > processing algorithms on video streams and I want to "intercept" new
> > to do the processing only on new images.
> There is no callback mechanism for catching calls to dirty();
> Perhaps you could use an update callback that checks on each new frame
> whether the modifiedCount has changed since the last frame and then do
> your image processing then.
> Or just move the image processing down onto the GPU, the GPU is far
> better for doing image processing than the CPU so you'd likely gain in
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users