<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/tests, branch v2.2.0</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=v2.2.0</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=v2.2.0'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2017-08-09T09:34:08Z</updated>
<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>Avoids undefined shift behaviour in m_dc_level_shift computation</title>
<updated>2017-07-27T16:10:03Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-26T21:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=d6fa30099797c68c6a67decf58571dd59dbf734b'/>
<id>urn:sha1:d6fa30099797c68c6a67decf58571dd59dbf734b</id>
<content type='text'>
Fixes warning found on clusterfuzz-testcase-minimized-5146316340461568
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2495

Credit to OSS Fuzz
</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>Add tests/fuzzers for OSS Fuzz (#965)</title>
<updated>2017-07-03T13:42:35Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-07-03T12:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=1a8eac6a90ca61f3703f9b97afc2ec4918f0ab55'/>
<id>urn:sha1:1a8eac6a90ca61f3703f9b97afc2ec4918f0ab55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Encoder: fix packet writing of empty sub-bands (#891, #892)</title>
<updated>2017-06-12T16:37:50Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-06-12T10:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=73d1510d473b7dcfccfdee57e0e511e6791d5091'/>
<id>urn:sha1:73d1510d473b7dcfccfdee57e0e511e6791d5091</id>
<content type='text'>
There are situations where, given a tile size, at a resolution level,
there are sub-bands with x0==x1 or y0==y1, that consequently don't have any
valid codeblocks, but the other sub-bands may be non-empty.
Given that we recycle the memory from one tile to another one, those
ghost codeblocks might be non-0 and thus candidate for packet inclusion.
</content>
</entry>
<entry>
<title>T1: fix BYPASS/LAZY, TERMALL/RESTART and PTERM/ERTERM encoding modes. (#674)</title>
<updated>2017-06-09T08:49:03Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-06-09T08:47:13Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=81c5311758a0ae1f1aea349a6ee0bca2a238fa79'/>
<id>urn:sha1:81c5311758a0ae1f1aea349a6ee0bca2a238fa79</id>
<content type='text'>
There were a number of defects regarding when and how the termination of
passes had to done and the computation of their rate.
</content>
</entry>
<entry>
<title>Tests: test opj_compress in VSC mode (related to #172)</title>
<updated>2017-05-23T12:31:39Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-05-23T11:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=2d2c368b19ee59cba7470c94bcc2c06ca6db1d80'/>
<id>urn:sha1:2d2c368b19ee59cba7470c94bcc2c06ca6db1d80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>perf_test.py: implement -i option</title>
<updated>2017-05-11T18:18:42Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-05-11T18:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0ecac46a1db911cbe340c4467000e91cea82c96d'/>
<id>urn:sha1:0ecac46a1db911cbe340c4467000e91cea82c96d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add profiling of CPU and memory usage (#912)</title>
<updated>2017-05-09T10:35:51Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-05-06T13:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=05d58451a1221ba95db8fb1d159eb0f76dbafb22'/>
<id>urn:sha1:05d58451a1221ba95db8fb1d159eb0f76dbafb22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add performance benchmarking scripts</title>
<updated>2017-05-06T12:44:20Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-05-04T13:22:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=328f076d2639d8664436e2b620cf9eed4f7dee53'/>
<id>urn:sha1:328f076d2639d8664436e2b620cf9eed4f7dee53</id>
<content type='text'>
And run them by Travis-CI
</content>
</entry>
</feed>
