diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-29 16:15:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-29 16:15:08 +0100 |
commit | 9a36550815c3d874ce62650bf06ee85a3f705f1c (patch) | |
tree | cc45ee69f0eca20520b388c44909703142c9196a /filter | |
parent | fa0b09e3a0c696069033195a394b09d30a8c0573 (diff) | |
download | mupdf-9a36550815c3d874ce62650bf06ee85a3f705f1c.tar.xz |
shift things about a bit
Diffstat (limited to 'filter')
-rw-r--r-- | filter/dctd.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |