<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/tests/nonregression, branch v2.3.0</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=v2.3.0</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=v2.3.0'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2017-09-19T15:06:19Z</updated>
<entry>
<title>Add capability to decode only a subset of all components of an image.</title>
<updated>2017-09-19T15:06:19Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-09-19T14:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=7e2b6bebff12eab8bdc17fc9af017e8c11652f4f'/>
<id>urn:sha1:7e2b6bebff12eab8bdc17fc9af017e8c11652f4f</id>
<content type='text'>
This adds a opj_set_decoded_components(opj_codec_t *p_codec,
OPJ_UINT32 numcomps, const OPJ_UINT32* comps_indices) function,
and equivalent "opj_decompress -c compno[,compno]*" option.

When specified, neither the MCT transform nor JP2 channel transformations
will be applied.

Tests added for various combinations of whole image vs tiled-based decoding,
full or reduced resolution, use of decode area or not.
</content>
</entry>
<entry>
<title>Add test for fix of a55c024fc6b917a409b85aeafd7326421c4aea34</title>
<updated>2017-08-28T16:08:13Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-28T16:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=4776b15fa7ec2afa74f65cd471f94513ea08205a'/>
<id>urn:sha1:4776b15fa7ec2afa74f65cd471f94513ea08205a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>issue104_jpxstream.jp2 decompresses just fine (and like Kakadu). Update md5refs.txt and remove from knownfailures</title>
<updated>2017-08-24T12:31:13Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-24T12:31:13Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=79aa0b54ddd3e4e3ca09374cb82bd3302a65783a'/>
<id>urn:sha1:79aa0b54ddd3e4e3ca09374cb82bd3302a65783a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove broken.jpc test from known failures, by avoiding too long processing time</title>
<updated>2017-08-24T12:09:34Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-24T12:09:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=c059f431e6262fe5ce296e8137dd478dfe4d1af1'/>
<id>urn:sha1:c059f431e6262fe5ce296e8137dd478dfe4d1af1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove -NR-DEC-p1_06.j2k-156-decode and NR-DEC-p1_06.j2k-164-decode from knownfailures</title>
<updated>2017-08-24T11:23:25Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-24T11:23:25Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=fdcd4e6365731cc1015213e424068131bcd1f31f'/>
<id>urn:sha1:fdcd4e6365731cc1015213e424068131bcd1f31f</id>
<content type='text'>
and make them explicit failures. The result images are empty at the requested resolution
</content>
</entry>
<entry>
<title>Encoder: grow buffer size in opj_tcd_code_block_enc_allocate_data() to avoid write heap buffer overflow in opj_mqc_flush (#982)</title>
<updated>2017-08-14T15:20:37Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2017-08-14T15:20:37Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=afb308b9ccbe129608c9205cf3bb39bbefad90b9'/>
<id>urn:sha1:afb308b9ccbe129608c9205cf3bb39bbefad90b9</id>
<content type='text'>
</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>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>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>
</feed>
