Commit Graph

91 Commits

Author SHA1 Message Date
Mathieu Malaterre 20beb093a1 [trunk] Fix all C90 issues using gcc -pedantic -Wno-long-long to track them
As a side effect, fix all comment style to remove extra gcc output

Fixes issue 173
2012-09-10 09:04:47 +00:00
Mickael Savinaud 3135642ff5 [trunk] Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block.  This is no longer the preferred style.
Thanks to Hans Johnson
2012-08-30 17:20:03 +00:00
Mickael Savinaud d5bb3b0039 [trunk] Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands.  Later command names became case-insensitive.  Now the preferred style is lower-case.
This also changes all the key words to lower case. The primary reason for changing key words is that all documentation for CMakeLists.txt now shows the key words as lower case. Even the printed “Mastering CMake v5” uses lower case.
Thanks to Hans Johnson
2012-08-30 17:14:39 +00:00
Mickael Savinaud 47b18d89f6 [trunk] COMP: Fix one warning identified by clang31 :
openjpeg/applications/codec/j2k_dump.c:362 col 29: warning: equality comparison
with extraneous parentheses
(thanks to Hans Johnson)
2012-08-30 16:34:17 +00:00
Luc Hermitte 7bfdb31c77 [trunk] j2k_to_image gives fff-topic error message for non-openable files (Issue#167) 2012-08-22 18:22:20 +00:00
Mickael Savinaud fab7693da5 free local memory in image_to_j2k application 2012-08-16 12:03:20 +00:00
Mickael Savinaud cc1d601722 fix some warnings in jp2.c 2012-08-13 08:30:00 +00:00
Mickael Savinaud f12fde9132 [trunk] rename opj_destroy_cstr_info_v2 to opj_destroy_cstr_info 2012-08-09 12:56:43 +00:00
Mickael Savinaud 5d0ace0577 [trunk] rename opj_encode_v2 to opj_encode 2012-08-09 12:42:46 +00:00
Mickael Savinaud 6767ea2456 [trunk] rename opj_setup_encoder_v2 to opj_setup_encoder 2012-08-09 12:35:13 +00:00
Mickael Savinaud d009cf618a rename opj_create_compress_v2 to opj_create_compress 2012-08-09 12:28:51 +00:00
Mickael Savinaud 9a9897a9de [trunk] remove deprecated v1 style function opj_create_compress 2012-08-09 12:26:04 +00:00
Mickael Savinaud 52f414669a [trunk] rename opj_setup_decoder_v2 to opj_setup_decoder 2012-08-09 12:11:24 +00:00
Mickael Savinaud 35289bffe2 [trunk] rename opj_create_decompress_v2 to opj_create_decompress 2012-08-09 11:51:07 +00:00
Mathieu Malaterre 0d0e7a1008 [trunk] The two files in Issue145 have a precision < 8-bit:
therefore 'jp2_read_pclr' must be changed.

j2k_to_image fails to create RGB/RGBA images with a
precision < 8-bit: therefore 'imagetopng' must be
changed.
Fixes issue 145
2012-05-29 13:55:49 +00:00
Mathieu Malaterre b8cc257ac5 [trunk] Follow up to r1691. Handle signed case. 2012-05-29 09:33:28 +00:00
Mathieu Malaterre bdb4d96678 [trunk] Add new behavior for codecs. Now supports little endian RAWL format. It is now possible to encode directly little endian raw file, by simply using the rawl extension. Code has been modified to use strcasecmp instead of strncasecmp to cope with 4 letters files extensions.
Update issue 141
2012-05-29 09:30:03 +00:00
Mathieu Malaterre 0c5fb4a81b [trunk] Add commented out code for tile support in applications. 2012-05-29 09:07:49 +00:00
Mickael Savinaud ee17910ec5 use the correct event handler in j2k_to_image.c 2012-05-14 17:47:10 +00:00
Mickael Savinaud 1023be33fb add new functions in jp2 codec from v2 branches; solve bug in j2k_setup_encoder_v2 2012-05-14 09:37:36 +00:00
Mickael Savinaud 80c23d4519 solve problem with input of image_to_j2k; using the right return type comparison for opj_stream_flush; add j2k_write_com_v2, j2k_write_poc_v2, j2k_write_eoc_v2 and j2k_write_tlm_v2 2012-05-13 22:13:58 +00:00
Mickael Savinaud 055d429ae1 [trunk] Enhance support of events like the v2 branch. Use right name of variables. 2012-05-02 07:01:13 +00:00
Mathieu Malaterre b9d271c1a8 [trunk] Fix invalid truncation from off_t to int (thanks to -Wconversion for report) 2012-03-19 14:24:26 +00:00
Mathieu Malaterre ff72dd8d2c [trunk] start using new functionalities from opj_inttypes in jpip code and main openjpeg 2012-03-19 11:18:24 +00:00
Mickael Savinaud 3a78e8010d [trunk] modify image_to_j2k and the lib to support functionalities given by the v2 alpha branch 2012-03-15 10:23:20 +00:00
Mickael Savinaud ab7b5e48c4 [trunk] reverted to revision 1536 2012-03-09 17:34:05 +00:00
Mickael Savinaud fcfb8dd2ed [trunk] first steps about merge compression WIP 2012-03-09 17:15:41 +00:00
Mathieu Malaterre 24d7f54662 [trunk] merge rev 1228 from 1.5 to trunk 2012-03-02 14:14:31 +00:00
Mathieu Malaterre 3d9a41e4b4 [trunk] Import applications modifications from 1.5 over to trunk 2012-03-02 10:01:00 +00:00
Mathieu Malaterre 9f77b065d3 [trunk] Convert from DOS eol to UNIX eol 2012-03-02 09:55:28 +00:00
Julien Malik 440adddcde [trunk] fix warnings when printing large integers 2011-12-01 10:50:14 +00:00
Julien Malik 455f675806 [trunk] implement Large File support in the library 2011-11-30 16:55:25 +00:00
Mathieu Malaterre 3a8438e1f8 minor reindentation 2011-11-24 10:17:01 +00:00
Mickael Savinaud 1b52be6246 [trunk] WIP: fix bug with windows platform and j2k_dump 2011-11-21 17:18:33 +00:00
Mickael Savinaud e7e1ec6e84 [trunk] WIP: fix bug with windows platform and j2k_to_image 2011-11-18 08:42:57 +00:00
Mickael Savinaud ff3c441023 [trunk] WIP: fix bug when decoding an area or a tile with special resolution 2011-11-17 14:29:36 +00:00
Mickael Savinaud aaf6e84373 [trunk] WIP: enhance j2k_to_image with new get_decoded_tile functionality 2011-11-17 14:24:51 +00:00
Mickael Savinaud 380a357b08 [trunk] WIP: clean j2k_dump and enhance j2k_dump with commit 1052 2011-11-17 14:23:19 +00:00
Mickael Savinaud 8026d0b2e7 [trunk] WIP: add a set decoded resolution factor function and update j2k_to_image help about decoded region 2011-11-17 14:21:11 +00:00
Mickael Savinaud 11d875d043 [trunk] check if the file extension is the same as the infile format (credit to winfried) 2011-11-09 14:32:54 +00:00
Mickael Savinaud bd8bca87b2 [trunk] WIP: add get_decoded_tile functionality 2011-11-08 13:21:17 +00:00
Mickael Savinaud 2808de6084 [trunk] WIP: manage output image with area correponding to the set decoded area 2011-10-21 16:38:08 +00:00
Mickael Savinaud 028088f5f0 [trunk] WIP: enhance codestream index generation 2011-10-21 16:36:04 +00:00
Mickael Savinaud 47d93279ff [trunk] WIP: solve problem with writing of tga image from an image with signd=1 (credit to Winfried) 2011-10-19 13:18:06 +00:00
Mickael Savinaud 27e255fa75 [trunk] WIP: correct some memory leaks in applications functions 2011-10-12 14:42:21 +00:00
Kaori Hagihara acd4cc6f5c -J option for -jpip added into the option list 2011-10-11 13:01:38 +00:00
Kaori Hagihara 7ac3a36229 change -v option was renamed to -u, which is equivalent to -TP long option 2011-10-11 10:57:41 +00:00
Mickael Savinaud c7d3b83164 [trunk] WIP: correct mistake with JP2 files and manage correctly the text_GBR.jp2 filecase 2011-10-11 07:49:16 +00:00
Kaori Hagihara 7c87bb35c4 change -v option was reactivated for JPIP 2011-10-10 16:10:49 +00:00
Mickael Savinaud 35e13cf5e8 [trunk] correct wrong input in dump_codec function and add missing return value 2011-10-07 17:11:12 +00:00