11-01-2006, 06:14 AM | #31 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
|
|
11-01-2006, 05:26 PM | #32 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
We officially have smoke!
Code:
root@ereader:/media/cf# ./idjvu galindoQM1.djvu (L)eripc.c:217,erIpcStartClient() Sending messages to 127.0.0.1 (L)eripc.c:217,erIpcStartClient() Sending messages to 127.0.0.1 (L)eripc.c:217,erIpcStartClient() Sending messages to 127.0.0.1 (W)eripc.c:37,erIpcInitServer() Version: 256 (W)eripc.c:76,erIpcInitServer() Bound successfully to 0.0.0.0:50067. (PV_L)RenderThread.cpp:229,threadProc() Waiting... (PV_L)RenderThread.cpp:99,start() Create render thread done! (PV_L)PDFApp.cpp:161,open() Open document galindoQM1.djvu (PV_L)PDFApp.cpp:164,open() Open document galindoQM1.djvu done! (PV_E)PDFView.cpp:319,displayPage() Invalid page number -1! |
Advert | |
|
11-01-2006, 05:53 PM | #33 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Well its read the page 1, rendered it but something is not noticing rendering completed. Soo close but gotta run. More after dinner folks.
But check out that render time... Code:
(PV_L)RenderThread.cpp:229,threadProc() Waiting... (PV_L)RenderThread.cpp:99,start() Create render thread done! (PV_L)PDFApp.cpp:161,open() Open document galindoQM1.djvu (PV_L)PDFCore.cpp:111,open() Document has 431 pages. (PV_L)PDFApp.cpp:164,open() Open document galindoQM1.djvu done! (PV_L)PDFView.cpp:340,displayPage() Page 1 NOT ready yet! (PV_L)PDFView.cpp:340,displayPage() Page 1 NOT ready yet! (PV_L)RenderThread.cpp:163,renderPageNow() Page 1 is in rendering! (PV_E)PDFCore.cpp:167,renderPage() 519710 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 290297 page render time return 0 (PV_L)RenderThread.cpp:229,threadProc() Waiting... |
11-01-2006, 06:15 PM | #34 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quantum Event!
Houston we've had a Quantum Event!
Code:
(PV_L)RenderThread.cpp:99,start() Create render thread done! (PV_L)PDFApp.cpp:161,open() Open document galindoQM1.djvu (PV_L)RenderThread.cpp:229,threadProc() Waiting... (PV_L)PDFCore.cpp:111,open() Document has 431 pages. (PV_L)PDFApp.cpp:164,open() Open document galindoQM1.djvu done! (PV_L)PDFView.cpp:324,displayPage() Going to display the page 1 current page -1 (PV_L)PDFView.cpp:340,displayPage() Page 1 NOT ready yet! (PV_L)PDFView.cpp:324,displayPage() Going to display the page 1 current page 1 (PV_L)PDFView.cpp:340,displayPage() Page 1 NOT ready yet! (PV_L)PDFView.cpp:324,displayPage() Going to display the page 1 current page 1 (PV_L)PDFView.cpp:340,displayPage() Page 1 NOT ready yet! (PV_E)PDFCore.cpp:167,renderPage() 513070 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 289200 page render time return 0 (PV_L)RenderThread.cpp:229,threadProc() Waiting... (PV_L)PDFView.cpp:442,onPageRendered() onPageRender 1 (PV_L)XMgr.cpp:167,drawImage() In Drawimage PageList: page 1 zoom -1.000000 rotate 0 time 5 (PV_E)PDFCore.cpp:167,renderPage() 439485 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 364672 page render time return 0 (PV_L)PDFView.cpp:442,onPageRendered() onPageRender 2 (PV_E)PDFCore.cpp:167,renderPage() 350319 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 371985 page render time return 0 (PV_L)PDFView.cpp:442,onPageRendered() onPageRender 3 (PV_E)PDFCore.cpp:167,renderPage() 223740 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 298527 page render time return 0 (PV_L)PDFView.cpp:442,onPageRendered() onPageRender 4 (PV_E)PDFCore.cpp:167,renderPage() 342393 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 382408 page render time return 0 (PV_L)PDFView.cpp:442,onPageRendered() onPageRender 5 (PV_E)PDFCore.cpp:167,renderPage() 408717 page decoding time (PV_E)PDFCore.cpp:236,renderPage() 404321 page render time return 0 (PV_L)RenderThread.cpp:229,threadProc() Waiting... (PV_L)PDFView.cpp:442,onPageRendered() onPageRender 6 |
11-01-2006, 06:17 PM | #35 |
eink fanatic
Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
|
You did it once again Scotty!
I don't really know what idjvu is all about, but congrats anyway...I'm pretty sure that those who own djvu files will be very happy to hear of your success... |
Advert | |
|
11-01-2006, 06:42 PM | #36 | |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
I must admit I only have the one DJVU file myself! |
|
11-01-2006, 10:17 PM | #37 |
Connoisseur
Posts: 50
Karma: 861
Join Date: Aug 2006
Device: Zaurus C1000/iLiad/SE K750i
|
Scotty, where can I get your idjvu?
|
11-01-2006, 10:38 PM | #38 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
idjvu is up on the MR project site. I've included the er_registry.txt snippet to activate it.
I was just happy to get it to link, run and display today. No panning, no zooming, and for now it always goes to page 1 on startup. Things are still a bit rough with contentLister. It doesn't make you a manifest.xml, which is why I'm forcing the page to 1. And the icon is the X file icon but if you click on it idjvu will launch. Please edit your /mnt/settings/er_registry.txt very carefully! The idjvu application won't brick your iLiad but installing the settings into er_registry.txt could. Please make sure you have your life line shell ready to go. Let's please be careful out there. |
11-01-2006, 11:25 PM | #39 |
Connoisseur
Posts: 50
Karma: 861
Join Date: Aug 2006
Device: Zaurus C1000/iLiad/SE K750i
|
Scotty, thanks! Very good job. I was doing idjvu also, but stoped after you published screenshots On holidays I can help you with code, if you upload sources. Now, it works very good. djvu - is good format, and some times it is better to have djvu instead pdf, because some of pdf is really complisert and takes very much time to render.
|
11-02-2006, 12:32 AM | #40 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
This is the 3rd re-write from ipdf scratch and I did it quickly to see if I could get it to link. I need to go back through the code and rename everything to DJVU and turn the pan and rotate code back on. I'll post the source after that.
In the mean time enjoy the binary. It has extra speed from direct writes to /dev/fb0, by passing the X server entirely. |
11-02-2006, 09:27 AM | #41 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
|
|
11-02-2006, 10:15 AM | #42 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Good job :-D |
|
11-02-2006, 12:42 PM | #43 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
|
|
11-02-2006, 03:31 PM | #44 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
I heard back from iRex regarding hooking idjvu into ContentLister.
ContentLister is hard coded internally. So I need to extend idjvu to do the manifest.xml creation trick. Nothing at all I can do about the icon ContentLister shows but on the bright side, at least ContentLister launches idjvu even if it doesn't know what it is. Another good piece of news, I've compiled Poppler and it comes out reasonably close in size to iRex's. I've gotten zero cooperation out of iRex on Poppler so I'm out on a limb on this one. I've identified the slow Jack Rabbit Benchmark performance as being a bit of code in Poppler with a note hanging from it saying something similar to: "Please don't make me optimize this, let's use libtiff instead..." I've compiled libtiff and I'm looking at how many of its nicely written decoders I can hook into Poppler to enhance it. Antartica's tool chain with scratchbox rulez! Highly recommended update over iRex's tool chain. |
11-03-2006, 11:41 AM | #45 |
Banned
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
It is my unhappy task to let you know that I've decided to kill idjvu.
ContentLister simply isn't setup to support it and I'm not going to re-invent the wheel to do all the stuff ContentLister is doing to create the manifest.xml. So what I am going to be doing this weekend is re-factoring ipdf. I'm going to make ipdf into a pluggable framework into which viewers for other file formats can be installed, and leverage ipdf as the UI for paging, rotating, zooming, and getting manifest.xml's built via ContentLister. My plan is to release 3 viewers with the new ipdf. 1. wrapper for Poppler e.g PDF support 2. wrapper for DJVULibre e.g. DJVU support 3. wrapper for my RTF parser e.g. Baen RTF ebook support (and yes, I'll still be doing the read direct from ZIP trick.) The ipdf will use direct to screen memory page transfers with an X window popup place holder for it (so X doesn't get confused.) It will have a full 8 bit path for crisp text. Support for improved decoding time and error dispersion of images will be in the next release of the Poppler wrapper (sorry, only so many hours this weekend.) |