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 51eb86d8f7a6297a4f0e8ca44977b72532de0353
24 Author: Even Rouault <even.rouault@spatialys.com>
25 Date: 2017-07-29 19:43:23 +0200
27 Fix warnings in pi.c raised by VS11 analyze (#190)
29 commit 397f62c0a838e15d667ef50e27d5d011d2c79c04
30 Author: Even Rouault <even.rouault@spatialys.com>
31 Date: 2017-07-29 19:13:49 +0200
33 Fix write heap buffer overflow in opj_mqc_byteout(). Discovered by Ke Liu of Tencent's Xuanwu LAB (#835)
35 commit 11445eddad7e7fa5b273d1c83c91011c44e5d586
36 Author: Even Rouault <even.rouault@spatialys.com>
37 Date: 2017-07-29 19:03:13 +0200
39 opj_pi_update_decode_poc(): limit layno1 to the number of layers (CVE-2016-1626 and CVE-2016-1628, #850)
41 This has been recently fixed in a less elegant way per
42 80818c39f5bfbac37768fcee95b0ffeceaa77264
44 commit 3fbe71369019df0b47c7a2be4fab8c05768f2f32
45 Author: Even Rouault <even.rouault@spatialys.com>
46 Date: 2017-07-29 18:38:16 +0200
48 opj_tcd_get_decoded_tile_size(): fix potential UINT32 overflow (#854, CVE-2016-5152)
50 Fix derived from https://pdfium.googlesource.com/pdfium.git/+/d8cc503575463ff3d81b22dad292665f2c88911e/third_party/libopenjpeg20/0018-tcd_get_decoded_tile_size.patch
52 commit 5a3e7aaf339943bc988adbada39a1fc8f5046899
53 Author: Even Rouault <even.rouault@spatialys.com>
54 Date: 2017-07-29 17:56:12 +0200
56 color_cielab_to_rgb(): reject images with components of different dimensions to void read heap buffer overflow (#909)
58 commit 784d4d47e97b5d0fccccbd931349997a0e2074cc
59 Author: Even Rouault <even.rouault@spatialys.com>
60 Date: 2017-07-29 17:51:10 +0200
62 Fix breakage of 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0 (#970)
64 commit 2fa0fc61f2d546c8b67e7c5a9cbc61d98e1f7af0
65 Author: Even Rouault <even.rouault@spatialys.com>
66 Date: 2017-07-29 17:28:55 +0200
68 imagetopnm(): make sure the alpha component has same dimension as other components to avoid read heap buffer overflow (#970)
70 commit db9ef99f6dd054a84fa8382c02869fb0656abfc8
71 Author: Even Rouault <even.rouault@spatialys.com>
72 Date: 2017-07-29 16:34:35 +0200
74 opj_t1_decode_cblk(): avoid undefined shift behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2487. Credit to OSS Fuzz
76 commit f6551f822fe020843299bd807ec6989abd070b2c
77 Author: Even Rouault <even.rouault@spatialys.com>
78 Date: 2017-07-29 16:29:11 +0200
80 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
82 commit 9906fbf737692486cebabe98169988d818e2e66a
83 Author: Even Rouault <even.rouault@spatialys.com>
84 Date: 2017-07-29 16:22:36 +0200
86 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
88 commit 71b4f5b124d14ed609763b11e19d2d480bc32f58
89 Author: Even Rouault <even.rouault@spatialys.com>
90 Date: 2017-07-29 15:52:11 +0200
92 opj_pi_next_pcrl(): avoid undefined shift behaviour. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2787. Credit to OSS Fuzz
94 commit d6654d906c1ae66590b6d600458a91f1ee923de5
95 Author: Even Rouault <even.rouault@spatialys.com>
96 Date: 2017-07-28 22:15:47 +0200
98 opj_int_ceildiv(): fix int32 overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2494. Credit to OSS Fuzz
100 commit 361c4506fdfb9b6f0e41d86d5d0ea1efb5704ecf
101 Author: Even Rouault <even.rouault@spatialys.com>
102 Date: 2017-07-28 22:06:26 +0200
104 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
106 commit 7bdbe490cba9990916f94a40379cc787434340ff
107 Author: Even Rouault <even.rouault@spatialys.com>
108 Date: 2017-07-28 21:55:22 +0200
110 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
112 commit 16aeb9282f6b3877aa8365c461ba8d3d1338adae
113 Author: Even Rouault <even.rouault@spatialys.com>
114 Date: 2017-07-28 21:39:30 +0200
116 Fix null pointer dereference in opj_j2k_add_mct() (#895)
118 Fixes openjeg-crashes-2017-07-27/issue879-poc1.j2k of #895
120 commit c5bf5ef4d6552e9159aaad29cb27826acd1a3389
121 Author: Even Rouault <even.rouault@spatialys.com>
122 Date: 2017-07-28 21:29:55 +0200
124 Avoid use-after-free when a MCT marker is found after a MCC one (#895)
126 Fixes openjeg-crashes-2017-07-27/issue880-poc2.j2k of #895
128 commit e03e9474667e5117341351699f0b1dbb06f93346
129 Author: Even Rouault <even.rouault@spatialys.com>
130 Date: 2017-07-27 22:29:17 +0200
132 Avoid undefined shift behaviour if bit depth == 32 (#895)
134 Fixes openjeg-crashes-2017-07-27/id:000000,sig:11,src:003798,op:ext_AO,pos:128.jp2
136 commit 820fcfe8bb101a2862c076b02c9b6b636ce39d2f
137 Author: Even Rouault <even.rouault@spatialys.com>
138 Date: 2017-07-27 19:34:54 +0200
140 opj_j2k_update_image_data / opj_tcd_update_tile_data: fix unaligned load/store (#895)
142 When components don't have the same width, unaligned load/store are possible.
144 Fixes openjeg-crashes-2017-07-27/id:000000,sig:11,src:001342,op:flip4,pos:162.jp2 of #895
146 commit 6c4e5bacb9d9791fc6ff074bd7958b3820d70514
147 Author: Even Rouault <even.rouault@spatialys.com>
148 Date: 2017-07-27 19:22:14 +0200
150 opj_pi_next_rpcl / opj_pi_next_pcrl / opj_pi_next_cprl: avoid int overflow (#895)
152 Fixes int overflow on openjeg-crashes-2017-07-27/id:000000,sig:08,src:000879,op:flip2,pos:128.jp2
154 commit 178194c093422c9564efc41f9ecb5c630b43f723
155 Author: Even Rouault <even.rouault@spatialys.com>
156 Date: 2017-07-27 18:51:51 +0200
158 opj_jp2_check_color(): replace assertion regarding mtyp by runtime check (#672, #895)
160 Fixes test case openjeg-crashes-2017-07-27/id:000000,sig:06,src:000001,op:flip1,pos:808.jp2
163 commit d6fa30099797c68c6a67decf58571dd59dbf734b
164 Author: Even Rouault <even.rouault@spatialys.com>
165 Date: 2017-07-26 23:25:38 +0200
167 Avoids undefined shift behaviour in m_dc_level_shift computation
169 Fixes warning found on clusterfuzz-testcase-minimized-5146316340461568
170 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2495
174 commit a88cbb6a0b3539461dfb29922102953b7a7fc3a7
175 Author: Even Rouault <even.rouault@spatialys.com>
176 Date: 2017-07-26 22:53:59 +0200
178 Fix various undefined shift behaviour in pi.c
180 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2496
183 commit 6c5fe9407b7768eb2ac55b83511bc103551d207a
184 Author: Even Rouault <even.rouault@spatialys.com>
185 Date: 2017-07-26 22:22:44 +0200
187 Avoid potential undefined shift behaviour in opj_bio_read() from opj_t2_read_packet_header()
189 Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2485
192 commit dbf527bf2a53bc88e6cf1373991002ec0e8e22a1
193 Merge: 5e795d9 94c4b73
194 Author: Even Rouault <even.rouault@mines-paris.org>
195 Date: 2017-07-26 22:05:32 +0200
197 Merge pull request #800 from rouault/tier1_optimizations_multithreading_pterm_check
199 Implement predictive termination check
201 commit 94c4b7300cc515330bf798bb45eb0d68e2c84aa0
202 Author: Even Rouault <even.rouault@spatialys.com>
203 Date: 2017-07-26 21:39:50 +0200
205 T1 decoder: check code stream errors when predictable termination is enabled and emit a warning when errors are found
207 commit 5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd
208 Author: Even Rouault <even.rouault@spatialys.com>
209 Date: 2017-07-26 21:06:38 +0200
211 Spelling fixes (patch by ka7, #890, rebased on top of master)
213 commit 2be20ce7d9996e960d79f3ad6ec439a9895849ed
214 Author: Even Rouault <even.rouault@spatialys.com>
215 Date: 2017-07-26 21:04:01 +0200
217 Reformat src/bin/wx/OPJViewer/source/OPJThreads.cpp src/bin/wx/OPJViewer/source/imagjpeg2000.cpp wrapping/java/openjp2/JavaOpenJPEG.c
219 commit 94cc97c58acfa574e734fac5eb673c516c0ac469
220 Author: Even Rouault <even.rouault@spatialys.com>
221 Date: 2017-07-26 20:13:09 +0200
223 opj_decompress: fix null pointer dereference on comps[].data on id_000167,sig_11,src_006079,op_havoc,rep_4 (#939)
225 commit 8d2e69e37d01bf6a0440d3109d92235c3c586ffe
226 Author: Even Rouault <even.rouault@spatialys.com>
227 Date: 2017-07-26 19:49:38 +0200
229 Fix assertion / memory leak in opj_j2k_merge_ppt() on corrupted images (#939)
231 Fixes issue on id:000020,sig:06,src:001958,op:flip4,pos:149 that has two
232 SOT markers for the same tile with the same tile part number, causing
233 opj_j2k_merge_ppt() to be called several times.
235 commit 5c5319984b81e2aa32d1d83abdef0cdb8dbe7b18
236 Author: Even Rouault <even.rouault@spatialys.com>
237 Date: 2017-07-26 18:05:56 +0200
239 Avoid division by zero in opj_pi_next_rpcl, opj_pi_next_pcrl, opj_pi_next_cprl (#938)
241 Fixes crash on id_000004,sig_06,src_000679,op_arith8,pos_49,val_-17
243 commit 80818c39f5bfbac37768fcee95b0ffeceaa77264
244 Author: Even Rouault <even.rouault@spatialys.com>
245 Date: 2017-07-26 12:24:26 +0200
247 Avoid index out of bounds access to pi->include[] (#938)
249 Fix id:000098,sig:11,src:005411,op:havoc,rep:2 test case
251 commit d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b
252 Author: Even Rouault <even.rouault@spatialys.com>
253 Date: 2017-07-26 11:30:56 +0200
255 Avoid division by zero in opj_pi_next_rpcl, opj_pi_next_pcrl and opj_pi_next_cprl (#938)
257 Fixes issues with id:000026,sig:08,src:002419,op:int32,pos:60,val:+32 and
258 id:000019,sig:08,src:001098,op:flip1,pos:49
260 commit 39e962a0ca5e53722f6badda8e93681aad412cf1
261 Merge: 60f8ddf 90ced71
262 Author: Even Rouault <even.rouault@mines-paris.org>
263 Date: 2017-07-13 13:33:21 +0200
265 Merge pull request #969 from jeroen/staticlibs
267 install static libraries
269 commit 90ced71601f05e87b4fa922261554eeeb11118b9
270 Author: Jeroen <jeroenooms@gmail.com>
271 Date: 2017-07-13 11:34:15 +0200
273 install static libraries
275 commit 60f8ddf577b20ccbb3dc0559b624115b9ba522ba
276 Author: Even Rouault <even.rouault@spatialys.com>
277 Date: 2017-07-06 12:11:37 +0200
281 commit a38c4496b631bb5d3f8d5ea42d394544523a9bc6
282 Author: Even Rouault <even.rouault@spatialys.com>
283 Date: 2017-07-05 21:33:42 +0200
285 Remove unused m_DA_x0, m_DA_y0, m_DA_x1, m_DA_y1 members from opj_j2k_dec structure
287 commit 1a8eac6a90ca61f3703f9b97afc2ec4918f0ab55
288 Author: Even Rouault <even.rouault@spatialys.com>
289 Date: 2017-07-03 14:14:03 +0200
291 Add tests/fuzzers for OSS Fuzz (#965)
293 commit c308de39edc1697efbd5c10dc4852a58f9b86558
294 Author: Even Rouault <even.rouault@spatialys.com>
295 Date: 2017-07-03 14:33:57 +0200
297 opj_j2k_read_header_procedure(): validate marker size to avoid excessive memory allocation attempt
299 commit 5736b1a3683261a5b31fc19a691731dc9fce5920
300 Merge: ecbfcbc a0839cc
301 Author: Even Rouault <even.rouault@mines-paris.org>
302 Date: 2017-07-03 12:03:29 +0200
304 Merge pull request #954 from jeroen/static
306 build both shared and static library
308 commit ecbfcbc2764ff1b09e693d57e3ef5764518f1e1c
309 Merge: e673c8b 96d757c
310 Author: Even Rouault <even.rouault@mines-paris.org>
311 Date: 2017-07-01 13:51:52 +0200
313 Merge pull request #964 from rouault/remove_useless_knownfailures
315 Remove useless knownfailures (since LAZY encoding is fixed)
317 commit e673c8bd4da9f0414da472ac5f3d8e03e5102982
318 Merge: 8fa405e b992376
319 Author: Even Rouault <even.rouault@mines-paris.org>
320 Date: 2017-07-01 12:54:39 +0200
322 Merge pull request #963 from rouault/travis_avx2
324 Enable AVX2 at runtime on Travis-CI and AppVeyor
326 commit b9923764da198742c635ad7dff9de158c3dbb60d
327 Author: Even Rouault <even.rouault@spatialys.com>
328 Date: 2017-07-01 04:15:36 +0200
330 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)
332 commit f194ff32ac3fd5bab88607ea6bf09a73adb99758
333 Author: Even Rouault <even.rouault@spatialys.com>
334 Date: 2017-07-01 02:53:55 +0200
336 appveyor.yml: add a /arch:AVX2 config on Windows
338 Try running the tests if the CPU supports AVX2.
340 commit 96d757cb8e6c3fb0e133817e5057ee5eae6a594d
341 Author: Even Rouault <even.rouault@spatialys.com>
342 Date: 2017-07-01 04:24:46 +0200
344 Remove useless knownfailures (since LAZY encoding is fixed)
346 commit 69a001819c9ac36bb3210e475d099cc2abbbf89f
347 Author: Even Rouault <even.rouault@spatialys.com>
348 Date: 2017-07-01 01:46:55 +0200
350 .travis.yml: try to run tests in -mavx2 mode if the CPU supports it
352 And modify settings so as to hae a AVX2 compatible CPU
354 commit 8fa405ee15b5151df40d8d96460257ee5b510135
355 Author: Even Rouault <even.rouault@spatialys.com>
356 Date: 2017-06-30 00:03:05 +0200
358 IDWT 5x3: fix bug in AVX2 implementation (#953, #957)
360 commit 6239ed7be41d370c537ca43e198cf2fdc6eb9a60
361 Author: Even Rouault <even.rouault@spatialys.com>
362 Date: 2017-06-26 13:13:26 +0200
364 INSTALL.md: add section discussing how to enable CPU specific optimizations
366 commit 533fa2fdee4f69a5d7bb8f0b1c0a8f432dad334f
367 Merge: 6026786 4fe7620
368 Author: Even Rouault <even.rouault@mines-paris.org>
369 Date: 2017-06-26 12:45:34 +0200
371 Merge pull request #957 from rouault/idwt_53_improvements
373 IDWT 5x3 single-pass lifting and SSE2/AVX2 implementation
375 commit 60267860698b86e215bee584857e6b4f2f08b693
376 Author: Even Rouault <even.rouault@spatialys.com>
377 Date: 2017-06-21 13:20:35 +0200
381 commit 93aca84731bfffb20e968af10055a8cd0401806e
382 Author: Even Rouault <even.rouault@spatialys.com>
383 Date: 2017-06-21 12:54:40 +0200
385 Fix mingw related warnings
387 commit cdd3e83bae71e1e023c4c2bdd5e52d082576e550
388 Author: Even Rouault <even.rouault@spatialys.com>
389 Date: 2017-06-21 12:49:01 +0200
391 Fix clang warning about extraneous parentheses
393 commit 4fe7620d4adc131c3ff93bb47bb8d138d69c9cbd
394 Author: Even Rouault <even.rouault@spatialys.com>
395 Date: 2017-06-21 12:28:51 +0200
397 .travis.yml: add a configuration to test compilation of AVX2 (but disable tests since Travis doesn't have AVX2 compatible machines)
399 commit fd0dc535ad9ae0d369d1039aaf56235583ca64ea
400 Author: Even Rouault <even.rouault@spatialys.com>
401 Date: 2017-06-21 12:12:58 +0200
403 IDWT 5x3: generalize SSE2 version for AVX2
405 Thanks to our macros that abstract SSE use, the functions can use
406 AVX2 when available (at compile time)
408 This brings an extra 23% speed improvement on bench_dwt in 64bit builds
409 with AVX2 compared to SSE2.
411 commit f6e3475cc9328e5378e96e72b5adf29fb07c5feb
412 Author: Even Rouault <even.rouault@spatialys.com>
413 Date: 2017-06-21 01:07:56 +0200
417 commit f06cfadef8e2b1ad9008957cc6bc80a27c53f2eb
418 Author: Even Rouault <even.rouault@spatialys.com>
419 Date: 2017-06-20 18:24:21 +0200
421 Enable __SSE__ / __SSE2__ with Visual Studio
423 commit fa55b52d19f39765d7f108d654a8f87035a5772f
424 Author: Even Rouault <even.rouault@spatialys.com>
425 Date: 2017-06-20 17:56:25 +0200
427 Improve performance of inverse DWT 5x3 (#953)
429 * Use single-pass lifting inverse wavelet transform.
430 * For vertical pass, use SSE2 when available so as to process 8 columns
431 in parallel. This is the most beneficial improvement, since the
432 vertical pass involves a lot of cache trashing.
434 With the bench_dwt utility with default arguments (16383x16383 image),
435 time goes from 4.064 s to 1.212 s.
437 commit 919ed5f8b8681aeae54ce3884b3ecca56cadc2e0
438 Author: Even Rouault <even.rouault@spatialys.com>
439 Date: 2017-06-20 17:56:19 +0200
441 Add bench_dwt program (compiled only if BUILD_BENCH_DWT=ON)
443 commit 5c56933daf1da88aa6f2a8c8dc5fcc7b1d76cb00
444 Merge: 32b20b9 8df2521
445 Author: Even Rouault <even.rouault@mines-paris.org>
446 Date: 2017-06-18 00:49:20 +0200
448 Merge pull request #955 from rouault/remove_opj_nosanitize
450 Remove OPJ_NOSANITIZE in opj_bio_read() and opj_bio_write() (#761)
452 commit 8df2521a6015af7f69a378811986ddb0b3bfbd3a
453 Author: Even Rouault <even.rouault@spatialys.com>
454 Date: 2017-06-17 19:15:00 +0200
456 Remove OPJ_NOSANITIZE in opj_bio_read() and opj_bio_write() (#761)
458 Commit 29313eb5 introduced those flags to avoid issues with
459 -fsanitize=unsigned-integer-overflow
460 However it is better just to rewrite the loop to avoid such condition
463 commit 32b20b93e04d38303f736e975eb5f483fda01ca5
464 Author: Even Rouault <even.rouault@spatialys.com>
465 Date: 2017-06-17 16:37:56 +0200
469 commit 5f596cb2833d5ea7a4d04d22af551731bd770f05
470 Author: Even Rouault <even.rouault@spatialys.com>
471 Date: 2017-06-17 14:10:15 +0200
473 Fix warning about unused arguments
475 commit cc07aec6c7b50090c3f471ca2c68d0ffa8aa4ff1
476 Author: Even Rouault <even.rouault@spatialys.com>
477 Date: 2017-06-17 14:09:31 +0200
479 Fix warnings with recent GCC versions
481 commit a0839cca24e19f1f0906e30ee1009ce89e4942b4
482 Author: Jeroen Ooms <jeroenooms@gmail.com>
483 Date: 2017-06-16 13:58:25 +0200
485 only build both static and dynamic on non-windows
487 commit 1329b3240aafb1b31328091eb6f7720787b391be
488 Author: Jeroen Ooms <jeroenooms@gmail.com>
489 Date: 2017-06-16 13:27:19 +0200
491 build both shared and static library
493 commit 36dd87cea80ad56e0e3178221aa579a28f02a549
494 Merge: 9cbc990 5f1e380
495 Author: Antonin Descampe <antonin@descampe.net>
496 Date: 2017-06-14 17:23:06 +0200
498 Merge pull request #928 from RussellMcOrmond/master
500 Quiet mode for opj_decompress via -quiet long parameter.
502 commit 9cbc9903c3034d1a101d0521402503ead0abcff0
503 Merge: 2609fb8 9a9b069
504 Author: Even Rouault <even.rouault@spatialys.com>
505 Date: 2017-06-13 12:09:52 +0200
507 Merge branch 't1_flag_optimizations'
509 commit 2609fb8077125b5b31f1bcc2f98c12ff1e6572d7
510 Author: Even Rouault <even.rouault@spatialys.com>
511 Date: 2017-06-12 17:15:23 +0100
513 Packet header writing: set empty packet header bit to 0 when appropriate (small optimization)
515 commit 73d1510d473b7dcfccfdee57e0e511e6791d5091
516 Author: Even Rouault <even.rouault@spatialys.com>
517 Date: 2017-06-12 11:23:55 +0100
519 Encoder: fix packet writing of empty sub-bands (#891, #892)
521 There are situations where, given a tile size, at a resolution level,
522 there are sub-bands with x0==x1 or y0==y1, that consequently don't have any
523 valid codeblocks, but the other sub-bands may be non-empty.
524 Given that we recycle the memory from one tile to another one, those
525 ghost codeblocks might be non-0 and thus candidate for packet inclusion.
527 commit 81c5311758a0ae1f1aea349a6ee0bca2a238fa79
528 Author: Even Rouault <even.rouault@spatialys.com>
529 Date: 2017-06-09 10:47:13 +0200
531 T1: fix BYPASS/LAZY, TERMALL/RESTART and PTERM/ERTERM encoding modes. (#674)
533 There were a number of defects regarding when and how the termination of
534 passes had to done and the computation of their rate.
536 commit 9a9b06911e164bdc854cf6b9c3bc5b6e751bf46d
537 Author: Even Rouault <even.rouault@spatialys.com>
538 Date: 2017-06-02 19:22:15 +0200
540 opj_t1_dec_sigpass_raw/opj_t1_dec_refpass_raw: harmonize style with mqc methods
542 commit 532243f1fd9997db63ea7f6b199d21138ccf58a3
543 Author: Even Rouault <even.rouault@spatialys.com>
544 Date: 2017-06-02 16:49:26 +0200
546 MQC/RAW decoder: use an artificial 0xFF 0xFF terminating marker.
548 This saves comparing the current pointer with the end of buffer pointer.
549 This results at least in tiny speed improvement for raw decoding, and
550 smaller code size for MQC as well.
552 This kills the remains of the raw.h/.c files that were only used for
553 decoding. Encoding using the mqc structure already.
555 commit 9b39fc4bccb3e9e4e9a9f61c4dc672fb7f05d865
556 Author: Even Rouault <even.rouault@spatialys.com>
557 Date: 2017-06-02 14:32:12 +0200
559 Fix documentation of opj_t1_decode_cblks()
561 commit dde6cbabc0cb93102c2091c15d11dec1267d0fd8
562 Author: Even Rouault <even.rouault@spatialys.com>
563 Date: 2017-06-02 14:25:57 +0200
565 Simplify VSC handling: instead of masking out bits when reading the 4th row.
567 Do not set them when updating flags of the 1st row
569 commit 3d9940a35b8c566c1fb41db56018c91b511a976a
570 Author: Even Rouault <even.rouault@spatialys.com>
571 Date: 2017-06-02 11:52:16 +0200
573 Force inlining of mqc decoding and pass steps through heavy use of macros, so as to get better register allocation
575 commit 7e8b502842075738c9a062a2f06dace3f35dd7cd
576 Author: Even Rouault <even.rouault@spatialys.com>
577 Date: 2017-06-02 09:36:25 +0200
579 t1_generate_luts.c: fix compiler warnings
581 commit 2ba861c37cb5032d1fa90a7c9298f6e08a0f5413
582 Author: Even Rouault <even.rouault@spatialys.com>
583 Date: 2017-06-01 19:42:03 +0200
585 Optimize opj_t1_update_flags()
587 commit a0861855c11bcb8c93f399ca51e766b5c8ef9e33
588 Author: Even Rouault <even.rouault@spatialys.com>
589 Date: 2017-06-01 17:02:50 +0200
591 T1: remove use of neghalf variable. It is useless since bpno is always > 0
593 commit 10410fe72ec2d20f2bbdfb68a383bce1df17f35d
594 Author: Even Rouault <even.rouault@spatialys.com>
595 Date: 2017-06-01 11:15:25 +0200
597 T1: avoid pointer indirection for mqc and raw members of 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 Author: Even Rouault <even.rouault@mines-paris.org>
751 Date: 2017-05-03 12:41:02 +0200
753 Merge pull request #915 from rouault/appveyor_fix_attempt
755 Fix retrieval of jpylyzer in AppVeyor