I happened to notice this snippet:
Code:
/*
* DisplayLink HW has separate 16bpp and 8bpp framebuffers.
* In 24bpp modes, the low 323 RGB bits go in the 8bpp framebuffer
*/
Since the e-ink devices are grayscale, you would probably get a much nicer display if you dithered 888 to 323 encoding rather than a simple truncate.
For inspiration:
Geekmaster posted some very fast dither code here (un-maintained).
And KOReader uses dither code.
Q?:
Does the DXG even have 8bpp frame buffer?
Or is it one of the Kindle 4bpp frame buffers, with tricky packing to 1 byte per pixel?