summaryrefslogtreecommitdiff
path: root/fitz/fitz-internal.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-11-19 16:37:56 +0000
committerRobin Watts <robin.watts@artifex.com>2012-11-19 16:49:28 +0000
commita8560c74b6b655386c4530383eebda4e7cc239c2 (patch)
tree64d4873c78a598fb8974f4cb3e3a778c60b9b6b1 /fitz/fitz-internal.h
parent019ec348606cf55616b478fda04fc214647e7881 (diff)
downloadmupdf-a8560c74b6b655386c4530383eebda4e7cc239c2.tar.xz
Tweak image decode downscale factor internals.
When calculating the factor to use for image downscales, calculate it as a shift rather than a divisor.
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r--fitz/fitz-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h
index 043449db..528fb50a 100644
--- a/fitz/fitz-internal.h
+++ b/fitz/fitz-internal.h
@@ -753,7 +753,7 @@ fz_stream *fz_open_a85d(fz_stream *chain);
fz_stream *fz_open_ahxd(fz_stream *chain);
fz_stream *fz_open_rld(fz_stream *chain);
fz_stream *fz_open_dctd(fz_stream *chain, int color_transform);
-fz_stream *fz_open_resized_dctd(fz_stream *chain, int color_transform, int factor);
+fz_stream *fz_open_resized_dctd(fz_stream *chain, int color_transform, int l2factor);
fz_stream *fz_open_faxd(fz_stream *chain,
int k, int end_of_line, int encoded_byte_align,
int columns, int rows, int end_of_block, int black_is_1);
@@ -845,7 +845,7 @@ typedef struct fz_compressed_buffer_s fz_compressed_buffer;
unsigned int fz_compressed_buffer_size(fz_compressed_buffer *buffer);
fz_stream *fz_open_compressed_buffer(fz_context *ctx, fz_compressed_buffer *);
-fz_stream *fz_open_image_decomp_stream(fz_context *ctx, fz_compressed_buffer *, int *factor);
+fz_stream *fz_open_image_decomp_stream(fz_context *ctx, fz_compressed_buffer *, int *l2factor);
enum
{