<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/tests, 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>Fixed typos (#1486)</title>
<updated>2023-12-08T10:22:56Z</updated>
<author>
<name>Andrew Murray</name>
<email>3112309+radarhere@users.noreply.github.com</email>
</author>
<published>2023-12-08T10:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=67c998fd8dcf7c2276680fab5e508c724ca45e52'/>
<id>urn:sha1:67c998fd8dcf7c2276680fab5e508c724ca45e52</id>
<content type='text'>
</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>opj_jp2_read_header(): move setting icc_profile here instead in opj_jp2_decode()/get_tile() + add unit test (fixes #570)</title>
<updated>2023-03-26T12:03:59Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2023-03-26T12:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=59ec1f0ae6edb19f45ab06792aa8902759af6954'/>
<id>urn:sha1:59ec1f0ae6edb19f45ab06792aa8902759af6954</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Separate fuzz targets to increase coverage (#1416)</title>
<updated>2022-05-13T16:18:47Z</updated>
<author>
<name>Navidem</name>
<email>navid.emamdoost@gmail.com</email>
</author>
<published>2022-05-13T16:18:47Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=cf90ff0c57ad5b12aa6e227d7202960a5770144d'/>
<id>urn:sha1:cf90ff0c57ad5b12aa6e227d7202960a5770144d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>opj_compress: add a -TargetBitDepth switch for TIFF output (#1384)</title>
<updated>2021-10-27T12:10:50Z</updated>
<author>
<name>msheby</name>
<email>44249925+msheby@users.noreply.github.com</email>
</author>
<published>2021-10-27T12:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=90481203a28d4d18052a07711d6d890ed1ab8c8a'/>
<id>urn:sha1:90481203a28d4d18052a07711d6d890ed1ab8c8a</id>
<content type='text'>
Sometimes, given the same (16-bit TIF) input, one wants to generate a variety of J2C outputs (say, 16-, 12-, and 10-bit). This patch allows one to downsample input files, and so makes it easier to automate OpenJPEG in mass generation of J2Cs without having to pipe though an image processing program.</content>
</entry>
<entry>
<title>API: deprecate 'bpp' member in favor of 'prec'</title>
<updated>2021-10-21T12:13:58Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-10-21T10:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=0b5d62684fe360e098e3bccaef02ee3e9781cec4'/>
<id>urn:sha1:0b5d62684fe360e098e3bccaef02ee3e9781cec4</id>
<content type='text'>
in opj_image_comp and opj_image_comptparm structures.

bpp was redundant with prec, and almost never set by the library, except
by opj_image_create(). This change should hopefully not impact existing,
working, users of the API, which should already have used prec to get
things working.

Fixes #1379
</content>
</entry>
<entry>
<title>tests/: reformat a few files to be modified</title>
<updated>2021-10-21T11:12:33Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-10-21T11:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=3835f37084c762dc7a14b3e995bc005cf584de7c'/>
<id>urn:sha1:3835f37084c762dc7a14b3e995bc005cf584de7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/fuzzers/build_seed_corpus.sh: add htj2k files</title>
<updated>2021-09-27T06:04:57Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2021-09-27T06:04:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=714c63efee203a46fe366d22c0077425052bb62c'/>
<id>urn:sha1:714c63efee203a46fe366d22c0077425052bb62c</id>
<content type='text'>
</content>
</entry>
</feed>
