]> granicus.if.org Git - libjpeg-turbo/log
libjpeg-turbo
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 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 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: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: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: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

11 years agoadjust DSPr2 performance claims
DRC [Tue, 8 Oct 2013 02:32:07 +0000 (02:32 +0000)]
adjust DSPr2 performance claims

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

11 years agoSIMD-accelerated fast integer inverse DCT routine for MIPS DSPr2
DRC [Tue, 8 Oct 2013 02:18:59 +0000 (02:18 +0000)]
SIMD-accelerated fast integer inverse DCT routine for MIPS DSPr2

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

11 years agoSIMD-accelerated fast integer forward DCT routine for MIPS DSPr2
DRC [Tue, 8 Oct 2013 02:11:21 +0000 (02:11 +0000)]
SIMD-accelerated fast integer forward DCT routine for MIPS DSPr2

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

11 years agoSIMD-accelerated slow integer forward DCT and quantize routines for MIPS DSPr2
DRC [Mon, 30 Sep 2013 18:13:27 +0000 (18:13 +0000)]
SIMD-accelerated slow integer forward DCT and quantize routines for MIPS DSPr2

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1054 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 agoSome of the IJG headers say "Modified by", so clarify that our "Modifications" are...
DRC [Sat, 28 Sep 2013 03:22:53 +0000 (03:22 +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/trunk@1052 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:11:46 +0000 (03:11 +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/trunk@1051 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 agoFix an issue that resulted in an error ("Invalid SOS parameters for sequential JPEG...
DRC [Sat, 28 Sep 2013 03:03:04 +0000 (03:03 +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/trunk@1048 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoSIMD-accelerated 3/4 and 3/2 decompression scaling for MIPS DSPr2
DRC [Fri, 27 Sep 2013 17:51:08 +0000 (17:51 +0000)]
SIMD-accelerated 3/4 and 3/2 decompression scaling for MIPS DSPr2

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

11 years agoSIMD-accelerated 1/2 and 1/4 decompression scaling for MIPS DSPr2
DRC [Fri, 27 Sep 2013 17:43:23 +0000 (17:43 +0000)]
SIMD-accelerated 1/2 and 1/4 decompression scaling for MIPS DSPr2

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

11 years agoSIMD-optimized RGB-to-grayscale conversion for MIPS DSPr2
DRC [Fri, 27 Sep 2013 17:39:57 +0000 (17:39 +0000)]
SIMD-optimized RGB-to-grayscale conversion for MIPS DSPr2

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

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

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1044 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 agoFix segfault in MIPS DSPr2 upsample routines that occurred when doing 'make test'
DRC [Wed, 25 Sep 2013 17:33:37 +0000 (17:33 +0000)]
Fix segfault in MIPS DSPr2 upsample routines that occurred when doing 'make test'

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1040 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 agoDue to the way in which the configure script silently falls back to a non-SIMD build...
DRC [Wed, 25 Sep 2013 04:36:44 +0000 (04:36 +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/trunk@1037 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 agoClarify that the bug affects cjpeg as well as jpegtran.
DRC [Tue, 24 Sep 2013 03:37:29 +0000 (03:37 +0000)]
Clarify that the bug affects cjpeg as well as jpegtran.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1034 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 agoWe can't enable optimized entropy coding unless we're using Huffman coding. This...
DRC [Tue, 24 Sep 2013 03:18:27 +0000 (03:18 +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/trunk@1031 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 agoThe connect.apple.com alias has apparently been down for about a month
DRC [Mon, 23 Sep 2013 18:37:34 +0000 (18:37 +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/trunk@1029 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:57:18 +0000 (22:57 +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/trunk@1027 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

11 years agoFix 'make dist'
DRC [Fri, 23 Aug 2013 07:57:21 +0000 (07:57 +0000)]
Fix 'make dist'

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

11 years agogit-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1023 632fc199-4ca6...
DRC [Fri, 23 Aug 2013 07:46:07 +0000 (07:46 +0000)]
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1023 632fc199-4ca6-4c93-a231-07263d6284db

11 years agoOops. Forgot to implement access method for the colorspace & extend TJBench
DRC [Fri, 23 Aug 2013 07:13:59 +0000 (07:13 +0000)]
Oops.  Forgot to implement access method for the colorspace & extend TJBench

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

11 years agoWordsmithing
DRC [Fri, 23 Aug 2013 06:38:59 +0000 (06:38 +0000)]
Wordsmithing

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

11 years agoAdd CMYK support to the TurboJPEG Java API & clean up a few things in the C API
DRC [Fri, 23 Aug 2013 04:45:43 +0000 (04:45 +0000)]
Add CMYK support to the TurboJPEG Java API & clean up a few things in the C API

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