Oh crap, I meant where do I get / how do I know how to make the CGLPixelFormatObj for quicktime. The CGLContextObj is pretty easy... =) A little more background...I'm managing a QTMovie from within my QCPlugIn, and it seems every way I try to output frames from the movie, I need a CGLPixelFormatObj and I don't know what it should look like...
On Fri, Jun 13, 2008 at 7:44 PM, vade <[EMAIL PROTECTED]> wrote: > It probably makes sense to set that up in the startExecution method, and > you can access the CGLContextObj from the plugin, which is passed in through > the opaque 'context' variable. The CGLContextOBj is available by doing > [context CGLContextObj]; > > hope that helps :) > > On Jun 13, 2008, at 4:09 PM, David Stolarsky wrote: > > Hey, > I'm following QTCoreVideo101 and trying to output movie frames from within > my custom QCPlugIn, using [context outputImageProviderFromTexture...]. > > When I call QTOpenGLTextureContextCreate, where do I get/how do I make the > CGLPixelFormatObj? (presumably this would be associated with the > QCPlugInContext and/or the CGLContextObj?) > > Thanks, > David > > On Wed, Mar 19, 2008 at 8:51 PM, vade <[EMAIL PROTECTED]> wrote: > >> So answer my own question, the "right thing to do" (tm) is to just suck it >> up and use display link and core video, learn it (the QTCoreVideo101 is >> priceless and a good model to follow), and de-couple your timers for QC and >> your video playback. >> >> For reference - playing a movie within the QC patch and having my timers >> at 60fps resulted in rendering as reported by the FPS patch around 20-25-30 >> (depending on the phase of the moon etc...). >> >> Using display link, decoupling rendering and passing a CIImage from the >> CVBufferRef has made my rendering with the same solid 60fps +. Hopefully >> someone will find this illuminating and helpful information. >> >> >> On Mar 14, 2008, at 7:01 PM, vade wrote: >> >> Hello >>> >>> I am attempting to optimize and de-couple parts of my Quartz Composer >>> application. >>> >> _______________________________________________ >> 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/stolrsky%40uiuc.edu >> >> This email sent to [EMAIL PROTECTED] >> > > >
_______________________________________________ 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]

