Mailing Lists: Apple Mailing Lists

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

Re: CIVideoDemoGL sample



Do you have any other graphic cards installed (PCI cards)?

Frank

On Jun 22, 2005, at 3:22 AM, Christian Schneider wrote:

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


_______________________________________________ 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
References: 
 >CIVideoDemoGL sample (From: Christian Schneider <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.