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()



Steve, looking quickly at the (surface) code, there is nothing that
SetTrackGWorld does or doesn9t do differently with any gworld you pass it -
it simply takes the info from you, stores it, and then works with it.

I believe that things should work fine. Have you confirmed that you can
draw into/from the gworld your self? Are you locking the bits, etc?

Ando

> 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.
_______________________________________________
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: 
 >Re: Using QTNewGWorldFromPtr() with SetTrackGWorld() (From: "Stephen Nowalk" <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.