Fix a segfault that would occur in decompress-only mode if -alloc was specified without -tile.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1156 632fc199-4ca6-4c93-a231-07263d6284db
Since we now have a complete set of YUV functions, TJBench can be greatly simplified.  It now tests YUV encoding/decoding as an intermediate step of JPEG compression/decompression, which eliminates the need for a separate YUV mode.  Several other things have been streamlined in the process.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1157 632fc199-4ca6-4c93-a231-07263d6284db
Fix a couple of output formatting issues


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1158 632fc199-4ca6-4c93-a231-07263d6284db
Execute warmup runs with tjTransform() as well


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1159 632fc199-4ca6-4c93-a231-07263d6284db
Whitespace tweaks


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1161 632fc199-4ca6-4c93-a231-07263d6284db
If we have transformed a 4:2:2 or 4:4:0 image in any way that transposes the horizontal and vertical dimensions, then we need to inform the decompression function that the subsampling type has changed.  Otherwise, tjDecodeYUV() will not produce correct results.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1162 632fc199-4ca6-4c93-a231-07263d6284db
Add a mode to tjbenchtest for testing the YUV encoding/decoding functions


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1163 632fc199-4ca6-4c93-a231-07263d6284db
Actually, the issue with nightshot_iso_100 is unrelated to the image size.  Reducing the size to 128x95, the same size as vgl_6548_0026, does not eliminate the problem.  The issue seems to always occur when decompression scaling is enabled.  It is unclear at this point whether this is a bug or expected behavior, but the pixels generated by the split decompression functions appear correct.  They are just slightly different (but not visibly so) from the pixels generated by the monolithic decompression function.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1164 632fc199-4ca6-4c93-a231-07263d6284db
Oops.  This code should not have been removed.  It is necessary for generating the error images.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1165 632fc199-4ca6-4c93-a231-07263d6284db
Formatting tweak


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1166 632fc199-4ca6-4c93-a231-07263d6284db
Remove benchmarks.  They were originally intended as a way of measuring overhead for small compress/decompress operations, but using TJBench with a small image is a better way to accomplish that.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1167 632fc199-4ca6-4c93-a231-07263d6284db
Streamline the BufferedImage functionality in the compressor so that it works the same way as compressing a "normal" image, and deprecate the old BufferedImage methods and other redundant methods.  Eliminate the use of deprecated features in the test programs.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1168 632fc199-4ca6-4c93-a231-07263d6284db
Remove unneeded/unused code


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1169 632fc199-4ca6-4c93-a231-07263d6284db
As with tjDecompressToYUV*(), tjCompressFromYUV() also conditionally uses an intermediate buffer if the source image dimensions do not fall on MCU boundaries.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1170 632fc199-4ca6-4c93-a231-07263d6284db
Extend the YUV decode functionality to the TurboJPEG Java API, and port the TJUnitTest modifications that treat YUV encoding/decoding as an intermediate step of the JPEG compression/decompression pipeline rather than a separate test case;  Add the ability to encode YUV images from an arbitrary position in a large image buffer;  Significantly refactor the handling of YUV images;  numerous doc tweaks;  other Java API cleanup and usability improvements


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1176 632fc199-4ca6-4c93-a231-07263d6284db
This should have been checked in with the previous commit.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1177 632fc199-4ca6-4c93-a231-07263d6284db
Generate the Java documentation using javadoc 7, to improve readability.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1178 632fc199-4ca6-4c93-a231-07263d6284db
Move the garbage collection of the JPEG tiles into the decompression function to increase the chances that tiled decompression of large images will succeed without an OutOfMemoryError.


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1180 632fc199-4ca6-4c93-a231-07263d6284db
Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet;  formatting tweak


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1182 632fc199-4ca6-4c93-a231-07263d6284db
formatting tweaks


git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1183 632fc199-4ca6-4c93-a231-07263d6284db