Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-07-2014, 05:32 PM   #16
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by staylo View Post
Hi geekmaster,

I picked up a DXG recently and I'm still trying to get up to speed on the limitations of the device. In a previous post (https://www.mobileread.com/forums/sho...d.php?t=177455) you mentioned that > 1.5fps was possible on the DX / DXG - any further details on what tricks were used to achieve that, and the update rate obtainable? (apologies if this isn't relevant enough to this thread)
My code that shows how fast it can run one demo in the "newtrix" demo. I used a spatio-temporal random dither (a fancy way of saying every pixel is draw black or white depending on threshold computed from the color value multiplied by a random number. For a given pixel and pixel color, it changes between black on white on successive frames, in a ratio that your eye averages out over time to see it as a gray pixel value exactly as the software intended.

That alone is not enough for speed. You also need to limit the size of the update window, which slows down the update rate when it is larger, and speeds up the update rate when smaller. If you update a small enough area fast enough, it will appear as a sparkly gray value, and with moving, it leaves a pulsating fading trail behind it. That trail appears depends on which kindle model, with the newest models leaving the smallest trails with the least pulsating oscillation. The update window size can be automatically determined by the device drivers in some modes, so do not change pixels outside the active window area between display updates, to keep the update window as small and fast as you can. As I mention before, I believe this is a temporal aliasing artifact with the device drivers.

To see how I coded this effect I have described above, press the "Show" button and look for "sparkle" (eink spatiotemporal dither demo) in the "newtrix" source code:
https://www.mobileread.com/forums/sho...d.php?t=176802

In a DX (slow) or DXG (a little faster eink display type), the demo speeds up as the updated area gets small, and it gets many FPS when that update window is fairly small.

Last edited by geekmaster; 01-07-2014 at 05:35 PM.
geekmaster is offline   Reply With Quote
Old 01-08-2014, 06:53 AM   #17
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by geekmaster View Post
- - -
Actually, I had hoped that people could use my dither routines pretty much as-is (black box style) by lifting them out of my demos, but perhaps they do need to be packaged better for more widespread adoption by this community.
- - -
Maybe re-write them in COBOL ?

While you where away, we started a project to run, among other things, OS-360 COBOL on your Kindle.

Hmm.... "Mainframe in a padded, zipper, case" or words to that effect.

Note:
Actually what was ported was the Hercules emulator.
And I built up a public repo of the publicly available IBM software.
Including OS-360 and the last public domain COBOL available.

Last edited by knc1; 01-08-2014 at 05:24 PM.
knc1 is offline   Reply With Quote
Advert
Old 01-08-2014, 09:34 AM   #18
staylo
Member
staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.staylo is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 11
Karma: 34114
Join Date: Mar 2011
Device: PRS-350
Very useful information and code demos, thanks very much! It's good to know that the display driver is smart enough to determine the quickest draw method between two successive frames, and therefore reducing latency to a minimum (eg when using the DXG as a remote monitor) is a matter of getting the data from the host PC to the framebuffer as quickly as possible.
staylo is offline   Reply With Quote
Old 01-24-2014, 10:17 PM   #19
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
http://diveintohtml5.info/video.html for general assosciated video information
twobob is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
geekmaster formula 42 (the dithermatron demo) geekmaster Kindle Developer's Corner 65 03-17-2017 08:51 AM
Formula Plots PuxyYunm General Discussions 9 05-15-2011 04:19 AM
.CSS [CoolReader] Programming Demystified Dr. Drib Astak EZReader 6 03-18-2010 01:27 AM
Python Unicode Demystified ahi Workshop 2 09-18-2009 12:45 PM


All times are GMT -4. The time now is 06:04 AM.


MobileRead.com is a privately owned, operated and funded community.