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: Using QTNewGWorldFromPtr() with SetTrackGWorld()



I'm working on some movie playback...the application wants the actual
decompressed video for each frame (as it blits it to different in game
windows it manages). Playback currently works fine, but I'm hoping to
remove an unnessecary copy. Currently, I'm creating a standard GWorld and
using SetTrackGWorld() to have QT draw into it and notify me that a new
frame is ready. When a new frame is ready, I copy the data from the GWorld
into an internal buffer that the app uses.

I'd like to use QTNewGWorldFromPtr() to create a GWorld that points to this
resident internal buffer. Creating this new GWorld and setting it with
SetTrackGWorld() doesn't return any errors. But no data is actually being
decoded into the new GWorld.

Is it possible to do this? Or are GWorlds created with QTNewGWorldFromPtr()
not really valid for passing back into the toolbox?

Regards,
Steve
_______________________________________________
quicktime-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-api
Do not post admin requests to the list. They will be ignored.

References: 
 >QT6 SDK (From: email@hidden (Chris Large))



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.