Matias Freytes wrote:
On Sun, 20 Jan 2002, Jacek [iso-8859-2] Pop³awski wrote:
On Sun, Jan 20, 2002 at 07:51:44PM +0000, zen Genius wrote:
Apparently SDL provide functions to draw bmp image, but not RGB 24.
You can draw anything you want with SDL.
Just SetVideoMode with bpp=24 (or 32), then learn how to access "pixels" or
BlitSurface.
Even YUV420? Does SDL manage fast YUV to RGB conversions (e.g.
YUV420 to RGB565?)
thank you,
Matias.
SDL uses hardware YUV->RGB and hardware stretching, if available. If
not, it uses some highly optimised assembly converters/stretchers. See
the SDL_Overlay functions.
-justin