Thread-topic: Change pixel format of window buffer from RGB to YUV?
Gang,
We have an app in which we
- create a window (CreateNewWindow),
- open a QT Movie
- set the movie's gworld to the window (getting its window port
GetWindowPort() and passing that to SetMovieGWorld())
- we play the movie
This works fine - the movie plays back in the window and all is good.
Or so we thought!
Analyzing stuff we see that playback performance is suffering because
the movie renders to the window - more specifically, into the window's
RGB offscreen buffer - and then QT has to do an RGB -> YUV conversion,
which takes up a fair amount of CPU time...
So we are wondering if there is a way to allocate a window whose
offscreen buffer is already YUV? Or if there is a way to change the
format on the fly from RGB to YUV?
Anyone know if either of these is possible?
Anyone have any other workarounds or suggestions?
Thx,
Ando
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden
This email sent to email@hidden