summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-25 13:04:41 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-25 13:04:41 +0000
commit12ce1bf85d6577fc4cca23c99064763704f6a7a7 (patch)
treedf6aba63ebc01860e1147c7ff607afdcb121a5e9 /fitz
parent7742213fc276bd8a8d638fd9486d8573f74b59f0 (diff)
downloadmupdf-12ce1bf85d6577fc4cca23c99064763704f6a7a7.tar.xz
Never scale the components of indexed images. Let decodetile use maxval for scaling and use 24.8 fixed point math.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/fitz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index bff0ce70..5aa2dd0b 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -1135,7 +1135,7 @@ void fz_executedisplaylist(fz_displaylist *list, fz_device *dev, fz_matrix ctm);
void fz_accelerate(void);
void fz_acceleratearch(void);
-void fz_decodetile(fz_pixmap *pix, float *decode);
+void fz_decodetile(fz_pixmap *pix, float *decode, int maxval);
void fz_unpacktile(fz_pixmap *dst, unsigned char * restrict src, int n, int depth, int stride, int scale);
void fz_blendpixmapswithmode(fz_pixmap *dst, fz_pixmap *src, fz_blendmode blendmode);