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">
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" />
12 OpenJPEG current: changelog
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/>
21 <h1>Changelog from Git</h1><br/><br/>
22 <div class='changelog'>
23 <pre class='wrap'>commit 2624908517ac0489ff1b5471f423dfe84d79da08
24 Merge: e7d908d b5ec98f
25 Author: Even Rouault <even.rouault@spatialys.com>
26 Date: 2021-06-07 15:48:42 +0200
28 Merge pull request #1360 from rouault/travis_gcc_4_8_fix
30 .travis.yml: try to fix gcc 4.8 config by updating to xenial
32 commit b5ec98f14f1947bc75eb76969ad5322490ae8e4c
33 Author: Even Rouault <even.rouault@spatialys.com>
34 Date: 2021-06-07 15:41:39 +0200
36 .travis.yml: try to fix gcc 4.8 config by updating to xenial
38 commit e7d908d201a0fef9a619a537dae241341975cab9
39 Merge: 7e4e09a f0629cb
40 Author: Even Rouault <even.rouault@spatialys.com>
41 Date: 2021-06-07 13:56:11 +0200
43 Merge pull request #1358 from rouault/compiler_warning_fixes
45 Fix various compiler warnings
47 commit f0629cb1c4c485d905936413556deb2872ac51e5
48 Author: Even Rouault <even.rouault@spatialys.com>
49 Date: 2021-06-07 13:28:26 +0200
51 Fix various compiler warnings
53 commit 7e4e09a7fb2ee0de857227771b22abff54448cd4
54 Author: Even Rouault <even.rouault@spatialys.com>
55 Date: 2021-06-07 12:57:30 +0200
57 openjpeg.c: avoid casts of function pointers
59 commit adb888920edb8477a271e640e5640237e2b4c0bb
60 Merge: b6b8d28 99c28c9
61 Author: Even Rouault <even.rouault@spatialys.com>
62 Date: 2021-06-01 22:59:11 +0200
64 Merge pull request #1354 from msabwat/emscripten
66 fix #1345: don't remove big endian test for other platforms
68 commit 99c28c960c18bfc0a4da5ec24adcedff1f1b143c
69 Author: Mehdi Sabwat <mehdi@videolabs.io>
70 Date: 2021-06-01 22:39:27 +0200
72 fix #1345: don't remove big endian test for other platforms
74 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.
76 commit b6b8d28b3a85b74ff5415565cff2c20c019ca3c5
77 Merge: 8aaafe6 238e849
78 Author: Even Rouault <even.rouault@spatialys.com>
79 Date: 2021-05-07 11:22:13 +0200
81 Merge pull request #1345 from msabwat/emscripten
83 emscripten: disable big endian test
85 commit 238e849746e35232134533d826fdd2420d2e0274
86 Author: Mehdi Sabwat <mehdisabwat@gmail.com>
87 Date: 2021-04-26 15:37:44 +0200
89 emscripten: disable big endian test
91 This test should not run on the emscripten platform because of :
92 https://github.com/emscripten-core/emscripten/blob/dff33368427fba16745c8ce52f11484a67b2855d/cmake/Modules/TestBigEndian.cmake#L5
94 commit 8aaafe69958f3528db4e59b50cbc49494262c7b5
95 Author: Jamaika1 <lukaszcz18@wp.pl>
96 Date: 2021-05-06 19:30:34 +0200
98 Import files tiff and yuv(raw) (#1316)
100 commit 5f653ad673cf0f141801c1c4a810028a9876b5e5
101 Merge: 05263ee 85a87cd
102 Author: Even Rouault <even.rouault@spatialys.com>
103 Date: 2021-05-06 13:40:43 +0200
105 Merge pull request #1350 from rouault/remove_jpwl_jp3d_mj2
107 Remove obsolete components JPWL, JP3D and MJ2
109 commit 85a87cd505f37027c4b74363b529a1e166e32651
110 Author: Even Rouault <even.rouault@spatialys.com>
111 Date: 2021-05-04 19:21:45 +0200
113 Remove obsolete components JPWL, JP3D and MJ2
115 commit 05263eeee9bc666184a39cd2a83a7214cc83ec27
116 Merge: 0bda718 9727f3a
117 Author: Even Rouault <even.rouault@spatialys.com>
118 Date: 2021-05-04 19:15:06 +0200
120 Merge pull request #1348 from rouault/fix_kdu
122 tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries
124 commit 9727f3ac69a7cd1ca00518c56ef1071881c03c71
125 Author: Even Rouault <even.rouault@spatialys.com>
126 Date: 2021-05-04 18:55:43 +0200
128 .travis.yml: disable tests that no longer pass for unknown reason
130 commit 92c0471154960d50ebe68b363f4bb1e2c1e4d775
131 Author: Even Rouault <even.rouault@spatialys.com>
132 Date: 2021-05-04 16:27:05 +0200
134 tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries
136 commit 0bda7188b7b545232a341f1d978b1e4feda46fc2
137 Merge: 0782cd0 4d0b49e
138 Author: Even Rouault <even.rouault@spatialys.com>
139 Date: 2021-01-10 23:58:37 +0100
141 Merge pull request #1321 from ffontaine/master
143 Fix cmake file with DESTDIR
145 commit 4d0b49edad7fb31ebbf03c60a45b72aaa7b7412b
146 Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
147 Date: 2021-01-07 14:11:26 +0100
149 cmake/OpenJPEGConfig.cmake: replace ABSOLUTE by REALPATH
151 Fix #1174 by replacing ABSOLUTE by REALPATH which will resolve symlinks:
152 https://cmake.org/cmake/help/latest/command/get_filename_component.html
154 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
156 commit 14f4c27e7c91f745a1dda9991b5deea3cbef2072
157 Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
158 Date: 2021-01-07 14:09:50 +0100
160 Revert "Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)"
162 This reverts commit 65586374d639cfc0104419992f9022174b412594 which
163 breaks cross-compilation of poppler under buildroot (because of
166 commit 0782cd075d7e9678bf1cb448c1f3d048fabe4489
167 Merge: 07a4543 b6f0e41
168 Author: Even Rouault <even.rouault@spatialys.com>
169 Date: 2021-01-04 19:42:30 +0100
171 Merge pull request #867 from pseiderer/fix-lcms2-static-linking-using-pgk-config
173 Fix lcms2 static linking using pgk config
175 commit b6f0e41399f2e67117de2641b169f4400260be57
176 Author: Peter Seiderer <ps.report@gmx.net>
177 Date: 2016-11-11 23:35:13 +0100
179 thirdparty: lcms2: append flags found by pkg-config if available
181 This change allows to get all required CFLAGS/LDFLAGS in case of static only
184 Fixes a buildroot build failure (see [1], [2] and [3]).
186 [1] http://autobuild.buildroot.net/results/5ce/5cee20afd8bef5268832cddcb3a5270746be7a57
187 [2] http://lists.busybox.net/pipermail/buildroot/2016-November/177187.html
188 [3] http://lists.busybox.net/pipermail/buildroot/2016-November/177188.html
190 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
192 Depends on https://github.com/uclouvain/openjpeg/pull/866
194 commit 07a454324cfeb431ee3fc3799df522dff252b12b
195 Merge: eb27272 75a7f1a
196 Author: Even Rouault <even.rouault@spatialys.com>
197 Date: 2021-01-04 14:06:43 +0100
199 Merge pull request #866 from tSed/master
201 fix static build only against tiff and its indirect dependencies
203 commit eb27272a79cd81256e475b9aad8461fda8b7f989
204 Merge: 2519439 4d147d9
205 Author: Even Rouault <even.rouault@spatialys.com>
206 Date: 2021-01-04 10:45:52 +0100
208 Merge pull request #1317 from ffontaine/master
210 CMakeLists.txt: Don't require a C++ compiler
212 commit 4d147d9630653e4c93a70a2a8026c323ed1042d2
213 Author: Peter Korsgaard <peter@korsgaard.com>
214 Date: 2021-01-04 09:05:42 +0100
216 CMakeLists.txt: Don't require a C++ compiler
218 By default, CMake assumes that the project is using both C and C++. By
219 explicitly passing 'C' as argument of the project() macro, we tell CMake
220 that only C is used, which prevents CMake from erroring out if a C++
221 compiler doesn't exist.
223 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
224 [Retrieved (and slightly updated by adding enable_language(CXX) if
225 WITH_ASTYLE is set) from:
226 https://git.buildroot.net/buildroot/tree/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch]
227 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
229 commit 2519439d7d4d0e51abf479afe73f30b1c7c70530
230 Author: Even Rouault <even.rouault@spatialys.com>
231 Date: 2020-12-31 14:54:59 +0100
235 commit 433edd0eea934e25f6e97aaf912ebed191fa41d1
236 Author: Antonin Descampe <antonin@descampe.net>
237 Date: 2020-12-31 11:06:28 +0100
239 patch provided 3rdparty zlib to work with MacOS
241 commit 4db0c8d5aef53dd6eebc730e5a189cf9bf9bae6c
242 Author: Even Rouault <even.rouault@spatialys.com>
243 Date: 2020-12-29 15:34:19 +0100
247 commit 43b8ddc6af015715b2fbda2052a17b29d1538df7
248 Author: Even Rouault <even.rouault@spatialys.com>
249 Date: 2020-12-29 15:01:40 +0100
251 Comment back opj_previous_version in abi_check.sh
253 commit b93996d5e018b3d9525acf406053d8b46240f914
254 Author: Even Rouault <even.rouault@spatialys.com>
255 Date: 2020-12-29 14:46:50 +0100
257 abi_check.sh: Update version number for automatic abi check
259 commit b897e2cb369b6944d791209f491f382a983cda87
260 Merge: 37ac30c 7dd5497
261 Author: Even Rouault <even.rouault@spatialys.com>
262 Date: 2020-12-28 22:58:58 +0100
264 Merge pull request #1312 from stweil/news
268 commit 7dd5497b15a33a8020bf1ab116f649328b037a89
269 Author: Stefan Weil <sw@weilnetz.de>
270 Date: 2020-12-28 22:52:34 +0100
274 Signed-off-by: Stefan Weil <sw@weilnetz.de>
276 commit 37ac30ceff6640bbab502388c5e0fa0bff23f505
277 Author: Even Rouault <even.rouault@spatialys.com>
278 Date: 2020-12-28 21:55:55 +0100
282 commit a335b4d008359a32656026fa6780ef185b35cf0a
283 Merge: 4980f46 0c2b633
284 Author: Even Rouault <even.rouault@spatialys.com>
285 Date: 2020-12-28 21:49:48 +0100
287 Merge pull request #1310 from Jamaika1/patch-1
291 commit 4980f46210f19bd2d83dffdfeb8496f29d68b9c9
292 Merge: 6c5acd4 aaddbc7
293 Author: Even Rouault <even.rouault@spatialys.com>
294 Date: 2020-12-28 19:05:14 +0100
296 Merge pull request #1307 from cygwin-lem/pr_use-OPENJPEG_INSTALL_DOC_DIR-to-DESTINATION-of-HTMLs
298 Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
300 commit 6c5acd4d656870882432ff28d4103de80d109a8d
301 Merge: 98a4c5c 5d494a7
302 Author: Even Rouault <even.rouault@spatialys.com>
303 Date: 2020-12-28 19:04:28 +0100
305 Merge pull request #1308 from timgates42/bugfix_typo_produced
307 docs: fix simple typo, producted -> produced
309 commit 0c2b633992417c8794470c9932e3c75447c8ab13
310 Author: Jamaika1 <lukaszcz18@wp.pl>
311 Date: 2020-12-21 07:59:12 +0100
315 commit 5d494a7e8b9591a8923f387679c692b5c1f45e5a
316 Author: Tim Gates <tim.gates@iress.com>
317 Date: 2020-12-16 21:19:17 +1100
319 docs: fix simple typo, producted -> produced
321 There is a small typo in thirdparty/include/zlib.h, thirdparty/libz/zlib.h.
323 Should read `produced` rather than `producted`.
325 commit aaddbc7c07f00f0704da4db7616e6dc7448e5f07
326 Author: Lemures Lemniscati <lemures.lemniscati@gmail.com>
327 Date: 2020-12-14 23:00:04 +0900
329 Set ${OPENJPEG_INSTALL_DOC_DIR} to DESTINATION of HTMLs
331 Use ${OPENJPEG_INSTALL_DOC_DIR} as DESTINATION of HTML documents,
332 instead of share/doc.
334 commit 98a4c5c3709e0cc43b0a1c151ed5bd85a2d607fa
335 Merge: 5d0a8b0 6558637
336 Author: Even Rouault <even.rouault@spatialys.com>
337 Date: 2020-12-10 15:55:41 +0100
339 Merge pull request #1306 from matthew-sharp/master
341 Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
343 commit 65586374d639cfc0104419992f9022174b412594
344 Author: Matthew Sharp <sharpshopter@gmail.com>
345 Date: 2020-12-10 10:17:46 +1100
347 Use INC_DIR for OPENJPEG_INCLUDE_DIRS (fixes uclouvain#1174)
348 This fixes the case where the cmake file is accessed via a symlink.
350 commit 5d0a8b08dcd3bcdf532c54702b5a88ec61b17918
351 Merge: 43dd9ee 8f5aff1
352 Author: Even Rouault <even.rouault@spatialys.com>
353 Date: 2020-12-05 11:39:23 +0100
355 Merge pull request #1304 from rouault/fix_1302
357 pi.c: avoid out of bounds access with POC (fixes #1302)
359 commit 8f5aff1dff510a964d3901d0fba281abec98ab63
360 Author: Even Rouault <even.rouault@spatialys.com>
361 Date: 2020-12-04 20:45:25 +0100
363 pi.c: avoid out of bounds access with POC (fixes #1302)
365 commit 43dd9ee17894a22fa3df88b1e561274632d9ab43
366 Merge: aaff099 4ce7d28
367 Author: Even Rouault <even.rouault@spatialys.com>
368 Date: 2020-12-04 20:37:43 +0100
370 Merge pull request #1303 from zodf0055980/fix#1283
372 Encoder: grow again buffer size
374 commit 4ce7d285a55d29b79880d0566d4b010fe1907aa9
375 Author: yuan <zodf0055980@gmail.com>
376 Date: 2020-12-04 19:00:22 +0800
378 Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
380 commit aaff099b49365cfecfc475ada48b9244c6eefc9c
381 Merge: fb9eae5 73fdf28
382 Author: Even Rouault <even.rouault@spatialys.com>
383 Date: 2020-12-02 23:56:57 +0100
385 Merge pull request #1301 from rouault/fix_1299
387 opj_j2k_write_sod(): avoid potential heap buffer overflow (fixes #1299) (probably master only)
389 commit fb9eae5d637d06209a6cb9ca57960ac72179ee14
390 Merge: fc6abdb 00383e1
391 Author: Even Rouault <even.rouault@spatialys.com>
392 Date: 2020-12-02 23:56:39 +0100
394 Merge pull request #1300 from rouault/complement_1293
396 pi.c: avoid out of bounds access with POC (refs https://github.com/uclouvain/openjpeg/issues/1293#issuecomment-737122836)
398 commit fc6abdbeb7aa427685c28a9ebfd2e653c10999b3
399 Merge: 18b1138 38d661a
400 Author: Even Rouault <even.rouault@spatialys.com>
401 Date: 2020-12-02 23:56:30 +0100
403 Merge pull request #1298 from rouault/fix_1297
405 opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
407 commit 73fdf28342e4594019af26eb6a347a34eceb6296
408 Author: Even Rouault <even.rouault@spatialys.com>
409 Date: 2020-12-02 14:10:16 +0100
411 opj_j2k_write_sod(): avoid potential heap buffer overflow (fixes #1299) (probably master only)
413 commit 00383e162ae2f8fc951f5745bf1011771acb8dce
414 Author: Even Rouault <even.rouault@spatialys.com>
415 Date: 2020-12-02 14:02:17 +0100
417 pi.c: avoid out of bounds access with POC (refs https://github.com/uclouvain/openjpeg/issues/1293#issuecomment-737122836)
419 commit 38d661a3897052c7ff0b39b30c29cb067e130121
420 Author: Even Rouault <even.rouault@spatialys.com>
421 Date: 2020-12-02 13:13:26 +0100
423 opj_t2_encode_packet(): avoid out of bound access of #1297, but likely not the proper fix
425 commit 18b1138fbe3bb0ae4aa2bf1369f9430a8ec6fa00
426 Merge: 630b485 c9380ed
427 Author: Even Rouault <even.rouault@spatialys.com>
428 Date: 2020-12-02 10:05:39 +0100
430 Merge pull request #1295 from rouault/fix_1293
432 opj_j2k_setup_encoder(): validate POC compno0 and compno1 (fixes #1293)
434 commit 630b485f86a6b0bb6fa03b698b8c5358df88d055
435 Merge: 61ff143 fbd30b0
436 Author: Even Rouault <even.rouault@spatialys.com>
437 Date: 2020-12-02 10:05:31 +0100
439 Merge pull request #1296 from rouault/workaround_1294
441 opj_t2_encode_packet(): avoid out of bound access of #1294, but likely not the proper fix
443 commit c9380ed0f8cc4794fc71d556ea23ae61e32247af
444 Author: Even Rouault <even.rouault@spatialys.com>
445 Date: 2020-12-01 19:39:09 +0100
447 opj_j2k_setup_encoder(): validate POC compno0 (fixes #1293)
449 commit fbd30b064f8f9607d500437b6fedc41431fd6cdc
450 Author: Even Rouault <even.rouault@spatialys.com>
451 Date: 2020-12-01 19:51:35 +0100
453 opj_t2_encode_packet(): avoid out of bound access of #1294, but likely not the proper fix
455 commit 61ff143ad63b9bbe12b6da266f8619b2cb2c3559
456 Merge: 2d119d0 6daf5f3
457 Author: Even Rouault <even.rouault@spatialys.com>
458 Date: 2020-12-01 11:35:59 +0100
460 Merge pull request #1292 from rouault/fix_1286
462 Encoder: avoid global buffer overflow on irreversible conversion when…
464 commit 6daf5f3e1ec6eff03b7982889874a3de6617db8d
465 Author: Even Rouault <even.rouault@spatialys.com>
466 Date: 2020-11-30 22:37:07 +0100
468 Encoder: avoid global buffer overflow on irreversible conversion when too many decomposition levels are specified (fixes #1286)
470 commit 2d119d03a0c9f5e3b6c2a70c30cbdcea4857b40a
471 Merge: b207240 1aa3c60
472 Author: Even Rouault <even.rouault@spatialys.com>
473 Date: 2020-11-30 23:28:31 +0100
475 Merge pull request #1291 from rouault/tnsot_zero_missing_eoc
477 Decoding: deal with some SPOT6 images that have tiles with a single tile-part with TPsot == 0 and TNsot == 0, and with missing EOC
479 commit b2072402b7e14d22bba6fb8cde2a1e9996e9a919
480 Author: Even Rouault <even.rouault@spatialys.com>
481 Date: 2020-11-30 22:31:51 +0100
483 pngtoimage(): fix wrong computation of x1,y1 if -d option is used, that would result in a heap buffer overflow (fixes #1284)
485 commit 1aa3c60859ab2a3edb7a68682f131c6b3a91da72
486 Author: Even Rouault <even.rouault@spatialys.com>
487 Date: 2020-11-30 17:36:27 +0100
489 Decoding: deal with some SPOT6 images that have tiles with a single tile-part with TPsot == 0 and TNsot == 0, and with missing EOC
491 commit a2b2980a4bcb4d3903375de31495f99dde0e98a8
492 Merge: 0c0f27f 4f48779
493 Author: Even Rouault <even.rouault@spatialys.com>
494 Date: 2020-11-27 14:25:11 +0100
496 Merge pull request #1288 from zodf0055980/master
498 Free p_tcd_marker_info to avoid memory leak
500 commit 4f487798bac3eea5ffa07d3cc542f675c4b4d9ae
501 Author: yuan <zodf0055980@gmail.com>
502 Date: 2020-11-26 00:22:49 +0800
504 Free p_tcd_marker_info to avoid memory leak
506 commit 0c0f27f17d431d98d190f30bec3879f434512158
507 Merge: 15cf3d9 649298d
508 Author: Even Rouault <even.rouault@spatialys.com>
509 Date: 2020-11-25 16:59:46 +0100
511 Merge pull request #1287 from zodf0055980/master
513 Encoder: grow again buffer size
515 commit 649298dcf84b2f20cfe458d887c1591db47372a6
516 Author: yuan <zodf0055980@gmail.com>
517 Date: 2020-11-25 20:41:39 +0800
519 Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
521 commit 15cf3d95814dc931ca0ecb132f81cb152e051bae
522 Author: Even Rouault <even.rouault@spatialys.com>
523 Date: 2020-11-23 18:14:02 +0100
525 Encoder: grow again buffer size in opj_tcd_code_block_enc_allocate_data() (fixes #1283)
527 commit eaa098b59b346cb88e4d10d505061f669d7134fc
528 Author: Even Rouault <even.rouault@spatialys.com>
529 Date: 2020-11-23 13:49:05 +0100
531 Encoder: grow buffer size in opj_tcd_code_block_enc_allocate_data() to avoid write heap buffer overflow in opj_mqc_flush (fixes #1283)
533 commit 67ec360f48aeded95d06578e717bdf40a8e6d16f
534 Author: Even Rouault <even.rouault@spatialys.com>
535 Date: 2020-11-23 13:38:27 +0100
537 Fix typo in internal function name
539 commit 491299eb073c80602ca8ee333303a31a581d3fa8
540 Merge: 65c8f57 1c5627e
541 Author: Even Rouault <even.rouault@spatialys.com>
542 Date: 2020-10-09 13:25:27 +0200
544 Merge pull request #1253 from rouault/floating_point_irreversible_encoding
546 Single-threaded performance improvements in forward DWT for 5-3 and 9-7 (and other improvements)
548 commit 65c8f577d2f057e80040e98958eae80ca76c6b94
549 Author: Pei JIA <jiapei@longervision.com>
550 Date: 2020-09-23 02:34:31 -0700
552 Bump Java compatibility from 1.5 to 1.6 (#1263)
554 commit 0f16986738725799237548ce6a2ea12516850e72
555 Merge: cbee789 0863ccf
556 Author: Even Rouault <even.rouault@spatialys.com>
557 Date: 2020-09-16 11:52:10 +0200
559 Merge pull request #1276 from rouault/fix_1243
561 Encoder: avoid uint32 overflow when allocating memory for codestream buffer (fixes #1243)
563 commit 0863ccf291238de15ca00da366b4c40fa9ffb673
564 Author: Even Rouault <even.rouault@spatialys.com>
565 Date: 2020-09-16 11:27:53 +0200
567 Encoder: avoid uint32 overflow when allocating memory for codestream buffer (fixes #1243)
569 commit cbee7891a0ee664dd83ca09553d2e30da716a883
570 Merge: 172c8ae e8e258a
571 Author: Even Rouault <even.rouault@spatialys.com>
572 Date: 2020-06-30 22:05:13 +0200
574 Merge pull request #1262 from rouault/fix_1261
576 opj_decompress: fix double-free on input directory with mix of valid and invalid images
578 commit e8e258ab049240c2dd1f1051b4e773b21e2d3dc0
579 Author: Even Rouault <even.rouault@spatialys.com>
580 Date: 2020-06-28 14:19:59 +0200
582 opj_decompress: fix double-free on input directory with mix of valid and invalid images (CVE-2020-15389)
586 Credits to @Ruia-ruia for reporting and analysis.
588 commit 172c8ae5cf230ff74b5814daf29e5b577aa30a9b
589 Merge: e252438 b028e8d
590 Author: Even Rouault <even.rouault@spatialys.com>
591 Date: 2020-06-22 22:35:44 +0200
593 Merge pull request #1260 from sebras/fix-issue-1259
595 openjp2: Plug image leak when failing to allocate codestream index.
597 commit e252438d5e23e6ba9561e73a5a4754713bfd626a
598 Merge: 98150d0 79b199a
599 Author: Even Rouault <even.rouault@spatialys.com>
600 Date: 2020-06-22 22:12:08 +0200
602 Merge pull request #1258 from sebras/fix-issue-1257
604 openjp2: Plug memory leak when setting data as TLS fails.
606 commit b028e8d1ce7798f61c35b1b20d836f80d78a35d0
607 Author: Sebastian Rasmussen <sebras@gmail.com>
608 Date: 2020-06-23 02:18:19 +0800
610 openjp2: Plug image leak when failing to allocate codestream index.
612 This fixes issue #1259.
614 commit 79b199a8fee2a0d51d4389fcde3f5f4dd01971eb
615 Author: Sebastian Rasmussen <sebras@gmail.com>
616 Date: 2020-06-23 02:18:19 +0800
618 openjp2: Plug memory leak when setting data as TLS fails.
620 Previously the Tier 1 handle was not freed when setting it as
623 This fixes issue #1257.
625 commit 98150d09422149305c9c8648337a744df5786fbe
626 Merge: 25fb144 93b9f72
627 Author: Even Rouault <even.rouault@spatialys.com>
628 Date: 2020-06-22 21:03:23 +0200
630 Merge pull request #1256 from sebras/master
632 openjp2: Error out if failing to create Tier 1 handle.
634 commit 93b9f7236ce09614ea5edcb0f616f1b4095c4830
635 Author: Sebastian Rasmussen <sebras@gmail.com>
636 Date: 2020-06-23 02:18:19 +0800
638 openjp2: Error out if failing to create Tier 1 handle.
640 Previously when the handle failed to be created (e.g. when
641 opj_calloc returned NULL due to low memory), the code still
642 assumed that the t1 handle pointer was valid and dereferenced
643 NULL, causing a crash. After this commit OpenJPEG will instead
644 error out under this condition.
646 This fixes issue #1255.
648 commit 25fb144c42f97489594302e1e6ff886791e0a5b3
649 Author: szukw000 <szukw000@arcor.de>
650 Date: 2020-06-10 17:40:50 +0200
652 Testing for invalid values of width, height, numcomps (#1254)
654 commit 1c5627ee7406f84cfb40809b7ac31c63342427df
655 Author: Even Rouault <even.rouault@spatialys.com>
656 Date: 2020-05-24 15:38:21 +0200
658 T1 encoder: speed-up by aggressive inlining and more cache friendly data organization
660 ~ 9% speed improvement seen on 10980x10980 uint16 image, T36JTT_20160914T074612_B02.tif
661 opj_compress time from 17.2s to 15.8s
663 commit 1e931fdb3655c64ab60ea5657f79309331a86485
664 Author: Even Rouault <even.rouault@spatialys.com>
665 Date: 2020-05-22 23:57:51 +0200
667 Forward DWT 9-7: major speed up by vectorizing vertical pass
669 `bench_dwt -I -encode` times goes from 8.6s to 2.1s
671 commit a38e970fa59abd796c703ec469e578b09f7ffa33
672 Author: Even Rouault <even.rouault@spatialys.com>
673 Date: 2020-05-22 17:50:15 +0200
675 Forward DWT 5-3: major speed up by vectorizing vertical pass
677 `bench_dwt -encode` times goes from 7.9s to 1.7s
679 commit e69fa09f604bc472f9fbff5c2b2db65e8dbe2418
680 Author: Even Rouault <even.rouault@spatialys.com>
681 Date: 2020-05-22 15:58:47 +0200
683 Forward DWT: small code refactoring to allow future improvements for the vertical pass
685 commit 33d3d0de07be710f53940c7548b9f2bd58ff3210
686 Author: Even Rouault <even.rouault@spatialys.com>
687 Date: 2020-05-22 15:06:29 +0200
689 dwt.c: remove unused typedef
691 commit 97b384aecdeea0c286213f5caf6244ec08ea32d7
692 Author: Even Rouault <even.rouault@spatialys.com>
693 Date: 2020-05-22 15:03:40 +0200
695 Forward DWT 5x3: performance improvements in horizontal pass, and modest in vertical pass
697 commit bd5f5ee7dea851aedae630fee094ef3b0ff0c888
698 Author: Even Rouault <even.rouault@spatialys.com>
699 Date: 2020-05-21 21:20:19 +0200
701 Forward DWT: small code refactoring to allow future improvements for the horizontal pass
703 commit 45a35223b79dee65a0059f999b690072e829669f
704 Author: Even Rouault <even.rouault@spatialys.com>
705 Date: 2020-05-21 16:54:48 +0200
707 Speed-up 9x7 IDWD by ~30% with OPJ_NUM_THREADS=2
709 "bench_dwt -I" time goes from 2.2s to 1.5s
711 commit 272b3e0fb2530ca8bffdc8c64f1505a8ff5f6ecc
712 Author: Even Rouault <even.rouault@spatialys.com>
713 Date: 2020-05-21 11:24:29 +0200
715 Remove useless + 5U margin in opj_dwt_decode_tile_97()
717 Nothing in code analysis nor test suite shows that this margin is
719 It dates back to commit dbeebe72b9d35f6ff807c21c7f217b569fa894f6
720 where vector 9x7 decoding was introduced.
722 commit 47943daa15983d20ab1ffd0a237125f1493c5658
723 Author: Even Rouault <even.rouault@spatialys.com>
724 Date: 2020-05-21 11:23:00 +0200
726 Speed-up 9x7 IDWD by ~20%
728 "bench_dwt -I" time goes from 2.8s to 2.2s
730 commit 0c09062464fe74f62fb9a4da829992c6a8bd7920
731 Author: Even Rouault <even.rouault@spatialys.com>
732 Date: 2020-05-20 23:20:48 +0200
734 bench_dwt.c: add a -I switch to test irreversible FWDT/IDWT
736 commit 19ef7f26c43f689b627aad642da7f6150893b863
737 Merge: 1d358f2 f3ee448
738 Author: Even Rouault <even.rouault@spatialys.com>
739 Date: 2020-05-20 21:10:55 +0200
741 Merge pull request #1211 from sebras/master
743 Add check to validate SGcod/SPcoc/SPcod parameter values.
745 commit adccbc8336ce5c46ca7de85ac364d9c992d337c7
746 Author: Even Rouault <even.rouault@spatialys.com>
747 Date: 2020-05-20 19:24:09 +0200
749 Irreversible decoding: partially revert previous commit, to fix failures in test suite
751 commit 3cd1305596f191a01afdc11f9355f9c6590065dd
752 Author: Even Rouault <even.rouault@spatialys.com>
753 Date: 2020-05-20 18:00:45 +0200
755 Irreversible compression/decompression DWT: use 1/K constant as per standard
757 The previous constant opj_c13318 was mysteriously equal to 2/K , and in
758 the DWT, we had to divide K and opj_c13318 by 2... The issue was that the
759 band->stepsize computation in tcd.c didn't take into account the log2gain of
762 The effect of this change is expected to be mostly equivalent to the previous
763 situation, except some difference in rounding. But it leads to a dramatic
764 reduction of the mean square error and peak error in the irreversible encoding
767 commit 1d358f25c8eabbc7c274bcc148f4f5d594ec13fe
768 Merge: 64689d0 4edb8c8
769 Author: Even Rouault <even.rouault@spatialys.com>
770 Date: 2020-05-20 20:29:31 +0200
772 Merge pull request #1246 from rouault/write_plt
774 Add support for generation of PLT markers in encoder
776 commit 4edb8c83374f52cd6a8f2c7c875e8ffacccb5fa5
777 Author: Even Rouault <even.rouault@spatialys.com>
778 Date: 2020-04-21 15:55:44 +0200
780 Add support for generation of PLT markers in encoder
782 * -PLT switch added to opj_compress
783 * Add a opj_encoder_set_extra_options() function that
784 accepts a PLT=YES option, and could be expanded later
789 Testing with a Sentinel2 10m band, T36JTT_20160914T074612_B02.jp2,
790 coming from S2A_MSIL1C_20160914T074612_N0204_R135_T36JTT_20160914T081456.SAFE
792 Decompress it to TIFF:
794 opj_uncompress -i T36JTT_20160914T074612_B02.jp2 -o T36JTT_20160914T074612_B02.tif
797 Recompress it with similar parameters as original:
799 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
802 Dump codestream detail with GDAL dump_jp2.py utility (https://github.com/OSGeo/gdal/blob/master/gdal/swig/python/samples/dump_jp2.py)
804 python dump_jp2.py T36JTT_20160914T074612_B02.jp2 > /tmp/dump_sentinel2_ori.txt
805 python dump_jp2.py T36JTT_20160914T074612_B02_PLT.jp2 > /tmp/dump_sentinel2_openjpeg_plt.txt
808 The diff between both show very similar structure, and identical number of packets in PLT markers
810 Now testing with Kakadu (KDU803_Demo_Apps_for_Linux-x86-64_200210)
812 Full file decompression:
814 kdu_expand -i T36JTT_20160914T074612_B02_PLT.jp2 -o tmp.tif
816 Consumed 121 tile-part(s) from a total of 121 tile(s).
817 Consumed 80,318,806 codestream bytes (excluding any file format) = 5.329697
819 Processed using the multi-threaded environment, with
820 8 parallel threads of execution
823 Partial decompresson (presumably using PLT markers):
825 kdu_expand -i T36JTT_20160914T074612_B02.jp2 -o tmp.pgm -region "{0.5,0.5},{0.01,0.01}"
826 kdu_expand -i T36JTT_20160914T074612_B02_PLT.jp2 -o tmp2.pgm -region "{0.5,0.5},{0.01,0.01}"
827 diff tmp.pgm tmp2.pgm && echo "same !"
832 Funded by ESA for S2-MPC project
834 commit 64689d05dfaaf52105581d93fb1eb173b20829a4
835 Author: Even Rouault <even.rouault@spatialys.com>
836 Date: 2020-04-18 18:25:44 +0200
838 struct opj_j2k: remove unused fields, and add some documentation
840 commit 774889a328abd5d3c280d9a897f1ac4c672cb0e5
841 Merge: b6b7e96 271a71e
842 Author: Even Rouault <even.rouault@spatialys.com>
843 Date: 2020-04-17 00:39:46 +0200
845 Merge pull request #1244 from rouault/fix_pi_warnings
847 Fix warnings about signed/unsigned casts in pi.c
849 commit b6b7e96b0cf7819ef6a2e8ba2f8bdaaf938326ed
850 Author: szukw000 <szukw000@arcor.de>
851 Date: 2020-04-17 00:37:33 +0200
853 color_apply_icc_profile: add checks on the number of components (#1236)
855 commit 040e142288e90c9c2d46d25d0a27f828f968bb93
856 Author: Eduardo Barretto <edusbarretto@gmail.com>
857 Date: 2020-04-16 19:09:40 -0300
859 jp3d/jpwl/mj2/jpip: Fix resource leaks (#1226)
861 This issues were found by cppcheck and coverity.
863 commit 271a71ef0f1dd4740c9f4474279c7da8d15850c9
864 Author: Even Rouault <even.rouault@spatialys.com>
865 Date: 2020-04-16 20:52:44 +0200
867 Fix warnings about signed/unsigned casts in pi.c
869 commit 221a801a97a3ea968a311f7905c18a1eb7f034c4
870 Author: Even Rouault <even.rouault@spatialys.com>
871 Date: 2020-04-16 20:33:22 +0200
873 Rename mis-named function opj_tcd_get_encoded_tile_size() to opj_tcd_get_encoder_input_buffer_size()