AdvanceMAME Scale2x

I’ve implemented the “AdvanceMAME Scale2x” code for SDL. It’s a nifty image
doubling algorithm for low color graphics. You can read more about it here,
http://advancemame.sourceforge.net/scale2x.html

anyways, this code is not really optimized, but it does work for all bit
depths. From the advancemame source you can find mmx optimized versions of
this, but they are under a gpl-like license.

the code attached has no license restrictions. i’m making it available for
anyone to use how they please. although if anyone could be so kind as to
optimize it a bunch, i’d appreciate seeing that version of it :-]

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: scale2x.c
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20021113/0e443db9/attachment.asc

I’ve implemented the “AdvanceMAME Scale2x” code for SDL. It’s a nifty image
doubling algorithm for low color graphics. You can read more about it here,
http://advancemame.sourceforge.net/scale2x.html

Wow, very cool. :slight_smile:

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