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
f16216e270
[trunk] STYLE: Clean up documentation errors
...
Functions should only have formal documentation in one place, and preferably in the declaration (i.e. repeated documentaiton should not be at both the declaration and the definition, because it causes too much maintenance to keep them syncronized). In cases where the definition is also the declaration (as is often the case for static functions in the .c files) the documentation was preserved at the first use of the function signature.
Functions that are formally documented should contain documentation for each function argument.
The clang 3.1 compiler issues documentation warnings when the documentation block with @params preceeding a declaration does not match the argument list. This patch set follows a convention used elsewere in openjpeg to add a placeholder FIXME DOC description where one was previously missing.
Thanks to Hans Johnson.
2012-08-30 16:56:31 +00:00
Mickael Savinaud
de9e1a0693
[trunk] Remove all non-ascii characters (Several compilers and development tools are confused by non-ascii characters in source code. These have been removed) thanks to Hans Johnson
2012-08-30 16:51:30 +00:00
Luc Hermitte
4e81ea2a8a
[trunk] realloc is misused and may leak memory (Issue#168)
2012-08-22 18:45:31 +00:00
Mickael Savinaud
01c95cb07e
remove deprecated v1 style function j2k_create_compress; rename opj_j2k_create_compress_v2 to opj_j2k_create_compress
2012-08-16 13:46:43 +00:00
Mickael Savinaud
ff43b4dca0
remove deprecated v1 style function j2k_setup_encoder; rename opj_j2k_setup_encoder_v2 to opj_j2k_setup_encoder
2012-08-16 13:37:34 +00:00
Mickael Savinaud
582323d63c
rename j2k functions with opj_ prefix
2012-08-16 11:51:34 +00:00
Mickael Savinaud
ec19c32b63
remove old v1 style functions from jp2.c
2012-08-13 11:43:02 +00:00
Mickael Savinaud
ec9aceb96f
rename local jp2 functions with opj_ prefix
2012-08-13 10:10:25 +00:00
Mickael Savinaud
0e1c2e3378
rename jp2_write_jp_v2 to opj_jp2_write_jp
2012-08-13 10:03:57 +00:00
Mickael Savinaud
094b952d70
remove deprecated v1 style function jp2_write_jp
2012-08-13 09:58:43 +00:00
Mickael Savinaud
3821a4e054
rename jp2_write_jp2c_v2 to opj_jp2_write_jp2c
2012-08-13 09:57:09 +00:00
Mickael Savinaud
d24404ca9a
remove deprecated v1 style function jp2_write_jp2c
2012-08-13 09:55:57 +00:00
Mickael Savinaud
fb2d6e8870
rename local function in jp2.c with the opj_ prefix
2012-08-13 09:44:40 +00:00
Mickael Savinaud
e421cbac2a
rename jp2_write_ftyp_v2 to opj_jp2_write_ftyp
2012-08-13 09:39:51 +00:00
Mickael Savinaud
a71310f58b
remove deprecated v1 style function jp2_write_ftyp
2012-08-13 09:36:53 +00:00
Mickael Savinaud
43c392626b
rename jp2_write_colr_v2 to opj_jp2_write_colr
2012-08-13 09:35:16 +00:00
Mickael Savinaud
d286573958
remove deprecated v1 style function jp2_write_colr
2012-08-13 09:33:00 +00:00
Mickael Savinaud
ff889c40da
rename jp2_write_bpcc_v2 to opj_jp2_write_bpcc
2012-08-13 09:31:24 +00:00
Mickael Savinaud
0ecdbe8614
remove deprecated v1 style function jp2_write_bpcc
2012-08-13 09:29:37 +00:00
Mickael Savinaud
8b3500a2a9
rename jp2_write_ihdr_v2 to opj_jp2_write_ihdr
2012-08-13 09:27:58 +00:00
Mickael Savinaud
c5fd56606d
remove deprecated v1 style function jp2_write_ihdr
2012-08-13 09:25:41 +00:00
Mickael Savinaud
dd86b85664
rename jp2 functions with V2 style and opj_ prefix
2012-08-13 09:24:15 +00:00
Mickael Savinaud
3ec9f5fa0b
remove deprecated v1 style functions jp2_write_jp2h
2012-08-13 08:54:42 +00:00
Mickael Savinaud
3bf3ce06f7
remove deprecated v1 style functions : jp2_create_compress, jp2_destroy_compress, opj_jp2_encode
2012-08-13 08:53:17 +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
10e9a6b6cd
rename j2k_decode_v2 to opj_j2k_decode
2012-08-09 15:16: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
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
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