Age | Commit message (Collapse) | Author |
|
|
|
Thanks to zeniko for pointing out these places that I'd missed updating
the old code.
|
|
When calculating the factor to use for image downscales, calculate it
as a shift rather than a divisor.
|
|
This reduces memory use by another 10% on the 2 testfiles mentioned
in the previous commit (see bug 693330).
|
|
Refactor 'short stopped' image stream loading into fz_compressed_buffer
loading. Nicer overall, and reflects the fact that this can be used
for non-image streams that we want to hold compressed in memory (for
instance for shading streams).
This is a preparatory step for pdfwrite, and enables further shading
memory use optimisations.
Remove unused jbig2 function pointer from the fz_compression_params
(previously fz_image_params) structure to avoid confusion.
|