<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/lib/openjp2/dwt.c, branch dev-restart</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=dev-restart</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=dev-restart'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2016-09-15T21:51:34Z</updated>
<entry>
<title>Remove TODO for overflow check (#842)</title>
<updated>2016-09-15T21:51:34Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-15T21:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=6e7616c83cb01d9b7a5a35e093ff9ff6741acc74'/>
<id>urn:sha1:6e7616c83cb01d9b7a5a35e093ff9ff6741acc74</id>
<content type='text'>
The check was already done. It’s been simplified.
Reformat to get consistent style throughout the functions.
</content>
</entry>
<entry>
<title>Add overflow checks for opj_aligned_malloc (#841)</title>
<updated>2016-09-14T23:57:53Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-14T23:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=9a07ccb3d0f076388e4da684a3bfd4327125c721'/>
<id>urn:sha1:9a07ccb3d0f076388e4da684a3bfd4327125c721</id>
<content type='text'>
See
https://pdfium.googlesource.com/pdfium/+/b20ab6c7acb3be1393461eb650ca8fa4660c937e/third_party/libopenjpeg20/0020-opj_aligned_malloc.patch</content>
</entry>
<entry>
<title>Fix some warnings (#838)</title>
<updated>2016-09-13T22:12:43Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-13T22:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0954bc11e3ab6a39d86e5ed51286da4b8989743d'/>
<id>urn:sha1:0954bc11e3ab6a39d86e5ed51286da4b8989743d</id>
<content type='text'>
Fix warnings introduced by uclouvain/openjpeg#786</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/uclouvain/openjpeg into tier1_optimizations_multithreading_2</title>
<updated>2016-09-08T08:30:09Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2016-09-08T08:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=48c16b2c199210a3c20b306a737eac5fc2c8f6c9'/>
<id>urn:sha1:48c16b2c199210a3c20b306a737eac5fc2c8f6c9</id>
<content type='text'>
Conflicts:
	src/lib/openjp2/t1.c
</content>
</entry>
<entry>
<title>Change 'restrict' define to 'OPJ_RESTRICT' (#816)</title>
<updated>2016-09-05T22:49:53Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-05T22:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=9f24b078c7193e886f6cfb329d3469eb1facf68d'/>
<id>urn:sha1:9f24b078c7193e886f6cfb329d3469eb1facf68d</id>
<content type='text'>
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC.
Need to check proper usage of OPJ_RESTRICT (if correct then there’s
probably a bug  in vc14)

Closes #661 </content>
</entry>
<entry>
<title>Be robust to failed allocations of job structures</title>
<updated>2016-05-26T21:51:32Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2016-05-26T21:51:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=7d3c7a345f05adbc9ca26d8ca7f6c7fffa5096be'/>
<id>urn:sha1:7d3c7a345f05adbc9ca26d8ca7f6c7fffa5096be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use thread pool for DWT decoding</title>
<updated>2016-05-25T19:02:07Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2016-05-25T16:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=57b216bb587aa7eba13afbbfd6a1fe5f04201b61'/>
<id>urn:sha1:57b216bb587aa7eba13afbbfd6a1fe5f04201b61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comment explaining bj is not use when l_data_size == 0</title>
<updated>2016-01-09T13:30:48Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2016-01-09T13:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=6a1974d40d95d857377a1eb5f4db0d9e24d0ad0a'/>
<id>urn:sha1:6a1974d40d95d857377a1eb5f4db0d9e24d0ad0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1</title>
<updated>2016-01-08T18:38:45Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2016-01-08T18:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=87c0d7dc1eee2adf1aa7ae31bdfac078bb114c01'/>
<id>urn:sha1:87c0d7dc1eee2adf1aa7ae31bdfac078bb114c01</id>
<content type='text'>
When trying the GDAL OpenJPEG driver against openjpeg current master HEAD,
I get failures when trying to create .jp2 files. The driver uses
opj_write_tile() and in some tests numresolutions = 1.

In openjp2/dwt.c:410, l_data_size = opj_dwt_max_resolution( tilec-&gt;resolutions,tilec-&gt;numresolutions) * (OPJ_UINT32)sizeof(OPJ_INT32);
is called and returns l_data_size = 0. Now in git opj_malloc() has a special case
for 0 to return a NULL pointer whereas previously it relied on system malloc(),
which in my case didn't return NULL.

So only test the pointer value if l_data_size != 0. This makes the GDAL
autotest suite to pass again.
</content>
</entry>
<entry>
<title>Fix HP compiler warning about redeclaration of function (#640)</title>
<updated>2015-10-19T10:14:27Z</updated>
<author>
<name>Stephan Mühlstrasser</name>
<email>stm@pdflib.com</email>
</author>
<published>2015-10-19T10:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=a1fc83cc255ff7697d6ca68ea4e1c42710771756'/>
<id>urn:sha1:a1fc83cc255ff7697d6ca68ea4e1c42710771756</id>
<content type='text'>
HP compiler warns:
cc: "dwt.c", line 798: warning 562: Redeclaration of "opj_v4dwt_decode"
with a different storage class specifier: "opj_v4dwt_decode" will have
internal linkage.
cc: "t2.c", line 1341: warning 562: Redeclaration of "opj_t2_init_seg"
with a different storage class specifier: "opj_t2_init_seg" will have
internal linkage.</content>
</entry>
</feed>
