[SDL] Intro to YUV Overlays
Gabriel Gambetta
mystml at adinet.com.uy
Mon Jul 9 16:42:00 PDT 2007
El lun, 09-07-2007 a las 16:29 -0700, Sam Lantinga escribió:
> > I'm considering how to integrate this to the framework. The main problem
> > is that I can't find any document explaining how are the SDL Overlays
> > supposed to be used. The documentation does explain the functions but I
> > didn't find any "big picture" article. Any suggestions?
>
> SDL YUV overlays are basically surfaces in a non-RGB colorspace. Hardware
> accelerated implementations often use the video card overlay hardware so
> they don't reside in the 2D framebuffer.
>
> Do you have any specific questions?
Thanks, Sam. The thing is my framework actually uses Direct3D or OpenGL
to draw stuff over the SDL screen, so it appears I can't use SDL YUV
overlays at all - I'll have to convert the YUV data to RGB into a SDL
image and work as usual.
Thanks!
--Gabriel
________________________________________________________________________
Gabriel Gambetta
Mystery Studio - http://www.mysterystudio.com
Gabriel's Stuff - http://www.mysterystudio.com/gabriel
More information about the SDL
mailing list