diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-11-27 18:47:14 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-11-27 18:53:54 +0000 |
commit | deac1b9b44977b9e8db758d01867bf8a3ca922ce (patch) | |
tree | 36cbb75a7b44fedd52bded0c12524b1fe9617eee /fitz/stm_comp_buf.c | |
parent | 9bf73f2cd88abd305ebac405411cc3f260ff9da9 (diff) | |
download | mupdf-deac1b9b44977b9e8db758d01867bf8a3ca922ce.tar.xz |
Tweak image color conversion
Use just 1 loop rather than 2, and count downwards as this is faster
on most architectures.
For the 'hash tabled memoized' general case, the time taken to form the
hashes is significant. Add some code to check that the pixel isn't the
same as the one we just did and bypass the hash.
Diffstat (limited to 'fitz/stm_comp_buf.c')
0 files changed, 0 insertions, 0 deletions