View Single Post
Old 09-16-2013, 02:46 PM   #10
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
I went ahead and did a soft float compile so I could use it in my Debian chroot, so I've attached it below.

If you look at line 569 of the patch file you'll see this:
Code:
// this will cause the noise to shift around on the screen, amazingly this
+	// has the effect of causing the pixels to 'refresh' preventing darkening of
+	// the ghosting as dithered areas overlap.
+	uint_fast16_t dither_v = rand() % KOBO_DITHERMATRIX_HEIGHT;
You may or may not want this refreshing. Like it says, it moves the pixels around to prevent ghosting, but it's doing a bunch of tiny black>white refreshes every time the display updates. if you change line 572 to this:
Code:
uint_fast16_t dither_v = 0;
then you get more ghosting, but it's overall nicer to look at, IMO. I've attached two version below, one with the random pixel flashing and one without.
Attached Files
File Type: zip sdl-sf-flash.zip (389.4 KB, 326 views)
File Type: zip sdl-sf-noflash.zip (389.2 KB, 349 views)
KevinShort is offline   Reply With Quote