PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Questions on....dithering....

(TSC)Bender · 17 Apr 2002, 01:27 UTC
I have been thinking about dithering various apps (Pocket Divx) so they work with my device. (Jornada 525) I have seen many programs do it like Snails and PocketTV and i want to learn how. Its probably too complicated to be posted though.

I also heard that many devices have patches that dither their colors to higher amounts. The Jornada 525 was discontinued by HP so I was wondering if they made a patch like this before it was discontinued and someone still has a copy of it...

The only reason im asking this is because I hate converting my divx into mpg's :)
I wrote a dithering program for VGA Mode13h (a 320x200x8 bit linearly accessed graphics mode in dos) which I can send you, just send me an email. It implements a couple different algorithms, which work at different speeds, and the dithering is seperate from the rendering (I also have a program that fakes truecolor using a fixed palette, by having two real pixels per game pixel, kinda like reverse ClearType. The only problem is that it is highly display dependent, also like ClearType).

Another source for code would be the PocketFrog library, which can be found at http://frog.flipcode.com/. You may even want to use this directly, but If you are modifying a program that already uses another GAPI implementation, this may not be the best approach.

The only problem with run-time dithering is that unless you redesign the rendering algorithm to dither as it renders (doability depends on the type of rendering) it is really slow. The Mode13h program I wrote runs at about 50fps on a 1400 mHz athalon, give or take a bit depending on the dithering method.