Hi all,
I'm trying to create a movie view based on the CIVideoDemoGL sample.
My goal is to be able to include the movie's time code within the
movie view.
Now, while toying around with the sample code I noticed that it uses
around 50% of both my CPUs while Quicktime uses about 10% when playing
a movie. I deleted the effect filter from the sample but CPU usage
remains high. I had a look at OpenGL profiler but couldn't find any
proof that the GPU is actually used when running the sample app.
I also tried specifying that the GPU be used according to the
technical Q&A 1416:
ciContext = [[CIContext contextWithCGLContext:(CGLContextObj)[[self
openGLContext] CGLContextObj]
pixelFormat:(CGLPixelFormatObj)[[self pixelFormat]
CGLPixelFormatObj]
options:[NSDictionary dictionaryWithObjectsAndKeys:
(id)colorSpace,kCIContextOutputColorSpace,
(id)colorSpace,kCIContextWorkingColorSpace,
]] retain];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden
This email sent to email@hidden