Matthieu Darbois
131cc98491
[trunk] added an option to upsample image components in opj_decompress
...
Update issue 289
Issue is left open since there's still one image failing the tests.
2014-11-22 17:59:07 +00:00
Matthieu Darbois
13bcb63b73
[trunk] fixed pnmtoimage for odd pgm files (fixes issue 294)
2014-11-22 14:09:16 +00:00
Matthieu Darbois
0ba5d15b58
[trunk] fixed warning in option to force rgb output in opj_decompress (fixes issue 282)
2014-11-22 12:30:04 +00:00
Matthieu Darbois
7e38446075
[trunk] added option to force rgb output in opj_decompress (fixes issue 282 , fixes issue 286)
2014-11-22 00:04:39 +00:00
Matthieu Darbois
3bc360fc9d
[trunk] added option to force output bit depth in opj_decompress (fixes issue 283)
2014-11-19 20:05:39 +00:00
Matthieu Darbois
b65e3ebdb6
[trunk] fixed a bug leading to jpwl build failure & add related odd width/height sYCC tests (fixes issue 422)
2014-11-18 00:07:50 +00:00
Antonin Descampe
cf5153c518
[trunk] add a cdef box when alpha component is present (fixes issue 416)
2014-11-03 14:12:01 +00:00
Antonin Descampe
aff9cb39ed
[trunk] fixed invalid member values from opj_read_header or opj_decode (fixes issue 411)
2014-10-21 15:22:22 +00:00
Antonin Descampe
984351f86f
[trunk] Add option to call dsymutil on built binaries (fixes issue 409)
2014-10-15 10:24:49 +00:00
Antonin Descampe
1acfa211ae
[trunk] fixes heap-buffer-overflow in parse_cmdline_encoder
...
Fixes issue 403
Thanks Matthieu
2014-09-30 09:48:26 +00:00
Antonin Descampe
50a205d20f
[trunk] improve memory management (fixes issue 359)
2014-09-16 15:48:04 +00:00
Antonin Descampe
7d21871ed8
[trunk] fixes issue #357 . MCT is automatically disabled when
...
subsamppling is detected.
2014-07-03 09:15:13 +00:00
Antonin Descampe
a38b97fae0
[trunk] moved comment marker setup from opj_compress to the library
2014-07-01 13:51:55 +00:00
Mathieu Malaterre
4bac8488df
[trunk] Properly handle failure to compress (remove file)
...
Fixes issue 323
2014-04-28 07:54:33 +00:00
Mathieu Malaterre
de04302c15
[trunk] Missing endianess setting
...
Fixes issue 337
2014-04-28 07:44:39 +00:00
Mathieu Malaterre
997758f91c
[trunk] properly handle pkg-config on non-UNIX hosts
...
Fixes issue 340
2014-04-28 07:34:26 +00:00
Antonin Descampe
7924d3a456
[trunk]removed '-x' option for index file as long as it's broken
2014-04-23 15:19:57 +00:00
Antonin Descampe
ec84bafcd8
[trunk]re-formatted help display in executables
2014-04-23 14:09:20 +00:00
Antonin Descampe
08c09b74cf
[trunk]formatted some messages. Removed -version option to disambiguate
...
with -v(erbose) option, added version info in help display
2014-04-23 09:12:30 +00:00
Antonin Descampe
7aece5e8e7
[trunk]Replaced deprecated opj_stream_set_user_data function from API
...
with its 'v3' version, and removed all other 'v3' suffixes from API.
2014-04-23 07:46:11 +00:00
Antonin Descampe
8d93eae64a
[trunk] fixed some warning and errors formatting and add a '-version'
...
option to opj_compress and opj_decompress binaries
2014-04-22 21:22:49 +00:00
Antonin Descampe
7199d9b5d3
[trunk] refactoring of rsiz, profiles, and extensions management
2014-04-17 09:31:37 +00:00
Antonin Descampe
d19a4ab676
[trunk] updated copyright and added copyright notice required by ISO, in each file; updated AUTHORS, NEWS
2014-04-03 15:30:57 +00:00
Antonin Descampe
4db4198722
[trunk] fixed a bug triggering SEGFAULT on debug mode (uninitialized
...
structure)
2014-04-02 16:25:40 +00:00
Antonin Descampe
a54d757a3e
[trunk] fixed warnings triggered on linux related to r2802
2014-03-26 15:17:17 +00:00
Antonin Descampe
f1d69068c7
[trunk] add ability in opj_compress to input subsampled images through
...
'-F' (aka raw option). Let the user input raw images with 444, 422, 420
(etc) subsampling. To be used in conjunction with '-mct 0' option to
compress subsampled YCC images.
2014-03-26 14:26:49 +00:00
Mathieu Malaterre
9ba6bc6042
[trunk] Make sure to test value not pointer
...
Update issue 302
2014-03-25 16:34:59 +00:00
Antonin Descampe
5e1a0fad08
[trunk] fixed bug related to r2791
2014-03-25 15:35:33 +00:00
Antonin Descampe
666f71b2a1
[trunk] fixed warning due induced by r2791
2014-03-25 13:29:11 +00:00
Antonin Descampe
2b7d5b18f3
[trunk] add "-mct {0,1,2}" option to opj_compress to allow MCT to be
...
disabled if needed.
2014-03-25 12:38:29 +00:00
Mathieu Malaterre
18d5d25cb6
[trunk] Make sure to not use alpha pointer if it is not an RGBA input
...
Fixes issue 310
2014-03-25 11:47:34 +00:00
Mathieu Malaterre
18c5be69e9
[trunk] Make sure to exit early instead of looping on every single pixels
2014-03-24 16:01:51 +00:00
Mathieu Malaterre
5a70e97f51
[trunk] Fix typo in comment (this is not j2k_dump)
2014-03-24 09:49:04 +00:00
Mathieu Malaterre
51ab074d50
[trunk] User can now control source/target java version
...
Fixes issue 303
2014-03-18 15:00:23 +00:00
Mathieu Malaterre
ae49fd1aa9
[trunk] Update big endian handling no such thing as WORDS_BIGENDIAN (prefer OPJ_BIG_ENDIAN)
...
Update issue 302
2014-03-18 14:37:33 +00:00
Mathieu Malaterre
866cd28ad4
[trunk] Update BSD-4 copyright into a BSD-3 copyright
...
Fixes issue 300
2014-03-17 15:02:49 +00:00
Mathieu Malaterre
de74605777
[trunk] Fix issue with & vs &&
...
Fixes issue 277
2014-03-14 14:46:40 +00:00
Mathieu Malaterre
e8abf1fb25
[trunk] Add internal implementation to dump all tiles/comp info
...
Eg: opj_dump -f 8 -i input.j2k
Update issue 3
2014-03-14 13:53:36 +00:00
Mathieu Malaterre
138a65d6c1
[trunk] Move INLINE definition within openjpeg.h header since application may use it
2014-03-14 12:02:05 +00:00
Mathieu Malaterre
5624e4a25f
[trunk] Always report when decompression failed as return code value
2014-03-13 12:31:41 +00:00
Mathieu Malaterre
41add6882b
[trunk] Make sure to use 8bits buffer when applying the ICC profile.
...
Fixes issue 281
2014-03-12 14:18:25 +00:00
Mathieu Malaterre
dd0d2c2f0a
[trunk] Add debug info to be able to test integration with littlecms
2014-03-12 13:55:41 +00:00
Mathieu Malaterre
fcc658f106
[trunk] Fix compilation errors when JPWL and/or MJ2 are build
2014-03-11 09:11:35 +00:00
Mathieu Malaterre
8411ed4f80
[trunk] Remove warning about sign conversion in color.c
...
Update issue 256
2014-03-10 14:05:25 +00:00
Mathieu Malaterre
b01c1240cf
[trunk] Fix simple sign conversion warnings only visible on 32bits arch
2014-03-10 12:22:56 +00:00
Mathieu Malaterre
9a52b30c3d
[trunk] Properly handle PGM file generation when fullpath is specified in the cmd line
...
This will break a very old behavior (since 2005), but avoid writing in un-expected places for users
This also make the behavior similar with PGX file generation
2014-03-10 10:52:09 +00:00
Mathieu Malaterre
666ef53fd2
[trunk] Make sure to always initialize variable
2014-03-10 08:40:02 +00:00
Mathieu Malaterre
e02ba05034
[trunk] Fix warnings about shadow variables
2014-03-10 08:25:08 +00:00
Mathieu Malaterre
2001932c56
[trunk] Remove 2 warnings about set but not used variables
2014-03-10 08:13:05 +00:00
Mathieu Malaterre
f54de95802
[trunk] Upon failure, need to return proper return code
2014-03-07 17:23:19 +00:00
Mathieu Malaterre
956b1a7697
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 12:06:00 +00:00
Mathieu Malaterre
472ce19183
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 12:01:41 +00:00
Mathieu Malaterre
740924fa61
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:59:29 +00:00
Mathieu Malaterre
22d11a9ccb
[trunk] Remove mem leak and warning reported by clang
2014-03-07 11:17:51 +00:00
Mathieu Malaterre
fc9248ea2b
[trunk] Remove simple warnings about format
2014-03-07 11:11:43 +00:00
Mathieu Malaterre
c302979738
[trunk] Remove simple warning about functions not used
2014-03-07 11:08:35 +00:00
Mathieu Malaterre
016b9fc052
[trunk] Fix compilation in visual studio, inline cannot be used directly.
...
Fixes issue 272
2014-03-07 09:15:27 +00:00
Mathieu Malaterre
dd5c3a9c8e
[trunk] Remove some easy warnings
2014-03-06 16:29:03 +00:00
Mathieu Malaterre
93bc3cb628
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 16:01:23 +00:00
Mathieu Malaterre
7e64eb5414
[trunk] Remove some easy warnings about sign compare reported by gcc
2014-03-06 15:00:41 +00:00
Mathieu Malaterre
872368d25c
[trunk] Remove another warning. ftell returns long int
...
Update issue 256
2014-03-04 09:32:19 +00:00
Mathieu Malaterre
36320b4bf4
[trunk] Remove more conversion warnings.
...
Update issue 256
2014-03-04 09:30:07 +00:00
Mathieu Malaterre
11f402b44a
[trunk] Remove easy to fix warnings about conversion
2014-03-03 12:00:24 +00:00
Mathieu Malaterre
b330c10492
[trunk] remove some simple warnings about unused params
2014-03-03 11:40:59 +00:00
Mathieu Malaterre
339952c2af
[trunk] Remove simple warnings
2014-03-03 10:41:13 +00:00
Mathieu Malaterre
d14c475de7
[trunk] Remove warning about unused function
...
Update issue 268
2014-03-03 08:27:40 +00:00
Mathieu Malaterre
a149502c01
[trunk] Remove some simple warnings about var being set but not used
2014-03-02 10:23:05 +00:00
Mathieu Malaterre
decace60da
[trunk] Remove warning about -2147483648 (aka INT_MIN), causing this decimal constant is unsigned only in ISO C90
2014-03-02 10:20:57 +00:00
Mathieu Malaterre
6d0785a78f
[trunk] Fix compilation on MSVC compiler
2014-03-01 10:41:46 +00:00
Mathieu Malaterre
ec593a2549
[trunk] Partially rework r2506, original patch from issue 171 was totally bogus (untested?) and did break most of the test (eg. p1_04 family)
...
convert.c duplicate a lot of code, this patch only adresses the PGX codec section of the code.
Update issue 171
Update issue 264
2014-02-28 17:29:28 +00:00
Mathieu Malaterre
1eb67ca49d
[trunk] Remove some simple warnings in opj_dump
2014-02-28 12:06:57 +00:00
Mathieu Malaterre
7a89d731f7
[trunk] Merge final patch from issue 171 with code simplification. also handles signed case properly.
...
Fixes issue 171
2014-02-28 09:52:35 +00:00
Mathieu Malaterre
6a6fa7027a
[trunk] Import patch from issue 171. Only the imagetoraw part was not applied.
...
Update issue 171
2014-02-27 17:04:06 +00:00
Mathieu Malaterre
7c120281c7
[trunk] improve command line parser syntax checking
2014-02-27 10:02:46 +00:00
Mathieu Malaterre
8f4d674442
[trunk] Add missing include dir for wx app
2014-02-26 14:04:03 +00:00
Mathieu Malaterre
c4317177f3
[trunk] Remove simple warnings about unused functions
2014-02-26 09:46:01 +00:00
Mathieu Malaterre
e231a84b2f
[trunk] Properly store and use value returned by fread. Also invert nmemb and size in fread call.
...
Fixes issue 262
2014-02-26 09:40:19 +00:00
Mathieu Malaterre
3ca312033f
[trunk] Clarify raw input in openjpeg. LSB vs MSB are now documented.
...
Fixes issue 62
2014-02-25 10:35:07 +00:00
Mathieu Malaterre
228e0a3d79
[trunk] Fix a simple mem leak
2014-02-24 14:55:32 +00:00
Antonin Descampe
780120c9a2
[trunk] moved logic related to cinema profiles in library (was in
...
opj_compress.c). This enables one using the library with its own
executable to easily ask for cinema profiles.
2014-02-12 16:16:21 +00:00
Antonin Descampe
d6c0c85125
[trunk] added a warning when tif conversion changes input image bitdepth
2014-02-12 15:16:36 +00:00
Antonin Descampe
c81fb397bb
[trunk]re-indenting convert.c
2014-02-12 14:56:49 +00:00
Antonin Descampe
d143f49a66
[trunk] fixed another DCI compliance bug
2014-01-23 09:39:02 +00:00
Antonin Descampe
ee3f2ffa19
[trunk] fixed several bugs in cinema mode (2K 24/48 fps, and 4K). Trunk
...
now produces compliant DCI code-streams.
2014-01-22 18:41:34 +00:00
Antonin Descampe
c59124dfe2
[trunk] fixed indentation in opj_compress.c, renamed 2 internal
...
functions, added some comments
2014-01-16 14:21:14 +00:00
Antonin Descampe
05f796d2fa
trunk: fixed cmake config so as to be able to link opj_jpip_server with FCGI.
2013-10-30 08:59:23 +00:00
Antonin Descampe
bd8c91b37d
trunk: fixed cmake config so as to be able to link opj_jpip_server with FCGI.
2013-10-30 08:57:18 +00:00
Mickael Savinaud
bf0fa4089f
[trunk] enhance the support of sYCC into opj_decompress application (thanks winfried).
2013-03-24 23:12:41 +00:00
Mickael Savinaud
ecb93d97a5
[trunk] add access to opj_apps_config.h to old applications
2013-03-17 22:22:11 +00:00
Mickael Savinaud
a13e4a77e0
[trunk] use everywhere the new opj_ prefix for HAVE variables and use the opj_apps_config file (thanks to winfried)
2013-03-17 17:03:00 +00:00
Mickael Savinaud
e7bc30b409
[trunk] split into two config files config options related to the lib and to the application.
2013-03-03 17:55:35 +00:00
Mickael Savinaud
af58e8e8f9
[trunk] move to the new API for function opj_stream_create_default_file_stream. Use now opj_stream_create_default_file_stream_v3 (WIP)
2013-02-17 10:34:31 +00:00
Mickael Savinaud
4bf4a7668e
[trunk] move to the new API for function opj_stream_destroy. Use now opj_stream_destroy_v3 (WIP)
2013-02-16 17:39:23 +00:00
Mickael Savinaud
0109b39f58
[trunk] update convert about png writing with additional metadata (thanks winfried)
2013-02-03 10:18:10 +00:00
Mathieu Malaterre
cab86a0deb
[trunk] jp3d: fix command line parsing for subsampling
2012-11-28 12:04:40 +00:00
Mathieu Malaterre
be3a1da14a
[trunk] Fix issue with ITU-T T.809 (05/2011)
...
- ZSI is now known as NSI (FF54)
- NSI now stores Ndim (=3)
- CAP extended marker was not set properly
2012-11-28 11:46:16 +00:00
Mathieu Malaterre
a622c1c2fe
[trunk] rename USE_LEGACY into OPJ_USE_LEGACY for consistency with other #define
2012-11-16 09:31:12 +00:00
Mathieu Malaterre
b3e467dcba
[trunk] Attempt to fix compilation error with mj2
2012-11-16 09:19:11 +00:00
Mathieu Malaterre
c0259255b0
[trunk] Attempt to fix compilation error with mj2
2012-11-16 09:18:03 +00:00
Mickael Savinaud
9398bc1764
[trunk] solve the problem with new opj_ symbols in color.c
2012-11-16 08:36:23 +00:00
Mickael Savinaud
583df79be9
[trunk]rename the cinema option to old one
2012-11-15 19:24:51 +00:00
Mickael Savinaud
0e0b892493
[trunk] update some applications with new OPJ_BOOL type
2012-11-15 19:18:43 +00:00
Mickael Savinaud
d5efeb7df5
[trunk]update the copyright, the authors and thanks to respect the license
2012-11-15 15:22:29 +00:00
Mickael Savinaud
f07c1a11a0
[trunk]rename decompress options with the goog name
2012-11-15 14:29:38 +00:00
Mickael Savinaud
e212154d8d
[trunk]extend last commits to apps
2012-11-15 13:38:35 +00:00
Mathieu Malaterre
82d29d4c2a
[trunk] Remove bool.h, use opj_bool instead
...
Fix remaining opj_calloc/malloc/free issues
2012-10-29 16:24:39 +00:00
Mathieu Malaterre
5903dd7d82
[trunk] Remove temp fix now that mj2 is fixed
2012-10-29 15:28:59 +00:00
Mathieu Malaterre
e189679ebc
[trunk] Merge back JPIP modification into v2
...
This commit imports changes from openjpip.c from r2122 into openjpeg.c
2012-10-29 10:12:03 +00:00
Mathieu Malaterre
66c1228c95
[trunk] Remove some simple warnings about missing prototypes
2012-10-25 08:20:12 +00:00
Mathieu Malaterre
4585b23552
[trunk] Fix OpenJPWL compilation
...
Simply move files over from branch 1.5 onto current trunk, and use current openmj2 copy (it contains a copy of openjpeg 1.5.x)
2012-10-25 08:15:41 +00:00
Mathieu Malaterre
23a624f73a
[trunk] Since r2060 (and r2059) openjpip is now a first class shared library, instead of a local static lib which expose all the symbols.
...
As such re-apply changes from r2077 which were removed in r2122
Also remove old code for now removed opj_jpip_compress
2012-10-25 07:53:22 +00:00
Mathieu Malaterre
f3d7d2f7b1
[trunk] Rework r2077
...
r2077 did expose too much of the detail implementation of OpenJPEG. Rework dependencies in between JPIP file level details and JPIP client/server arch.
Move JPIP file level functionalities back into OpenJP2 as was the case in openjpeg 1.5.x. Use new cio func.
2012-10-25 07:39:59 +00:00
Mathieu Malaterre
98682e1073
[trunk] Remove some warnings about missing prototypes (gcc)
2012-10-15 15:47:56 +00:00
Mathieu Malaterre
dff377a741
[trunk] Fix compilation:
...
- using mingw32 compiler (missing exported symbols)
- using -fvisibility=hidden (gcc on UNIX)
2012-10-15 09:44:34 +00:00
Mathieu Malaterre
a40fc41988
[trunk] Fix missing link to zlib
2012-10-15 08:13:27 +00:00
Mathieu Malaterre
3416c6d91b
[trunk] Fix openmj2 compilation in static mode.
2012-10-15 08:09:31 +00:00
Mathieu Malaterre
75b7104724
[trunk] remove left-over from ->jpip_on implementation. JPIP is now completely removed from openjp2 and openmj2. Document jpip_iptr_offset variable
2012-10-15 07:38:10 +00:00
Mathieu Malaterre
2e30886a0d
[trunk] Fix openmj2/mj2 compilation
...
As reported on the mailing list, it is better to have a working (compiling) mj2 codec rather than nothing. mj2 uses it own copy of openjpeg 1.5
Update issue 177
2012-10-09 09:45:43 +00:00
Mathieu Malaterre
b18ffbd08a
[trunk] Use opj_malloc/opj_free in jpip bin
...
Update issue 177
2012-10-09 09:44:24 +00:00
Mathieu Malaterre
16d2dc662f
[trunk] FolderReorgProposal task. Remove left over of JPIP
...
JPIP code was moved from JP2 to openjpip
Update issue 177
2012-10-09 09:11:24 +00:00
Mathieu Malaterre
9832c911b3
[trunk] Update JPIP (FolderReorgProposal task)
...
This commit does three things:
- Use opj_malloc/calloc/free instead of the default C ones.
- Update JPIP API to start using cio _v2 API
- Create a new opj_jpip_compress which is the replacement for image_to_j2k -jpip
Update issue 177
2012-10-08 15:59:17 +00:00
Mathieu Malaterre
23f5eeec20
[trunk] Make openjpip a first class shared lib, for future linking
2012-10-05 17:05:06 +00:00
Mickael Savinaud
37ff9b029c
[trunk] remove warnings
2012-10-05 08:18:55 +00:00
Mathieu Malaterre
82afd3a891
[trunk] Set of warnings fix for gcc -pedantic
2012-10-02 09:41:51 +00:00
Mathieu Malaterre
394db7b738
[trunk] Remove old function tgt_create
...
Fix some warnings about size_t
2012-10-01 15:29:36 +00:00
Mathieu Malaterre
f501186b18
[trunk] Fix minor cmake style
2012-10-01 12:29:09 +00:00
Mathieu Malaterre
b2bebcf5ce
[trunk] fix compilation on windows where getopt is not available
2012-10-01 10:19:12 +00:00
Mathieu Malaterre
de33ba029b
[trunk] Fix missing getopt symbols on windows
2012-10-01 10:11:46 +00:00
Mathieu Malaterre
abdb8ee3f7
[trunk] Fix a set of warnings about C90 issues
2012-10-01 10:01:09 +00:00
Mathieu Malaterre
25cbfcf34a
[trunk] FolderReorgProposal task: cleanup doxygen
...
Update issue 177
2012-10-01 09:20:30 +00:00
Mathieu Malaterre
cffc33a51c
[trunk] FolderReorgProposal task: fix jpip doxygen
...
Update issue 177
2012-10-01 08:43:02 +00:00
Mathieu Malaterre
93761d9ab5
[trunk] FolderReorgProposal task: move source code to source dir
2012-10-01 07:49:52 +00:00
Mathieu Malaterre
bb16d8816c
[trunk] FolderReorgProposal task: only keep a single build system
2012-10-01 07:33:59 +00:00
Mathieu Malaterre
2d09cbfd21
[trunk] FolderReorgProposal task: rename JP3D CLI tools
...
Update issue 177
2012-09-28 09:57:19 +00:00
Mathieu Malaterre
d84b16caf9
[trunk] FolderReorgProposal task: rename MJ2/JPIP CLI tools
...
Update issue 177
2012-09-28 09:52:57 +00:00
Mathieu Malaterre
95f06f0591
[trunk] FolderReorgProposal task: fix JPWL
...
Update issue 177
2012-09-28 09:26:51 +00:00
Mathieu Malaterre
3bf4d635f2
[trunk] FolderReorgProposal task: rename cli tools
...
Update issue 177
2012-09-28 09:12:22 +00:00
Mathieu Malaterre
a4fa18e92d
[trunk] FolderReorgProposal task: Fix Viewer
...
Update issue 177
2012-09-28 08:59:10 +00:00
Mathieu Malaterre
f71af2a2ef
[trunk] FolderReorgProposal task: refactor MJ2
...
Update issue 177
2012-09-28 08:51:14 +00:00
Mathieu Malaterre
3e62f8d9b7
[trunk] FolderReorgProposal task: add JP3D
...
Update issue 177
2012-09-28 08:32:34 +00:00
Mathieu Malaterre
d518970039
[trunk] Start FolderReorgProposal task
...
Update issue 177
2012-09-28 08:11:41 +00:00