Just curius but is there any docs or examples or anything on the YUV
overlay?
-Benjamin
Just curius but is there any docs or examples or anything on the YUV
overlay?
-Benjamin
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