I think that SDL surfaces are already stored as an RGB24/RGBA32-array, but I'm not sure there is a way to directly access the data in PyGame as you can in C with surface->data (or whatever the void* name is).. It was over a year ago I looked into this last so my memory could serve me wrong ;)
// Per Wigren -----Original Message----- From: Dirk Meyer <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Wed, 01 Oct 2003 10:44:01 +0200 Subject: [Freevo-devel] Re: Mplayer bmovl helper Gustavo Sverzut Barbieri wrote: > How/Why is it slow? > > is the bmovl slow? Is our interface with it? Maybe we can come with a > better solution somewhere... We have to transform the SDL surface into a RGBA32 stream. This is very slow in Python, maybe a C helper with python bindings can do this faster (very sure, because the biggest problems seems to be the memory management). Dischi -- Linux - Less bugs for less bucks! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
