OpenJPEG library
openjpeg.library: AmigaOS 4 shared library wrapping the OpenJPEG 1.3 JPEG
2000 codec, by Fredrik Wikstrom. Based on Stephan Matzke's port of
OpenJPEG 1.3.
Version 52.5 (2009-12-20).
The OpenJPEG library is an open-source JPEG 2000 codec written in C. Older
versions of icns.datatype and jpeg2000.datatype use openjpeg.library;
jpeg2000.datatype 53.1 and later link OpenJPEG statically instead.
Installation
Copy release/openjpeg.library to LIBS:. For developers: copy everything
in src/include/ to SDK:Local/common/include/.
release/AutoInstall is the AmiUpdate install script.
Notes for developers
From the readme:
The extended fields (jpwl) of the opj_cparameters_t and opj_dparameters_t
structures are only available when using the v2 main interface. Also you
will need to compile your code using "-DUSE_JPWL".
Developers writing programs for the v2 interface should use these functions
for allocating and freeing these structures:
- opj_create_cparameters
- opj_create_dparameters
- opj_destroy_cparameters
- opj_destroy_dparameters
Version 1 of the main interface is backwards compatible and will continue to
work as before except that there is now JPWL format support in the code.
Building
src/Makefile builds with GCC (gcc -mcrt=newlib, -DUSE_JPWL): type
make in src/. It writes openjpeg.library to release/. Other targets:
install, clean and revision. The library interface is described in
src/openjpeg.xml.
Contents
src/: the library wrapper (init.c, openjpeg_vectors.c), the
interface description openjpeg.xml, the SDK includes in src/include/
and the makefile.
src/openjpeg/: OpenJPEG 1.3.0 (libopenjpeg/) with JPWL (jpwl/),
under the BSD license in src/openjpeg/license.txt.
release/: the built library, the AmiUpdate script and the readme with
the change history.
contributors.txt: Fredrik Wikstrom (salass00), original openjpeg.library
implementation.
History
Developed by Fredrik Wikstrom (versions 52.1 to 52.5, 2008-2009) and kept in
the OpenAmiga.org Subversion repository in 2009. Moved to GitHub in November
2026, with its full commit history. |