Comments (7)
One speed optimization I just committed was to add -O3 to the lib compile flags
and compile to arm rather than thumb.
Can you attach a file where the problem occurs?
Original comment by arpruss
on 25 Jul 2011 at 5:37
from apv.
All pdf files containing JPEG images are slow to render.
I started to work on this a few months ago, and found that the jpeg idct may
not be optimized for arm...
Original comment by [email protected]
on 27 Jul 2011 at 2:43
from apv.
I switched jpeglib to the fast (but less accurate) idct. I didn't benchmark,
but it feels slightly faster. I tried the floating point, but it seemed slower.
Original comment by arpruss
on 31 Jul 2011 at 2:50
from apv.
Here is a NEON-optimized libjpeg: http://sourceforge.net/projects/libjpeg-turbo/
We'd need to add detection for NEON, and this would only go in the armv7-a
version of the library.
Original comment by arpruss
on 31 Jul 2011 at 3:15
from apv.
There was a problem in the threading model which caused the same tiles to get
rendered multiple times. The problem was that the cache was checked when the
tiles were fed to a worker thread rather than just before rendering. I fixed
this.
Original comment by arpruss
on 31 Jul 2011 at 3:22
from apv.
I think that by default, the fast idct is used. But maybe on some CPUs, the fp
idct is faster ? (good to hear that you found a bug in the cache, I was
suspecting this but I didn't spot it !)
Original comment by [email protected]
on 2 Aug 2011 at 12:26
from apv.
I think you're right: the fast one was used. I switched to float on CPUs that
have an FPU--I don't know if that improved performance, but at least it should
improve quality.
Original comment by arpruss
on 3 Aug 2011 at 2:48
from apv.
Related Issues (20)
- /storage/emulated/0 - empty after android 4.4.2 update HOT 1
- How to use APV in android app
- Source Code
- PDF renders with white pages
- How to turn on Horizontal scrolling
- Exception in Libc after loading password protected file.
- Text being cut out between pages with Text Reflow
- Cannot trigger errorMessageDialog in PagesView
- dosnt work, dosnt show any file
- APV won't open locally-stored PDFs HOT 2
- Left / Right buttons aren't configurable HOT 1
- Feature: More recent items
- java.lang.UnsatisfiedLinkError: cannot locate '__isnanf'
- Crash when opening several pdfs consecutively
- Project migration
- [deleted issue]
- could not access files
- Page number count too small
- Page number count too small
- Page number count too small
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apv.