Is SDL a good way to gget Hardware YUV surface on Mac OS X?

Is SDL a good way to get Hardware YUV surface on Mac OS X ?

To some degree, it seems a bit problematic getting a hardware surface under linux with SDL. Like I think I recall reading that this might require re-building SDL on my target machine to enhance my chances of getting a true Hardware surface under Linux. So naturally, I’m curious what to expect when I start using SDL on a Mac OS X machine.

please respond to

kwhittem at nycap.rr.com

Is SDL a good way to get Hardware YUV surface on Mac OS X ?

I implemented the YUV acceleration for Mac OS X in SDL 1.2.5 (which was
based heavily on the VLC Mac OS X port).

Right now, we only support the planar YUV pixel formats. The packed
pixel formats can be supported by converting them to planer on the fly.
We use QuickTime to perform the YUV->RGB conversion (which every Mac OS
X machine has) and scaling, and scaling to arbitrary sizes is supported.

As of Mac OS X 10.1, nearly all hardware (even the poorly-supported
Rage Pro) supports hardware overlays.

Cheers,
DarrellOn Monday, October 21, 2002, at 03:45 PM, Mark Whittemore wrote:

To some degree, it seems a bit problematic getting a hardware surface under linux with SDL. Like I think I recall reading that this might require re-building SDL on my target machine to enhance my chances of getting a true Hardware surface under Linux.

No, the latest version of SDL should provide hardware acceleration as
long as your X server supports it.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment