diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-03-04 03:20:34 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-03-04 03:20:34 +0000 |
commit | ba5ea5143e48b71234414139e3b4cb244599e875 (patch) | |
tree | b024a941311e884fc703fc69ec7607fd32f94411 /jpegtran.c | |
parent | f2cef492b141e085841acbfd89a98c2eb782781f (diff) | |
download | libjpeg-turbo-ba5ea5143e48b71234414139e3b4cb244599e875.tar.gz |
Tile generation did not work with TJXFORM_HFLIP, because the underlying transform code was using an in-place algorithm, which modified the source coefficients after the first tile was generated. Thus, create a new option which allows TurboJPEG to turn off the in-place horizontal flip if there are multiple transforms being performed from the same set of coefficients.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@495 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jpegtran.c')
-rw-r--r-- | jpegtran.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -142,6 +142,7 @@ parse_switches (j_compress_ptr cinfo, int argc, char **argv, transformoption.trim = FALSE; transformoption.force_grayscale = FALSE; transformoption.crop = FALSE; + transformoption.slow_hflip = FALSE; cinfo->err->trace_level = 0; /* Scan command line options, adjust parameters */ |