Git init
[external/libjpeg-turbo.git] / ChangeLog.txt
1 1.1.90 (1.2 beta1)
2 ==================
3
4 [1] Added a JNI wrapper for TurboJPEG/OSS.  See java/README for more details.
5
6 [2] TurboJPEG/OSS can now scale down images during decompression.
7
8 [3] Added SIMD routines for RGB-to-grayscale color conversion, which
9 significantly improves the performance of grayscale JPEG compression from an
10 RGB source image.
11
12 [4] Improved performance for non-x86 machines.
13
14 [5] Added a function to the TurboJPEG API which performs lossless transforms.
15 This function uses the same back end as jpegtran, but it performs transcoding
16 entirely in memory and allows multiple transforms and/or crop operations to be
17 batched together, so the source coefficients only need to be read once.  This
18 is useful when generating image tiles from a single source JPEG.
19
20 [6] Modified jpgtest to benchmark the new scaled decompression and lossless
21 transform features in TurboJPEG/OSS.
22
23 [7] Added support for 4:4:0 (transposed 4:2:2) subsampling in TurboJPEG, which
24 was necessary in order for it to read 4:2:2 JPEG files that had been losslessly
25 transposed or rotated 90 degrees.
26
27 [8] All legacy VirtualGL code has been re-factored, and this has allowed
28 libjpeg-turbo, in its entirety, to be re-licensed under a BSD-style license.
29
30 [9] libjpeg-turbo can now be built with YASM.
31
32 [10] Added SIMD-accelerated fast integer inverse DCT and YCbCr-to-RGB color
33 conversion routines to accelerate JPEG decoding on ARM Linux and iOS platforms
34 that have NEON instructions.
35
36 [11] Refactored the TurboJPEG C API so that it uses pixel formats to define the
37 size and component order of the uncompressed source/destination images as well
38 as uses the libjpeg memory source and destination managers.  The latter allows
39 the TurboJPEG compressor to grow the JPEG buffer as necessary.
40
41 [12] Eliminated errors in the output of jpegtran on Windows that occurred when
42 the application was invoked using I/O redirection
43 (jpegtran <input.jpg >output.jpg).
44
45 [13] The inclusion of libjpeg v7 and v8 emulation as well as arithmetic coding
46 support in libjpeg-turbo v1.1.0 introduced several new error constants in
47 jerror.h, and these were mistakenly enabled for all emulation modes, causing
48 the error enum in libjpeg-turbo to sometimes have different values than the
49 same enum in libjpeg.  This represents an ABI incompatibility, and it caused
50 problems with rare applications that took specific action based on a particular
51 error value.  The fix was to include the new error constants conditionally
52 based on whether libjpeg v7 or v8 emulation was enabled.
53
54 [14] Fixed an issue whereby Windows applications that used libjpeg-turbo would
55 fail to compile if the Windows system headers were included before jpeglib.h.
56 This issue was caused by a conflict in the definition of the INT32 type.
57
58
59 1.1.1
60 =====
61
62 [1] Fixed a 1-pixel error in row 0, column 21 of the luminance plane generated
63 by tjEncodeYUV().
64
65 [2] libjpeg-turbo's accelerated Huffman decoder previously ignored unexpected
66 markers found in the middle of the JPEG data stream during decompression.  It
67 will now hand off decoding of a particular block to the unaccelerated Huffman
68 decoder if an unexpected marker is found, so that the unaccelerated Huffman
69 decoder can generate an appropriate warning.
70
71 [3] Older versions of MinGW64 prefixed symbol names with underscores by
72 default, which differed from the behavior of 64-bit Visual C++.  MinGW64 1.0
73 has adopted the behavior of 64-bit Visual C++ as the default, so to accommodate
74 this, the libjpeg-turbo SIMD function names are no longer prefixed with an
75 underscore when building with MinGW64.  This means that, when building
76 libjpeg-turbo with older versions of MinGW64, you will now have to add
77 -fno-leading-underscore to the CFLAGS.
78
79 [4] Fixed a regression bug in the NSIS script that caused the Windows installer
80 build to fail when using the Visual Studio IDE.
81
82 [5] Fixed a bug in jpeg_read_coefficients() whereby it would not initialize
83 cinfo->image_width and cinfo->image_height if libjpeg v7 or v8 emulation was
84 enabled.  This specifically caused the jpegoptim program to fail if it was
85 linked against a version of libjpeg-turbo that was built with libjpeg v7 or v8
86 emulation.
87
88 [6] Eliminated excessive I/O overhead that occurred when reading BMP files in
89 cjpeg.
90
91 [7] Eliminated errors in the output of cjpeg on Windows that occurred when the
92 application was invoked using I/O redirection (cjpeg <inputfile >output.jpg).
93
94
95 1.1.0
96 =====
97
98 [1] The algorithm used by the SIMD quantization function cannot produce correct
99 results when the JPEG quality is >= 98 and the fast integer forward DCT is
100 used.  Thus, the non-SIMD quantization function is now used for those cases,
101 and libjpeg-turbo should now produce identical output to libjpeg v6b in all
102 cases.
103
104 [2] Despite the above, the fast integer forward DCT still degrades somewhat for
105 JPEG qualities greater than 95, so TurboJPEG/OSS will now automatically use the
106 slow integer forward DCT when generating JPEG images of quality 96 or greater.
107 This reduces compression performance by as much as 15% for these high-quality
108 images but is necessary to ensure that the images are perceptually lossless.
109 It also ensures that the library can avoid the performance pitfall created by
110 [1].
111
112 [3] Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler.
113
114 [4] Fixed visual artifacts in grayscale JPEG compression caused by a typo in
115 the RGB-to-luminance lookup tables.
116
117 [5] The Windows distribution packages now include the libjpeg run-time programs
118 (cjpeg, etc.)
119
120 [6] All packages now include jpgtest.
121
122 [7] The TurboJPEG dynamic library now uses versioned symbols.
123
124 [8] Added two new TurboJPEG API functions, tjEncodeYUV() and
125 tjDecompressToYUV(), to replace the somewhat hackish TJ_YUV flag.
126
127
128 1.0.90 (1.1 beta1)
129 ==================
130
131 [1] Added emulation of the libjpeg v7 and v8 APIs and ABIs.  See
132 README-turbo.txt for more details.  This feature was sponsored by CamTrace SAS.
133
134 [2] Created a new CMake-based build system for the Visual C++ and MinGW builds.
135
136 [3] TurboJPEG/OSS can now compress from/decompress to grayscale bitmaps.
137
138 [4] jpgtest can now be used to test decompression performance with existing
139 JPEG images.
140
141 [5] If the default install prefix (/opt/libjpeg-turbo) is used, then
142 'make install' now creates /opt/libjpeg-turbo/lib32 and
143 /opt/libjpeg-turbo/lib64 sym links to duplicate the behavior of the binary
144 packages.
145
146 [6] All symbols in the libjpeg-turbo dynamic library are now versioned, even
147 when the library is built with libjpeg v6b emulation.
148
149 [7] Added arithmetic encoding and decoding support (can be disabled with
150 configure or CMake options)
151
152 [8] Added a TJ_YUV flag to TurboJPEG/OSS which causes both the compressor and
153 decompressor to output planar YUV images.
154
155 [9] Added an extended version of tjDecompressHeader() to TurboJPEG/OSS which
156 allows the caller to determine the type of subsampling used in a JPEG image.
157
158 [10] Added further protections against invalid Huffman codes.
159
160
161 1.0.1
162 =====
163
164 [1] The Huffman decoder will now handle erroneous Huffman codes (for instance,
165 from a corrupt JPEG image.)  Previously, these would cause libjpeg-turbo to
166 crash under certain circumstances.
167
168 [2] Fixed typo in SIMD dispatch routines which was causing 4:2:2 upsampling to
169 be used instead of 4:2:0 when decompressing JPEG images using SSE2 code.
170
171 [3] configure script will now automatically determine whether the
172 INCOMPLETE_TYPES_BROKEN macro should be defined.
173
174
175 1.0.0
176 =====
177
178 [1] 2983700: Further FreeBSD build tweaks (no longer necessary to specify
179 --host when configuring on a 64-bit system)
180
181 [2] Created sym. links in the Unix/Linux packages so that the TurboJPEG
182 include file can always be found in /opt/libjpeg-turbo/include, the 32-bit
183 static libraries can always be found in /opt/libjpeg-turbo/lib32, and the
184 64-bit static libraries can always be found in /opt/libjpeg-turbo/lib64.
185
186 [3] The Unix/Linux distribution packages now include the libjpeg run-time
187 programs (cjpeg, etc.) and man pages.
188
189 [4] Created a 32-bit supplementary package for amd64 Debian systems which
190 contains just the 32-bit libjpeg-turbo libraries.
191
192 [5] Moved the libraries from */lib32 to */lib in the i386 Debian package.
193
194 [6] Include distribution package for Cygwin
195
196 [7] No longer necessary to specify --without-simd on non-x86 architectures, and
197 unit tests now work on those architectures.
198
199
200 0.0.93
201 ======
202
203 [1] 2982659, Fixed x86-64 build on FreeBSD systems
204
205 [2] 2988188: Added support for Windows 64-bit systems
206
207
208 0.0.91
209 ======
210
211 [1] Added documentation to .deb packages
212
213 [2] 2968313: Fixed data corruption issues when decompressing large JPEG images
214 and/or using buffered I/O with the libjpeg-turbo decompressor
215
216
217 0.0.90
218 ======
219
220 Initial release