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 397f62c0a838e15d667ef50e27d5d011d2c79c04
24 Author: Even Rouault <even.rouault@spatialys.com>
25 Date: 2017-07-29 19:13:49 +0200
27 Fix write heap buffer overflow in opj_mqc_byteout(). Discovered by Ke Liu of Tencent's Xuanwu LAB (#835)
29 commit 11445eddad7e7fa5b273d1c83c91011c44e5d586
30 Author: Even Rouault <even.rouault@spatialys.com>
31 Date: 2017-07-29 19:03:13 +0200
33 opj_pi_update_decode_poc(): limit layno1 to the number of layers (CVE-2016-1626 and CVE-2016-1628, #850)
35 This has been recently fixed in a less elegant way per
36 80818c39f5bfbac37768fcee95b0ffeceaa77264
38 commit 3fbe71369019df0b47c7a2be4fab8c05768f2f32
39 Author: Even Rouault <even.rouault@spatialys.com>
40 Date: 2017-07-29 18:38:16 +0200
42 opj_tcd_get_decoded_tile_size(): fix potential UINT32 overflow (#854, CVE-2016-5152)
44 Fix derived from https://pdfium.googlesource.com/pdfium.git/+/d8cc503575463ff3d81b22dad292665f2c88911e/third_party/libopenjpeg20/0018-tcd_get_decoded_tile_size.patch
46 commit 5a3e7aaf339943bc988adbada39a1fc8f5046899
47 Author: Even Rouault <even.rouault@spatialys.com>
48 Date: 2017-07-29 17:56:12 +0200
50 color_cielab_to_rgb(): reject images with components of different dimensions to void read heap buffer overflow (#909)
52 commit 784d4d47e97b5d0fccccbd931349997a0e2074cc
53 Author: Even Rouault <even.rouault@spatialys.com>
54 Date: 2017-07-29 17:51:10 +0200
56 Fix breakage of 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0 (#970)
58 commit 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0
59 Author: Even Rouault <even.rouault@spatialys.com>
60 Date: 2017-07-29 17:28:55 +0200
62 imagetopnm(): make sure the alpha component has same dimension as other components to avoid read heap buffer overflow (#970)
64 commit db9ef99f6dd054a84fa8382c02869fb0656abfc8
65 Author: Even Rouault <even.rouault@spatialys.com>
66 Date: 2017-07-29 16:34:35 +0200
68 opj_t1_decode_cblk(): avoid undefined shift behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2487. Credit to OSS Fuzz
70 commit f6551f822fe020843299bd807ec6989abd070b2c
71 Author: Even Rouault <even.rouault@spatialys.com>
72 Date: 2017-07-29 16:29:11 +0200
74 opj_t1_clbl_decode_processor(): avoid undefined behaviour if roishift >= 31. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2506. Credit to OSS Fuzz
76 commit 9906fbf737692486cebabe98169988d818e2e66a
77 Author: Even Rouault <even.rouault@spatialys.com>
78 Date: 2017-07-29 16:22:36 +0200
80 Avoid assertion in opj_j2k_merge_ppt() in case premature EOC is encountered in opj_j2k_read_tile_header(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2785. Credit to OSS Fuzz
82 commit 71b4f5b124d14ed609763b11e19d2d480bc32f58
83 Author: Even Rouault <even.rouault@spatialys.com>
84 Date: 2017-07-29 15:52:11 +0200
86 opj_pi_next_pcrl(): avoid undefined shift behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2787. Credit to OSS Fuzz
88 commit d6654d906c1ae66590b6d600458a91f1ee923de5
89 Author: Even Rouault <even.rouault@spatialys.com>
90 Date: 2017-07-28 22:15:47 +0200
92 opj_int_ceildiv(): fix int32 overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2494. Credit to OSS Fuzz
94 commit 361c4506fdfb9b6f0e41d86d5d0ea1efb5704ecf
95 Author: Even Rouault <even.rouault@spatialys.com>
96 Date: 2017-07-28 22:06:26 +0200
98 opj_tcd_dc_level_shift_decode(): avoid int overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2516. Credit to OSS Fuzz
100 commit 7bdbe490cba9990916f94a40379cc787434340ff
101 Author: Even Rouault <even.rouault@spatialys.com>
102 Date: 2017-07-28 21:55:22 +0200
104 Fix null pointer dereference in opj_jp2_apply_pclr(). Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2558. Credit to OSS Fuzz
106 commit 16aeb9282f6b3877aa8365c461ba8d3d1338adae
107 Author: Even Rouault <even.rouault@spatialys.com>
108 Date: 2017-07-28 21:39:30 +0200
110 Fix null pointer dereference in opj_j2k_add_mct() (#895)
112 Fixes openjeg-crashes-2017-07-27/issue879-poc1.j2k of #895
114 commit c5bf5ef4d6552e9159aaad29cb27826acd1a3389
115 Author: Even Rouault <even.rouault@spatialys.com>
116 Date: 2017-07-28 21:29:55 +0200
118 Avoid use-after-free when a MCT marker is found after a MCC one (#895)
120 Fixes openjeg-crashes-2017-07-27/issue880-poc2.j2k of #895
122 commit e03e9474667e5117341351699f0b1dbb06f93346
123 Author: Even Rouault <even.rouault@spatialys.com>
124 Date: 2017-07-27 22:29:17 +0200
126 Avoid undefined shift behaviour if bit depth == 32 (#895)
128 Fixes openjeg-crashes-2017-07-27/id:000000,sig:11,src:003798,op:ext_AO,pos:128.jp2
130 commit 820fcfe8bb101a2862c076b02c9b6b636ce39d2f
131 Author: Even Rouault <even.rouault@spatialys.com>
132 Date: 2017-07-27 19:34:54 +0200
134 opj_j2k_update_image_data / opj_tcd_update_tile_data: fix unaligned load/store (#895)
136 When components don't have the same width, unaligned load/store are possible.
138 Fixes openjeg-crashes-2017-07-27/id:000000,sig:11,src:001342,op:flip4,pos:162.jp2 of #895
140 commit 6c4e5bacb9d9791fc6ff074bd7958b3820d70514
141 Author: Even Rouault <even.rouault@spatialys.com>
142 Date: 2017-07-27 19:22:14 +0200
144 opj_pi_next_rpcl / opj_pi_next_pcrl / opj_pi_next_cprl: avoid int overflow (#895)
146 Fixes int overflow on openjeg-crashes-2017-07-27/id:000000,sig:08,src:000879,op:flip2,pos:128.jp2
148 commit 178194c093422c9564efc41f9ecb5c630b43f723
149 Author: Even Rouault <even.rouault@spatialys.com>
150 Date: 2017-07-27 18:51:51 +0200
152 opj_jp2_check_color(): replace assertion regarding mtyp by runtime check (#672, #895)
154 Fixes test case openjeg-crashes-2017-07-27/id:000000,sig:06,src:000001,op:flip1,pos:808.jp2
157 commit d6fa30099797c68c6a67decf58571dd59dbf734b
158 Author: Even Rouault <even.rouault@spatialys.com>
159 Date: 2017-07-26 23:25:38 +0200
161 Avoids undefined shift behaviour in m_dc_level_shift computation
163 Fixes warning found on clusterfuzz-testcase-minimized-5146316340461568
164 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2495
168 commit a88cbb6a0b3539461dfb29922102953b7a7fc3a7
169 Author: Even Rouault <even.rouault@spatialys.com>
170 Date: 2017-07-26 22:53:59 +0200
172 Fix various undefined shift behaviour in pi.c
174 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2496
177 commit 6c5fe9407b7768eb2ac55b83511bc103551d207a
178 Author: Even Rouault <even.rouault@spatialys.com>
179 Date: 2017-07-26 22:22:44 +0200
181 Avoid potential undefined shift behaviour in opj_bio_read() from opj_t2_read_packet_header()
183 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2485
186 commit dbf527bf2a53bc88e6cf1373991002ec0e8e22a1
187 Merge: 5e795d9 94c4b73
188 Author: Even Rouault <even.rouault@mines-paris.org>
189 Date: 2017-07-26 22:05:32 +0200
191 Merge pull request #800 from rouault/tier1_optimizations_multithreading_pterm_check
193 Implement predictive termination check
195 commit 94c4b7300cc515330bf798bb45eb0d68e2c84aa0
196 Author: Even Rouault <even.rouault@spatialys.com>
197 Date: 2017-07-26 21:39:50 +0200
199 T1 decoder: check code stream errors when predictable termination is enabled and emit a warning when errors are found
201 commit 5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd
202 Author: Even Rouault <even.rouault@spatialys.com>
203 Date: 2017-07-26 21:06:38 +0200
205 Spelling fixes (patch by ka7, #890, rebased on top of master)
207 commit 2be20ce7d9996e960d79f3ad6ec439a9895849ed
208 Author: Even Rouault <even.rouault@spatialys.com>
209 Date: 2017-07-26 21:04:01 +0200
211 Reformat src/bin/wx/OPJViewer/source/OPJThreads.cpp src/bin/wx/OPJViewer/source/imagjpeg2000.cpp wrapping/java/openjp2/JavaOpenJPEG.c
213 commit 94cc97c58acfa574e734fac5eb673c516c0ac469
214 Author: Even Rouault <even.rouault@spatialys.com>
215 Date: 2017-07-26 20:13:09 +0200
217 opj_decompress: fix null pointer dereference on comps[].data on id_000167,sig_11,src_006079,op_havoc,rep_4 (#939)
219 commit 8d2e69e37d01bf6a0440d3109d92235c3c586ffe
220 Author: Even Rouault <even.rouault@spatialys.com>
221 Date: 2017-07-26 19:49:38 +0200
223 Fix assertion / memory leak in opj_j2k_merge_ppt() on corrupted images (#939)
225 Fixes issue on id:000020,sig:06,src:001958,op:flip4,pos:149 that has two
226 SOT markers for the same tile with the same tile part number, causing
227 opj_j2k_merge_ppt() to be called several times.
229 commit 5c5319984b81e2aa32d1d83abdef0cdb8dbe7b18
230 Author: Even Rouault <even.rouault@spatialys.com>
231 Date: 2017-07-26 18:05:56 +0200
233 Avoid division by zero in opj_pi_next_rpcl, opj_pi_next_pcrl, opj_pi_next_cprl (#938)
235 Fixes crash on id_000004,sig_06,src_000679,op_arith8,pos_49,val_-17
237 commit 80818c39f5bfbac37768fcee95b0ffeceaa77264
238 Author: Even Rouault <even.rouault@spatialys.com>
239 Date: 2017-07-26 12:24:26 +0200
241 Avoid index out of bounds access to pi->include[] (#938)
243 Fix id:000098,sig:11,src:005411,op:havoc,rep:2 test case
245 commit d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b
246 Author: Even Rouault <even.rouault@spatialys.com>
247 Date: 2017-07-26 11:30:56 +0200
249 Avoid division by zero in opj_pi_next_rpcl, opj_pi_next_pcrl and opj_pi_next_cprl (#938)
251 Fixes issues with id:000026,sig:08,src:002419,op:int32,pos:60,val:+32 and
252 id:000019,sig:08,src:001098,op:flip1,pos:49
254 commit 39e962a0ca5e53722f6badda8e93681aad412cf1
255 Merge: 60f8ddf 90ced71
256 Author: Even Rouault <even.rouault@mines-paris.org>
257 Date: 2017-07-13 13:33:21 +0200
259 Merge pull request #969 from jeroen/staticlibs
261 install static libraries
263 commit 90ced71601f05e87b4fa922261554eeeb11118b9
264 Author: Jeroen <jeroenooms@gmail.com>
265 Date: 2017-07-13 11:34:15 +0200
267 install static libraries
269 commit 60f8ddf577b20ccbb3dc0559b624115b9ba522ba
270 Author: Even Rouault <even.rouault@spatialys.com>
271 Date: 2017-07-06 12:11:37 +0200
275 commit a38c4496b631bb5d3f8d5ea42d394544523a9bc6
276 Author: Even Rouault <even.rouault@spatialys.com>
277 Date: 2017-07-05 21:33:42 +0200
279 Remove unused m_DA_x0, m_DA_y0, m_DA_x1, m_DA_y1 members from opj_j2k_dec structure
281 commit 1a8eac6a90ca61f3703f9b97afc2ec4918f0ab55
282 Author: Even Rouault <even.rouault@spatialys.com>
283 Date: 2017-07-03 14:14:03 +0200
285 Add tests/fuzzers for OSS Fuzz (#965)
287 commit c308de39edc1697efbd5c10dc4852a58f9b86558
288 Author: Even Rouault <even.rouault@spatialys.com>
289 Date: 2017-07-03 14:33:57 +0200
291 opj_j2k_read_header_procedure(): validate marker size to avoid excessive memory allocation attempt
293 commit 5736b1a3683261a5b31fc19a691731dc9fce5920
294 Merge: ecbfcbc a0839cc
295 Author: Even Rouault <even.rouault@mines-paris.org>
296 Date: 2017-07-03 12:03:29 +0200
298 Merge pull request #954 from jeroen/static
300 build both shared and static library
302 commit ecbfcbc2764ff1b09e693d57e3ef5764518f1e1c
303 Merge: e673c8b 96d757c
304 Author: Even Rouault <even.rouault@mines-paris.org>
305 Date: 2017-07-01 13:51:52 +0200
307 Merge pull request #964 from rouault/remove_useless_knownfailures
309 Remove useless knownfailures (since LAZY encoding is fixed)
311 commit e673c8bd4da9f0414da472ac5f3d8e03e5102982
312 Merge: 8fa405e b992376
313 Author: Even Rouault <even.rouault@mines-paris.org>
314 Date: 2017-07-01 12:54:39 +0200
316 Merge pull request #963 from rouault/travis_avx2
318 Enable AVX2 at runtime on Travis-CI and AppVeyor
320 commit b9923764da198742c635ad7dff9de158c3dbb60d
321 Author: Even Rouault <even.rouault@spatialys.com>
322 Date: 2017-07-01 04:15:36 +0200
324 Add tools/travis-ci/knownfailures-Ubuntu14.04-clang3.8.0-x86_64-Release-3rdP.txt (copied from knownfailures-Ubuntu12.04-clang3.9.0-x86_64-Release-3rdP.txt)
326 commit f194ff32ac3fd5bab88607ea6bf09a73adb99758
327 Author: Even Rouault <even.rouault@spatialys.com>
328 Date: 2017-07-01 02:53:55 +0200
330 appveyor.yml: add a /arch:AVX2 config on Windows
332 Try running the tests if the CPU supports AVX2.
334 commit 96d757cb8e6c3fb0e133817e5057ee5eae6a594d
335 Author: Even Rouault <even.rouault@spatialys.com>
336 Date: 2017-07-01 04:24:46 +0200
338 Remove useless knownfailures (since LAZY encoding is fixed)
340 commit 69a001819c9ac36bb3210e475d099cc2abbbf89f
341 Author: Even Rouault <even.rouault@spatialys.com>
342 Date: 2017-07-01 01:46:55 +0200
344 .travis.yml: try to run tests in -mavx2 mode if the CPU supports it
346 And modify settings so as to hae a AVX2 compatible CPU
348 commit 8fa405ee15b5151df40d8d96460257ee5b510135
349 Author: Even Rouault <even.rouault@spatialys.com>
350 Date: 2017-06-30 00:03:05 +0200
352 IDWT 5x3: fix bug in AVX2 implementation (#953, #957)
354 commit 6239ed7be41d370c537ca43e198cf2fdc6eb9a60
355 Author: Even Rouault <even.rouault@spatialys.com>
356 Date: 2017-06-26 13:13:26 +0200
358 INSTALL.md: add section discussing how to enable CPU specific optimizations
360 commit 533fa2fdee4f69a5d7bb8f0b1c0a8f432dad334f
361 Merge: 6026786 4fe7620
362 Author: Even Rouault <even.rouault@mines-paris.org>
363 Date: 2017-06-26 12:45:34 +0200
365 Merge pull request #957 from rouault/idwt_53_improvements
367 IDWT 5x3 single-pass lifting and SSE2/AVX2 implementation
369 commit 60267860698b86e215bee584857e6b4f2f08b693
370 Author: Even Rouault <even.rouault@spatialys.com>
371 Date: 2017-06-21 13:20:35 +0200
375 commit 93aca84731bfffb20e968af10055a8cd0401806e
376 Author: Even Rouault <even.rouault@spatialys.com>
377 Date: 2017-06-21 12:54:40 +0200
379 Fix mingw related warnings
381 commit cdd3e83bae71e1e023c4c2bdd5e52d082576e550
382 Author: Even Rouault <even.rouault@spatialys.com>
383 Date: 2017-06-21 12:49:01 +0200
385 Fix clang warning about extraneous parentheses
387 commit 4fe7620d4adc131c3ff93bb47bb8d138d69c9cbd
388 Author: Even Rouault <even.rouault@spatialys.com>
389 Date: 2017-06-21 12:28:51 +0200
391 .travis.yml: add a configuration to test compilation of AVX2 (but disable tests since Travis doesn't have AVX2 compatible machines)
393 commit fd0dc535ad9ae0d369d1039aaf56235583ca64ea
394 Author: Even Rouault <even.rouault@spatialys.com>
395 Date: 2017-06-21 12:12:58 +0200
397 IDWT 5x3: generalize SSE2 version for AVX2
399 Thanks to our macros that abstract SSE use, the functions can use
400 AVX2 when available (at compile time)
402 This brings an extra 23% speed improvement on bench_dwt in 64bit builds
403 with AVX2 compared to SSE2.
405 commit f6e3475cc9328e5378e96e72b5adf29fb07c5feb
406 Author: Even Rouault <even.rouault@spatialys.com>
407 Date: 2017-06-21 01:07:56 +0200
411 commit f06cfadef8e2b1ad9008957cc6bc80a27c53f2eb
412 Author: Even Rouault <even.rouault@spatialys.com>
413 Date: 2017-06-20 18:24:21 +0200
415 Enable __SSE__ / __SSE2__ with Visual Studio
417 commit fa55b52d19f39765d7f108d654a8f87035a5772f
418 Author: Even Rouault <even.rouault@spatialys.com>
419 Date: 2017-06-20 17:56:25 +0200
421 Improve performance of inverse DWT 5x3 (#953)
423 * Use single-pass lifting inverse wavelet transform.
424 * For vertical pass, use SSE2 when available so as to process 8 columns
425 in parallel. This is the most beneficial improvement, since the
426 vertical pass involves a lot of cache trashing.
428 With the bench_dwt utility with default arguments (16383x16383 image),
429 time goes from 4.064 s to 1.212 s.
431 commit 919ed5f8b8681aeae54ce3884b3ecca56cadc2e0
432 Author: Even Rouault <even.rouault@spatialys.com>
433 Date: 2017-06-20 17:56:19 +0200
435 Add bench_dwt program (compiled only if BUILD_BENCH_DWT=ON)
437 commit 5c56933daf1da88aa6f2a8c8dc5fcc7b1d76cb00
438 Merge: 32b20b9 8df2521
439 Author: Even Rouault <even.rouault@mines-paris.org>
440 Date: 2017-06-18 00:49:20 +0200
442 Merge pull request #955 from rouault/remove_opj_nosanitize
444 Remove OPJ_NOSANITIZE in opj_bio_read() and opj_bio_write() (#761)
446 commit 8df2521a6015af7f69a378811986ddb0b3bfbd3a
447 Author: Even Rouault <even.rouault@spatialys.com>
448 Date: 2017-06-17 19:15:00 +0200
450 Remove OPJ_NOSANITIZE in opj_bio_read() and opj_bio_write() (#761)
452 Commit 29313eb5 introduced those flags to avoid issues with
453 -fsanitize=unsigned-integer-overflow
454 However it is better just to rewrite the loop to avoid such condition
457 commit 32b20b93e04d38303f736e975eb5f483fda01ca5
458 Author: Even Rouault <even.rouault@spatialys.com>
459 Date: 2017-06-17 16:37:56 +0200
463 commit 5f596cb2833d5ea7a4d04d22af551731bd770f05
464 Author: Even Rouault <even.rouault@spatialys.com>
465 Date: 2017-06-17 14:10:15 +0200
467 Fix warning about unused arguments
469 commit cc07aec6c7b50090c3f471ca2c68d0ffa8aa4ff1
470 Author: Even Rouault <even.rouault@spatialys.com>
471 Date: 2017-06-17 14:09:31 +0200
473 Fix warnings with recent GCC versions
475 commit a0839cca24e19f1f0906e30ee1009ce89e4942b4
476 Author: Jeroen Ooms <jeroenooms@gmail.com>
477 Date: 2017-06-16 13:58:25 +0200
479 only build both static and dynamic on non-windows
481 commit 1329b3240aafb1b31328091eb6f7720787b391be
482 Author: Jeroen Ooms <jeroenooms@gmail.com>
483 Date: 2017-06-16 13:27:19 +0200
485 build both shared and static library
487 commit 36dd87cea80ad56e0e3178221aa579a28f02a549
488 Merge: 9cbc990 5f1e380
489 Author: Antonin Descampe <antonin@descampe.net>
490 Date: 2017-06-14 17:23:06 +0200
492 Merge pull request #928 from RussellMcOrmond/master
494 Quiet mode for opj_decompress via -quiet long parameter.
496 commit 9cbc9903c3034d1a101d0521402503ead0abcff0
497 Merge: 2609fb8 9a9b069
498 Author: Even Rouault <even.rouault@spatialys.com>
499 Date: 2017-06-13 12:09:52 +0200
501 Merge branch 't1_flag_optimizations'
503 commit 2609fb8077125b5b31f1bcc2f98c12ff1e6572d7
504 Author: Even Rouault <even.rouault@spatialys.com>
505 Date: 2017-06-12 17:15:23 +0100
507 Packet header writing: set empty packet header bit to 0 when appropriate (small optimization)
509 commit 73d1510d473b7dcfccfdee57e0e511e6791d5091
510 Author: Even Rouault <even.rouault@spatialys.com>
511 Date: 2017-06-12 11:23:55 +0100
513 Encoder: fix packet writing of empty sub-bands (#891, #892)
515 There are situations where, given a tile size, at a resolution level,
516 there are sub-bands with x0==x1 or y0==y1, that consequently don't have any
517 valid codeblocks, but the other sub-bands may be non-empty.
518 Given that we recycle the memory from one tile to another one, those
519 ghost codeblocks might be non-0 and thus candidate for packet inclusion.
521 commit 81c5311758a0ae1f1aea349a6ee0bca2a238fa79
522 Author: Even Rouault <even.rouault@spatialys.com>
523 Date: 2017-06-09 10:47:13 +0200
525 T1: fix BYPASS/LAZY, TERMALL/RESTART and PTERM/ERTERM encoding modes. (#674)
527 There were a number of defects regarding when and how the termination of
528 passes had to done and the computation of their rate.
530 commit 9a9b06911e164bdc854cf6b9c3bc5b6e751bf46d
531 Author: Even Rouault <even.rouault@spatialys.com>
532 Date: 2017-06-02 19:22:15 +0200
534 opj_t1_dec_sigpass_raw/opj_t1_dec_refpass_raw: harmonize style with mqc methods
536 commit 532243f1fd9997db63ea7f6b199d21138ccf58a3
537 Author: Even Rouault <even.rouault@spatialys.com>
538 Date: 2017-06-02 16:49:26 +0200
540 MQC/RAW decoder: use an artificial 0xFF 0xFF terminating marker.
542 This saves comparing the current pointer with the end of buffer pointer.
543 This results at least in tiny speed improvement for raw decoding, and
544 smaller code size for MQC as well.
546 This kills the remains of the raw.h/.c files that were only used for
547 decoding. Encoding using the mqc structure already.
549 commit 9b39fc4bccb3e9e4e9a9f61c4dc672fb7f05d865
550 Author: Even Rouault <even.rouault@spatialys.com>
551 Date: 2017-06-02 14:32:12 +0200
553 Fix documentation of opj_t1_decode_cblks()
555 commit dde6cbabc0cb93102c2091c15d11dec1267d0fd8
556 Author: Even Rouault <even.rouault@spatialys.com>
557 Date: 2017-06-02 14:25:57 +0200
559 Simplify VSC handling: instead of masking out bits when reading the 4th row.
561 Do not set them when updating flags of the 1st row
563 commit 3d9940a35b8c566c1fb41db56018c91b511a976a
564 Author: Even Rouault <even.rouault@spatialys.com>
565 Date: 2017-06-02 11:52:16 +0200
567 Force inlining of mqc decoding and pass steps through heavy use of macros, so as to get better register allocation
569 commit 7e8b502842075738c9a062a2f06dace3f35dd7cd
570 Author: Even Rouault <even.rouault@spatialys.com>
571 Date: 2017-06-02 09:36:25 +0200
573 t1_generate_luts.c: fix compiler warnings
575 commit 2ba861c37cb5032d1fa90a7c9298f6e08a0f5413
576 Author: Even Rouault <even.rouault@spatialys.com>
577 Date: 2017-06-01 19:42:03 +0200
579 Optimize opj_t1_update_flags()
581 commit a0861855c11bcb8c93f399ca51e766b5c8ef9e33
582 Author: Even Rouault <even.rouault@spatialys.com>
583 Date: 2017-06-01 17:02:50 +0200
585 T1: remove use of neghalf variable. It is useless since bpno is always > 0
587 commit 10410fe72ec2d20f2bbdfb68a383bce1df17f35d
588 Author: Even Rouault <even.rouault@spatialys.com>
589 Date: 2017-06-01 11:15:25 +0200
591 T1: avoid pointer indirection for mqc and raw members of opj_t1_t
593 commit a5003787ffdbc4fb4a9b4e18187e9f69c36b9e9b
594 Author: Even Rouault <even.rouault@spatialys.com>
595 Date: 2017-06-01 10:23:30 +0200
597 T1: remove flags_stride variable from opj_t1_t
599 commit 53d46fc7330ed652db66aa37b498fbfa27be625c
600 Merge: 6e97d87 a8ca7c5
601 Author: Even Rouault <even.rouault@mines-paris.org>
602 Date: 2017-05-23 16:15:55 +0200
604 Merge pull request #936 from rouault/master_warnings
606 CMake: add stronger warnings for openjp2 lib/bin by default, and error out on declaration-after-statement
608 commit a8ca7c51f38a4cbdcb4a541137478df03e5eb76d
609 Author: Even Rouault <even.rouault@spatialys.com>
610 Date: 2017-05-23 15:12:19 +0200
612 CMake: add stronger warnings for openjp2 lib/bin by default, and error out on declaration-after-statement
614 And remove occurences of unused arguments in src/lib/openjp2
616 commit 6e97d877b155aff55d1ae1fef4a36fa56d51e472
617 Merge: 8728cfb 2d2c368
618 Author: Even Rouault <even.rouault@mines-paris.org>
619 Date: 2017-05-23 14:49:38 +0200
621 Merge pull request #935 from rouault/add_compress_vsc_test
623 Tests: test opj_compress in VSC mode (related to #172)
625 commit 2d2c368b19ee59cba7470c94bcc2c06ca6db1d80
626 Author: Even Rouault <even.rouault@spatialys.com>
627 Date: 2017-05-23 13:46:04 +0200
629 Tests: test opj_compress in VSC mode (related to #172)
631 commit 8728cfbc799a61dd0600ee04aa64d829937d8710
632 Author: Even Rouault <even.rouault@spatialys.com>
633 Date: 2017-05-23 13:54:28 +0200
635 t1.c: fix compiler warnings
637 commit 5f1e380b5155577864a84c1e64f213b6d9f83334
638 Author: Russell McOrmond <russell.mcormond@canadiana.ca>
639 Date: 2017-05-16 09:31:07 -0400
641 Fixed formatting issues ASTYLE
643 commit 9d8e1ecdeb99b1e4b4ffd19feb152c88fe4f83ba
644 Author: Russell McOrmond <russell.mcormond@canadiana.ca>
645 Date: 2017-05-15 14:39:54 -0400
647 Quiet mode for opj_decompress via -quiet long parameter.
649 commit 83d7a6d4a44833e78321bfd367dc0f822a8d0945
650 Author: Even Rouault <even.rouault@spatialys.com>
651 Date: 2017-05-15 14:11:47 +0200
653 MQC: remove disabled MQC_PERF_OPT mode, which brings no performance improvements (see #923)
655 commit 4431fa72657b6c4a92c3cf29cfc5c8df69424a0e
656 Author: Even Rouault <even.rouault@spatialys.com>
657 Date: 2017-05-15 14:09:51 +0200
659 Add comments about non successfull attempt of implementing alternate INITDEC, DECODE and BYTEIN procedures (refs #921)
661 commit f7a126af61877cd4623327142521d82a0c19430d
662 Merge: 28d2eab 3c2972f
663 Author: Even Rouault <even.rouault@mines-paris.org>
664 Date: 2017-05-15 13:08:03 +0200
666 Merge pull request #926 from rouault/reformat_h_files
668 Reformat: apply reformattin on .h files (#128)
670 commit 3c2972f924857016bb454201c7e92f25de9105ee
671 Author: Even Rouault <even.rouault@spatialys.com>
672 Date: 2017-05-15 12:21:30 +0200
674 Reformat: apply reformattin on .h files (#128)
676 commit 28d2eabca79d06378843d1e94fecfb4a5e22178d
677 Merge: 0ecac46 cde210b
678 Author: Even Rouault <even.rouault@mines-paris.org>
679 Date: 2017-05-15 12:09:45 +0200
681 Merge pull request #919 from rouault/reformat
683 Add mechanisms to reformat and check code style, and reformat whole codebase (#128)
685 commit 0ecac46a1db911cbe340c4467000e91cea82c96d
686 Author: Even Rouault <even.rouault@spatialys.com>
687 Date: 2017-05-11 20:18:42 +0200
689 perf_test.py: implement -i option
691 commit cde210be392d60fbcd8a3e7cacfa62660a95e8d9
692 Author: Even Rouault <even.rouault@spatialys.com>
693 Date: 2017-05-11 11:21:37 +0200
695 astyle.options: use non deprecated option name
697 commit 563bd8499e63db976ca8358216138647593354bc
698 Author: Even Rouault <even.rouault@spatialys.com>
699 Date: 2017-05-09 15:44:46 +0200
701 Reformat whole codebase with astyle.options (#128)
703 commit d4e54e9f35d532062533f1d369c159810b01d224
704 Author: Even Rouault <even.rouault@spatialys.com>
705 Date: 2017-05-09 15:28:09 +0200
707 Add mechanisms to reformant and check code style (#128)
709 Use an internal version of astyle (astyle 3.0). Scripts taken from QGIS.
710 astyle.options from https://github.com/uclouvain/openjpeg/issues/128
712 scripts/prepare-commit.sh can be used locally to automatically reformat
715 Travis-CI will run scripts/verify-indentation.sh to verify committed files.
717 commit 8650b70e06408d394c1708846b6fc2d86cf14079
718 Merge: e92fe29 05d5845
719 Author: Even Rouault <even.rouault@mines-paris.org>
720 Date: 2017-05-09 13:16:53 +0200
722 Merge pull request #918 from rouault/profile
724 Add profiling of CPU and memory usage (#912)
726 commit 05d58451a1221ba95db8fb1d159eb0f76dbafb22
727 Author: Even Rouault <even.rouault@spatialys.com>
728 Date: 2017-05-06 15:06:24 +0200
730 Add profiling of CPU and memory usage (#912)
732 commit e92fe29016300e7ae9ccfa6e9cf5422456f57e25
733 Merge: 20291aa 328f076
734 Author: Even Rouault <even.rouault@mines-paris.org>
735 Date: 2017-05-09 12:33:07 +0200
737 Merge pull request #917 from rouault/bench
739 Add performance benchmarking scripts
741 commit 328f076d2639d8664436e2b620cf9eed4f7dee53
742 Author: Even Rouault <even.rouault@spatialys.com>
743 Date: 2017-05-04 15:22:14 +0200
745 Add performance benchmarking scripts
747 And run them by Travis-CI
749 commit 20291aad07591da40ac86e5f5a87b4f6d154ba6a
750 Merge: a18040e 04980a8
751 Author: Even Rouault <even.rouault@mines-paris.org>
752 Date: 2017-05-03 12:41:02 +0200
754 Merge pull request #915 from rouault/appveyor_fix_attempt
756 Fix retrieval of jpylyzer in AppVeyor
758 commit 04980a8c7b6c260394084ab12b4bdee957caa24f
759 Author: Even Rouault <even.rouault@spatialys.com>
760 Date: 2017-05-03 12:03:00 +0200
762 Fix retrieval of jpylyzer in AppVeyor