From: DRC Date: Tue, 3 Jul 2012 20:01:31 +0000 (+0000) Subject: Oops. Add support for TJFLAG_FASTDCT to tjDecompressToYUV() as well. X-Git-Tag: 1.2.90~51^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0419b530b3cecb9d7546893d893489a24d21032;p=libjpeg-turbo Oops. Add support for TJFLAG_FASTDCT to tjDecompressToYUV() as well. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@855 632fc199-4ca6-4c93-a231-07263d6284db --- diff --git a/ChangeLog.txt b/ChangeLog.txt index 2f1242a..4a592c0 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,9 @@ +1.2.2 +===== + +[1] The tjDecompressToYUV() function now supports the TJFLAG_FASTDCT flag. + + 1.2.1 ===== diff --git a/turbojpeg.c b/turbojpeg.c index f2485eb..2089cbe 100644 --- a/turbojpeg.c +++ b/turbojpeg.c @@ -891,6 +891,7 @@ DLLEXPORT int DLLCALL tjDecompressToYUV(tjhandle handle, } if(flags&TJFLAG_FASTUPSAMPLE) dinfo->do_fancy_upsampling=FALSE; + if(flags&TJFLAG_FASTDCT) dinfo->dct_method=JDCT_FASTEST; dinfo->raw_data_out=TRUE; jpeg_start_decompress(dinfo);