The QC QT component has an importer and a media handler, which just
passes back to QT CVImageBuffers with the rendered frames on the GPU.
It also has a backward compatibility path for in GWorld rendering,
not very efficient by definition.
You would need to ask the QT list on how to do this for your components.
On Jan 2, 2007, at 10:54 AM, Chris Meyer wrote:
I posted this to QuickTime-API last week... but perhaps this would
be a useful place to ask also.
Mac OS X 10.4 includes a QuickTime component(s) to import/render
Quartz Composer files (.qtz) as movies in realtime in applications
such as QuickTime Player.
In addition, Technical Note TN2145 "Efficiently using Quartz
Composer compositions with QuickTime" has a section labeled
"Important differences with other forms of QuickTime media" and it
states that "Quartz Composer back-end is implemented using OpenGL
and renders directly on the display card for optimal performance."
Can anyone elucidate the architecture of the Quartz Composer
component(s)? At a basic level, I'm guessing it implements both a
MovieImport component and a GraphicsImporter component.
If that's true, then it seems the Quartz Composer frame will be
ultimately be "displayed" using the ImageCodecBeginBand of the
GraphicsImporter component. However, the ImageCodecBeginBand only
receives a pointer to memory via the ImageSubCodecDecompressRecord
structure passed to ImageCodecBeginBand. The information in TN2145,
however, states that it is drawn directly to the graphics card
(which I assume means directly to an OpenGL visual context). How
does it do that?
Is there any manner in which 3rd parties can implement QuickTime
import/decompressor components with the same performance as the
Quartz Composer component(s)? If so, how? If not, are there plans
to add this capability in the future, or should I file an
enhancement request in radar?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/pol%
40apple.com
This email sent to email@hidden
________________________________________________________
Pierre-Olivier Latour email@hidden
Quartz Composer Team Apple Computer, Inc.