From 12ce1bf85d6577fc4cca23c99064763704f6a7a7 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 25 Jul 2010 13:04:41 +0000 Subject: Never scale the components of indexed images. Let decodetile use maxval for scaling and use 24.8 fixed point math. --- fitz/fitz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fitz') 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); -- cgit v1.2.3