On Nov 22, 2007 2:15 PM, Kalle Vahlman <[EMAIL PROTECTED]> wrote: > 2007/11/22, Matthew Allum <[EMAIL PROTECTED]>: > > Hi; > > > > On Thu, 2007-11-22 at 13:08 +0200, Michael Dominic K. wrote: > > > > > > I was recently looking into hw-based YUV -> RGB conversions for video > > > (http://www.mdk.org.pl/2007/11/17/gl-colorspace-conversions) > > > > Yep I saw v.cool stuff :) > > > > Out of interest/curiosity - what sort of performance gains do you see > > and what card/drivers is it working with ? > > I tried the demo app with my nvidia and it took everything my poor > machine had to offer (though it seemed to be ~enough). By contrast the > same video took 30% CPU with gst-launch. I didn't look too closely to > the code though, maybe it isn't throttling the FPS?
Yes, it's throttling. The performance is very good. The example tries to run at maximum framerate so if you don't have vsync enabled it'll burn 100% always. One guy on my blog comments reports that on i945/Core Duo 2.0 Ghz with vsync on (meaning prolly 50-60fps) it consumes 11-18%. That's a good score I'd say given that the example does conversion twice (reflection). On my fglrx machine it runs at crazy 200-something fps at 1600 x 1200 but I can't enable vsync to check the real CPU consumption. -- MDK -- To unsubscribe send a mail to [EMAIL PROTECTED]
