On Mon, Jun 15, 2009 at 12:10 PM, Nirav Patel<[email protected]> wrote: > It has to happen at some point. Changing the Surface shifts and masks > makes it happen at blit time, reversing the string or writing a C > function, earlier. Certainly, either removes the PIL dependency. > > The issue is then picking the faster way. I think string reversal in > Python is probably slower than doing transform.flip() and moving bytes > during the blit, but it would be an easy thing to benchmark. > > Nirav
The pygame.camera VideoCapture using module switches the shifts/masks, and seems plenty fast enough.
