Commit Graph

569 Commits

Author SHA1 Message Date
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 1a5791750b [trunk] Fix simple warning about unused variables 2012-10-29 16:07:24 +00:00
Mathieu Malaterre 482d9b58b3 [trunk] Make sure to use off_t 2012-10-29 16:07:09 +00:00
Mathieu Malaterre 5903dd7d82 [trunk] Remove temp fix now that mj2 is fixed 2012-10-29 15:28:59 +00:00
Mathieu Malaterre 759be64115 [trunk] Fix remainings issues with doxygen doc
Convert DOS files to UNIX eol
2012-10-29 14:35:11 +00:00
Mickael Savinaud ece2a2d6c2 [trunk] Normalize the return type of opj_read_from_file regarding the test in the calling function 2012-10-29 13:53:02 +00:00
Mathieu Malaterre fb69541cfa [trunk] Fix compilation when JPIP is OFF 2012-10-29 13:27:39 +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
Mickael Savinaud 18e7fcc37f [trunk] remove warnings related to the use of -Wall -Wextra -pedantic 2012-10-29 10:08:35 +00:00
Mickael Savinaud 1c8a657044 [trunk] finish to remove the old cio_ struct (last comment is incomplete) 2012-10-26 10:10:22 +00:00
Mickael Savinaud cdea5c8eef [trunk] remove some warnings from -Wall -Wextra -pedantic 2012-10-26 10:04:55 +00:00
Mickael Savinaud bcc386e3bb [trunk]remove some warnings raised by Wall 2012-10-26 09:39:52 +00:00
Mickael Savinaud a2bd3bb75b [trunk] use the right cp structure in image.h 2012-10-26 07:52:27 +00:00
Mickael Savinaud b63d618e48 [trunk] remove last warnings from t1 2012-10-25 17:31:18 +00:00
Mickael Savinaud 8864c2d59b [trunk] rename t1_getwmsedec_v2 to opj_t1_getwmsedec and remove t1_getwmsedec 2012-10-25 17:27:22 +00:00
Mickael Savinaud c75073fbf4 [trunk] cancel previous commit about use of t1_decode_cblks from v2. We should use t1_decode_cblks from 1.5 because it is faster (rev 557) 2012-10-25 17:23:54 +00:00
Mickael Savinaud cf4529d058 [trunk] use the opj_ prefix for last t1 functions 2012-10-25 15:50:58 +00:00
Mickael Savinaud 9b6900b058 [trunk] [trunk] remove old opj_tcp and rename opj_tcp_v2 to opj_tcp 2012-10-25 15:15:02 +00:00
Mickael Savinaud 7f7ef068fc [trunk] [trunk] remove old opj_cp and rename opj_cp_v2 to opj_cp 2012-10-25 15:09:31 +00:00
Mickael Savinaud a41790ce8a [trunk] [trunk] remove old opj_t2 and rename opj_t2_v2 to opj_t2 2012-10-25 14:54:19 +00:00
Mickael Savinaud 06615a556d [trunk] rename opj_tcd_truct_v2 to opj_tcd_struct 2012-10-25 14:49:10 +00:00
Mickael Savinaud 94a69c2b31 [trunk] rename opj_j2k_v2 to opj_j2k 2012-10-25 14:27:09 +00:00
Mickael Savinaud 425ff2f81d [trunk] remove old opj_j2k struct 2012-10-25 14:22:29 +00:00
Mickael Savinaud 2257166e61 [trunk] rename opj_jp2_v2 to opj_jp2 2012-10-25 14:16:19 +00:00
Mickael Savinaud 56cf5f4f67 [trunk] remove old opj_jp2 struct 2012-10-25 14:11:19 +00:00
Mickael Savinaud 668484ba8f [trunk] correct a mis use of an old struct 2012-10-25 14:10:01 +00:00
Mickael Savinaud f824078c14 [trunk] rename opj_event_msg_v2 to opj_event_msg 2012-10-25 13:49:20 +00:00
Mickael Savinaud 3250833a62 [trunk]remove old opj_event_mgr function 2012-10-25 13:46:40 +00:00
Mickael Savinaud 8bc24912d1 [trunk] style 2012-10-25 13:35:30 +00:00
Mickael Savinaud 52f6f7e0c7 [trunk] remove cio deprecated functions 2012-10-25 13:29:41 +00:00
Mickael Savinaud ee8ee69c30 [trunk]clean jpip marker functions but it is still experimental 2012-10-25 13:15:37 +00:00
Mickael Savinaud 4941ebcc91 [trunk] remove jpt.c/.h which used functions not used by v2. The code is always available in branch 1.5 2012-10-25 11:45:44 +00:00
Mathieu Malaterre 9adbea785b [trunk] Fix remaining issue with OPJ_CALLCONV 2012-10-25 10:41:55 +00:00
Mathieu Malaterre 6300a8a0a2 [trunk] marking as deprecated the old cio interface 2012-10-25 08:38:04 +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 0358983ee6 [trunk] Add missing newline 2012-10-25 07:06:12 +00:00
Mathieu Malaterre a0977266b4 [trunk] Run fix_comment on invert.c 2012-10-25 06:58:30 +00:00
Mickael Savinaud 76947f0074 [trunk] add the support of complex mct encoding when we setup the j2k encoder 2012-10-24 15:19:51 +00:00
Mickael Savinaud f649754018 [trunk] correct a small warning raised by continous 2012-10-24 14:52:15 +00:00
Mickael Savinaud b1c5ce2517 [trunk] remove old structures from tcd.h 2012-10-24 14:38:07 +00:00
Mickael Savinaud f2db5ec4fb [trunk] use the right v2 structure 2012-10-24 14:10:03 +00:00
Mickael Savinaud db08494776 [trunk] rename flag_t to opj_flag_t 2012-10-24 14:06:10 +00:00
Mickael Savinaud 9166d595e6 [trunk] use new opj prefix and type with raw functions 2012-10-24 13:18:12 +00:00
Mickael Savinaud f1061c8763 [trunk] remove a usefulness test before a free 2012-10-24 13:05:30 +00:00
Mickael Savinaud fca9803bee [trunk] update jp2./.h to v2 style: use new OPJ type, manage case where bpcc box is available even if ihdr indicate that it is not needed; resolve a LH TODO 2012-10-24 12:49:28 +00:00
Mickael Savinaud 0d841b5e05 [trunk] add documentation to the message handler functions 2012-10-24 11:17:48 +00:00
Mickael Savinaud 216791c3fb [trunk] Finalize dwt.v/.h with the v2 style : remove last functions already optimized, add opj_ prefix, use new name of the functions 2012-10-24 09:29:34 +00:00
Mickael Savinaud 12c4e68058 [trunk] finalize bio.c/.h related to the v2 style 2012-10-24 09:09:37 +00:00
Mathieu Malaterre 9b2897ccd9 [trunk] Fix another set of issue with calling convention 2012-10-15 15:52:43 +00:00
Mathieu Malaterre 3c4698435c [trunk] Fix issue on windows OS. Need to explicitely state the calling convention 2012-10-15 15:50:05 +00:00
Mathieu Malaterre 98682e1073 [trunk] Remove some warnings about missing prototypes (gcc) 2012-10-15 15:47:56 +00:00
Mathieu Malaterre d6bcb8b7e0 [trunk] Fix JPIP compilation. Some prototypes were not respected. 2012-10-15 15:47:19 +00:00
Mickael Savinaud a501237ae3 [trunk] propagate the renaming to openjpwl 2012-10-15 13:32:07 +00:00
Mickael Savinaud f6622c2fbb [trunk] fix a compilation error with windows and new public function opj_j2k_start_compress 2012-10-15 13:00:31 +00:00
Mickael Savinaud b08b90d71c [trunk]rename j2k_lib to opj_clock 2012-10-15 12:58:32 +00:00
Mickael Savinaud b46ed8c7a3 [trunk] modify type of opj_clock function 2012-10-15 12:43:44 +00:00
Mathieu Malaterre 45869ce843 [trunk] Fix issue during renaming of man page 2012-10-15 11:57:47 +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 2ad90b7c41 [trunk] Fix missing -lm to openjpwl 2012-10-15 08:38:48 +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 54c2bcb60f [trunk] Fix compilation in static mode. Prevent duplicate symbols with convert.c implementation 2012-10-15 08:02:30 +00:00
Mathieu Malaterre 44a5108e1d [trunk] Add missing newline character 2012-10-15 07:57:19 +00:00
Mathieu Malaterre 772fcc963c [trunk] Fix installaiton of header file 2012-10-15 07:52:07 +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 fe3c1f9061 [trunk] Fix warning for no previous prototype by using static function 2012-10-15 07:31:05 +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
Mathieu Malaterre 16106b2978 [trunk] First step in moving JPIP code out of openjp2 2012-10-05 16:57:30 +00:00
Mickael Savinaud c66e6be4a4 [trunk] update t1_generate_luts.c with the right ouput to generate t1_luts 2012-10-05 12:34:46 +00:00
Mathieu Malaterre eda4c26d24 [trunk] Fix spelling. writting -> writing 2012-10-05 09:20:05 +00:00
Mickael Savinaud 4b140e060b [trunk] rename int.h to opj_intmath.h and rename all its functions with opj_ prefix 2012-10-05 09:10:15 +00:00
Mickael Savinaud 1fefa03329 [trunk] move fix_mul inside int.h and remove fix.h from the project 2012-10-05 08:32:05 +00:00
Mickael Savinaud 37ff9b029c [trunk] remove warnings 2012-10-05 08:18:55 +00:00
Mickael Savinaud e798fe37e1 [trunk]remove warnings in pi.c through the update of poc struct types with new opj_types. 2012-10-03 17:03:41 +00:00
Mickael Savinaud f4a8f7165c [trunk] update global functions of tgt with opj_ prefix 2012-10-03 15:06:58 +00:00
Mickael Savinaud 2d52e409c2 [trunk] (style) move global pi functions to the right place and update indentation 2012-10-03 14:41:40 +00:00
Mickael Savinaud 1b5e677d0c [trunk] remove old v1 functions and rename pi_initialise_encode_v2 to opj_pi_initialise_encode; pi_create_encode_v2 to opj_pi_create_decode; pi_destroy_v2 to opj_pi_destroy; pi_create_decode_v2 to opj_pi_create_decode 2012-10-03 14:29:26 +00:00
Mickael Savinaud c508923f04 [trunk] update pi_check_next_level with the opj_ prefix and change output type to be more convenient 2012-10-03 13:25:03 +00:00
Mickael Savinaud 6c4024796e [trunk]rename pi_update_encoding_parameters to opj_pi_update_encoding_parameters 2012-10-03 12:50:44 +00:00
Mickael Savinaud bd2c6cfa55 [trunk] replace pi_next by opj_pi_next 2012-10-03 12:43:15 +00:00
Mickael Savinaud bd74db932e [trunk] update local function of pi.c with the opj_ prefix and the new opj types 2012-10-03 12:39:17 +00:00
Mickael Savinaud 439337fb1b [trunk] update mqc global functions with opj_ prefix 2012-10-03 12:12:33 +00:00
Mickael Savinaud 5ffe6f5acf [trunk] add comments to check some parts of mqc.c and update types 2012-10-03 11:45:53 +00:00
Mickael Savinaud f281f8cb75 upadate mqc with new opj_type and use opj_ prefix for local functions 2012-10-03 11:38:12 +00:00
Mickael Savinaud 3a46e2d86b [trunk] correct warnings linked to static dwt functions because declaration is not hide when we use SSE 2012-10-03 09:52:09 +00:00
Mickael Savinaud 6a84a1788b {trunk]update mct functions with opj_ prefix and new opj type
add some comments
2012-10-03 09:47:50 +00:00
Mickael Savinaud df870e5241 [trunk] update global functions of bio.c with opj_prefix and new opj type 2012-10-03 09:04:44 +00:00
Mathieu Malaterre 82afd3a891 [trunk] Set of warnings fix for gcc -pedantic 2012-10-02 09:41:51 +00:00
Mathieu Malaterre 514fc72050 [trunk] Build small internal tools to generate t1_luts.h 2012-10-02 07:45:49 +00:00
Mathieu Malaterre 4dba9aed22 [trunk] Import opj_malloc.h from branch 1.5.x 2012-10-02 06:51:59 +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 00aa77f2d9 [trunk] FolderReorgProposal fix. 3rd party variables were not set
Update issue 177
2012-10-01 14:50:26 +00:00
Mathieu Malaterre f501186b18 [trunk] Fix minor cmake style 2012-10-01 12:29:09 +00:00
Mathieu Malaterre bf37be46b8 [trunk] rename PACKAGE_VERSION to OPJ_PACKAGE_VERSION
This prevent conflicts with TIFF package which also defines PACKAGE_VERSION
2012-10-01 10:39:39 +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 465db44499 [trunk] FolderReorgProposal task: Fix openjp2 lib name 2012-10-01 10:08:01 +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 5db7b01fa2 [trunk] FolderReorgProposal task: Fix doxygen
Update issue 177
2012-10-01 08:30:04 +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 028720c9ec [trunk] Continue FolderReorgProposal task. Missing java wrapping
Update issue 177
2012-09-28 08:17:02 +00:00
Mathieu Malaterre d518970039 [trunk] Start FolderReorgProposal task
Update issue 177
2012-09-28 08:11:41 +00:00