[SDL] CVS update (YUV video overlays)

Sam Lantinga slouken at devolution.com
Sun Apr 9 20:08:57 PDT 2000


The latest CVS snapshots of SDL and SMPEG support hardware acceleration
using YUV video overlays.  The software implementation is complete for
YV12 formats, and nearly complete for the YUY2 family of video formats.

SDL:
http://www.devolution.com/~slouken/SDL/cvs.html

SMPEG:
http://cvs.lokigames.com/

The current SDL snapshot includes hardware acceleration using the 
XVideo extension in XFree86 4.0, which is currently implemented for
the G200/G400.  Support will be forthcoming for DirectX fairly soon.

>From the WhatsNew file:

    The supported YUV formats are: YV12, IYUV, YUY2, UYVY, and YVYU.
    This function creates an overlay surface:
            SDL_CreateYUVOverlay()
    You must lock and unlock the overlay to get access to the data:
            SDL_LockYUVOverlay() SDL_UnlockYUVOverlay()
    You can then display the overlay:
            SDL_DisplayYUVOverlay()
    You must free the overlay when you are done using it:
            SDL_FreeYUVOverlay()
    See SDL_video.h for the full function prototypes.

See ya!
	-Sam Lantinga, Lead Programmer, Loki Entertainment Software



More information about the SDL mailing list