<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/lib/openjp2/dwt.c, branch codingstyle</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=codingstyle</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=codingstyle'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2016-01-25T22:22:06Z</updated>
<entry>
<title>processed all c/h files through astyle with opj_astyle.cfg</title>
<updated>2016-01-25T22:22:06Z</updated>
<author>
<name>Antonin Descampe</name>
<email>antonin@gmail.com</email>
</author>
<published>2016-01-25T22:22:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0febbff19e05cb1a6c2613eee76ad46a669c96cd'/>
<id>urn:sha1:0febbff19e05cb1a6c2613eee76ad46a669c96cd</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>
<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>
<entry>
<title>added memory allocation checks (fixes issue 355)</title>
<updated>2014-09-19T10:26:35Z</updated>
<author>
<name>Antonin Descampe</name>
<email>antonin@gmail.com</email>
</author>
<published>2014-09-19T10:26:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=6868ee373ecc69ac472b6d61decc4741723c1540'/>
<id>urn:sha1:6868ee373ecc69ac472b6d61decc4741723c1540</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[trunk] updated copyright and added copyright notice required by ISO, in each file; updated AUTHORS, NEWS</title>
<updated>2014-04-03T15:30:57Z</updated>
<author>
<name>Antonin Descampe</name>
<email>antonin@gmail.com</email>
</author>
<published>2014-04-03T15:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=d19a4ab6768c48b542c0add922eba0dcddae9ffe'/>
<id>urn:sha1:d19a4ab6768c48b542c0add922eba0dcddae9ffe</id>
<content type='text'>
</content>
</entry>
</feed>
