]> granicus.if.org Git - libjpeg-turbo/log
libjpeg-turbo
10 years agoAndroid build instructions
DRC [Tue, 6 May 2014 21:59:31 +0000 (21:59 +0000)]
Android build instructions

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1273 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoWordsmithing
DRC [Tue, 6 May 2014 20:56:01 +0000 (20:56 +0000)]
Wordsmithing

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1271 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoWe use __CHAR_UNSIGNED__ (automatically defined by the AC_C_CHAR_UNSIGNED macro)...
DRC [Sun, 20 Apr 2014 19:13:10 +0000 (19:13 +0000)]
We use __CHAR_UNSIGNED__ (automatically defined by the AC_C_CHAR_UNSIGNED macro) rather than CHAR_IS_UNSIGNED (defined by custom autoconf code in libjpeg that we didn't port over), although I doubt it matters on any of the platforms we support.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1264 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoThis patch accomplishes the following:
DRC [Sun, 20 Apr 2014 09:17:11 +0000 (09:17 +0000)]
This patch accomplishes the following:
-- Auto-generates HAVE_LOCALE_H macro and adds it to jconfig.h (this is used by rdjpgcom.c.)
-- Reconciles the description and ordering of macros between config.h.in and jconfig.h.in, so the two files can be easily diffed.
-- Eliminates the use of the autoheader-generated config.h in the project and moves relevant internal-only macros into a new file, jconfigint.h.  This is to avoid "already defined" warnings in files that were including both config.h (to get the internal autotools package information or the INLINE definition) and jconfig.h.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1258 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoWork around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap...
DRC [Sun, 20 Apr 2014 07:22:21 +0000 (07:22 +0000)]
Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail.  More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block:

       delta = cur0 * 2;
       cur0 += delta;          /* form error * 3 */
       errorptr[0] = (FSERROR) (bpreverr0 + cur0);
       cur0 += delta;          /* form error * 5 */
       bpreverr0 = belowerr0 + cur0;
       cur0 += delta;          /* form error * 7 */

Each time cur0 is incremented by delta, the compiled code doubles the value of delta (WTF?!)  Thus, by the time the end of the block is reached, cur0 is equal to 15 times its former self, not 7 times its former self as it should be.  At any rate, it was a lot simpler to just refactor the code so that it uses multiplication.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1253 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoWork around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap...
DRC [Sun, 20 Apr 2014 07:36:33 +0000 (07:36 +0000)]
Work around an issue in Visual C++ 2010 and 2013 that was causing the 256-bit bitmap test in the regression tests to fail.  More specifically, when optimization is enabled in these versions of Visual C++, the optimizer seems to get confused by the following code block:

       delta = cur0 * 2;
       cur0 += delta;          /* form error * 3 */
       errorptr[0] = (FSERROR) (bpreverr0 + cur0);
       cur0 += delta;          /* form error * 5 */
       bpreverr0 = belowerr0 + cur0;
       cur0 += delta;          /* form error * 7 */

Each time cur0 is incremented by delta, the compiled code doubles the value of delta (WTF?!)  Thus, by the time the end of the block is reached, cur0 is equal to 15 times its former self, not 7 times its former self as it should be.  At any rate, it was a lot simpler to just refactor the code so that it uses multiplication.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1255 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoPrevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every...
DRC [Sun, 20 Apr 2014 07:35:16 +0000 (07:35 +0000)]
Prevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every time a merge is done.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1254 632fc199-4ca6-4c93-a231-07263d6284db

10 years ago1.3.2
DRC [Sun, 20 Apr 2014 07:20:31 +0000 (07:20 +0000)]
1.3.2

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1252 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoMinor comment correction (we support the full range of IDCT scaling factors now.)
DRC [Fri, 18 Apr 2014 07:58:29 +0000 (07:58 +0000)]
Minor comment correction (we support the full range of IDCT scaling factors now.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1250 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoClarify how to do a 64-bit build using the Visual Studio IDE
DRC [Fri, 18 Apr 2014 07:50:17 +0000 (07:50 +0000)]
Clarify how to do a 64-bit build using the Visual Studio IDE

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1248 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoUpdate Windows build instructions
DRC [Fri, 18 Apr 2014 02:46:59 +0000 (02:46 +0000)]
Update Windows build instructions

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1246 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix warnings about unused variables when building with GCC 4.8.x
DRC [Thu, 17 Apr 2014 00:47:18 +0000 (00:47 +0000)]
Fix warnings about unused variables when building with GCC 4.8.x

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1242 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix compiler warning ("always_inline function might not be inlinable") when building...
DRC [Wed, 16 Apr 2014 23:37:23 +0000 (23:37 +0000)]
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC;  Unix EOL

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1240 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoSet the BUILD environment variable properly when building with MinGW implementations...
DRC [Wed, 16 Apr 2014 23:30:38 +0000 (23:30 +0000)]
Set the BUILD environment variable properly when building with MinGW implementations that lack a Unix shell (TDM-GCC, for instance);  Only set CMP0022 if it is supported (older CMake implementations don't support it);  Remove trailing spaces

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1238 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoRemove trailing spaces
DRC [Tue, 15 Apr 2014 03:43:44 +0000 (03:43 +0000)]
Remove trailing spaces

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1236 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoModify svn:ignore so that it lists only files generated in-tree by autoreconf -fiv...
DRC [Thu, 27 Mar 2014 20:47:39 +0000 (20:47 +0000)]
Modify svn:ignore so that it lists only files generated in-tree by autoreconf -fiv.  It's pretty much impossible to maintain an up-to-date list of files generated by the actual build, so we'll just assume that the user will do an out-of-tree build if they want to avoid cluttering up their 'svn status' display.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1219 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoMake iOS build instructions more generic and applicable to all versions of Xcode...
DRC [Thu, 27 Mar 2014 03:36:04 +0000 (03:36 +0000)]
Make iOS build instructions more generic and applicable to all versions of Xcode;  modify iOS build procedure for Xcode 5.0 and later to fix a build issue with Xcode 5.1.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1217 632fc199-4ca6-4c93-a231-07263d6284db

10 years agogit-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1202 632fc1... 1.3.1
DRC [Sat, 22 Mar 2014 20:42:01 +0000 (20:42 +0000)]
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1202 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoSince we're now maintaining our own Cygwin pseudo-repository directories instead...
DRC [Fri, 21 Mar 2014 23:34:53 +0000 (23:34 +0000)]
Since we're now maintaining our own Cygwin pseudo-repository directories instead of recommending that users install these packages from a local source, it makes more sense to name the packages according to Cygwin specs, so they can be copied as-is into the pseudo-repository.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1195 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoRHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc...
DRC [Fri, 21 Mar 2014 11:00:00 +0000 (11:00 +0000)]
RHEL 6 (and probably other platforms as well) sets _defaultdocdir=%{_datadir}/doc, which screws things up, since we're overriding _datadir.  Since we intend _defaultdocdir to be /usr/share/doc, just be explicit about it.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1193 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoPrevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every...
DRC [Fri, 21 Mar 2014 09:35:53 +0000 (09:35 +0000)]
Prevent svn:mergeinfo from being modified on Makefile.am and simd/jsimd*.c every time a merge is done.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1192 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix compiler warning about unused function when building with the libjpeg v6b API/ABI
DRC [Fri, 21 Mar 2014 09:29:28 +0000 (09:29 +0000)]
Fix compiler warning about unused function when building with the libjpeg v6b API/ABI

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1189 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix compiler warning ("always_inline function might not be inlinable") when building...
DRC [Fri, 21 Mar 2014 09:22:21 +0000 (09:22 +0000)]
Fix compiler warning ("always_inline function might not be inlinable") when building with recent versions of GCC

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1187 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoEnable silent build (can be overridden with 'make V=1') if the version of autotools...
DRC [Fri, 21 Mar 2014 08:36:06 +0000 (08:36 +0000)]
Enable silent build (can be overridden with 'make V=1') if the version of autotools being used is new enough.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1185 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix an error that occurred when trying to use the lossless transform feature without...
DRC [Mon, 17 Mar 2014 10:14:18 +0000 (10:14 +0000)]
Fix an error that occurred when trying to use the lossless transform feature without specifying -quiet;  formatting tweak

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1181 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoMove the garbage collection of the JPEG tiles into the decompression function to...
DRC [Mon, 17 Mar 2014 10:12:11 +0000 (10:12 +0000)]
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1179 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoUpdate (C) year
DRC [Sun, 16 Mar 2014 19:33:23 +0000 (19:33 +0000)]
Update (C) year

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1175 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoDon't use deprecated constructor
DRC [Sun, 16 Mar 2014 19:33:07 +0000 (19:33 +0000)]
Don't use deprecated constructor

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1174 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoDoc tweaks
DRC [Sun, 16 Mar 2014 18:43:42 +0000 (18:43 +0000)]
Doc tweaks

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1173 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoGo ahead and deprecate the old constructor in 1.3.1 instead of in 1.4, since it uses...
DRC [Sun, 16 Mar 2014 18:00:59 +0000 (18:00 +0000)]
Go ahead and deprecate the old constructor in 1.3.1 instead of in 1.4, since it uses a deprecated method

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1172 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoAdd @Deprecated to the deprecated Java methods, so javac will actually print deprecat...
DRC [Sat, 15 Mar 2014 13:25:11 +0000 (13:25 +0000)]
Add @Deprecated to the deprecated Java methods, so javac will actually print deprecation warnings, as opposed to just listing the methods as deprecated in javadoc;  remove the use of the deprecated methods by our own test programs.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1171 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoWhitespace tweaks
DRC [Thu, 13 Mar 2014 08:32:11 +0000 (08:32 +0000)]
Whitespace tweaks

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1160 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix a segfault that would occur in decompress-only mode if -alloc was specified witho...
DRC [Wed, 12 Mar 2014 06:15:51 +0000 (06:15 +0000)]
Fix a segfault that would occur in decompress-only mode if -alloc was specified without -tile.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1155 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoWordsmithing & formatting tweaks
DRC [Tue, 11 Mar 2014 09:46:50 +0000 (09:46 +0000)]
Wordsmithing & formatting tweaks

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1154 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoBack-port the -subsamp option from 1.4 rather than use the hackish approach of replac...
DRC [Tue, 11 Mar 2014 08:28:47 +0000 (08:28 +0000)]
Back-port the -subsamp option from 1.4 rather than use the hackish approach of replacing 4:2:2 with 4:4:0.  This has the added advantage of allowing the user to test only a specific level of subsampling.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1153 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoOops. This was apparently the victim of an overly aggressive search/replace.
DRC [Tue, 11 Mar 2014 08:25:59 +0000 (08:25 +0000)]
Oops.  This was apparently the victim of an overly aggressive search/replace.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1152 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoSilence warning in CMake 2.8.12 and later
DRC [Tue, 11 Mar 2014 06:30:21 +0000 (06:30 +0000)]
Silence warning in CMake 2.8.12 and later

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1150 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix the build of the Java classes when using MSVC 2010 and later. Something in the...
DRC [Tue, 11 Mar 2014 06:21:46 +0000 (06:21 +0000)]
Fix the build of the Java classes when using MSVC 2010 and later.  Something in the recesses of my brain is telling me that I tried this before and it failed under some circumstances, but it must have been a bug in an older CMake implementation.  CMake 2.8.8 and later seem to work fine with this patch.  This patch also updates the minimum required version to 2.8.8, because 2.8.8 fixed another issue that was preventing the SIMD code from building under MSVC 2010 and later.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1148 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix Windows build
DRC [Mon, 10 Mar 2014 21:38:11 +0000 (21:38 +0000)]
Fix Windows build

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1147 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFormatting tweaks
DRC [Mon, 10 Mar 2014 21:37:54 +0000 (21:37 +0000)]
Formatting tweaks

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1146 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoAdd a blank line before the alpha-enabled colorspace tests in order to improve readab...
DRC [Sat, 8 Mar 2014 20:31:31 +0000 (20:31 +0000)]
Add a blank line before the alpha-enabled colorspace tests in order to improve readability

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1140 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoOops. We need to call start_pass() on the color converter in order to allocate the...
DRC [Thu, 6 Mar 2014 20:03:37 +0000 (20:03 +0000)]
Oops.  We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1137 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoOops. We need to call start_pass() on the color converter in order to allocate the...
DRC [Thu, 6 Mar 2014 19:51:29 +0000 (19:51 +0000)]
Oops.  We need to call start_pass() on the color converter in order to allocate the conversion tables used by the plain C code.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1136 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix regression introduced in r1128 that caused SIMD detection to malfunction for...
DRC [Thu, 6 Mar 2014 09:29:25 +0000 (09:29 +0000)]
Fix regression introduced in r1128 that caused SIMD detection to malfunction for ARM platforms (and probably ARM64 and MIPS as well.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1135 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoRemove unused code (the destination manager is not used during YUV encoding, there...
DRC [Fri, 28 Feb 2014 05:27:55 +0000 (05:27 +0000)]
Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1129 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix autoconf warnings
DRC [Fri, 28 Feb 2014 05:26:24 +0000 (05:26 +0000)]
Fix autoconf warnings

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1128 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoUse C-style comments
DRC [Fri, 28 Feb 2014 05:23:26 +0000 (05:23 +0000)]
Use C-style comments

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1127 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoRemove unused code (the destination manager is not used during YUV encoding, there...
DRC [Fri, 28 Feb 2014 05:19:43 +0000 (05:19 +0000)]
Remove unused code (the destination manager is not used during YUV encoding, there are no virtual arrays to realize, and jinit_c_prep_controller() is unnecessary because we are not using smoothing.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1126 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working...
DRC [Tue, 11 Feb 2014 10:16:42 +0000 (10:16 +0000)]
Fix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working properly if the source image was very tiny.  Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer.  This patch removes the call to jpeg_start_compress() in tjEncodeYUV2() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler.  TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1121 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working...
DRC [Tue, 11 Feb 2014 09:56:12 +0000 (09:56 +0000)]
Fix an issue that prevented tjEncodeYUV2() and TJCompressor.encodeYUV() from working properly if the source image was very tiny.  Basically, jpeg_start_compress() was attempting to write the JPEG headers, which was overrunning the YUV buffer.  This patch removes the call to jpeg_start_compress() in tjEncodeYUV2() and replaces it with calls to the individual routines that are necessary to initialize the color converter and downsampler.  TJUnitTest has also been modified to test for this condition (the buffer size regression test now works in YUV mode.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1120 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFurther examination of the code reveals that this change is unnecessary. The histogr...
DRC [Fri, 7 Feb 2014 19:06:03 +0000 (19:06 +0000)]
Further examination of the code reveals that this change is unnecessary.  The histogram stores a count of each color in the image, so it will always contain at least one non-zero element, and thus the total can never be zero.  Since the histogram is generated from the image data and not read from the header, there is no chance that header corruption would affect it.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1116 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix several potential overflow issues identified by the community.
DRC [Thu, 6 Feb 2014 19:31:50 +0000 (19:31 +0000)]
Fix several potential overflow issues identified by the community.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1114 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFormatting tweak
DRC [Thu, 6 Feb 2014 19:31:23 +0000 (19:31 +0000)]
Formatting tweak

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1113 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoRemove trailing space
DRC [Thu, 6 Feb 2014 19:15:03 +0000 (19:15 +0000)]
Remove trailing space

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1111 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFormatting tweaks
DRC [Wed, 5 Feb 2014 07:40:00 +0000 (07:40 +0000)]
Formatting tweaks

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1107 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoInclude instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0.
DRC [Wed, 29 Jan 2014 19:32:23 +0000 (19:32 +0000)]
Include instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1102 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoPer the conventions of the image compression and digital video communities, use ...
DRC [Mon, 25 Nov 2013 21:08:47 +0000 (21:08 +0000)]
Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r959.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1092 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoPer the conventions of the image compression and digital video communities, use ...
DRC [Mon, 25 Nov 2013 20:30:12 +0000 (20:30 +0000)]
Per the conventions of the image compression and digital video communities, use "YCbCr" to describe the JPEG colorspace and "YUV" to describe an image format consisting of Y, Cb, and Cr planes (this partially reverts r959.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1091 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix CVE-2013-6629 and CVE-2013-6630
DRC [Thu, 21 Nov 2013 18:34:39 +0000 (18:34 +0000)]
Fix CVE-2013-6629 and CVE-2013-6630

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1090 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix CVE-2013-6629 and CVE-2013-6630
DRC [Thu, 21 Nov 2013 18:32:48 +0000 (18:32 +0000)]
Fix CVE-2013-6629 and CVE-2013-6630

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1089 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoMake documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo...
DRC [Tue, 19 Nov 2013 02:08:23 +0000 (02:08 +0000)]
Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1086 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoBack-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC...
DRC [Wed, 6 Nov 2013 07:45:39 +0000 (07:45 +0000)]
Back-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC and DC coefficients when generating progressive JPEG files with arithmetic coding.  This should make such files bitwise compatible with jpeg-8, barring any other mathematical differences (such as the different subsampling algorithm used in jpeg-8.)  Add regression tests for progressive+arithmetic JPEG files.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1082 632fc199-4ca6-4c93-a231-07263d6284db

9 years agoThe Independent JPEG Group's JPEG software v8d jpeg-8d
Guido Vollbeding [Sun, 15 Jan 2012 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v8d

9 years agoThe Independent JPEG Group's JPEG software v8c jpeg-8c
Guido Vollbeding [Sun, 16 Jan 2011 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v8c

9 years agoThe Independent JPEG Group's JPEG software v8b jpeg-8b
Guido Vollbeding [Sun, 16 May 2010 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v8b

9 years agoThe Independent JPEG Group's JPEG software v8a jpeg-8a
Guido Vollbeding [Sun, 28 Feb 2010 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v8a

9 years agoThe Independent JPEG Group's JPEG software v8 jpeg-8
Guido Vollbeding [Sun, 10 Jan 2010 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v8

9 years agoThe Independent JPEG Group's JPEG software v7 jpeg-7
Guido Vollbeding [Sat, 27 Jun 2009 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v7

9 years agoThe Independent JPEG Group's JPEG software v6b with arithmetic coding support jpeg-ari
Guido Vollbeding [Sat, 28 Mar 1998 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v6b with arithmetic coding support

9 years agoThe Independent JPEG Group's JPEG software v6b jpeg-6b
Thomas G. Lane [Fri, 27 Mar 1998 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v6b

9 years agoThe Independent JPEG Group's JPEG software v6a jpeg-6a
Thomas G. Lane [Wed, 7 Feb 1996 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v6a

9 years agoThe Independent JPEG Group's JPEG software v6 jpeg-6
Thomas G. Lane [Wed, 2 Aug 1995 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v6

9 years agoThe Independent JPEG Group's JPEG software v5b jpeg-5b
Thomas G. Lane [Wed, 15 Mar 1995 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v5b

9 years agoThe Independent JPEG Group's JPEG software v5a jpeg-5a
Thomas G. Lane [Wed, 7 Dec 1994 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v5a

9 years agoThe Independent JPEG Group's JPEG software v5 jpeg-5
Thomas G. Lane [Sat, 24 Sep 1994 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v5

9 years agoThe Independent JPEG Group's JPEG software v4a jpeg-4a
Thomas G. Lane [Thu, 18 Feb 1993 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v4a

9 years agoThe Independent JPEG Group's JPEG software v4 jpeg-4
Thomas G. Lane [Thu, 10 Dec 1992 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v4

9 years agoThe Independent JPEG Group's JPEG software v3 jpeg-3
Thomas G. Lane [Tue, 17 Mar 1992 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v3

9 years agoThe Independent JPEG Group's JPEG software v2 jpeg-2
Thomas G. Lane [Fri, 13 Dec 1991 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v2

9 years agoThe Independent JPEG Group's JPEG software v1 jpeg-1
Thomas G. Lane [Mon, 7 Oct 1991 00:00:00 +0000 (00:00 +0000)]
The Independent JPEG Group's JPEG software v1

11 years agoFix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG...
DRC [Wed, 6 Nov 2013 07:37:01 +0000 (07:37 +0000)]
Fix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG.  Didn't expect more than one scan.") when decoding progressive+arithmetic JPEGs generated by libjpeg-turbo.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1081 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoBack-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC...
DRC [Wed, 6 Nov 2013 06:55:28 +0000 (06:55 +0000)]
Back-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC and DC coefficients when generating progressive JPEG files with arithmetic coding.  This should make such files bitwise compatible with jpeg-8, barring any other mathematical differences listed in README-turbo.txt.  Add regression tests for progressive+arithmetic JPEG files.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1080 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoRemove unnecessary whitespace
DRC [Wed, 6 Nov 2013 06:02:26 +0000 (06:02 +0000)]
Remove unnecessary whitespace

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1078 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoRemove unnecessary whitespace
DRC [Wed, 6 Nov 2013 05:58:38 +0000 (05:58 +0000)]
Remove unnecessary whitespace

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1077 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix a really subtle issue whereby an invalid free() could occur if a program called...
DRC [Wed, 30 Oct 2013 22:12:37 +0000 (22:12 +0000)]
Fix a really subtle issue whereby an invalid free() could occur if a program called tjInitDecompress() and then accidentally passed the handle to tjEncodeYUV2(), or if a program called tjInitCompress() and then accidentally passed the handle to tjDecompressToYUV().

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1064 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix logic error from r1039
DRC [Sat, 26 Oct 2013 00:32:23 +0000 (00:32 +0000)]
Fix logic error from r1039

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1063 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix a couple of issues with return value checking. JFREAD(), which wraps fread(...
DRC [Sat, 12 Oct 2013 21:52:48 +0000 (21:52 +0000)]
Fix a couple of issues with return value checking.  JFREAD(), which wraps fread(), will never return -1.  fread() will instead return 0 or a short object count if an error occurs, and ferror() will return 1 in that case.  The second issue was that we were assigning the return value of ftell() to an unsigned long prior to checking the value, so the value would never be < 0 if an error occurred.  It would instead be (unsigned long)-1.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1061 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoSome of the IJG headers say "Modified by", so clarify that our "Modifications" are...
DRC [Sat, 28 Sep 2013 03:23:49 +0000 (03:23 +0000)]
Some of the IJG headers say "Modified by", so clarify that our "Modifications" are not referring to these.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1053 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoActually, the second bug was hidden by the first, so the initial ChangeLog entry...
DRC [Sat, 28 Sep 2013 03:10:31 +0000 (03:10 +0000)]
Actually, the second bug was hidden by the first, so the initial ChangeLog entry was correct from the user's point of view.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1050 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG...
DRC [Sat, 28 Sep 2013 03:04:01 +0000 (03:04 +0000)]
Fix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG.  Didn't expect more than one scan.") when decoding progressive+arithmetic JPEGs generated by libjpeg-turbo.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1049 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoName the package *cygwin64.tar.bz2 when building on Cygwin64.
DRC [Thu, 26 Sep 2013 07:27:56 +0000 (07:27 +0000)]
Name the package *cygwin64.tar.bz2 when building on Cygwin64.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1043 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoDue to the way in which the configure script silently falls back to a non-SIMD build...
DRC [Wed, 25 Sep 2013 05:24:46 +0000 (05:24 +0000)]
Due to the way in which the configure script silently falls back to a non-SIMD build if SIMD can't be enabled, we accidentally released iOS ARM v7 and v7s binaries in 1.3.0 that did not contain NEON SIMD code, because gas-preprocessor.pl wasn't in the PATH.  In order to prevent this from happening again, specifying --with-simd now has the effect of forcing a SIMD build, and if this argument is specified, any issues encountered while enabling SIMD are treated as fatal.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1039 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoWe can't enable optimized entropy coding unless we're using Huffman coding. This...
DRC [Tue, 24 Sep 2013 03:39:51 +0000 (03:39 +0000)]
We can't enable optimized entropy coding unless we're using Huffman coding.  This fixes a bug whereby attempting to create a progressive JPEG with arithmetic coding would fail.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1036 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoClarify that the bug affects cjpeg as well as jpegtran.
DRC [Tue, 24 Sep 2013 03:38:32 +0000 (03:38 +0000)]
Clarify that the bug affects cjpeg as well as jpegtran.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1035 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoFix I/O suspension. This little nugget of code was introduced in r30 as part of...
DRC [Tue, 24 Sep 2013 03:26:47 +0000 (03:26 +0000)]
Fix I/O suspension.  This little nugget of code was introduced in r30 as part of an early attempt to make buffered I/O work with the optimized Huffman codec.  Ultimately, r32 reverted a lot of that mess and introduced much of the logic we now use, rendering this code unnecessary, but it was never reverted because it only causes problems when I/O suspension is used, and apparently no one has tried to do that with libjpeg-turbo until now.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@1033 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoWe can't enable optimized entropy coding unless we're using Huffman coding. This...
DRC [Tue, 24 Sep 2013 03:21:38 +0000 (03:21 +0000)]
We can't enable optimized entropy coding unless we're using Huffman coding.  This fixes a bug whereby attempting to create a progressive JPEG with arithmetic coding would fail.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1032 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoThe connect.apple.com alias has apparently been down for about a month
DRC [Mon, 23 Sep 2013 18:38:20 +0000 (18:38 +0000)]
The connect.apple.com alias has apparently been down for about a month

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1030 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoOops. We need to delete the new copy of turbojpeg.dll in the binary directory. ...
DRC [Fri, 20 Sep 2013 01:11:40 +0000 (01:11 +0000)]
Oops.  We need to delete the new copy of turbojpeg.dll in the binary directory.  Also add quotes to InstDir to allow installing under "c:\Program Files\", and remove unnecessary quotes in the Delete directives.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1028 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoIn the Windows installer packages, place a duplicate copy of turbojpeg.dll in c:...
DRC [Thu, 19 Sep 2013 22:55:57 +0000 (22:55 +0000)]
In the Windows installer packages, place a duplicate copy of turbojpeg.dll in c:\libjpeg-turbo[-gcc][64]\bin.  This is mainly to give installers an easy way to find the DLL for the purposes of bundling it.  Specifically, this was necessary for TurboVNC, becuase 32-bit CMake running on 64-bit Windows cannot ever access the "real" c:\windows\system32 directory.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1026 632fc199-4ca6-4c93-a231-07263d6284db

11 years ago1.3.1
DRC [Thu, 19 Sep 2013 09:36:03 +0000 (09:36 +0000)]
1.3.1

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1025 632fc199-4ca6-4c93-a231-07263d6284db