<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/lib/openjp2/j2k.h, branch opt</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=opt</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=opt'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2017-08-14T12:41:27Z</updated>
<entry>
<title>Use const qualifier for j2k_prog_order_list</title>
<updated>2017-08-14T12:41:27Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2017-08-13T20:57:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=10e6ce2c2cfacf51fdde7e9c69bf2365840f4bb0'/>
<id>urn:sha1:10e6ce2c2cfacf51fdde7e9c69bf2365840f4bb0</id>
<content type='text'>
This allows more compiler optimizations.

Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>Partial revert BPC related check of #975 (#979)</title>
<updated>2017-08-09T09:34:08Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-09T09:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=ac375ac9f5b4ae47501b60795e905e3d25dd00f8'/>
<id>urn:sha1:ac375ac9f5b4ae47501b60795e905e3d25dd00f8</id>
<content type='text'>
PR #975 introduced a check that rejects images that have different bit depth/sign
per compoment in SIZ marker if the JP2 IHDR box has BPC != 255
This didn't work properly if decoding a .j2k file since the new bit added in
opj_cp_t wasn't initialized to the right value.
For clarity, tThis new bit has also been renamed to allow_different_bit_depth_sign

But looking closer at the code, it seems we were already tolerant to inconsistencies.
For example we parsed a JP2 BPCC box even if BPC != 255 (just a warning is emitted)
So failing hard in opj_j2k_read_siz() wouldn't be very inconsistent, and that
alone cannot protect against other issues, so just emit a warning if BPC != 255
and the SIZ marker contains different bit depth/sign per component.

Note: we could also check that the content of JP2 BPCC box is consistant with the one
of the SIZ marker.
</content>
</entry>
<entry>
<title>First change on changes-for-afl-tests</title>
<updated>2017-08-02T15:27:08Z</updated>
<author>
<name>szukw000</name>
<email>szukw000@arcor.de</email>
</author>
<published>2017-08-02T15:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=57e36dbfeb57451444c5c20eab66ab0bedd3d3b3'/>
<id>urn:sha1:57e36dbfeb57451444c5c20eab66ab0bedd3d3b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Catch images broken by AFL</title>
<updated>2017-07-31T11:58:08Z</updated>
<author>
<name>szukw000</name>
<email>szukw000@arcor.de</email>
</author>
<published>2017-07-31T11:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=00f45684a8339e69ed55df2397f3c19d09fecaed'/>
<id>urn:sha1:00f45684a8339e69ed55df2397f3c19d09fecaed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src/lib/openjp2/*.h: use OPJ_ prefix for inclusion guards instead of reserved __ (#587)</title>
<updated>2017-07-30T17:46:52Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-30T17:46:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=13cde9fa37249628af6b6f10601b733f87a025f4'/>
<id>urn:sha1:13cde9fa37249628af6b6f10601b733f87a025f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>j2k.c: remove hardcoded constants related to m_state, and useless FIXME</title>
<updated>2017-07-30T15:26:03Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-30T15:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=4748318136626dd9e841ea1aa8b52adfbab26772'/>
<id>urn:sha1:4748318136626dd9e841ea1aa8b52adfbab26772</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Spelling fixes (patch by ka7, #890, rebased on top of master)</title>
<updated>2017-07-26T19:06:38Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-26T19:06:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd'/>
<id>urn:sha1:5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix assertion / memory leak in opj_j2k_merge_ppt() on corrupted images (#939)</title>
<updated>2017-07-26T17:49:38Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-26T17:49:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=8d2e69e37d01bf6a0440d3109d92235c3c586ffe'/>
<id>urn:sha1:8d2e69e37d01bf6a0440d3109d92235c3c586ffe</id>
<content type='text'>
Fixes issue on id:000020,sig:06,src:001958,op:flip4,pos:149 that has two
SOT markers for the same tile with the same tile part number, causing
opj_j2k_merge_ppt() to be called several times.
</content>
</entry>
<entry>
<title>Remove unused m_DA_x0, m_DA_y0, m_DA_x1, m_DA_y1 members from opj_j2k_dec structure</title>
<updated>2017-07-05T19:33:42Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-05T19:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=a38c4496b631bb5d3f8d5ea42d394544523a9bc6'/>
<id>urn:sha1:a38c4496b631bb5d3f8d5ea42d394544523a9bc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MQC/RAW decoder: use an artificial 0xFF 0xFF terminating marker.</title>
<updated>2017-06-02T16:24:07Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-06-02T14:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=532243f1fd9997db63ea7f6b199d21138ccf58a3'/>
<id>urn:sha1:532243f1fd9997db63ea7f6b199d21138ccf58a3</id>
<content type='text'>
This saves comparing the current pointer with the end of buffer pointer.
This results at least in tiny speed improvement for raw decoding, and
smaller code size for MQC as well.

This kills the remains of the raw.h/.c files that were only used for
decoding. Encoding using the mqc structure already.
</content>
</entry>
</feed>
