Le 2 avr. 08 à 17:15, vade a écrit :

How are you doing the compositing/overlaying?

I dont have any experience with this explicitly, but I would imagine different types of compositing would have different overhead GPU/CPU wise.


My test machine is an iMac 20" CoreDuo with a Radeon X1600 with 128MB VRAM.

I've tried getting a CVOpenGLTextureRef from QuickTime and injecting it into my composition via an image input port. The composition is pretty simple : apart from the image input port to display the movie, it just has a simple static text on top of it -> 12 fps

I've also tried using a CI composite filer. From the CVOpenGLTextureRef I build a CIImage that represents a movie snapshot. I then mix the CIImage of the movie with the output of the composition (which in that case just displays some text). Then I draw the result into a CIContext that's been initialized with the openGLContext of my NSOpenGLView -> 12 fps

Without any quartz composition, getting the CVOpenGLTextureRef from QuickTime; building a CIImage from it; and displaying it into a CIContext makes the movie play nicely at 25fps.

Jérome _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to