Commit Graph

15 Commits

Author SHA1 Message Date
Glenn Maynard ae4cb0197c license update 2004-05-18 07:11:11 +00:00
Glenn Maynard 7c56df3fd7 types 2004-05-11 20:50:08 +00:00
Glenn Maynard ac81016af4 when dithering, round the alpha channel instead of truncating 2004-05-02 03:41:33 +00:00
Glenn Maynard 5e4eb9e001 optimize SM_SDL_ErrorDiffusionDither like SM_SDL_OrderedDither; now
it's only about 50% slower
this also fixes banding after dithering gradients
2004-04-11 01:41:35 +00:00
Glenn Maynard fd839eb946 optimize SM_SDL_ErrorDiffusionDither: takes about half as long now
(but it still takes 3x as long as SM_SDL_OrderedDither, and I still
see banding in both vertical and horizontal gradients ...)
2004-04-10 23:09:41 +00:00
Glenn Maynard 3e8664fd61 whitespace cleanup only 2004-03-19 21:56:45 +00:00
Chris Danford c8b325d17f messing with dithering again. I won't waste any more time on it! 2003-04-26 10:57:40 +00:00
Chris Danford 0bb7164b91 worked on Error diffusion dithering algorithm, but it doesn't end up looking much better than OrderedDither 2003-04-05 21:17:51 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Glenn Maynard ed9a07df76 fix dithering when dest has alpha and source does not; also fix it
when dest has more alpha bits than the source (rare)
2002-11-25 09:37:45 +00:00
Chris Danford 285a9099e1 Fixed bug in SDL_OrderedDither that causes incorrect alpha values if src has 0 alpha bits 2002-11-25 04:23:33 +00:00
Glenn Maynard 984b433858 signs, headers, for scoping 2002-11-16 20:21:00 +00:00
Glenn Maynard afcd1ff1c6 fix div/0 2002-11-02 21:20:18 +00:00
Glenn Maynard f49876b23e dither in integer space (faster)
(started to write another resize filter and ended up doing this instead)
2002-10-30 06:03:38 +00:00
Glenn Maynard 3f2648011f Some SDL source files: dithering routine, zoom routine and
misc. tools.
2002-10-24 03:38:23 +00:00