mailinglists at erwinrol.com
Sat Mar 11 15:07:53 PST 2006
On Sat, 2006-03-11 at 14:55 -0800, Sam Lantinga wrote:
> > hey all,
> > would it be possible to add a ResizeYUVOverlay to SDL, that simply
> > resizes the memory of the overlay source. It would be the same as a
> > FreeYUVOverlay followed by a CreateYUVOverlay with the difference that
> > it can not change the format, just the width and height of the overlay
> > "image". As optimization one could that remove the XvUngrabPort.
> Sure, a patch for 1.3 is welcome. If you can provide implementations for
> the other platforms, that would be groovy. :)
Well the most simple "implementation" would be a call to FreeYUVOverlay
followed by one to CreateYUVOverlay, so the API should be implementable
on any platform.
More information about the SDL