From 9a36550815c3d874ce62650bf06ee85a3f705f1c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 29 Nov 2004 16:15:08 +0100 Subject: shift things about a bit --- filter/dctd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filter') diff --git a/filter/dctd.c b/filter/dctd.c index 0c0b072e..750f7893 100644 --- a/filter/dctd.c +++ b/filter/dctd.c @@ -91,6 +91,10 @@ fz_newdctd(fz_filter **fp, fz_obj *params) d->src.super.next_input_byte = nil; d->src.skip = 0; + /* speed up jpeg decoding a bit */ + d->cinfo.dct_method = JDCT_FASTEST; + d->cinfo.do_fancy_upsampling = FALSE; + return nil; } -- cgit v1.2.3