]> granicus.if.org Git - libjpeg-turbo/log
libjpeg-turbo
10 years agoFix the build of the Java classes when using MSVC 2010 and later. Something in the...
DRC [Tue, 11 Mar 2014 06:24:46 +0000 (06:24 +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/trunk@1149 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 agoFor now, punt on trying to support fancy upsampling in tjDecodeYUV(). Fancy upsampli...
DRC [Mon, 10 Mar 2014 20:14:53 +0000 (20:14 +0000)]
For now, punt on trying to support fancy upsampling in tjDecodeYUV().  Fancy upsampling requires context rows and other refinements, which are difficult to implement correctly with the algorithm we're using.  Longer-term, supporting fancy upsampling would probably require using the main buffer that libjpeg allocates.

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

10 years agoFix additional uninitialized values reported by valgrind
DRC [Mon, 10 Mar 2014 20:11:56 +0000 (20:11 +0000)]
Fix additional uninitialized values reported by valgrind

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

10 years agoWhen tjDecodeYUV() is used with a "fresh" decompressor instance (one that hasn't...
DRC [Mon, 10 Mar 2014 09:34:04 +0000 (09:34 +0000)]
When tjDecodeYUV() is used with a "fresh" decompressor instance (one that hasn't been previously used to decompress a JPEG image), then it needs comps_in_scan, data_precision, and the quantization tables to be defined.  This patch also extends TJUnitTest to check for this error.

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

10 years agoSilence valgrind false positives about uninitialized values. Even with this patch...
DRC [Sat, 8 Mar 2014 20:50:35 +0000 (20:50 +0000)]
Silence valgrind false positives about uninitialized values.  Even with this patch, valgrind still complains about uninitialized values when decompressing or decoding to a buffer with an alpha-enabled colorspace.  Not sure why this happens, but it occurs in libjpeg-turbo 1.3 as well, and only when the x86/x86-64 SIMD code is being used.  It is my belief that these remaining warnings are also false positives, because if the output buffer is memset to all 0's prior to invoking tjDecodeYUV()/tjDecompress(), no errors are reported.  If any of the alpha channel bits were in fact not being initialized, then they would still be 0 after invoking tjDecodeYUV()/tjDecompress(), and TJUnitTest would report an error.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1142 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:32:37 +0000 (20:32 +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/trunk@1141 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 agoGo ahead and call jinit_master_decompress() rather than trying to reproduce its funct...
DRC [Fri, 7 Mar 2014 03:52:57 +0000 (03:52 +0000)]
Go ahead and call jinit_master_decompress() rather than trying to reproduce its functionality.  That function does a few things that we were missing, including allocating the range limit table used by the plain C color conversion code.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1139 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:07:03 +0000 (20:07 +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/trunk@1138 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 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 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 agoFix regression introduced in r1122 that caused SIMD detection to malfunction for...
DRC [Thu, 6 Mar 2014 09:26:49 +0000 (09:26 +0000)]
Fix regression introduced in r1122 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/trunk@1134 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoFix unitialized value reported by valgrind (the upsampling routine used by 4:4:0...
DRC [Fri, 28 Feb 2014 09:35:34 +0000 (09:35 +0000)]
Fix unitialized value reported by valgrind (the upsampling routine used by 4:4:0 and 4:1:1 reads the value of component_index.)

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

10 years agoImplement a YUV decode function in the TurboJPEG API, to be symmetric with tjEncodeYUV().
DRC [Fri, 28 Feb 2014 09:17:14 +0000 (09:17 +0000)]
Implement a YUV decode function in the TurboJPEG API, to be symmetric with tjEncodeYUV().

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

10 years agoRemove benchmarks. They were originally intended as a way of measuring overhead...
DRC [Fri, 28 Feb 2014 09:06:42 +0000 (09:06 +0000)]
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+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1131 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:34:02 +0000 (05:34 +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/trunk@1130 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 agoUse C-style comments
DRC [Thu, 27 Feb 2014 21:22:54 +0000 (21:22 +0000)]
Use C-style comments

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

10 years agoOops
DRC [Thu, 20 Feb 2014 19:33:44 +0000 (19:33 +0000)]
Oops

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

10 years agoOlder versions of automake don't support AM_PROG_AR, so only execute that macro if...
DRC [Sat, 15 Feb 2014 07:14:58 +0000 (07:14 +0000)]
Older versions of automake don't support AM_PROG_AR, so only execute that macro if it exists.

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

10 years agoFix autoconf warnings
DRC [Sat, 15 Feb 2014 07:02:04 +0000 (07:02 +0000)]
Fix autoconf warnings

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1122 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 agoUpdate copyright year in file header as well
DRC [Tue, 11 Feb 2014 09:55:32 +0000 (09:55 +0000)]
Update copyright year in file header as well

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

10 years agoFix an issue that prevented tjEncodeYUV3() and TJCompressor.encodeYUV() from working...
DRC [Tue, 11 Feb 2014 09:45:18 +0000 (09:45 +0000)]
Fix an issue that prevented tjEncodeYUV3() 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 tjEncodeYUV3() 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/trunk@1118 632fc199-4ca6-4c93-a231-07263d6284db

10 years agoUpdate copyright notice to reflect recent SIMD contributions
DRC [Sun, 9 Feb 2014 14:12:12 +0000 (14:12 +0000)]
Update copyright notice to reflect recent SIMD contributions

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1117 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 agoFurther examination of the code reveals that this change is unnecessary. The histogr...
DRC [Fri, 7 Feb 2014 19:05:07 +0000 (19:05 +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/trunk@1115 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 agoFix several potential overflow issues identified by the community.
DRC [Thu, 6 Feb 2014 19:30:32 +0000 (19:30 +0000)]
Fix several potential overflow issues identified by the community.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1112 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 agoRemove trailing space
DRC [Thu, 6 Feb 2014 19:13:24 +0000 (19:13 +0000)]
Remove trailing space

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

10 years agoCreate a separate stub file for 64-bit ARM, since it currently implements only the...
DRC [Wed, 5 Feb 2014 19:03:41 +0000 (19:03 +0000)]
Create a separate stub file for 64-bit ARM, since it currently implements only the decompression-related functions.

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

10 years agoFirst pass at ARMv8 64-bit NEON SIMD support
DRC [Wed, 5 Feb 2014 08:15:44 +0000 (08:15 +0000)]
First pass at ARMv8 64-bit NEON SIMD support

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1108 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 agoFormatting tweaks
DRC [Wed, 5 Feb 2014 07:39:38 +0000 (07:39 +0000)]
Formatting tweaks

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

10 years agoRemove trailing spaces
DRC [Sat, 1 Feb 2014 06:17:31 +0000 (06:17 +0000)]
Remove trailing spaces

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

10 years agoSome motion JPEG implementations generate "abbreviated JPEG streams" (JPEG images...
DRC [Fri, 31 Jan 2014 17:22:15 +0000 (17:22 +0000)]
Some motion JPEG implementations generate "abbreviated JPEG streams" (JPEG images without the default tables included) for some or all of the video frames, in order to save space.  When these are encountered, it is generally expected that they will be decompressed using the default Huffman tables, so libjpeg-turbo now does this unless the tables have been explicitly specified by an application.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1104 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

10 years agoInclude instructions for building iOS binaries using Xcode 4.6.x and Xcode 5.0.
DRC [Wed, 29 Jan 2014 19:31:09 +0000 (19:31 +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/trunk@1101 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:12:23 +0000 (21:12 +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 r960.)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1093 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 agoFix CVE-2013-6629 and CVE-2013-6630
DRC [Thu, 21 Nov 2013 18:31:08 +0000 (18:31 +0000)]
Fix CVE-2013-6629 and CVE-2013-6630

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1088 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 agoMake documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo...
DRC [Tue, 19 Nov 2013 01:59:05 +0000 (01:59 +0000)]
Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/trunk

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1085 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 01:53:13 +0000 (01:53 +0000)]
Make documentation viewable directly from http://svn.code.sf.net/p/libjpeg-turbo/code/trunk

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1084 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 agoBack-port code from jpeg-8 that removes unpopulated (and unneeded) tables for AC...
DRC [Wed, 6 Nov 2013 06:50:38 +0000 (06:50 +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/trunk@1079 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 agoRemove unnecessary whitespace
DRC [Wed, 6 Nov 2013 05:51:03 +0000 (05:51 +0000)]
Remove unnecessary whitespace

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

11 years agoAdd the ability to test scaling when decompressing to YUV; compression from YUV to...
DRC [Tue, 5 Nov 2013 19:53:12 +0000 (19:53 +0000)]
Add the ability to test scaling when decompressing to YUV; compression from YUV to JPEG; and YUV padding.  Replace clunky -411 and -440 parameters with a -subsamp parameter that allows any of the subsampling options to be tested in isolation.

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

11 years agoAdd the ability to test scaling when decompressing to YUV; compression from YUV to...
DRC [Mon, 4 Nov 2013 23:07:54 +0000 (23:07 +0000)]
Add the ability to test scaling when decompressing to YUV; compression from YUV to JPEG; and YUV padding.  Replace clunky -411 and -440 parameters with a -subsamp parameter that allows any of the subsampling options to be tested in isolation.

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

11 years agoMake environment variable syntax consistent between ARM and x86 code, and add an...
DRC [Thu, 31 Oct 2013 07:40:24 +0000 (07:40 +0000)]
Make environment variable syntax consistent between ARM and x86 code, and add an option to disable SIMD on x86 (this option will be added to the x86-64 code as well, but it makes more sense to add it when we add AVX support.)

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

11 years agoDeprecate and undocument the FORCE{MMX|SSE|SSE2|SSE3} flags. These were originally...
DRC [Thu, 31 Oct 2013 07:11:39 +0000 (07:11 +0000)]
Deprecate and undocument the FORCE{MMX|SSE|SSE2|SSE3} flags.  These were originally introduced in TurboJPEG/IPP as a way to override the automatic CPU selection in the underlying IPP codec, which was closed source.  They are not meaningful anymore, since libjpeg-turbo provides environment variables to accomplish the same thing and since it no longer necessarily uses x86 SIMD code behind the scenes.

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

11 years agoExtend the TurboJPEG Java API to support compressing JPEG images from YUV planar...
DRC [Thu, 31 Oct 2013 05:04:51 +0000 (05:04 +0000)]
Extend the TurboJPEG Java API to support compressing JPEG images from YUV planar images

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

11 years agoAdd 'tjunittest -yuv -alloc' test on Windows as well
DRC [Thu, 31 Oct 2013 05:02:20 +0000 (05:02 +0000)]
Add 'tjunittest -yuv -alloc' test on Windows as well

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

11 years agor1065 broke the build on Windows, because getinstance() defines a variable. Thus...
DRC [Thu, 31 Oct 2013 05:00:19 +0000 (05:00 +0000)]
r1065 broke the build on Windows, because getinstance() defines a variable.  Thus, it needs to occur before the array initialization code.

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

11 years agoClean up formatting code and rename the JPEG files generated during the YUV decode...
DRC [Thu, 31 Oct 2013 04:53:27 +0000 (04:53 +0000)]
Clean up formatting code and rename the JPEG files generated during the YUV decode tests to reflect the fact that they are being generated from YUV source images.

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

11 years agoExtend the TurboJPEG C API to support compressing JPEG images from YUV planar images
DRC [Wed, 30 Oct 2013 23:02:57 +0000 (23:02 +0000)]
Extend the TurboJPEG C API to support compressing JPEG images from YUV planar images

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

11 years agoOops
DRC [Wed, 30 Oct 2013 22:21:58 +0000 (22:21 +0000)]
Oops

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1066 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:21:06 +0000 (22:21 +0000)]
Fix a really subtle issue whereby an invalid free() could occur if a program called tjInitDecompress() and then accidentally passed the handle to tjEncodeYUV3(), or if a program called tjInitCompress() and then accidentally passed the handle to tjDecompressToYUV2().

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1065 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 logic error from r1037
DRC [Sat, 26 Oct 2013 00:29:53 +0000 (00:29 +0000)]
Fix logic error from r1037

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1062 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 agoFix a couple of issues with return value checking. JFREAD(), which wraps fread(...
DRC [Sat, 12 Oct 2013 21:51:16 +0000 (21:51 +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/trunk@1060 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoSIMD-accelerated integer convsamp routine for MIPS DSPr2
DRC [Sat, 12 Oct 2013 21:39:20 +0000 (21:39 +0000)]
SIMD-accelerated integer convsamp routine for MIPS DSPr2

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

11 years agoSIMD-accelerated floating point quantize and convsamp routines for MIPS DSPr2
DRC [Wed, 9 Oct 2013 18:39:44 +0000 (18:39 +0000)]
SIMD-accelerated floating point quantize and convsamp routines for MIPS DSPr2

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