Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fastest way to feed QC back into a Core Image



Hi,

I would like to take the results of a QCRenderer and feed them to a different pipeline as a Core Image. I was thinking about the following approach:

- attach a QCRenderer to a Pbuffer-based CGLContext
- create a CVOpenGLBuffer and attach the CGLContext to it (not clear from CV docs as to what happens when you attach though)
- create the CIImage using the constructor that takes a CVImageBuffer


My questions for you:
Has anyone tried this already? Any sample code?
If the above strategy works, am I right in assuming that the CIImage will be created without any expensive AGP -> main memory -> AGP trips? In principle, that's what it seems the [CIImage imageWithCVImageBuffer:] method should do...


Thanks
Gabriele
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.