[SDL] YUV doc? ex?

Sam Lantinga slouken at devolution.com
Wed Jun 7 20:53:15 PDT 2000


> Just curius but is there any docs or examples or anything on the YUV
> overlay?

Check out the CVS code for smpeg:
http://cvs.lokigames.com/

The YV12 format is probably what you want - it has the lum plane followed
by the Cr and Cb (chrominance) planes.  Create an SDL YUV overlay with
the SDL_YV12_OVERLAY format and decode directly to those pixels.

Then call SDL_DisplayYUVOverlay() to display it on the screen.

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



More information about the SDL mailing list