<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/tests/nonregression/CMakeLists.txt, branch master</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=master</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2024-02-28T15:23:43Z</updated>
<entry>
<title>Fix some typos (found by `codespell` and `typos`)</title>
<updated>2024-02-28T15:23:43Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2024-02-28T14:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=20ad29f497cf1afacb243c0019069ba10a0320bd'/>
<id>urn:sha1:20ad29f497cf1afacb243c0019069ba10a0320bd</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>CMake: drop support for cmake &lt; 3.5</title>
<updated>2024-01-08T17:13:14Z</updated>
<author>
<name>Dominik Wójt</name>
<email>domin144@o2.pl</email>
</author>
<published>2024-01-08T17:07:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=65d0326e5ac8db97314e1c211a20183f939bebb5'/>
<id>urn:sha1:65d0326e5ac8db97314e1c211a20183f939bebb5</id>
<content type='text'>
Compatibility for cmake version &lt; 3.5 is now deprecated in cmake and
specifing version below 3.5 in cmake_minimum_required produces a
warning.[1]

[1] https://cmake.org/cmake/help/latest/release/3.27.html#deprecated-and-removed-features
</content>
</entry>
<entry>
<title>fix: use `opj_uint_ceildiv` instead of `opj_int_ceildiv` when necessary</title>
<updated>2023-09-23T10:50:57Z</updated>
<author>
<name>mayeut</name>
<email>mayeut@users.noreply.github.com</email>
</author>
<published>2023-09-23T09:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=d23e0284c9be174cc6daaa594c1139076771e16b'/>
<id>urn:sha1:d23e0284c9be174cc6daaa594c1139076771e16b</id>
<content type='text'>
There are a bunch of loc where we can see a usage of `opj_int_ceildiv`:
```
(OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)a, (OPJ_INT32)b);
```
where a &amp; b are `OPJ_UINT32`.

This can lead to overflow/underflow for some a/b combinations.
Replace those calls by `opj_uint_ceildiv` instead to always get a correct result.

This also allows some valid single tile images with huge tile size to be decoded properly.
Fix #1438
</content>
</entry>
<entry>
<title>Test decoding a .jhc file with vertically causal context variation</title>
<updated>2021-09-26T11:02:52Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-09-26T11:02:40Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0fbeeff48e741d17dbb673c0e663433cbbf06094'/>
<id>urn:sha1:0fbeeff48e741d17dbb673c0e663433cbbf06094</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test decoding a .jph test file</title>
<updated>2021-09-26T10:41:05Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-09-26T10:41:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=2e977fac16acc6b1994e37b4de9271b710bc5129'/>
<id>urn:sha1:2e977fac16acc6b1994e37b4de9271b710bc5129</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #1253 from rouault/floating_point_irreversible_encoding</title>
<updated>2020-10-09T11:25:27Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2020-10-09T11:25:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=491299eb073c80602ca8ee333303a31a581d3fa8'/>
<id>urn:sha1:491299eb073c80602ca8ee333303a31a581d3fa8</id>
<content type='text'>
Single-threaded performance improvements in forward DWT for 5-3 and 9-7 (and other improvements)</content>
</entry>
<entry>
<title>Merge pull request #1211 from sebras/master</title>
<updated>2020-05-20T19:10:55Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2020-05-20T19:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=19ef7f26c43f689b627aad642da7f6150893b863'/>
<id>urn:sha1:19ef7f26c43f689b627aad642da7f6150893b863</id>
<content type='text'>
Add check to validate SGcod/SPcoc/SPcod parameter values.</content>
</entry>
<entry>
<title>Testing: revise testing of lossy encoding by comparing PEAK and MSE with original image</title>
<updated>2020-05-20T18:31:28Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2020-05-19T16:03:58Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=fe4c15f12c562a42a6b0c4b0a0c5e42a25797235'/>
<id>urn:sha1:fe4c15f12c562a42a6b0c4b0a0c5e42a25797235</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement writing of IMF profiles</title>
<updated>2020-02-12T14:55:25Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2020-02-12T14:55:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=84f3bebbff515f2b00ccf0c817930ebb10b91760'/>
<id>urn:sha1:84f3bebbff515f2b00ccf0c817930ebb10b91760</id>
<content type='text'>
Add -IMF switch to opj_compress as well
</content>
</entry>
<entry>
<title>openjp2/j2k: Validate all SGcod/SPcod/SPcoc parameter values.</title>
<updated>2019-09-04T03:14:41Z</updated>
<author>
<name>Sebastian Rasmussen</name>
<email>sebras@gmail.com</email>
</author>
<published>2018-10-31T14:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=f3ee448815eb992b8d4746e32c05e8289f30415f'/>
<id>urn:sha1:f3ee448815eb992b8d4746e32c05e8289f30415f</id>
<content type='text'>
Previously the multiple component transformation SGcod(C)
and wavelet transformation SPcod(H)/SPcoc(E) parameter
values were never checked, allowing for out of range values.

The lack of validation allowed the bit stream provided in
issue #1158 through. After this commit an error message
points to the marker segments' parameters as being out of
range.

input/nonregression/edf_c2_20.jp2 contains an SPcod(H) value
of 17, but according to Table A-20 of the specification only
values 0 and 1 are valid. input/nonregression/issue826.jp2
contains a SGcod(B) value of 2, but according to Table A-17
of the specification only values 0 and 1 are valid.
input/nonregression/oss-fuzz2785.jp2 contains a SGcod(B)
value of 32, but it is likewise limited to 0 or 1. These test
cases have been updated to consistently fail to parse the
headers since they contain out of bounds values.

This fixes issue #1210.
</content>
</entry>
</feed>
