Commit Graph

564 Commits

Author SHA1 Message Date
Luc Hermitte de44b71b12 [trunk] fix possible memory leak on realloc failure 2012-08-10 17:15:57 +00:00
Mickael Savinaud df70c7136d use internal type to reduce warnings in jp2.c 2012-08-10 11:21:48 +00:00
Mickael Savinaud bf2b9ea539 rename jp2_read_boxhdr_v2 to opj_jp2_read_boxhdr 2012-08-10 11:00:40 +00:00
Mickael Savinaud b0b46c331e remove deprecated v1 style function jp2_read_boxhdr 2012-08-10 10:57:51 +00:00
Mickael Savinaud b3269581ea rename local function in jp2.c with the opj_ prefix 2012-08-10 10:55:10 +00:00
Mickael Savinaud 699edd4393 rename jp2_read_jp_v2 to opj_jp2_read_jp 2012-08-10 10:34:40 +00:00
Mickael Savinaud 9128c6c17b remove deprecated v1 style function jp2_read_jp2c, jp2_read_struct 2012-08-10 10:27:17 +00:00
Mickael Savinaud f121223ed8 rename jp2_read_ftyp_v2 to opj_jp2_read_ftyp 2012-08-10 10:24:09 +00:00
Mickael Savinaud 3c0e360df1 remove deprecated v1 style function jp2_read_ftyp 2012-08-10 10:22:51 +00:00
Mickael Savinaud 1de6f5fcf6 rename jp2_read_colr_v2 to opj_jp2_read_colr, jp2_read_pclr_v2 to opj_jp2_read_pclr, jp2_read_cmap_v2 to opj_jp2_read_cmap, jp2_read_cdef_v2 to opj_jp2_read_cdef 2012-08-10 10:19:11 +00:00
Mickael Savinaud 5bf4b718d4 remove deprecated v1 style function jp2_read_colr, jp2_read_pclr, jp2_read_cmap, jp2_read_cdef 2012-08-10 10:01:47 +00:00
Mickael Savinaud f912007fe8 rename jp2_read_bpcc_v2 to opj_jp2_read_bpcc 2012-08-10 09:53:28 +00:00
Mickael Savinaud 377809a35b remove deprecated v1 style function jp2_read_bpcc 2012-08-10 09:50:23 +00:00
Mickael Savinaud f0f981b80d rename jp2_read_ihdr_v2 to opj_jp2_read_ihdr 2012-08-10 09:47:56 +00:00
Mickael Savinaud 2b9302632c remove deprecated v1 style function jp2_read_ihdr 2012-08-10 09:46:31 +00:00
Mickael Savinaud a59a1552ad rename jp2_read_jp2h_v2 to opj_jp2_read_jp2h 2012-08-10 09:43:28 +00:00
Mickael Savinaud 4a80e821df remove deprecated v1 style function jp2_read_jp2h 2012-08-10 09:39:40 +00:00
Mickael Savinaud 6822291f91 remove deprecated v1 style function jp2_destroy_decompress 2012-08-10 09:33:54 +00:00
Mickael Savinaud 863aacaee3 rename local functions with opj_ prefix in j2k.c (part 2) 2012-08-10 09:27:45 +00:00
Mickael Savinaud 00a2bf7120 rename local functions with opj_ prefix in j2k.c 2012-08-10 09:14:49 +00:00
Mickael Savinaud 6ac5acf765 rename some j2k decoding functions with new prefix opj_ 2012-08-10 08:21:31 +00:00
Mickael Savinaud ce7583f173 rename mct function read/write function with opj_ prefix 2012-08-10 08:07:30 +00:00
Mickael Savinaud 24b10ac585 rename j2k_read_mct to opj_j2k_read_mct, j2k_read_mco to opj_j2k_read_mco, j2k_read_mcc to opj_j2k_read_mcc 2012-08-10 07:58:23 +00:00
Mickael Savinaud 706371e24f rename j2k_read_cbd to opj_j2k_read_cbd 2012-08-10 07:54:33 +00:00
Mickael Savinaud 5de8639685 rename j2k_read_com_v2 to opj_j2k_read_unk 2012-08-10 07:51:29 +00:00
Mickael Savinaud d42e26d59c remove deprecated v1 style function j2k_read_unk 2012-08-10 07:49:52 +00:00
Mickael Savinaud 6ea06e87bb rename j2k_read_com_v2 to opj_j2k_read_com 2012-08-10 07:44:47 +00:00
Mickael Savinaud 5eb8a44317 remove deprecated v1 style function j2k_read_com 2012-08-10 07:42:41 +00:00
Mickael Savinaud c89fb0b828 rename j2k_read_crg_v2 to opj_j2k_read_crg 2012-08-10 07:37:58 +00:00
Mickael Savinaud 52e111dbb7 remove deprecated v1 style function j2k_read_crg 2012-08-10 07:36:16 +00:00
Mickael Savinaud 36b5109387 rename j2k_read_ppt_v2 to opj_j2k_read_ppt 2012-08-10 07:32:57 +00:00
Mickael Savinaud c07b085c81 remove deprecated v1 style function j2k_read_ppt 2012-08-10 07:29:57 +00:00
Mickael Savinaud 065c442141 remove deprecated v1 style function j2k_read_cox 2012-08-10 07:27:04 +00:00
Mickael Savinaud 83b570d981 correct a compilation error about misplaced declaration 2012-08-10 07:13:30 +00:00
Mickael Savinaud 2afdee9c7d remove deprecated v1 style function j2k_read_ppm 2012-08-09 17:10:56 +00:00
Mickael Savinaud a7e809e1f7 rename j2k_read_plt_v2 to opj_j2k_read_plt 2012-08-09 17:09:26 +00:00
Mickael Savinaud deb7cb708f remove deprecated v1 style function j2k_read_plt 2012-08-09 17:07:26 +00:00
Mickael Savinaud fcd7db6cd1 rename j2k_read_plm_v2 to opj_j2k_read_plm 2012-08-09 17:06:13 +00:00
Mickael Savinaud 68adbd2e05 rename j2k_read_tlm_v2 to opj_j2k_read_tlm 2012-08-09 17:03:11 +00:00
Mickael Savinaud b6258d612b remove deprecated v1 style function j2k_read_tlm 2012-08-09 17:01:20 +00:00
Mickael Savinaud 93cb76a292 rename j2k_read_poc_v2 to opj_j2k_read_poc 2012-08-09 16:57:45 +00:00
Mickael Savinaud 6191f69f0c remove deprecated v1 style function j2k_read_poc 2012-08-09 16:56:00 +00:00
Mickael Savinaud d416e6c854 remove deprecated v1 style function j2k_read_qcx 2012-08-09 16:54:01 +00:00
Mickael Savinaud 3a63d978dd rename j2k_read_qcc_v2 to opj_j2k_read_qcc 2012-08-09 16:52:05 +00:00
Mickael Savinaud d2a78c33df remove deprecated v1 style function j2k_read_qcc 2012-08-09 16:50:21 +00:00
Mickael Savinaud 679f91482e rename j2k_read_qcd_v2 to opj_j2k_read_qcd 2012-08-09 16:48:48 +00:00
Mickael Savinaud d380a8554d remove deprecated v1 style function j2k_read_qcd 2012-08-09 16:47:08 +00:00
Mickael Savinaud 4f36ad0cc1 rename j2k_read_rgn_v2 to opj_j2k_read_rgn 2012-08-09 16:45:18 +00:00
Mickael Savinaud 90ba7fbf1f remove deprecated v1 style function j2k_read_rgn 2012-08-09 16:43:00 +00:00
Mickael Savinaud 76658477af rename j2k_read_coc_v2 to opj_j2k_read_coc 2012-08-09 16:40:22 +00:00
Mickael Savinaud ffb6a9c74b remove deprecated v1 style function j2k_read_coc 2012-08-09 16:38:11 +00:00
Mickael Savinaud 21d334389f rename j2k_read_cod_v2 to opj_j2k_read_cod 2012-08-09 16:36:06 +00:00
Mickael Savinaud 94a5e081e5 remove deprecated v1 style function j2k_read_cod 2012-08-09 16:34:28 +00:00
Mickael Savinaud 5e78d72ef2 rename j2k_read_siz_v2 to opj_j2k_read_siz 2012-08-09 15:59:14 +00:00
Mickael Savinaud 5c303e2bb5 remove deprecated v1 style function j2k_read_siz 2012-08-09 15:56:27 +00:00
Mickael Savinaud 4c1cb388af rename j2k_read_sod_v2 to opj_j2k_read_sod 2012-08-09 15:44:55 +00:00
Mickael Savinaud 144bd4a878 remove deprecated v1 style function j2k_read_sod 2012-08-09 15:42:35 +00:00
Mickael Savinaud 91737aff68 rename j2k_read_sot_v2 to opj_j2k_read_sot 2012-08-09 15:39:41 +00:00
Mickael Savinaud 2391b40f47 remove deprecated v1 style function j2k_read_sot 2012-08-09 15:36:16 +00:00
Mickael Savinaud 6a8aff5a74 rename j2k_read_soc_v2 to opj_j2k_read_soc 2012-08-09 15:32:18 +00:00
Mickael Savinaud c0ec5d404b remove deprecated v1 style function j2k_read_soc 2012-08-09 15:28:38 +00:00
Mickael Savinaud 10e9a6b6cd rename j2k_decode_v2 to opj_j2k_decode 2012-08-09 15:16:33 +00:00
Mickael Savinaud a51aed7ce2 remove deprecated v1 style function j2k_decode 2012-08-09 15:13:33 +00:00
Mickael Savinaud 71e0106846 rename j2k_setup_decoder_v2 to opj_j2k_setup_decoder 2012-08-09 15:08:33 +00:00
Mickael Savinaud 3ce9af7fce remove deprecated v1 style function j2k_setup_decoder 2012-08-09 15:04:09 +00:00
Mickael Savinaud 05e8aae95e rename j2k_create_decompress_v2 to opj_j2k_create_decompress 2012-08-09 15:00:50 +00:00
Mickael Savinaud 381de6b7cb remove deprecated v1 style function j2k_create_decompress and jp2_create_decompress 2012-08-09 14:57:03 +00:00
Mickael Savinaud c077645f77 rename jp2_decode_v2 to opj_jp2_decode 2012-08-09 14:46:11 +00:00
Mickael Savinaud ebc3263987 remove deprecated v1 style function opj_jp2_decode 2012-08-09 14:42:37 +00:00
Mickael Savinaud cf6e5bf01f rename jp2_setup_decoder_v2 to opj_jp2_setup_decoder 2012-08-09 14:38:55 +00:00
Mickael Savinaud 958c615a83 remove deprecated v1 style function jp2_setup_decoder 2012-08-09 14:31:02 +00:00
Mickael Savinaud 8e5070f469 [trunk] add the support of the flag ignore_pclr_cmap_cdef into the V2 jp2 functions (but not for box reading); no tests modified 2012-08-09 14:28:35 +00:00
Mickael Savinaud 4397b675cb [trunk] begin to clean the old V1 style message event management 2012-08-09 14:00:31 +00:00
Mickael Savinaud 9ed88f6a8d [trunk] clean jp2_read_ihdr_v2 interface 2012-08-09 13:22:25 +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 1c4ea6d246 remove deprecated v1 style function opj_destroy_cstr_info 2012-08-09 12:52:28 +00:00
Mickael Savinaud a6d76b3c48 [trunk] move functions in openjpeg.c in two parts compression vs decompression 2012-08-09 12:51:16 +00:00
Mickael Savinaud 5d0ace0577 [trunk] rename opj_encode_v2 to opj_encode 2012-08-09 12:42:46 +00:00
Mickael Savinaud 7b88544d46 [trunk] remove deprecated v1 style function opj_encode and opj_encode_with_info 2012-08-09 12:40:22 +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 459db3d64b remove deprecated v1 style function opj_setup_encoder 2012-08-09 12:31:46 +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 3f9fb13df6 remove deprecated v1 style function opj_decode and opj_decode_with_info 2012-08-09 12:16:59 +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 b34215906c [trunk] remove deprecated v1 style function opj_setup_decoder 2012-08-09 11:56:14 +00:00
Mickael Savinaud fb768ac792 [trunk] remove deprecated v1 style function opj_destroy_decompress 2012-08-09 11:53:33 +00:00
Mickael Savinaud 35289bffe2 [trunk] rename opj_create_decompress_v2 to opj_create_decompress 2012-08-09 11:51:07 +00:00
Mickael Savinaud ef00fdf472 [trunk] remove V1 style function opj_create_decompress 2012-08-09 11:46:19 +00:00
Mickael Savinaud 3de7e8358f [trunk] define local functions of j2k.c as static and clean style 2012-08-09 11:35:06 +00:00
Mickael Savinaud 28ac2f49dc [trunk] move allocation of cstr_index->tile_index to the end of the header reading 2012-08-09 11:12:28 +00:00
Mathieu Malaterre f28fc6f2e1 [trunk] Fix r156 to compile on compilers where false is not defined. 2012-07-11 14:59:41 +00:00
Mathieu Malaterre 5ba8d36687 [trunk] This fixes issues seen on PDF files
Fixes issue 156
2012-07-11 14:55:39 +00:00
Mathieu Malaterre 178236cc5f [trunk] Fix heap buffer overflow
Enforce sanity checks on tile number and tile length, even when the (rather
broken) USE_JPWL code isn't enabled.
Import r1727 from branch 1.5
2012-07-10 13:09:45 +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 806545df34 [trunk] Fix installation issues. Thanks to winfried for patch.
Fixes issue 149
2012-05-29 13:44:27 +00:00
Mathieu Malaterre 3ff48f27cf [trunk] error message typo, refer PLT instead of PLM 2012-05-22 16:07:38 +00:00
Mathieu Malaterre f0c732452f [trunk] add sentinel when tile_index is null 2012-05-21 08:38:13 +00:00
Mickael Savinaud 38fd7a84c7 Comment the using of j2k_add_marker function into a v2 function. 2012-05-21 06:51:07 +00:00
Mickael Savinaud 0fb6576511 2012-05-14 17:17:53 +00:00