blob: fe264d50da100634317d90bfcd512f9f609d0e1d [file] [log] [blame]
DRC7e3fd2f2011-05-25 06:04:43 +000011.1.2
2=====
3
4[1] Eliminated errors in the output of jpegtran on Windows that occurred when
5the application was invoked using I/O redirection
6(jpegtran <input.jpg >output.jpg).
7
DRC0571e172011-05-31 20:17:16 +00008[2] The inclusion of libjpeg v7 and v8 emulation as well as arithmetic coding
9support in libjpeg-turbo v1.1.0 introduced several new error constants in
10jerror.h, and these were mistakenly enabled for all emulation modes, causing
DRCfa9ff8e2011-06-21 06:17:10 +000011the error enum in libjpeg-turbo to sometimes have different values than the
12same enum in libjpeg. This represents an ABI incompatibility, and it caused
13problems with rare applications that took specific action based on a particular
14error value. The fix was to include the new error constants conditionally
15based on whether libjpeg v7 or v8 emulation was enabled.
DRC0571e172011-05-31 20:17:16 +000016
DRCb7120ca2011-06-21 04:57:32 +000017[3] Fixed an issue whereby Windows applications that used libjpeg-turbo would
18fail to compile if the Windows system headers were included before jpeglib.h.
19This issue was caused by a conflict in the definition of the INT32 type.
DRC6ca69532011-02-18 03:31:11 +000020
DRC68a086a2011-07-19 09:26:23 +000021[4] Fixed 32-bit supplementary package for amd64 Debian systems which was
22broken by enhancements to the packaging system in 1.1.
23
DRCc4121842011-12-01 11:11:29 +000024[5] Fixed out-of-bounds read in SSE2 SIMD code that occurred when decompressing
25a JPEG image to a bitmap buffer whose size was not a multiple of 16 bytes.
26This was more of an annoyance than an actual bug, since it did not cause any
27actual run-time problems, but the issue showed up when running libjpeg-turbo in
28valgrind. See http://crbug.com/72399 for more information.
29
DRC7e3fd2f2011-05-25 06:04:43 +000030
DRC6ee54592011-03-01 08:18:30 +0000311.1.1
32=====
33
34[1] Fixed a 1-pixel error in row 0, column 21 of the luminance plane generated
35by tjEncodeYUV().
36
DRCe43d21d2011-04-17 15:28:32 +000037[2] libjpeg-turbo's accelerated Huffman decoder previously ignored unexpected
38markers found in the middle of the JPEG data stream during decompression. It
39will now hand off decoding of a particular block to the unaccelerated Huffman
40decoder if an unexpected marker is found, so that the unaccelerated Huffman
41decoder can generate an appropriate warning.
DRC6ee54592011-03-01 08:18:30 +000042
DRC47aaf6f2011-03-22 05:40:39 +000043[3] Older versions of MinGW64 prefixed symbol names with underscores by
DRC1da78582011-03-22 09:34:01 +000044default, which differed from the behavior of 64-bit Visual C++. MinGW64 1.0
45has adopted the behavior of 64-bit Visual C++ as the default, so to accommodate
46this, the libjpeg-turbo SIMD function names are no longer prefixed with an
47underscore when building with MinGW64. This means that, when building
48libjpeg-turbo with older versions of MinGW64, you will now have to add
49-fno-leading-underscore to the CFLAGS.
50
DRC9e50fa72011-04-01 11:24:31 +000051[4] Fixed a regression bug in the NSIS script that caused the Windows installer
52build to fail when using the Visual Studio IDE.
53
DRC59a58342011-04-02 05:40:16 +000054[5] Fixed a bug in jpeg_read_coefficients() whereby it would not initialize
DRCe7fde872011-04-03 07:09:49 +000055cinfo->image_width and cinfo->image_height if libjpeg v7 or v8 emulation was
56enabled. This specifically caused the jpegoptim program to fail if it was
57linked against a version of libjpeg-turbo that was built with libjpeg v7 or v8
58emulation.
DRC59a58342011-04-02 05:40:16 +000059
DRC049aef52011-04-25 22:41:14 +000060[6] Eliminated excessive I/O overhead that occurred when reading BMP files in
61cjpeg.
62
DRC5ee81f42011-05-02 00:35:50 +000063[7] Eliminated errors in the output of cjpeg on Windows that occurred when the
DRC2c289bf2011-05-10 22:15:04 +000064application was invoked using I/O redirection (cjpeg <inputfile >output.jpg).
DRC5ee81f42011-05-02 00:35:50 +000065
DRCa6471c32011-03-18 05:59:21 +000066
DRC4a1c2d92011-01-28 08:00:10 +0000671.1.0
68=====
DRCfa1d1832011-01-26 05:35:20 +000069
DRC72abc292011-02-18 01:45:24 +000070[1] The algorithm used by the SIMD quantization function cannot produce correct
71results when the JPEG quality is >= 98 and the fast integer forward DCT is
DRCbb4465f2011-02-18 02:41:03 +000072used. Thus, the non-SIMD quantization function is now used for those cases,
73and libjpeg-turbo should now produce identical output to libjpeg v6b in all
74cases.
DRCe1716b82011-02-18 03:19:43 +000075
DRC72abc292011-02-18 01:45:24 +000076[2] Despite the above, the fast integer forward DCT still degrades somewhat for
77JPEG qualities greater than 95, so TurboJPEG/OSS will now automatically use the
78slow integer forward DCT when generating JPEG images of quality 96 or greater.
79This reduces compression performance by as much as 15% for these high-quality
80images but is necessary to ensure that the images are perceptually lossless.
DRCbb4465f2011-02-18 02:41:03 +000081It also ensures that the library can avoid the performance pitfall created by
82[1].
DRC2e4d0442011-02-08 01:18:37 +000083
DRC72abc292011-02-18 01:45:24 +000084[3] Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler.
85
86[4] Fixed visual artifacts in grayscale JPEG compression caused by a typo in
DRC2a33dfc2011-04-05 06:51:59 +000087the RGB-to-luminance lookup tables.
DRCe2f37182011-02-17 07:53:46 +000088
DRC240d82f2011-02-19 00:00:34 +000089[5] The Windows distribution packages now include the libjpeg run-time programs
90(cjpeg, etc.)
91
DRCdb8df012011-02-19 00:01:11 +000092[6] All packages now include jpgtest.
DRC240d82f2011-02-19 00:00:34 +000093
DRC10e31932011-02-25 00:14:12 +000094[7] The TurboJPEG dynamic library now uses versioned symbols.
95
96[8] Added two new TurboJPEG API functions, tjEncodeYUV() and
97tjDecompressToYUV(), to replace the somewhat hackish TJ_YUV flag.
98
DRC2d94e262011-01-25 06:52:31 +000099
DRC4a1c2d92011-01-28 08:00:10 +00001001.0.90 (1.1 beta1)
101==================
DRC766dc5c2010-10-12 02:50:18 +0000102
DRCf38eee02011-02-18 07:00:38 +0000103[1] Added emulation of the libjpeg v7 and v8 APIs and ABIs. See
DRCefa618e2010-10-18 08:41:11 +0000104README-turbo.txt for more details. This feature was sponsored by CamTrace SAS.
105
106[2] Created a new CMake-based build system for the Visual C++ and MinGW builds.
DRC766dc5c2010-10-12 02:50:18 +0000107
DRC09854f52010-11-04 22:39:59 +0000108[3] TurboJPEG/OSS can now compress from/decompress to grayscale bitmaps.
109
DRC01e69092011-01-06 01:19:43 +0000110[4] jpgtest can now be used to test decompression performance with existing
111JPEG images.
DRCe89bbae2010-11-12 10:18:08 +0000112
DRCd1c281a2010-11-17 22:44:40 +0000113[5] If the default install prefix (/opt/libjpeg-turbo) is used, then
114'make install' now creates /opt/libjpeg-turbo/lib32 and
115/opt/libjpeg-turbo/lib64 sym links to duplicate the behavior of the binary
116packages.
117
DRCec311932010-11-22 19:51:42 +0000118[6] All symbols in the libjpeg-turbo dynamic library are now versioned, even
119when the library is built with libjpeg v6b emulation.
120
DRC01e69092011-01-06 01:19:43 +0000121[7] Added arithmetic encoding and decoding support (can be disabled with
DRC245cfdf2010-11-23 17:11:06 +0000122configure or CMake options)
DRC66f97e62010-11-23 05:49:54 +0000123
DRC9e17f7d2010-12-10 04:59:13 +0000124[8] Added a TJ_YUV flag to TurboJPEG/OSS which causes both the compressor and
125decompressor to output planar YUV images.
DRCfbb67472010-11-24 04:02:37 +0000126
DRC50c657b2010-12-14 01:23:16 +0000127[9] Added an extended version of tjDecompressHeader() to TurboJPEG/OSS which
128allows the caller to determine the type of subsampling used in a JPEG image.
129
DRC4a1c2d92011-01-28 08:00:10 +0000130[10] Added further protections against invalid Huffman codes.
DRCfa1d1832011-01-26 05:35:20 +0000131
DRC766dc5c2010-10-12 02:50:18 +0000132
DRC4a1c2d92011-01-28 08:00:10 +00001331.0.1
134=====
DRC0fbb28e2010-07-30 17:15:52 +0000135
136[1] The Huffman decoder will now handle erroneous Huffman codes (for instance,
137from a corrupt JPEG image.) Previously, these would cause libjpeg-turbo to
138crash under certain circumstances.
139
DRC025a2792010-08-07 16:27:56 +0000140[2] Fixed typo in SIMD dispatch routines which was causing 4:2:2 upsampling to
141be used instead of 4:2:0 when decompressing JPEG images using SSE2 code.
DRC30959712010-08-07 16:06:56 +0000142
DRCbdb12882010-08-21 21:14:17 +0000143[3] configure script will now automatically determine whether the
144INCOMPLETE_TYPES_BROKEN macro should be defined.
145
DRC0fbb28e2010-07-30 17:15:52 +0000146
DRC4a1c2d92011-01-28 08:00:10 +00001471.0.0
148=====
DRC49597872010-05-17 20:47:57 +0000149
DRCc773d102010-06-05 06:58:22 +0000150[1] 2983700: Further FreeBSD build tweaks (no longer necessary to specify
151--host when configuring on a 64-bit system)
DRC49597872010-05-17 20:47:57 +0000152
DRCf12c7db2010-05-18 19:04:47 +0000153[2] Created sym. links in the Unix/Linux packages so that the TurboJPEG
154include file can always be found in /opt/libjpeg-turbo/include, the 32-bit
155static libraries can always be found in /opt/libjpeg-turbo/lib32, and the
15664-bit static libraries can always be found in /opt/libjpeg-turbo/lib64.
157
DRC4bf3b582010-06-05 01:03:23 +0000158[3] The Unix/Linux distribution packages now include the libjpeg run-time
159programs (cjpeg, etc.) and man pages.
160
161[4] Created a 32-bit supplementary package for amd64 Debian systems which
162contains just the 32-bit libjpeg-turbo libraries.
163
164[5] Moved the libraries from */lib32 to */lib in the i386 Debian package.
165
DRCdf3337c2010-07-02 09:13:58 +0000166[6] Include distribution package for Cygwin
DRC4bf3b582010-06-05 01:03:23 +0000167
DRCdf3337c2010-07-02 09:13:58 +0000168[7] No longer necessary to specify --without-simd on non-x86 architectures, and
DRC38ccf852010-06-10 19:49:49 +0000169unit tests now work on those architectures.
170
DRC49597872010-05-17 20:47:57 +0000171
DRC4a1c2d92011-01-28 08:00:10 +00001720.0.93
173======
DRC0f413b22010-04-06 20:05:39 +0000174
DRCc773d102010-06-05 06:58:22 +0000175[1] 2982659, Fixed x86-64 build on FreeBSD systems
DRC0f413b22010-04-06 20:05:39 +0000176
DRCc773d102010-06-05 06:58:22 +0000177[2] 2988188: Added support for Windows 64-bit systems
DRC1a2219e2010-05-10 20:03:36 +0000178
DRC0f413b22010-04-06 20:05:39 +0000179
DRC4a1c2d92011-01-28 08:00:10 +00001800.0.91
181======
DRCae19bf62010-03-15 11:40:31 +0000182
183[1] Added documentation to .deb packages
184
185[2] 2968313: Fixed data corruption issues when decompressing large JPEG images
186and/or using buffered I/O with the libjpeg-turbo decompressor
DRC4a1c2d92011-01-28 08:00:10 +0000187
188
1890.0.90
190======
191
192Initial release