Update ABI/API compatibility reports after commit c28965f255c711a7b2f84a08b1398e5a0f8...
[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 c28965f255c711a7b2f84a08b1398e5a0f807b0e
24 Merge: 2624908 a36ae03
25 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
26 Date:   2021-06-08 11:11:04 +0200
27
28     Merge pull request #1359 from rouault/TLM
29     
30     Add support for enabling generation of TLM markers in encoder
31
32 commit a36ae0386066c9ddd089788930be5a42a176446e
33 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
34 Date:   2021-06-07 15:16:53 +0200
35
36     Add support for enabling generation of TLM markers in encoder
37     
38     Support was already there, but restricted to Cinema and IMF profiles,
39     and 255 tiles
40     
41     * Add -TLM switch added to opj_compress
42     * Make opj_encoder_set_extra_options() function accept a TLM=YES option.
43
44 commit 2624908517ac0489ff1b5471f423dfe84d79da08
45 Merge: e7d908d b5ec98f
46 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
47 Date:   2021-06-07 15:48:42 +0200
48
49     Merge pull request #1360 from rouault/travis_gcc_4_8_fix
50     
51     .travis.yml: try to fix gcc 4.8 config by updating to xenial
52
53 commit b5ec98f14f1947bc75eb76969ad5322490ae8e4c
54 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
55 Date:   2021-06-07 15:41:39 +0200
56
57     .travis.yml: try to fix gcc 4.8 config by updating to xenial
58
59 commit e7d908d201a0fef9a619a537dae241341975cab9
60 Merge: 7e4e09a f0629cb
61 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
62 Date:   2021-06-07 13:56:11 +0200
63
64     Merge pull request #1358 from rouault/compiler_warning_fixes
65     
66     Fix various compiler warnings
67
68 commit f0629cb1c4c485d905936413556deb2872ac51e5
69 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
70 Date:   2021-06-07 13:28:26 +0200
71
72     Fix various compiler warnings
73
74 commit 7e4e09a7fb2ee0de857227771b22abff54448cd4
75 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
76 Date:   2021-06-07 12:57:30 +0200
77
78     openjpeg.c: avoid casts of function pointers
79
80 commit adb888920edb8477a271e640e5640237e2b4c0bb
81 Merge: b6b8d28 99c28c9
82 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
83 Date:   2021-06-01 22:59:11 +0200
84
85     Merge pull request #1354 from msabwat/emscripten
86     
87     fix #1345: don't remove big endian test for other platforms
88
89 commit 99c28c960c18bfc0a4da5ec24adcedff1f1b143c
90 Author: Mehdi Sabwat &lt;mehdi@videolabs.io&gt;
91 Date:   2021-06-01 22:39:27 +0200
92
93     fix #1345: don't remove big endian test for other platforms
94     
95     thanks to @ePirat, it turns out that !EMSCRIPTEN does not evaluate to 1 on other platforms, so the the #1345 actually disabled the test for all platforms.
96
97 commit b6b8d28b3a85b74ff5415565cff2c20c019ca3c5
98 Merge: 8aaafe6 238e849
99 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
100 Date:   2021-05-07 11:22:13 +0200
101
102     Merge pull request #1345 from msabwat/emscripten
103     
104     emscripten: disable big endian test
105
106 commit 238e849746e35232134533d826fdd2420d2e0274
107 Author: Mehdi Sabwat &lt;mehdisabwat@gmail.com&gt;
108 Date:   2021-04-26 15:37:44 +0200
109
110     emscripten: disable big endian test
111     
112     This test should not run on the emscripten platform because of :
113     https://github.com/emscripten-core/emscripten/blob/dff33368427fba16745c8ce52f11484a67b2855d/cmake/Modules/TestBigEndian.cmake#L5
114
115 commit 8aaafe69958f3528db4e59b50cbc49494262c7b5
116 Author: Jamaika1 &lt;lukaszcz18@wp.pl&gt;
117 Date:   2021-05-06 19:30:34 +0200
118
119     Import files tiff and yuv(raw) (#1316)
120
121 commit 5f653ad673cf0f141801c1c4a810028a9876b5e5
122 Merge: 05263ee 85a87cd
123 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
124 Date:   2021-05-06 13:40:43 +0200
125
126     Merge pull request #1350 from rouault/remove_jpwl_jp3d_mj2
127     
128     Remove obsolete components JPWL, JP3D and MJ2
129
130 commit 85a87cd505f37027c4b74363b529a1e166e32651
131 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
132 Date:   2021-05-04 19:21:45 +0200
133
134     Remove obsolete components JPWL, JP3D and MJ2
135
136 commit 05263eeee9bc666184a39cd2a83a7214cc83ec27
137 Merge: 0bda718 9727f3a
138 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
139 Date:   2021-05-04 19:15:06 +0200
140
141     Merge pull request #1348 from rouault/fix_kdu
142     
143     tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries
144
145 commit 9727f3ac69a7cd1ca00518c56ef1071881c03c71
146 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
147 Date:   2021-05-04 18:55:43 +0200
148
149     .travis.yml: disable tests that no longer pass for unknown reason
150
151 commit 92c0471154960d50ebe68b363f4bb1e2c1e4d775
152 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
153 Date:   2021-05-04 16:27:05 +0200
154
155     tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries
156
157 commit 0bda7188b7b545232a341f1d978b1e4feda46fc2
158 Merge: 0782cd0 4d0b49e
159 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
160 Date:   2021-01-10 23:58:37 +0100
161
162     Merge pull request #1321 from ffontaine/master
163     
164     Fix cmake file with DESTDIR
165
166 commit 4d0b49edad7fb31ebbf03c60a45b72aaa7b7412b
167 Author: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
168 Date:   2021-01-07 14:11:26 +0100
169
170     cmake/OpenJPEGConfig.cmake: replace ABSOLUTE by REALPATH
171     
172     Fix #1174 by replacing ABSOLUTE by REALPATH which will resolve symlinks:
173     https://cmake.org/cmake/help/latest/command/get_filename_component.html
174     
175     Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
176
177 commit 14f4c27e7c91f745a1dda9991b5deea3cbef2072
178 Author: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
179 Date:   2021-01-07 14:09:50 +0100
180
181     Revert "Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)"
182     
183     This reverts commit 65586374d639cfc0104419992f9022174b412594 which
184     breaks cross-compilation of poppler under buildroot (because of
185     DESTDIR usage).
186
187 commit 0782cd075d7e9678bf1cb448c1f3d048fabe4489
188 Merge: 07a4543 b6f0e41
189 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
190 Date:   2021-01-04 19:42:30 +0100
191
192     Merge pull request #867 from pseiderer/fix-lcms2-static-linking-using-pgk-config
193     
194     Fix lcms2 static linking using pgk config
195
196 commit b6f0e41399f2e67117de2641b169f4400260be57
197 Author: Peter Seiderer &lt;ps.report@gmx.net&gt;
198 Date:   2016-11-11 23:35:13 +0100
199
200     thirdparty: lcms2: append flags found by pkg-config if available
201     
202     This change allows to get all required CFLAGS/LDFLAGS in case of static only
203     build.
204     
205     Fixes a buildroot build failure (see [1], [2] and [3]).
206     
207     [1] http://autobuild.buildroot.net/results/5ce/5cee20afd8bef5268832cddcb3a5270746be7a57
208     [2] http://lists.busybox.net/pipermail/buildroot/2016-November/177187.html
209     [3] http://lists.busybox.net/pipermail/buildroot/2016-November/177188.html
210     
211     Signed-off-by: Peter Seiderer &lt;ps.report@gmx.net&gt;
212     ---
213     Depends on https://github.com/uclouvain/openjpeg/pull/866
214
215 commit 07a454324cfeb431ee3fc3799df522dff252b12b
216 Merge: eb27272 75a7f1a
217 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
218 Date:   2021-01-04 14:06:43 +0100
219
220     Merge pull request #866 from tSed/master
221     
222     fix static build only against tiff and its indirect dependencies
223
224 commit eb27272a79cd81256e475b9aad8461fda8b7f989
225 Merge: 2519439 4d147d9
226 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
227 Date:   2021-01-04 10:45:52 +0100
228
229     Merge pull request #1317 from ffontaine/master
230     
231     CMakeLists.txt: Don't require a C++ compiler
232
233 commit 4d147d9630653e4c93a70a2a8026c323ed1042d2
234 Author: Peter Korsgaard &lt;peter@korsgaard.com&gt;
235 Date:   2021-01-04 09:05:42 +0100
236
237     CMakeLists.txt: Don't require a C++ compiler
238     
239     By default, CMake assumes that the project is using both C and C++.  By
240     explicitly passing 'C' as argument of the project() macro, we tell CMake
241     that only C is used, which prevents CMake from erroring out if a C++
242     compiler doesn't exist.
243     
244     Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
245     [Retrieved (and slightly updated by adding enable_language(CXX) if
246     WITH_ASTYLE is set) from:
247     https://git.buildroot.net/buildroot/tree/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch]
248     Signed-off-by: Fabrice Fontaine &lt;fontaine.fabrice@gmail.com&gt;
249
250 commit 2519439d7d4d0e51abf479afe73f30b1c7c70530
251 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
252 Date:   2020-12-31 14:54:59 +0100
253
254     Fix Windows build
255
256 commit 433edd0eea934e25f6e97aaf912ebed191fa41d1
257 Author: Antonin Descampe &lt;antonin@descampe.net&gt;
258 Date:   2020-12-31 11:06:28 +0100
259
260     patch provided 3rdparty zlib to work with MacOS
261
262 commit 4db0c8d5aef53dd6eebc730e5a189cf9bf9bae6c
263 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
264 Date:   2020-12-29 15:34:19 +0100
265
266     Add HOWTO-RELEASE
267
268 commit 43b8ddc6af015715b2fbda2052a17b29d1538df7
269 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
270 Date:   2020-12-29 15:01:40 +0100
271
272     Comment back opj_previous_version in abi_check.sh
273
274 commit b93996d5e018b3d9525acf406053d8b46240f914
275 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
276 Date:   2020-12-29 14:46:50 +0100
277
278     abi_check.sh: Update version number for automatic abi check
279
280 commit b897e2cb369b6944d791209f491f382a983cda87
281 Merge: 37ac30c 7dd5497
282 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
283 Date:   2020-12-28 22:58:58 +0100
284
285     Merge pull request #1312 from stweil/news
286     
287     Fix year in NEWS
288
289 commit 7dd5497b15a33a8020bf1ab116f649328b037a89
290 Author: Stefan Weil &lt;sw@weilnetz.de&gt;
291 Date:   2020-12-28 22:52:34 +0100
292
293     Fix year in NEWS
294     
295     Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
296
297 commit 37ac30ceff6640bbab502388c5e0fa0bff23f505
298 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
299 Date:   2020-12-28 21:55:55 +0100
300
301     Prepare for v2.4.0
302
303 commit a335b4d008359a32656026fa6780ef185b35cf0a
304 Merge: 4980f46 0c2b633
305 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
306 Date:   2020-12-28 21:49:48 +0100
307
308     Merge pull request #1310 from Jamaika1/patch-1
309     
310     Change defined WIN32
311
312 commit 4980f46210f19bd2d83dffdfeb8496f29d68b9c9
313 Merge: 6c5acd4 aaddbc7
314 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
315 Date:   2020-12-28 19:05:14 +0100
316
317     Merge pull request #1307 from cygwin-lem/pr_use-OPENJPEG_INSTALL_DOC_DIR-to-DESTINATION-of-HTMLs
318     
319     Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
320
321 commit 6c5acd4d656870882432ff28d4103de80d109a8d
322 Merge: 98a4c5c 5d494a7
323 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
324 Date:   2020-12-28 19:04:28 +0100
325
326     Merge pull request #1308 from timgates42/bugfix_typo_produced
327     
328     docs: fix simple typo, producted -&gt; produced
329
330 commit 0c2b633992417c8794470c9932e3c75447c8ab13
331 Author: Jamaika1 &lt;lukaszcz18@wp.pl&gt;
332 Date:   2020-12-21 07:59:12 +0100
333
334     Change defined WIN32
335
336 commit 5d494a7e8b9591a8923f387679c692b5c1f45e5a
337 Author: Tim Gates &lt;tim.gates@iress.com&gt;
338 Date:   2020-12-16 21:19:17 +1100
339
340     docs: fix simple typo, producted -&gt; produced
341     
342     There is a small typo in thirdparty/include/zlib.h, thirdparty/libz/zlib.h.
343     
344     Should read `produced` rather than `producted`.
345
346 commit aaddbc7c07f00f0704da4db7616e6dc7448e5f07
347 Author: Lemures Lemniscati &lt;lemures.lemniscati@gmail.com&gt;
348 Date:   2020-12-14 23:00:04 +0900
349
350     Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
351     
352     Use ${OPENJPEG_INSTALL_DOC_DIR} as DESTINATION of HTML documents,
353     instead of share/doc.
354
355 commit 98a4c5c3709e0cc43b0a1c151ed5bd85a2d607fa
356 Merge: 5d0a8b0 6558637
357 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
358 Date:   2020-12-10 15:55:41 +0100
359
360     Merge pull request #1306 from matthew-sharp/master
361     
362     Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
363
364 commit 65586374d639cfc0104419992f9022174b412594
365 Author: Matthew Sharp &lt;sharpshopter@gmail.com&gt;
366 Date:   2020-12-10 10:17:46 +1100
367
368     Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
369     This fixes the case where the cmake file is accessed via a symlink.
370
371 commit 5d0a8b08dcd3bcdf532c54702b5a88ec61b17918
372 Merge: 43dd9ee 8f5aff1
373 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
374 Date:   2020-12-05 11:39:23 +0100
375
376     Merge pull request #1304 from rouault/fix_1302
377     
378     pi.c: avoid out of bounds access with POC (fixes #1302)
379
380 commit 8f5aff1dff510a964d3901d0fba281abec98ab63
381 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
382 Date:   2020-12-04 20:45:25 +0100
383
384     pi.c: avoid out of bounds access with POC (fixes #1302)
385
386 commit 43dd9ee17894a22fa3df88b1e561274632d9ab43
387 Merge: aaff099 4ce7d28
388 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
389 Date:   2020-12-04 20:37:43 +0100
390
391     Merge pull request #1303 from zodf0055980/fix#1283
392     
393     Encoder: grow again buffer size
394
395 commit 4ce7d285a55d29b79880d0566d4b010fe1907aa9
396 Author: yuan &lt;zodf0055980@gmail.com&gt;
397 Date:   2020-12-04 19:00:22 +0800
398
399     Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
400
401 commit aaff099b49365cfecfc475ada48b9244c6eefc9c
402 Merge: fb9eae5 73fdf28
403 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
404 Date:   2020-12-02 23:56:57 +0100
405
406     Merge pull request #1301 from rouault/fix_1299
407     
408     opj_j2k_write_sod(): avoid potential heap buffer overflow (fixes #1299) (probably master only)
409
410 commit fb9eae5d637d06209a6cb9ca57960ac72179ee14
411 Merge: fc6abdb 00383e1
412 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
413 Date:   2020-12-02 23:56:39 +0100
414
415     Merge pull request #1300 from rouault/complement_1293
416     
417     pi.c: avoid out of bounds access with POC (refs https://github.com/uclouvain/openjpeg/issues/1293#issuecomment-737122836)
418
419 commit fc6abdbeb7aa427685c28a9ebfd2e653c10999b3
420 Merge: 18b1138 38d661a
421 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
422 Date:   2020-12-02 23:56:30 +0100
423
424     Merge pull request #1298 from rouault/fix_1297
425     
426     opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
427
428 commit 73fdf28342e4594019af26eb6a347a34eceb6296
429 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
430 Date:   2020-12-02 14:10:16 +0100
431
432     opj_j2k_write_sod(): avoid potential heap buffer overflow (fixes #1299) (probably master only)
433
434 commit 00383e162ae2f8fc951f5745bf1011771acb8dce
435 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
436 Date:   2020-12-02 14:02:17 +0100
437
438     pi.c: avoid out of bounds access with POC (refs https://github.com/uclouvain/openjpeg/issues/1293#issuecomment-737122836)
439
440 commit 38d661a3897052c7ff0b39b30c29cb067e130121
441 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
442 Date:   2020-12-02 13:13:26 +0100
443
444     opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
445
446 commit 18b1138fbe3bb0ae4aa2bf1369f9430a8ec6fa00
447 Merge: 630b485 c9380ed
448 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
449 Date:   2020-12-02 10:05:39 +0100
450
451     Merge pull request #1295 from rouault/fix_1293
452     
453     opj_j2k_setup_encoder(): validate POC compno0 and compno1 (fixes #1293)
454
455 commit 630b485f86a6b0bb6fa03b698b8c5358df88d055
456 Merge: 61ff143 fbd30b0
457 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
458 Date:   2020-12-02 10:05:31 +0100
459
460     Merge pull request #1296 from rouault/workaround_1294
461     
462     opj_t2_encode_packet(): avoid out of bound access of #1294, but likely not the proper fix
463
464 commit c9380ed0f8cc4794fc71d556ea23ae61e32247af
465 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
466 Date:   2020-12-01 19:39:09 +0100
467
468     opj_j2k_setup_encoder(): validate POC compno0 (fixes #1293)
469
470 commit fbd30b064f8f9607d500437b6fedc41431fd6cdc
471 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
472 Date:   2020-12-01 19:51:35 +0100
473
474     opj_t2_encode_packet(): avoid out of bound access of #1294, but likely not the proper fix
475
476 commit 61ff143ad63b9bbe12b6da266f8619b2cb2c3559
477 Merge: 2d119d0 6daf5f3
478 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
479 Date:   2020-12-01 11:35:59 +0100
480
481     Merge pull request #1292 from rouault/fix_1286
482     
483     Encoder: avoid global buffer overflow on irreversible conversion when…
484
485 commit 6daf5f3e1ec6eff03b7982889874a3de6617db8d
486 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
487 Date:   2020-11-30 22:37:07 +0100
488
489     Encoder: avoid global buffer overflow on irreversible conversion when too many decomposition levels are specified (fixes #1286)
490
491 commit 2d119d03a0c9f5e3b6c2a70c30cbdcea4857b40a
492 Merge: b207240 1aa3c60
493 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
494 Date:   2020-11-30 23:28:31 +0100
495
496     Merge pull request #1291 from rouault/tnsot_zero_missing_eoc
497     
498     Decoding: deal with some SPOT6 images that have tiles with a single tile-part with TPsot == 0 and TNsot == 0, and with missing EOC
499
500 commit b2072402b7e14d22bba6fb8cde2a1e9996e9a919
501 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
502 Date:   2020-11-30 22:31:51 +0100
503
504     pngtoimage(): fix wrong computation of x1,y1 if -d option is used, that would result in a heap buffer overflow (fixes #1284)
505
506 commit 1aa3c60859ab2a3edb7a68682f131c6b3a91da72
507 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
508 Date:   2020-11-30 17:36:27 +0100
509
510     Decoding: deal with some SPOT6 images that have tiles with a single tile-part with TPsot == 0 and TNsot == 0, and with missing EOC
511
512 commit a2b2980a4bcb4d3903375de31495f99dde0e98a8
513 Merge: 0c0f27f 4f48779
514 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
515 Date:   2020-11-27 14:25:11 +0100
516
517     Merge pull request #1288 from zodf0055980/master
518     
519     Free p_tcd_marker_info to avoid memory leak
520
521 commit 4f487798bac3eea5ffa07d3cc542f675c4b4d9ae
522 Author: yuan &lt;zodf0055980@gmail.com&gt;
523 Date:   2020-11-26 00:22:49 +0800
524
525     Free p_tcd_marker_info to avoid memory leak
526
527 commit 0c0f27f17d431d98d190f30bec3879f434512158
528 Merge: 15cf3d9 649298d
529 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
530 Date:   2020-11-25 16:59:46 +0100
531
532     Merge pull request #1287 from zodf0055980/master
533     
534     Encoder: grow again buffer size
535
536 commit 649298dcf84b2f20cfe458d887c1591db47372a6
537 Author: yuan &lt;zodf0055980@gmail.com&gt;
538 Date:   2020-11-25 20:41:39 +0800
539
540     Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
541
542 commit 15cf3d95814dc931ca0ecb132f81cb152e051bae
543 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
544 Date:   2020-11-23 18:14:02 +0100
545
546     Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
547
548 commit eaa098b59b346cb88e4d10d505061f669d7134fc
549 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
550 Date:   2020-11-23 13:49:05 +0100
551
552     Encoder: grow buffer size in opj_tcd_code_block_enc_allocate_data() to avoid write heap buffer overflow in opj_mqc_flush (fixes #1283)
553
554 commit 67ec360f48aeded95d06578e717bdf40a8e6d16f
555 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
556 Date:   2020-11-23 13:38:27 +0100
557
558     Fix typo in internal function name
559
560 commit 491299eb073c80602ca8ee333303a31a581d3fa8
561 Merge: 65c8f57 1c5627e
562 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
563 Date:   2020-10-09 13:25:27 +0200
564
565     Merge pull request #1253 from rouault/floating_point_irreversible_encoding
566     
567     Single-threaded performance improvements in forward DWT for 5-3 and 9-7 (and other improvements)
568
569 commit 65c8f577d2f057e80040e98958eae80ca76c6b94
570 Author: Pei JIA &lt;jiapei@longervision.com&gt;
571 Date:   2020-09-23 02:34:31 -0700
572
573     Bump Java compatibility from 1.5 to 1.6 (#1263)
574
575 commit 0f16986738725799237548ce6a2ea12516850e72
576 Merge: cbee789 0863ccf
577 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
578 Date:   2020-09-16 11:52:10 +0200
579
580     Merge pull request #1276 from rouault/fix_1243
581     
582     Encoder: avoid uint32 overflow when allocating memory for codestream buffer (fixes #1243)
583
584 commit 0863ccf291238de15ca00da366b4c40fa9ffb673
585 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
586 Date:   2020-09-16 11:27:53 +0200
587
588     Encoder: avoid uint32 overflow when allocating memory for codestream buffer (fixes #1243)
589
590 commit cbee7891a0ee664dd83ca09553d2e30da716a883
591 Merge: 172c8ae e8e258a
592 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
593 Date:   2020-06-30 22:05:13 +0200
594
595     Merge pull request #1262 from rouault/fix_1261
596     
597     opj_decompress: fix double-free on input directory with mix of valid and invalid images
598
599 commit e8e258ab049240c2dd1f1051b4e773b21e2d3dc0
600 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
601 Date:   2020-06-28 14:19:59 +0200
602
603     opj_decompress: fix double-free on input directory with mix of valid and invalid images (CVE-2020-15389)
604     
605     Fixes #1261
606     
607     Credits to @Ruia-ruia for reporting and analysis.
608
609 commit 172c8ae5cf230ff74b5814daf29e5b577aa30a9b
610 Merge: e252438 b028e8d
611 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
612 Date:   2020-06-22 22:35:44 +0200
613
614     Merge pull request #1260 from sebras/fix-issue-1259
615     
616     openjp2: Plug image leak when failing to allocate codestream index.
617
618 commit e252438d5e23e6ba9561e73a5a4754713bfd626a
619 Merge: 98150d0 79b199a
620 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
621 Date:   2020-06-22 22:12:08 +0200
622
623     Merge pull request #1258 from sebras/fix-issue-1257
624     
625     openjp2: Plug memory leak when setting data as TLS fails.
626
627 commit b028e8d1ce7798f61c35b1b20d836f80d78a35d0
628 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
629 Date:   2020-06-23 02:18:19 +0800
630
631     openjp2: Plug image leak when failing to allocate codestream index.
632     
633     This fixes issue #1259.
634
635 commit 79b199a8fee2a0d51d4389fcde3f5f4dd01971eb
636 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
637 Date:   2020-06-23 02:18:19 +0800
638
639     openjp2: Plug memory leak when setting data as TLS fails.
640     
641     Previously the Tier 1 handle was not freed when setting it as
642     TLS failed.
643     
644     This fixes issue #1257.
645
646 commit 98150d09422149305c9c8648337a744df5786fbe
647 Merge: 25fb144 93b9f72
648 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
649 Date:   2020-06-22 21:03:23 +0200
650
651     Merge pull request #1256 from sebras/master
652     
653     openjp2: Error out if failing to create Tier 1 handle.
654
655 commit 93b9f7236ce09614ea5edcb0f616f1b4095c4830
656 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
657 Date:   2020-06-23 02:18:19 +0800
658
659     openjp2: Error out if failing to create Tier 1 handle.
660     
661     Previously when the handle failed to be created (e.g. when
662     opj_calloc returned NULL due to low memory), the code still
663     assumed that the t1 handle pointer was valid and dereferenced
664     NULL, causing a crash. After this commit OpenJPEG will instead
665     error out under this condition.
666     
667     This fixes issue #1255.
668
669 commit 25fb144c42f97489594302e1e6ff886791e0a5b3
670 Author: szukw000 &lt;szukw000@arcor.de&gt;
671 Date:   2020-06-10 17:40:50 +0200
672
673     Testing for invalid values of width, height, numcomps (#1254)
674
675 commit 1c5627ee7406f84cfb40809b7ac31c63342427df
676 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
677 Date:   2020-05-24 15:38:21 +0200
678
679     T1 encoder: speed-up by aggressive inlining and more cache friendly data organization
680     
681     ~ 9% speed improvement seen on 10980x10980 uint16 image, T36JTT_20160914T074612_B02.tif
682     opj_compress time from 17.2s to 15.8s
683
684 commit 1e931fdb3655c64ab60ea5657f79309331a86485
685 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
686 Date:   2020-05-22 23:57:51 +0200
687
688     Forward DWT 9-7: major speed up by vectorizing vertical pass
689     
690     `bench_dwt -I -encode` times goes from 8.6s to 2.1s
691
692 commit a38e970fa59abd796c703ec469e578b09f7ffa33
693 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
694 Date:   2020-05-22 17:50:15 +0200
695
696     Forward DWT 5-3: major speed up by vectorizing vertical pass
697     
698     `bench_dwt -encode` times goes from 7.9s to 1.7s
699
700 commit e69fa09f604bc472f9fbff5c2b2db65e8dbe2418
701 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
702 Date:   2020-05-22 15:58:47 +0200
703
704     Forward DWT: small code refactoring to allow future improvements for the vertical pass
705
706 commit 33d3d0de07be710f53940c7548b9f2bd58ff3210
707 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
708 Date:   2020-05-22 15:06:29 +0200
709
710     dwt.c: remove unused typedef
711
712 commit 97b384aecdeea0c286213f5caf6244ec08ea32d7
713 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
714 Date:   2020-05-22 15:03:40 +0200
715
716     Forward DWT 5x3: performance improvements in horizontal pass, and modest in vertical pass
717
718 commit bd5f5ee7dea851aedae630fee094ef3b0ff0c888
719 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
720 Date:   2020-05-21 21:20:19 +0200
721
722     Forward DWT: small code refactoring to allow future improvements for the horizontal pass
723
724 commit 45a35223b79dee65a0059f999b690072e829669f
725 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
726 Date:   2020-05-21 16:54:48 +0200
727
728     Speed-up 9x7 IDWD by ~30% with OPJ_NUM_THREADS=2
729     
730     "bench_dwt -I" time goes from 2.2s to 1.5s
731
732 commit 272b3e0fb2530ca8bffdc8c64f1505a8ff5f6ecc
733 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
734 Date:   2020-05-21 11:24:29 +0200
735
736     Remove useless + 5U margin in opj_dwt_decode_tile_97()
737     
738     Nothing in code analysis nor test suite shows that this margin is
739     needed.
740     It dates back to commit dbeebe72b9d35f6ff807c21c7f217b569fa894f6
741     where vector 9x7 decoding was introduced.
742
743 commit 47943daa15983d20ab1ffd0a237125f1493c5658
744 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
745 Date:   2020-05-21 11:23:00 +0200
746
747     Speed-up 9x7 IDWD by ~20%
748     
749     "bench_dwt -I" time goes from 2.8s to 2.2s
750
751 commit 0c09062464fe74f62fb9a4da829992c6a8bd7920
752 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
753 Date:   2020-05-20 23:20:48 +0200
754
755     bench_dwt.c: add a -I switch to test irreversible FWDT/IDWT
756
757 commit 19ef7f26c43f689b627aad642da7f6150893b863
758 Merge: 1d358f2 f3ee448
759 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
760 Date:   2020-05-20 21:10:55 +0200
761
762     Merge pull request #1211 from sebras/master
763     
764     Add check to validate SGcod/SPcoc/SPcod parameter values.
765
766 commit adccbc8336ce5c46ca7de85ac364d9c992d337c7
767 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
768 Date:   2020-05-20 19:24:09 +0200
769
770     Irreversible decoding: partially revert previous commit, to fix failures in test suite
771
772 commit 1d358f25c8eabbc7c274bcc148f4f5d594ec13fe
773 Merge: 64689d0 4edb8c8
774 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
775 Date:   2020-05-20 20:29:31 +0200
776
777     Merge pull request #1246 from rouault/write_plt
778     
779     Add support for generation of PLT markers in encoder
780
781 commit 4edb8c83374f52cd6a8f2c7c875e8ffacccb5fa5
782 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
783 Date:   2020-04-21 15:55:44 +0200
784
785     Add support for generation of PLT markers in encoder
786     
787     * -PLT switch added to opj_compress
788     * Add a opj_encoder_set_extra_options() function that
789       accepts a PLT=YES option, and could be expanded later
790       for other uses.
791     
792     -------
793     
794     Testing with a Sentinel2 10m band, T36JTT_20160914T074612_B02.jp2,
795     coming from S2A_MSIL1C_20160914T074612_N0204_R135_T36JTT_20160914T081456.SAFE
796     
797     Decompress it to TIFF:
798     ```
799     opj_uncompress -i T36JTT_20160914T074612_B02.jp2 -o T36JTT_20160914T074612_B02.tif
800     ```
801     
802     Recompress it with similar parameters as original:
803     ```
804     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
805     ```
806     
807     Dump codestream detail with GDAL dump_jp2.py utility (https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/samples/dump_jp2.py)
808     ```
809     python dump_jp2.py T36JTT_20160914T074612_B02.jp2 &gt; /tmp/dump_sentinel2_ori.txt
810     python dump_jp2.py T36JTT_20160914T074612_B02_PLT.jp2 &gt; /tmp/dump_sentinel2_openjpeg_plt.txt
811     ```
812     
813     The diff between both show very similar structure, and identical number of packets in PLT markers
814     
815     Now testing with Kakadu (KDU803_Demo_Apps_for_Linux-x86-64_200210)
816     
817     Full file decompression:
818     ```
819     kdu_expand -i T36JTT_20160914T074612_B02_PLT.jp2 -o tmp.tif
820     
821     Consumed 121 tile-part(s) from a total of 121 tile(s).
822     Consumed 80,318,806 codestream bytes (excluding any file format) = 5.329697
823     bits/pel.
824     Processed using the multi-threaded environment, with
825         8 parallel threads of execution
826     ```
827     
828     Partial decompresson (presumably using PLT markers):
829     ```
830     kdu_expand -i T36JTT_20160914T074612_B02.jp2 -o tmp.pgm -region "{0.5,0.5},{0.01,0.01}"
831     kdu_expand -i T36JTT_20160914T074612_B02_PLT.jp2 -o tmp2.pgm  -region "{0.5,0.5},{0.01,0.01}"
832     diff tmp.pgm tmp2.pgm &amp;& echo "same !"
833     ```
834     
835     -------
836     
837     Funded by ESA for S2-MPC project
838
839 commit 64689d05dfaaf52105581d93fb1eb173b20829a4
840 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
841 Date:   2020-04-18 18:25:44 +0200
842
843     struct opj_j2k: remove unused fields, and add some documentation
844
845 commit 774889a328abd5d3c280d9a897f1ac4c672cb0e5
846 Merge: b6b7e96 271a71e
847 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
848 Date:   2020-04-17 00:39:46 +0200
849
850     Merge pull request #1244 from rouault/fix_pi_warnings
851     
852     Fix warnings about signed/unsigned casts in pi.c
853
854 commit b6b7e96b0cf7819ef6a2e8ba2f8bdaaf938326ed
855 Author: szukw000 &lt;szukw000@arcor.de&gt;
856 Date:   2020-04-17 00:37:33 +0200
857
858     color_apply_icc_profile: add checks on the number of components (#1236)
859
860 commit 271a71ef0f1dd4740c9f4474279c7da8d15850c9
861 Author: Even Rouault &lt;even.rouault@spatialys.com&gt;
862 Date:   2020-04-16 20:52:44 +0200
863
864     Fix warnings about signed/unsigned casts in pi.c
865
866 commit f3ee448815eb992b8d4746e32c05e8289f30415f
867 Author: Sebastian Rasmussen &lt;sebras@gmail.com&gt;
868 Date:   2018-10-31 15:56:11 +0100
869
870     openjp2/j2k: Validate all SGcod/SPcod/SPcoc parameter values.
871     
872     Previously the multiple component transformation SGcod(C)
873     and wavelet transformation SPcod(H)/SPcoc(E) parameter
874     values were never checked, allowing for out of range values.
875     
876     The lack of validation allowed the bit stream provided in
877     issue #1158 through. After this commit an error message
878     points to the marker segments' parameters as being out of
879     range.
880     
881     input/nonregression/edf_c2_20.jp2 contains an SPcod(H) value
882     of 17, but according to Table A-20 of the specification only
883     values 0 and 1 are valid. input/nonregression/issue826.jp2
884     contains a SGcod(B) value of 2, but according to Table A-17
885     of the specification only values 0 and 1 are valid.
886     input/nonregression/oss-fuzz2785.jp2 contains a SGcod(B)
887     value of 32, but it is likewise limited to 0 or 1. These test
888     cases have been updated to consistently fail to parse the
889     headers since they contain out of bounds values.
890     
891     This fixes issue #1210.
892
893 ...</pre></div>
894
895 </body>
896 </html>