I have a new dither routine that does not use dither tables. You can see it in the gmplay program used in the "geekmaster kindle video" thread:
https://www.mobileread.com/forums/sho...d.php?t=177455
Click the "Magic Revealed" button to see the source code.
You might want to try that to see if it runs faster (or slower
).