Oops. Add support for TJFLAG_FASTDCT to tjDecompressToYUV() as well.
authorDRC <dcommander@users.sourceforge.net>
Tue, 3 Jul 2012 20:01:31 +0000 (20:01 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 3 Jul 2012 20:01:31 +0000 (20:01 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@855 632fc199-4ca6-4c93-a231-07263d6284db

ChangeLog.txt
turbojpeg.c

index 2f1242a6ea7074b6e814a185d522121f97fe5499..4a592c09eb4bf5cf718191d68a0c681f3b77ba15 100644 (file)
@@ -1,3 +1,9 @@
+1.2.2
+=====
+
+[1] The tjDecompressToYUV() function now supports the TJFLAG_FASTDCT flag.
+
+
 1.2.1
 =====
 
index f2485eb7be374fea0618de9b5a5cef206f86142a..2089cbed85632a7101f8efa6cd63defdcdc0ff4c 100644 (file)
@@ -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);