Up to [cvs.NetBSD.org] / pkgsrc / graphics / OpenJPH
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
OpenJPH: update to 0.33.0.
What's Changed
Fix ends of the encoding LUT of LUT-style NLTs by @palemieux in #376
Fix comment on ft_min and ft_max in nlt_rec by @michaeldsmith in #378
Group CodeQL GitHub Actions bumps in Dependabot by @cary-ilm in #385
Bump github/codeql-action/autobuild from 4.38.0 to 4.38.1 by @dependabot[bot] in #382
Bump github/codeql-action/init from 4.38.0 to 4.38.1 by @dependabot[bot] in #381
Bump github/codeql-action/analyze from 4.38.0 to 4.38.1 by @dependabot[bot] in #380
Bump the codeql group with 2 updates by @dependabot[bot] in #386
Issues/0377 implement nonuniformly sampled inverse lut by @michaeldsmith in #379
Fix heap buffer overflow in OpenJPH NLT marker parsing by @cary-ilm in #384
Fix null-pointer dereference in DFS-index lookup by @cary-ilm in #383
Bump the codeql group with 3 updates by @dependabot[bot] in #387
Bump uraimo/run-on-arch-action from 3.2.0 to 3.2.1 by @dependabot[bot] in #394
Bump msys2/setup-msys2 from 2.32.0 to 2.33.0 by @dependabot[bot] in #393
Work around MSVC x86 internal compiler error in the AVX2 encoder by @Kiptoo-Deus in #395
Revert "Bump msys2/setup-msys2 from 2.32.0 to 2.33.0" by @aous72 in #400
A bug fix and a small change to NLT4 by @aous72 in #392
Add quantization weighting by @aous72 in #398
This fixes an issue for older version of glibc 2.34. by @aous72 in #399
Bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #402
Bump the codeql group with 3 updates by @dependabot[bot] in #403
Don't use SSE2 into SSE code (fix build buid for i686) by @carlo-bramini in #404
replace << with *2 by @vlazar-ilm in #405
Fixes issues/bugs by @aous72 in #412
Bump the codeql group with 3 updates by @dependabot[bot] in #411
Bump the codeql group with 3 updates by @dependabot[bot] in #414
Accept uppercase .PGM/.PPM input in ojph_compress by @NotAFlightRisk in #407
Fix uninitialized reads in NLT marker parsing by @Carmel0 in #413
Fixes CVE-2026-111151 by @aous72 in #415
OpenJPH: update to 0.32.0. Many updates/PRs have been merged into this release. This is slightly rushed to go along with the next release of OpenEXR; in particular, I am adding an experimental non-linearity, NLT type 4 #356, which is not part of the standard -- if you do not need it, please do not use it.
OpenJPH: update to 0.31.0. This release has a few fixes, new features, and many people contributed to it. Importantly, this release adds Qfactor. This release however breaks API and ABI.
OpenJPH: update to 0.30.1.
0.30.1
I forgot to bump the version is my previous release.
The previous release had the following comments.
This is an important release; this release
Adds accelerated PowerPC64 (little-endian) subroutines -- thanks to @runlevel5 et al.
Fixes many strict aliasing violations -- thanks to a few people for highlighting this, @osamu620 & @thesamesam.
Fixes undefined behaviour in ojph_block_encoder_avx2.
Improves CI -- thanks to @dlemstra.
What's Changed
update notes in Dockerfile to use correct Dockerfile filename by @michaeldsmith in #292
ppc64le by @aous72 in #291
Lock down and clean up the workflows. by @dlemstra in #293
Bump msys2/setup-msys2 from 2.31.1 to 2.32.0 by @dependabot[bot] in #299
Bump actions/upload-artifact from 7.0.0 to 7.0.1 by @dependabot[bot] in #298
Fixes strict aliasing violations by @aous72 in #300
Undefined behaviour fixes in ojph_block_encoder_avx2 by @aous72 in #301
0.29.0
This is an important release, thanks to @michaeldsmith.
It adds support for big endian platforms and, in particular, s390x.
There are also a couple of bug fixes.
OpenJPH: update to 0.28.1. 0.28.1 This fixes compilation issue in MinW32 that was introduced in Version 0.28.0, which brought significant performance improvement. 0.28.0 AVX2 block coder optimizations (encoder + decoder) by @osamu620 in #276
OpenJPH: updated to 0.27.4 0.27.4 add documentation for ASAN build type Bug fix
OpenJPH: update to 0.27.3. Changed how the QCC marker is created. Add OSS fuzz corpus for ojph_compress_fuzz_target by @palemieux in #271
OpenJPH: update to 0.27.2.
0.27.2: Fix version (#270) Latest
Forgot to bump version in my previous release.
0.27.1
Two small bug fixes.
What's Changed
Adds a check that we do not use reversible Sqcd/Sqcc with irreversible transform
Detecting illegal precinct width or height by @aous72 in #269
Full Changelog: 0.27.0...0.27.1
OpenJPH: update to 0.27.0.
What's Changed
Add initial support for oss-fuzz by @palemieux in #249
Fix OSS-fuzz build by @palemieux in #250
Renamed file to avoid duplicate library names in custom builds. by @dlemstra in #252
Validate dimensions in the SIZ marker segment after reading it from a codestream by @palemieux in #253
Fix: Rule of 3/5/7 violation leads to possible use after free in inadvertent use of copy constructor /assignment. by @geo-ant in #242
Fix typo in the signature of get_tile_offset() by @palemieux in #254
Fix oss-fuzz build and improve documentation by @palemieux in #256
fix move special functions in mem in and outfile by @geo-ant in #258
Add support for CIFuzz by @palemieux in #259
Fix race condition in table initialization with multiple threads by @brechtvl in #243
Fix 32-bit ARM SIGBUS: align elastic allocator payload for coded_lists::buf by @cary-ilm in #262
Add Linux-ARM32 Build by @palemieux in #263
Extend fuzzing harness to add more reachability by @DavidKorczynski in #264
Fix ARM64EC builds by excluding ARM64EC from x64(_M_X64) detection on Windows by @navvyswethgraphics in #265
OpenJPH: update to 0.26.3. 0.26.3 This release fixes a bug introduced in version 0.26.1. Using versions 0.26.1 and 0.26.2 is not recommended.
OpenJPH: update to 0.26.0.
This version:
Renames src/core/common to src/core/openjph, as request by @cary-ilm. It is best to use his words
" OpenJPH headers are included in application code via #include <openjph/ojph_version.h>. The headers are expected to be in a folder named "openjph". The cmake configuration places them there in the installation step.
However, if OpenJPH is incorporated into an application via cmake's add_subdirectory, there is no installation step, the headers are included directly out of the source tree. There is no "openjph" folder, leading the #include <openjph/ojph_version.h> to fail.
Renaming the "common" directory to "openjph" resolves the build issue, since the headers then live inside the source tree in a directory with same name as the installation. The use of the "common" directory name is entirely internal to the OpenJPH build, it has no impact on the installation. The name should be arbitrary, so there should be no downside to renaming it this way."
Modifies error message names. This may break your code.
The modified versions are more descriptive, and less likely to be caught in a preprocessor macro.
Address an issue identified by @clshortfuse. Thank you Carlos.
During compilation on windows using clang-cl, the compiler may received flags designed for clang or gcc.
What's Changed
Merges PR #236, and another two smaller issues. by @aous72 in #237
OpenJPH: update to 0.25.3.
0.25.3
This release:
modifies 'aligned allocation' code for better compatibility -- this activity was instigated by a request from @barracuda156.
integrates PR from @ziyao233 for better compatibility of the strerror_r function, used in ojph_sockets.cpp -- this code is not compiled by default and is not needed for the library.
0.25.2
There was a mistake in the version bump earlier. So this is a second bump to fix things.
The earlier release was to fix a bug that was discovered during OSS-Fuzz. Thanx to @cary-ilm.
0.25.0
This PR makes ojph_aligned_alloc and ojph_aligned_free C functions, called using extern "C" {}
This is the correct way to support aligned_alloc.
The function aligned_alloc is a C11 function.
For C++ is it officially supported in C++ 17, which we do NOT support.
0.24.5
Addresses OpenEXR OSS-fuzz issue 5747129672073216 that can cause heap corruption.
0.24.4
This modifies the way ATK marker segment is processed.
Also, we now check that the ATK marker segment length (Latk) makes sense.
The issue was identified in OpenEXR fuzzing. Thanx to @cary-ilm for identifying the issue.
0.24.3
This is an important bug fix.
It protects against illegally long QCD and QCC marker segments.
It was discovered during OpenEXR fussing; thanx to @cary-ilm.
0.24.2
This release has an important bug fix, contributed by @MrApplejuice.
It also has a few build and test improvements, including many contributions by @kmilos.
Thanks to the contributors.
0.24.1
Fixes compilation failure on MinGW.
Thanks to @hmaarrfk and @kmilos for discovering this problem, proposing a fix, and testing it.
0.24.0
This address a few requests. In particular,
PR #200, which is concerned with using aligned memory allocation for mem_outfile -- thanks to @hmaarrfk
Issue #206, which is concerned with setting the needed C++ standard at configuration time -- thanks to @ggarra13
Issue #207, which is concerned with installing 64bit library in /lib64 instead of /lib -- thanks to @dschepler and @kmilos
OpenJPH: update to 0.23.1. About 2 years of development.
*: recursive bump for tiff growing lerc dependency
*: recursive bump for jpeg -> libjpeg-turbo switch
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
OpenJPH: Support compiling on non-amd64 platforms.
graphics/OpenJPH: import OpenJPH-0.10.0 Open source implementation of High-throughput JPEG2000 (HTJ2K), also known as JPH, JPEG2000 Part 15, ISO/IEC 15444-15, and ITU-T T.814. Here, we are interested in implementing the HTJ2K only, supporting features that are defined in JPEG2000 Part 1 (for example, for wavelet transform, only reversible 5/3 and irreversible 9/7 are supported).