<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/lib/openjp2/dwt.c, branch v2.1.2</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=v2.1.2</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=v2.1.2'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2016-09-16T15:48:20Z</updated>
<entry>
<title>Fix warnings from recent overflow checks</title>
<updated>2016-09-16T15:48:20Z</updated>
<author>
<name>Antonin Descampe</name>
<email>antonin@gmail.com</email>
</author>
<published>2016-09-16T15:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=25966346f76e1e27adf35a7180cddf311a3c9788'/>
<id>urn:sha1:25966346f76e1e27adf35a7180cddf311a3c9788</id>
<content type='text'>
see #832
</content>
</entry>
<entry>
<title>Add overflow checks for opj_aligned_malloc</title>
<updated>2016-09-13T19:05:30Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2016-09-12T18:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=43557dcd3bac636283f5205089fe767eae207fb0'/>
<id>urn:sha1:43557dcd3bac636283f5205089fe767eae207fb0</id>
<content type='text'>
See
https://pdfium.googlesource.com/pdfium/+/b20ab6c7acb3be1393461eb650ca8fa
4660c937e/third_party/libopenjpeg20/0020-opj_aligned_malloc.patch
</content>
</entry>
<entry>
<title>Change 'restrict' define to 'OPJ_RESTRICT' (#816)</title>
<updated>2016-09-13T09:00:07Z</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=c8fbf0f5160a78d2d39666f69c95293ca99c0f0d'/>
<id>urn:sha1:c8fbf0f5160a78d2d39666f69c95293ca99c0f0d</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>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>
<entry>
<title>Merge pull request #636 from uclouvain/opj_malloc-625</title>
<updated>2015-10-18T01:14:55Z</updated>
<author>
<name>Matthieu Darbois</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-10-18T01:14:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=05b3afd28f8c3f9551d551c565609062f57f5837'/>
<id>urn:sha1:05b3afd28f8c3f9551d551c565609062f57f5837</id>
<content type='text'>
Update allocation functions
Fix #625 
Fix #624
Fix #635 </content>
</entry>
<entry>
<title>Fix inconsistent behavior of malloc(0)</title>
<updated>2015-10-17T00:55:09Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-10-17T00:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=8034ffde8b108957aeff801c30b1a4c31e147e55'/>
<id>urn:sha1:8034ffde8b108957aeff801c30b1a4c31e147e55</id>
<content type='text'>
Update #635
Update #625
</content>
</entry>
<entry>
<title>Remove the explicit restrict keyword</title>
<updated>2015-10-13T19:07:11Z</updated>
<author>
<name>Mathieu Malaterre</name>
<email>mathieu.malaterre@gmail.com</email>
</author>
<published>2015-10-13T19:07:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=372fead0d7af3b955eb8c687067b817faa3ea41c'/>
<id>urn:sha1:372fead0d7af3b955eb8c687067b817faa3ea41c</id>
<content type='text'>
It would trigger a compiler error on xlc compiler.  Fixes #620
</content>
</entry>
<entry>
<title>Add some missing static</title>
<updated>2015-07-18T00:39:32Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2015-07-18T00:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=ae4799ad076837cd83d7f414d8adbbc5bd9107dc'/>
<id>urn:sha1:ae4799ad076837cd83d7f414d8adbbc5bd9107dc</id>
<content type='text'>
Still needs to check j2k.c &amp; jp2.c
Update uclouvain/openjpeg#243
</content>
</entry>
</feed>
