Commit Graph

7 Commits

Author SHA1 Message Date
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Sven Hesse
74024ff3e5 Moving the dither code to graphics/
svn-id: r35526
2008-12-24 15:57:43 +00:00
Sven Hesse
38e7eecb71 Added support for caching the palette LUT to a file
svn-id: r35412
2008-12-17 16:06:16 +00:00
Sven Hesse
adae869c8a Experimental semi-transparency for fillRect, used in the green/red menu areas of Urban Runner
svn-id: r35406
2008-12-16 23:27:35 +00:00
Sven Hesse
c65886a3ea Changing the Urban Runner sprite drawer to work more correctly. It does use YUV data, but I can use the ditherer there
svn-id: r35308
2008-12-11 21:57:47 +00:00
Sven Hesse
c7fa7f888a On second thought, an octree only works if the color to look up is in the palette.
So using a table-based approach to find the nearest color now, using only the upper 6 bits to stop the table from getting too large. It still takes noticeable time to build it. :/
But as a result, the video actually looks okay now...

svn-id: r35298
2008-12-11 03:06:43 +00:00
Sven Hesse
99322bf68f Experimental support for VMD frames encoded in Indeo 3 (Indeo 3 decoder closely based on the one in ffmpeg).
Since Indeo 3 uses full 24bit colors (in YUV-space), frame data is mapped to the current palette (using an octree, should be the fasted way, methinks) and dithered with the Sierra-2-4A ("Filter Light") error distribution algorithm.

svn-id: r35290
2008-12-09 14:56:33 +00:00