9213561a5b59c24a8e254c5ac3ff2ee04e6bcb66
[openjpeg.git] / abi-check / changelog / openjpeg / current / log.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3     <head>
4     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5     <meta name="keywords" content="OpenJPEG, current, changes, changelog" />
6     <meta name="description" content="Log of changes in the package" />
7     <link rel="stylesheet" type="text/css" href="../../../css/common.css" />
8     <link rel="stylesheet" type="text/css" href="../../../css/changelog.css" />
9     
10     
11     <title>
12         OpenJPEG current: changelog
13     </title>
14     
15     </head>
16
17 <body>
18 <table cellpadding='0' cellspacing='0'><tr><td align='center'><h1 class='tool'><a title='Home: ABI tracker for OpenJPEG' href='../../../timeline/openjpeg/index.html' class='tool'>ABI<br/>Tracker</a></h1></td><td width='30px;'></td><td><h1>(OpenJPEG)</h1></td></tr></table><hr/>
19 <br/>
20 <br/>
21 <h1>Changelog from Git</h1><br/><br/>
22 <div class='changelog'>
23 <pre class='wrap'>commit 07a454324cfeb431ee3fc3799df522dff252b12b
24 Merge: eb27272 75a7f1a
25 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
26 Date:   2021-01-04 14:06:43 +0100
27
28     Merge pull request #866 from tSed/master
29     
30     fix static build only against tiff and its indirect dependencies
31
32 commit eb27272a79cd81256e475b9aad8461fda8b7f989
33 Merge: 2519439 4d147d9
34 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
35 Date:   2021-01-04 10:45:52 +0100
36
37     Merge pull request #1317 from ffontaine/master
38     
39     CMakeLists.txt: Don't require a C++ compiler
40
41 commit 4d147d9630653e4c93a70a2a8026c323ed1042d2
42 Author: Peter Korsgaard &lt;peter@korsgaard.com&gt;
43 Date:   2021-01-04 09:05:42 +0100
44
45     CMakeLists.txt: Don't require a C++ compiler
46     
47     By default, CMake assumes that the project is using both C and C++.  By
48     explicitly passing 'C' as argument of the project() macro, we tell CMake
49     that only C is used, which prevents CMake from erroring out if a C++
50     compiler doesn't exist.
51     
52     Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
53     [Retrieved (and slightly updated by adding enable_language(CXX) if
54     WITH_ASTYLE is set) from:
55     https://git.buildroot.net/buildroot/tree/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch]
56     Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
57
58 commit 2519439d7d4d0e51abf479afe73f30b1c7c70530
59 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
60 Date:   2020-12-31 14:54:59 +0100
61
62     Fix Windows build
63
64 commit 433edd0eea934e25f6e97aaf912ebed191fa41d1
65 Author: Antonin Descampe &lt;antonin@descampe.net&gt;
66 Date:   2020-12-31 11:06:28 +0100
67
68     patch provided 3rdparty zlib to work with MacOS
69
70 commit 4db0c8d5aef53dd6eebc730e5a189cf9bf9bae6c
71 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
72 Date:   2020-12-29 15:34:19 +0100
73
74     Add HOWTO-RELEASE
75
76 commit 43b8ddc6af015715b2fbda2052a17b29d1538df7
77 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
78 Date:   2020-12-29 15:01:40 +0100
79
80     Comment back opj_previous_version in abi_check.sh
81
82 commit b93996d5e018b3d9525acf406053d8b46240f914
83 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
84 Date:   2020-12-29 14:46:50 +0100
85
86     abi_check.sh: Update version number for automatic abi check
87
88 commit b897e2cb369b6944d791209f491f382a983cda87
89 Merge: 37ac30c 7dd5497
90 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
91 Date:   2020-12-28 22:58:58 +0100
92
93     Merge pull request #1312 from stweil/news
94     
95     Fix year in NEWS
96
97 commit 7dd5497b15a33a8020bf1ab116f649328b037a89
98 Author: Stefan Weil &lt;sw@weilnetz.de&gt;
99 Date:   2020-12-28 22:52:34 +0100
100
101     Fix year in NEWS
102     
103     Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
104
105 commit 37ac30ceff6640bbab502388c5e0fa0bff23f505
106 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
107 Date:   2020-12-28 21:55:55 +0100
108
109     Prepare for v2.4.0
110
111 commit a335b4d008359a32656026fa6780ef185b35cf0a
112 Merge: 4980f46 0c2b633
113 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
114 Date:   2020-12-28 21:49:48 +0100
115
116     Merge pull request #1310 from Jamaika1/patch-1
117     
118     Change defined WIN32
119
120 commit 4980f46210f19bd2d83dffdfeb8496f29d68b9c9
121 Merge: 6c5acd4 aaddbc7
122 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
123 Date:   2020-12-28 19:05:14 +0100
124
125     Merge pull request #1307 from cygwin-lem/pr_use-OPENJPEG_INSTALL_DOC_DIR-to-DESTINATION-of-HTMLs
126     
127     Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
128
129 commit 6c5acd4d656870882432ff28d4103de80d109a8d
130 Merge: 98a4c5c 5d494a7
131 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
132 Date:   2020-12-28 19:04:28 +0100
133
134     Merge pull request #1308 from timgates42/bugfix_typo_produced
135     
136     docs: fix simple typo, producted -&gt; produced
137
138 commit 0c2b633992417c8794470c9932e3c75447c8ab13
139 Author: Jamaika1 &lt;lukaszcz18@wp.pl&gt;
140 Date:   2020-12-21 07:59:12 +0100
141
142     Change defined WIN32
143
144 commit 5d494a7e8b9591a8923f387679c692b5c1f45e5a
145 Author: Tim Gates &lt;tim.gates@iress.com&gt;
146 Date:   2020-12-16 21:19:17 +1100
147
148     docs: fix simple typo, producted -&gt; produced
149     
150     There is a small typo in thirdparty/include/zlib.h, thirdparty/libz/zlib.h.
151     
152     Should read `produced` rather than `producted`.
153
154 commit aaddbc7c07f00f0704da4db7616e6dc7448e5f07
155 Author: Lemures Lemniscati &lt;lemures.lemniscati@gmail.com&gt;
156 Date:   2020-12-14 23:00:04 +0900
157
158     Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
159     
160     Use ${OPENJPEG_INSTALL_DOC_DIR} as DESTINATION of HTML documents,
161     instead of share/doc.
162
163 commit 98a4c5c3709e0cc43b0a1c151ed5bd85a2d607fa
164 Merge: 5d0a8b0 6558637
165 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
166 Date:   2020-12-10 15:55:41 +0100
167
168     Merge pull request #1306 from matthew-sharp/master
169     
170     Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
171
172 commit 65586374d639cfc0104419992f9022174b412594
173 Author: Matthew Sharp &lt;sharpshopter@gmail.com&gt;
174 Date:   2020-12-10 10:17:46 +1100
175
176     Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
177     This fixes the case where the cmake file is accessed via a symlink.
178
179 commit 5d0a8b08dcd3bcdf532c54702b5a88ec61b17918
180 Merge: 43dd9ee 8f5aff1
181 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
182 Date:   2020-12-05 11:39:23 +0100
183
184     Merge pull request #1304 from rouault/fix_1302
185     
186     pi.c: avoid out of bounds access with POC (fixes #1302)
187
188 commit 8f5aff1dff510a964d3901d0fba281abec98ab63
189 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
190 Date:   2020-12-04 20:45:25 +0100
191
192     pi.c: avoid out of bounds access with POC (fixes #1302)
193
194 commit 43dd9ee17894a22fa3df88b1e561274632d9ab43
195 Merge: aaff099 4ce7d28
196 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
197 Date:   2020-12-04 20:37:43 +0100
198
199     Merge pull request #1303 from zodf0055980/fix#1283
200     
201     Encoder: grow again buffer size
202
203 commit 4ce7d285a55d29b79880d0566d4b010fe1907aa9
204 Author: yuan &lt;zodf0055980@gmail.com&gt;
205 Date:   2020-12-04 19:00:22 +0800
206
207     Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
208
209 commit aaff099b49365cfecfc475ada48b9244c6eefc9c
210 Merge: fb9eae5 73fdf28
211 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
212 Date:   2020-12-02 23:56:57 +0100
213
214     Merge pull request #1301 from rouault/fix_1299
215     
216     opj_j2k_write_sod(): avoid potential heap buffer overflow (fixes #1299) (probably master only)
217
218 commit fb9eae5d637d06209a6cb9ca57960ac72179ee14
219 Merge: fc6abdb 00383e1
220 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
221 Date:   2020-12-02 23:56:39 +0100
222
223     Merge pull request #1300 from rouault/complement_1293
224     
225     pi.c: avoid out of bounds access with POC (refs https://github.com/uclouvain/openjpeg/issues/1293#issuecomment-737122836)
226
227 commit fc6abdbeb7aa427685c28a9ebfd2e653c10999b3
228 Merge: 18b1138 38d661a
229 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
230 Date:   2020-12-02 23:56:30 +0100
231
232     Merge pull request #1298 from rouault/fix_1297
233     
234     opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
235
236 commit 73fdf28342e4594019af26eb6a347a34eceb6296
237 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
238 Date:   2020-12-02 14:10:16 +0100
239
240     opj_j2k_write_sod(): avoid potential heap buffer overflow (fixes #1299) (probably master only)
241
242 commit 00383e162ae2f8fc951f5745bf1011771acb8dce
243 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
244 Date:   2020-12-02 14:02:17 +0100
245
246     pi.c: avoid out of bounds access with POC (refs https://github.com/uclouvain/openjpeg/issues/1293#issuecomment-737122836)
247
248 commit 38d661a3897052c7ff0b39b30c29cb067e130121
249 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
250 Date:   2020-12-02 13:13:26 +0100
251
252     opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
253
254 commit 18b1138fbe3bb0ae4aa2bf1369f9430a8ec6fa00
255 Merge: 630b485 c9380ed
256 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
257 Date:   2020-12-02 10:05:39 +0100
258
259     Merge pull request #1295 from rouault/fix_1293
260     
261     opj_j2k_setup_encoder(): validate POC compno0 and compno1 (fixes #1293)
262
263 commit 630b485f86a6b0bb6fa03b698b8c5358df88d055
264 Merge: 61ff143 fbd30b0
265 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
266 Date:   2020-12-02 10:05:31 +0100
267
268     Merge pull request #1296 from rouault/workaround_1294
269     
270     opj_t2_encode_packet(): avoid out of bound access of #1294, but likely not the proper fix
271
272 commit c9380ed0f8cc4794fc71d556ea23ae61e32247af
273 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
274 Date:   2020-12-01 19:39:09 +0100
275
276     opj_j2k_setup_encoder(): validate POC compno0 (fixes #1293)
277
278 commit fbd30b064f8f9607d500437b6fedc41431fd6cdc
279 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
280 Date:   2020-12-01 19:51:35 +0100
281
282     opj_t2_encode_packet(): avoid out of bound access of #1294, but likely not the proper fix
283
284 commit 61ff143ad63b9bbe12b6da266f8619b2cb2c3559
285 Merge: 2d119d0 6daf5f3
286 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
287 Date:   2020-12-01 11:35:59 +0100
288
289     Merge pull request #1292 from rouault/fix_1286
290     
291     Encoder: avoid global buffer overflow on irreversible conversion when…
292
293 commit 6daf5f3e1ec6eff03b7982889874a3de6617db8d
294 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
295 Date:   2020-11-30 22:37:07 +0100
296
297     Encoder: avoid global buffer overflow on irreversible conversion when too many decomposition levels are specified (fixes #1286)
298
299 commit 2d119d03a0c9f5e3b6c2a70c30cbdcea4857b40a
300 Merge: b207240 1aa3c60
301 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
302 Date:   2020-11-30 23:28:31 +0100
303
304     Merge pull request #1291 from rouault/tnsot_zero_missing_eoc
305     
306     Decoding: deal with some SPOT6 images that have tiles with a single tile-part with TPsot == 0 and TNsot == 0, and with missing EOC
307
308 commit b2072402b7e14d22bba6fb8cde2a1e9996e9a919
309 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
310 Date:   2020-11-30 22:31:51 +0100
311
312     pngtoimage(): fix wrong computation of x1,y1 if -d option is used, that would result in a heap buffer overflow (fixes #1284)
313
314 commit 1aa3c60859ab2a3edb7a68682f131c6b3a91da72
315 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
316 Date:   2020-11-30 17:36:27 +0100
317
318     Decoding: deal with some SPOT6 images that have tiles with a single tile-part with TPsot == 0 and TNsot == 0, and with missing EOC
319
320 commit a2b2980a4bcb4d3903375de31495f99dde0e98a8
321 Merge: 0c0f27f 4f48779
322 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
323 Date:   2020-11-27 14:25:11 +0100
324
325     Merge pull request #1288 from zodf0055980/master
326     
327     Free p_tcd_marker_info to avoid memory leak
328
329 commit 4f487798bac3eea5ffa07d3cc542f675c4b4d9ae
330 Author: yuan &lt;zodf0055980@gmail.com&gt;
331 Date:   2020-11-26 00:22:49 +0800
332
333     Free p_tcd_marker_info to avoid memory leak
334
335 commit 0c0f27f17d431d98d190f30bec3879f434512158
336 Merge: 15cf3d9 649298d
337 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
338 Date:   2020-11-25 16:59:46 +0100
339
340     Merge pull request #1287 from zodf0055980/master
341     
342     Encoder: grow again buffer size
343
344 commit 649298dcf84b2f20cfe458d887c1591db47372a6
345 Author: yuan &lt;zodf0055980@gmail.com&gt;
346 Date:   2020-11-25 20:41:39 +0800
347
348     Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
349
350 commit 15cf3d95814dc931ca0ecb132f81cb152e051bae
351 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
352 Date:   2020-11-23 18:14:02 +0100
353
354     Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
355
356 commit eaa098b59b346cb88e4d10d505061f669d7134fc
357 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
358 Date:   2020-11-23 13:49:05 +0100
359
360     Encoder: grow buffer size in opj_tcd_code_block_enc_allocate_data() to avoid write heap buffer overflow in opj_mqc_flush (fixes #1283)
361
362 commit 67ec360f48aeded95d06578e717bdf40a8e6d16f
363 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
364 Date:   2020-11-23 13:38:27 +0100
365
366     Fix typo in internal function name
367
368 commit 491299eb073c80602ca8ee333303a31a581d3fa8
369 Merge: 65c8f57 1c5627e
370 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
371 Date:   2020-10-09 13:25:27 +0200
372
373     Merge pull request #1253 from rouault/floating_point_irreversible_encoding
374     
375     Single-threaded performance improvements in forward DWT for 5-3 and 9-7 (and other improvements)
376
377 commit 65c8f577d2f057e80040e98958eae80ca76c6b94
378 Author: Pei JIA &lt;jiapei@longervision.com&gt;
379 Date:   2020-09-23 02:34:31 -0700
380
381     Bump Java compatibility from 1.5 to 1.6 (#1263)
382
383 commit 0f16986738725799237548ce6a2ea12516850e72
384 Merge: cbee789 0863ccf
385 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
386 Date:   2020-09-16 11:52:10 +0200
387
388     Merge pull request #1276 from rouault/fix_1243
389     
390     Encoder: avoid uint32 overflow when allocating memory for codestream buffer (fixes #1243)
391
392 commit 0863ccf291238de15ca00da366b4c40fa9ffb673
393 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
394 Date:   2020-09-16 11:27:53 +0200
395
396     Encoder: avoid uint32 overflow when allocating memory for codestream buffer (fixes #1243)
397
398 commit cbee7891a0ee664dd83ca09553d2e30da716a883
399 Merge: 172c8ae e8e258a
400 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
401 Date:   2020-06-30 22:05:13 +0200
402
403     Merge pull request #1262 from rouault/fix_1261
404     
405     opj_decompress: fix double-free on input directory with mix of valid and invalid images
406
407 commit e8e258ab049240c2dd1f1051b4e773b21e2d3dc0
408 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
409 Date:   2020-06-28 14:19:59 +0200
410
411     opj_decompress: fix double-free on input directory with mix of valid and invalid images (CVE-2020-15389)
412     
413     Fixes #1261
414     
415     Credits to @Ruia-ruia for reporting and analysis.
416
417 commit 172c8ae5cf230ff74b5814daf29e5b577aa30a9b
418 Merge: e252438 b028e8d
419 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
420 Date:   2020-06-22 22:35:44 +0200
421
422     Merge pull request #1260 from sebras/fix-issue-1259
423     
424     openjp2: Plug image leak when failing to allocate codestream index.
425
426 commit e252438d5e23e6ba9561e73a5a4754713bfd626a
427 Merge: 98150d0 79b199a
428 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
429 Date:   2020-06-22 22:12:08 +0200
430
431     Merge pull request #1258 from sebras/fix-issue-1257
432     
433     openjp2: Plug memory leak when setting data as TLS fails.
434
435 commit b028e8d1ce7798f61c35b1b20d836f80d78a35d0
436 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
437 Date:   2020-06-23 02:18:19 +0800
438
439     openjp2: Plug image leak when failing to allocate codestream index.
440     
441     This fixes issue #1259.
442
443 commit 79b199a8fee2a0d51d4389fcde3f5f4dd01971eb
444 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
445 Date:   2020-06-23 02:18:19 +0800
446
447     openjp2: Plug memory leak when setting data as TLS fails.
448     
449     Previously the Tier 1 handle was not freed when setting it as
450     TLS failed.
451     
452     This fixes issue #1257.
453
454 commit 98150d09422149305c9c8648337a744df5786fbe
455 Merge: 25fb144 93b9f72
456 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
457 Date:   2020-06-22 21:03:23 +0200
458
459     Merge pull request #1256 from sebras/master
460     
461     openjp2: Error out if failing to create Tier 1 handle.
462
463 commit 93b9f7236ce09614ea5edcb0f616f1b4095c4830
464 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
465 Date:   2020-06-23 02:18:19 +0800
466
467     openjp2: Error out if failing to create Tier 1 handle.
468     
469     Previously when the handle failed to be created (e.g. when
470     opj_calloc returned NULL due to low memory), the code still
471     assumed that the t1 handle pointer was valid and dereferenced
472     NULL, causing a crash. After this commit OpenJPEG will instead
473     error out under this condition.
474     
475     This fixes issue #1255.
476
477 commit 25fb144c42f97489594302e1e6ff886791e0a5b3
478 Author: szukw000 &lt;szukw000@arcor.de&gt;
479 Date:   2020-06-10 17:40:50 +0200
480
481     Testing for invalid values of width, height, numcomps (#1254)
482
483 commit 1c5627ee7406f84cfb40809b7ac31c63342427df
484 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
485 Date:   2020-05-24 15:38:21 +0200
486
487     T1 encoder: speed-up by aggressive inlining and more cache friendly data organization
488     
489     ~ 9% speed improvement seen on 10980x10980 uint16 image, T36JTT_20160914T074612_B02.tif
490     opj_compress time from 17.2s to 15.8s
491
492 commit 1e931fdb3655c64ab60ea5657f79309331a86485
493 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
494 Date:   2020-05-22 23:57:51 +0200
495
496     Forward DWT 9-7: major speed up by vectorizing vertical pass
497     
498     `bench_dwt -I -encode` times goes from 8.6s to 2.1s
499
500 commit a38e970fa59abd796c703ec469e578b09f7ffa33
501 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
502 Date:   2020-05-22 17:50:15 +0200
503
504     Forward DWT 5-3: major speed up by vectorizing vertical pass
505     
506     `bench_dwt -encode` times goes from 7.9s to 1.7s
507
508 commit e69fa09f604bc472f9fbff5c2b2db65e8dbe2418
509 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
510 Date:   2020-05-22 15:58:47 +0200
511
512     Forward DWT: small code refactoring to allow future improvements for the vertical pass
513
514 commit 33d3d0de07be710f53940c7548b9f2bd58ff3210
515 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
516 Date:   2020-05-22 15:06:29 +0200
517
518     dwt.c: remove unused typedef
519
520 commit 97b384aecdeea0c286213f5caf6244ec08ea32d7
521 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
522 Date:   2020-05-22 15:03:40 +0200
523
524     Forward DWT 5x3: performance improvements in horizontal pass, and modest in vertical pass
525
526 commit bd5f5ee7dea851aedae630fee094ef3b0ff0c888
527 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
528 Date:   2020-05-21 21:20:19 +0200
529
530     Forward DWT: small code refactoring to allow future improvements for the horizontal pass
531
532 commit 45a35223b79dee65a0059f999b690072e829669f
533 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
534 Date:   2020-05-21 16:54:48 +0200
535
536     Speed-up 9x7 IDWD by ~30% with OPJ_NUM_THREADS=2
537     
538     "bench_dwt -I" time goes from 2.2s to 1.5s
539
540 commit 272b3e0fb2530ca8bffdc8c64f1505a8ff5f6ecc
541 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
542 Date:   2020-05-21 11:24:29 +0200
543
544     Remove useless + 5U margin in opj_dwt_decode_tile_97()
545     
546     Nothing in code analysis nor test suite shows that this margin is
547     needed.
548     It dates back to commit dbeebe72b9d35f6ff807c21c7f217b569fa894f6
549     where vector 9x7 decoding was introduced.
550
551 commit 47943daa15983d20ab1ffd0a237125f1493c5658
552 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
553 Date:   2020-05-21 11:23:00 +0200
554
555     Speed-up 9x7 IDWD by ~20%
556     
557     "bench_dwt -I" time goes from 2.8s to 2.2s
558
559 commit 0c09062464fe74f62fb9a4da829992c6a8bd7920
560 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
561 Date:   2020-05-20 23:20:48 +0200
562
563     bench_dwt.c: add a -I switch to test irreversible FWDT/IDWT
564
565 commit 19ef7f26c43f689b627aad642da7f6150893b863
566 Merge: 1d358f2 f3ee448
567 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
568 Date:   2020-05-20 21:10:55 +0200
569
570     Merge pull request #1211 from sebras/master
571     
572     Add check to validate SGcod/SPcoc/SPcod parameter values.
573
574 commit adccbc8336ce5c46ca7de85ac364d9c992d337c7
575 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
576 Date:   2020-05-20 19:24:09 +0200
577
578     Irreversible decoding: partially revert previous commit, to fix failures in test suite
579
580 commit 3cd1305596f191a01afdc11f9355f9c6590065dd
581 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
582 Date:   2020-05-20 18:00:45 +0200
583
584     Irreversible compression/decompression DWT: use 1/K constant as per standard
585     
586     The previous constant opj_c13318 was mysteriously equal to 2/K , and in
587     the DWT, we had to divide K and opj_c13318 by 2... The issue was that the
588     band-&gt;stepsize computation in tcd.c didn't take into account the log2gain of
589     the band.
590     
591     The effect of this change is expected to be mostly equivalent to the previous
592     situation, except some difference in rounding. But it leads to a dramatic
593     reduction of the mean square error and peak error in the irreversible encoding
594     of issue141.tif !
595
596 commit f38c069547f1c41dc94ec4a273efb07997685c21
597 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
598 Date:   2020-05-20 13:14:16 +0200
599
600     Irreversible decoding: align code more closely to the standard by avoid messing up with stepsize (no functional change)
601
602 commit e46e300de55aa35279935ef9e8572949d725d833
603 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
604 Date:   2020-05-20 11:36:05 +0200
605
606     opj_dwt_encode_1_real(): avoid many bound comparisons, similarly to decoding side
607
608 commit 4ab2ed090747ad2f22e78d45a1db5640d40e6a34
609 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
610 Date:   2020-05-19 22:26:22 +0200
611
612     opj_j2k_setup_encoder(): add validation of tile width and height to avoid potential division by zero
613
614 commit c6a413a42394836b956846cc037dd8297b732f44
615 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
616 Date:   2020-05-19 19:45:00 +0200
617
618     opj_mct_encode_real(): add SSE optimization
619
620 commit fe4c15f12c562a42a6b0c4b0a0c5e42a25797235
621 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
622 Date:   2020-05-19 18:03:58 +0200
623
624     Testing: revise testing of lossy encoding by comparing PEAK and MSE with original image
625
626 commit c2b9d09c65ec5db4a94de961b0470923aec74e2e
627 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
628 Date:   2020-05-19 18:03:29 +0200
629
630     compare_images.c: code reformatting
631
632 commit 3d35d0f3af46ee206a3ea147298aad3d83a7775c
633 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
634 Date:   2020-05-18 20:17:07 +0200
635
636     tcd.c: add comment
637
638 commit 00cff6f5c02deabb64ccb15f15c13fcb773968fe
639 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
640 Date:   2020-05-18 20:15:07 +0200
641
642     Encoder: use floating-point operations for irreversible transformation
643
644 commit 99107d5e468beef3cf2f7db24633ba8b40732405
645 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
646 Date:   2020-05-18 18:09:10 +0200
647
648     dwt.c: change sign of constants to match standard and compensate (no functional change)
649
650 commit 07d1f775a1ef95496b0c78b18f671dac41983320
651 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
652 Date:   2020-04-30 11:52:42 +0200
653
654     Add multithreaded support in the DWT encoder.
655     
656     Update the bench_dwt utility to have a -decode/-encode switch
657     
658     Measured performance gains for DWT encoder on a
659     Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (4 cores, hyper threaded)
660     
661     Encoding time:
662     $ ./bin/bench_dwt -encode -num_threads 1
663     time for dwt_encode: total = 8.348 s, wallclock = 8.352 s
664     
665     $ ./bin/bench_dwt -encode -num_threads 2
666     time for dwt_encode: total = 9.776 s, wallclock = 4.904 s
667     
668     $ ./bin/bench_dwt -encode -num_threads 4
669     time for dwt_encode: total = 13.188 s, wallclock = 3.310 s
670     
671     $ ./bin/bench_dwt -encode -num_threads 8
672     time for dwt_encode: total = 30.024 s, wallclock = 4.064 s
673     
674     Scaling is probably limited by memory access patterns causing
675     memory access to be the bottleneck.
676     The slightly worse results with threads==8 than with thread==4
677     is due to hyperthreading being not appropriate here.
678
679 commit 1d358f25c8eabbc7c274bcc148f4f5d594ec13fe
680 Merge: 64689d0 4edb8c8
681 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
682 Date:   2020-05-20 20:29:31 +0200
683
684     Merge pull request #1246 from rouault/write_plt
685     
686     Add support for generation of PLT markers in encoder
687
688 commit 4edb8c83374f52cd6a8f2c7c875e8ffacccb5fa5
689 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
690 Date:   2020-04-21 15:55:44 +0200
691
692     Add support for generation of PLT markers in encoder
693     
694     * -PLT switch added to opj_compress
695     * Add a opj_encoder_set_extra_options() function that
696       accepts a PLT=YES option, and could be expanded later
697       for other uses.
698     
699     -------
700     
701     Testing with a Sentinel2 10m band, T36JTT_20160914T074612_B02.jp2,
702     coming from S2A_MSIL1C_20160914T074612_N0204_R135_T36JTT_20160914T081456.SAFE
703     
704     Decompress it to TIFF:
705     ```
706     opj_uncompress -i T36JTT_20160914T074612_B02.jp2 -o T36JTT_20160914T074612_B02.tif
707     ```
708     
709     Recompress it with similar parameters as original:
710     ```
711     opj_compress -n 5 -c [256,256],[256,256],[256,256],[256,256],[256,256] -t 1024,1024 -PLT -i T36JTT_20160914T074612_B02.tif -o T36JTT_20160914T074612_B02_PLT.jp2
712     ```
713     
714     Dump codestream detail with GDAL dump_jp2.py utility (https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/samples/dump_jp2.py)
715     ```
716     python dump_jp2.py T36JTT_20160914T074612_B02.jp2 &gt; /tmp/dump_sentinel2_ori.txt
717     python dump_jp2.py T36JTT_20160914T074612_B02_PLT.jp2 &gt; /tmp/dump_sentinel2_openjpeg_plt.txt
718     ```
719     
720     The diff between both show very similar structure, and identical number of packets in PLT markers
721     
722     Now testing with Kakadu (KDU803_Demo_Apps_for_Linux-x86-64_200210)
723     
724     Full file decompression:
725     ```
726     kdu_expand -i T36JTT_20160914T074612_B02_PLT.jp2 -o tmp.tif
727     
728     Consumed 121 tile-part(s) from a total of 121 tile(s).
729     Consumed 80,318,806 codestream bytes (excluding any file format) = 5.329697
730     bits/pel.
731     Processed using the multi-threaded environment, with
732         8 parallel threads of execution
733     ```
734     
735     Partial decompresson (presumably using PLT markers):
736     ```
737     kdu_expand -i T36JTT_20160914T074612_B02.jp2 -o tmp.pgm -region "{0.5,0.5},{0.01,0.01}"
738     kdu_expand -i T36JTT_20160914T074612_B02_PLT.jp2 -o tmp2.pgm  -region "{0.5,0.5},{0.01,0.01}"
739     diff tmp.pgm tmp2.pgm &amp;& echo "same !"
740     ```
741     
742     -------
743     
744     Funded by ESA for S2-MPC project
745
746 commit 64689d05dfaaf52105581d93fb1eb173b20829a4
747 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
748 Date:   2020-04-18 18:25:44 +0200
749
750     struct opj_j2k: remove unused fields, and add some documentation
751
752 commit 774889a328abd5d3c280d9a897f1ac4c672cb0e5
753 Merge: b6b7e96 271a71e
754 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
755 Date:   2020-04-17 00:39:46 +0200
756
757     Merge pull request #1244 from rouault/fix_pi_warnings
758     
759     Fix warnings about signed/unsigned casts in pi.c
760
761 commit b6b7e96b0cf7819ef6a2e8ba2f8bdaaf938326ed
762 Author: szukw000 &lt;szukw000@arcor.de&gt;
763 Date:   2020-04-17 00:37:33 +0200
764
765     color_apply_icc_profile: add checks on the number of components (#1236)
766
767 commit 040e142288e90c9c2d46d25d0a27f828f968bb93
768 Author: Eduardo Barretto &lt;edusbarretto@gmail.com&gt;
769 Date:   2020-04-16 19:09:40 -0300
770
771     jp3d/jpwl/mj2/jpip: Fix resource leaks (#1226)
772     
773     This issues were found by cppcheck and coverity.
774
775 commit 271a71ef0f1dd4740c9f4474279c7da8d15850c9
776 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
777 Date:   2020-04-16 20:52:44 +0200
778
779     Fix warnings about signed/unsigned casts in pi.c
780
781 commit 221a801a97a3ea968a311f7905c18a1eb7f034c4
782 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
783 Date:   2020-04-16 20:33:22 +0200
784
785     Rename mis-named function opj_tcd_get_encoded_tile_size() to opj_tcd_get_encoder_input_buffer_size()
786
787 commit 9c1cfb034a8cf24eb5e35fe9c7074fd079d14b80
788 Merge: 563ecfb 1c54024
789 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
790 Date:   2020-04-01 22:00:19 +0200
791
792     Merge pull request #1240 from rouault/fix_crash_opj_decompress
793     
794     opj_decompress: add sanity checks to avoid segfault in case of decoding error
795
796 commit 1c54024165fd5db0e6047f28903274eb27d0980f
797 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
798 Date:   2020-04-01 20:58:55 +0200
799
800     opj_decompress: add sanity checks to avoid segfault in case of decoding error
801     
802     Prevent crashes like:
803     opj_decompress -i 0722_5-1_2019.jp2 -o out.ppm -r 4 -t 0
804     
805     where 0722_5-1_2019.jp2 is
806     https://drive.google.com/file/d/1ZxOUZg2-FKjYwa257VFLMpTXRWxEoP0a/view?usp=sharing
807
808 commit 563ecfb55ca77c0fc5ea19e4885e00f55ec82ca9
809 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
810 Date:   2020-02-13 09:59:17 +0100
811
812     opj_compress: improve help message regarding new IMF switch
813
814 commit 4e5501b3c72a98b3117e68263afb922092c309cf
815 Merge: 2888145 84f3beb
816 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
817 Date:   2020-02-13 09:54:20 +0100
818
819     Merge pull request #1235 from rouault/imf
820     
821     Implement writing of IMF profiles
822
823 commit 84f3bebbff515f2b00ccf0c817930ebb10b91760
824 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
825 Date:   2020-02-12 15:55:16 +0100
826
827     Implement writing of IMF profiles
828     
829     Add -IMF switch to opj_compress as well
830
831 commit fffe32adcb9f41a00805f4120012be9625ba450a
832 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
833 Date:   2020-02-12 15:55:02 +0100
834
835     openjpeg.h: fix values of OPJ_PROFILE_IMF_ constants
836
837 commit 28881453f6b1ae68a357557999498a11a2bc8b7e
838 Merge: 647f9b1 b5cb419
839 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
840 Date:   2020-02-10 11:20:20 +0100
841
842     Merge pull request #1234 from rouault/md5_libtiff_4_1
843     
844     tests: add alternate checksums for libtiff 4.1
845
846 commit b5cb419faff300fdbc0b4e98dab5c9010db6f39d
847 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
848 Date:   2020-02-07 21:53:10 +0100
849
850     tests: add alternate checksums for libtiff 4.1
851     
852     Fixes #1233
853     
854     libtiff 4.1 slightly modifies the way it generates files. So
855     add the new expected md5sum.
856     
857     Not super elegant solution admitedly.
858
859 commit 647f9b118d12819c63635eea65909b0e49e0f201
860 Merge: b63a433 05f9b91
861 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
862 Date:   2020-01-30 13:07:31 +0100
863
864     Merge pull request #1232 from rouault/fix_1231
865     
866     opj_tcd_init_tile(): avoid integer overflow
867
868 commit 05f9b91e60debda0e83977e5e63b2e66486f7074
869 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
870 Date:   2020-01-30 00:59:57 +0100
871
872     opj_tcd_init_tile(): avoid integer overflow
873     
874     That could lead to later assertion failures.
875     
876     Fixes #1231 / CVE-2020-8112
877
878 ...</pre></div>
879
880 </body>
881 </html>