summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-27[trunk] rename local functions in t2 with opj_ prefixMickael Savinaud
2012-09-27rename from t2_skip_packet to opj_t2_skip_packet;Mickael Savinaud
rename from t2_skip_packet_data to opj_t2_skip_packet_data;
2012-09-12[trunk] Fix possible code execution vulnMathieu Malaterre
Thanks to Huzaifa Sidhpurwala of Red Hat Security Response Team for patch + dataset to reproduce issue. Technically kdu_expand works fine on the image... Fixes issue 175
2012-09-10[trunk] Fix one remaining issue with C90 compatMathieu Malaterre
2012-09-10[trunk] Use new gcc feature to actually hide exported symbolsMathieu Malaterre
Right now we are only using the Windows/POSIX compatibility layer. This means that we have only been marking explicitely which symbols to export. What this also means is that for one to explicitely remove non-explicitely marked symbols, one has to set -fvisibility=hidden as CFLAGS
2012-09-10[trunk] no need to export MCT_ELEMENT_SIZE symbolMathieu Malaterre
2012-09-10[trunk] Fix Heap-based buffer-overflow when decoding openjpeg imageMathieu Malaterre
Thanks to Huzaifa Sidhpurwala of Red Hat Security Response Team for report This does not affect release 1.5.0 and/or 1.5 release branch. Fixes issue 170
2012-09-10[trunk] Fix some C90 issues.Mathieu Malaterre
2012-09-10[trunk] Fix all C90 issues using gcc -pedantic -Wno-long-long to track themMathieu Malaterre
As a side effect, fix all comment style to remove extra gcc output Fixes issue 173
2012-08-30[trunk] Remove CMake-language block-end command argumentsMickael Savinaud
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[trunk] Convert CMake-language commands to lower caseMickael Savinaud
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[trunk] STYLE: Clean up documentation errorsMickael Savinaud
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[trunk] Remove all non-ascii characters (Several compilers and development ↵Mickael Savinaud
tools are confused by non-ascii characters in source code. These have been removed) thanks to Hans Johnson
2012-08-30[trunk] COMP: Fix one warning identified by clang31 :Mickael Savinaud
openjpeg/applications/codec/j2k_dump.c:362 col 29: warning: equality comparison with extraneous parentheses (thanks to Hans Johnson)
2012-08-30[trunk] COMP: Remove compiler warning (warning: comparison of unsigned ↵Mickael Savinaud
expression < 0 is always false [-Wtautological-compare]) thnaks to Hans Johnson
2012-08-30[trunk] COMP: _v2 code remove (thanks to Hans Johnson and Winfried)Mickael Savinaud
2012-08-23[trunk] memory leaks on ppm_data, found in tests NR-p1_05.j2k-dump, ↵Luc Hermitte
NR-p1_03.j2k-dump, ETS-C1P1-p1_03.j2k-decode, ETS-C0P1-p1_03.j2k-decode, ETS-C0P1-p1_05.j2k-decode
2012-08-23[trunk] realloc is misused and may leak memory (Issue#168) (complements: ↵Luc Hermitte
compilation errors)
2012-08-22[trunk] realloc is misused and may leak memory (Issue#168)Luc Hermitte
2012-08-22[trunk] j2k_to_image gives fff-topic error message for non-openable files ↵Luc Hermitte
(Issue#167)
2012-08-17fix a compilation errorMickael Savinaud
2012-08-17rename t1_enc_sigpass_step and t1_enc_sigpass with opj_ prefix and update typeMickael Savinaud
2012-08-17remove deprecated v1 style function t1_destroy; rename t1_destroy_v2 to ↵Mickael Savinaud
opj_t1_destroy remove deprecated v1 style function t1_decode_cblks; rename t1_decode_cblks_v2 to opj_t1_decode_cblks remove deprecated v1 style function t1_encode_cblks; rename t1_encode_cblks_v2 to opj_t1_encode_cblks remove deprecated v1 style function t1_create; rename t1_create_v2 to opj_t1_create
2012-08-17rename local functions and struct with opj_ prefixMickael Savinaud
2012-08-17rename local dwt functions Mickael Savinaud
remove deprecated v1 style function dwt_decode_tile; rename dwt_decode_tile_v2 to opj_dwt_decode_tile
2012-08-17remove deprecated v1 style function dwt_encode; rename dwt_encode_v2 to ↵Mickael Savinaud
opj_dwt_encode remove deprecated v1 style function dwt_decode; rename dwt_decode_v2 to opj_dwt_decode remove deprecated v1 style function dwt_getgain; rename dwt_getgain_v2 to opj_dwt_getgain add opj_dwt_getnorm, opj_dwt_getnorm_real functions remove deprecated v1 style function dwt_encode_real; rename dwt_encode_real_v2 to opj_dwt_encode_real remove deprecated v1 style function dwt_getgain_real; rename dwt_getgain_real_v2 to opj_dwt_getgain_real rename dwt_calc_explicit_stepsizes to opj_dwt_calc_explicit_stepsizes
2012-08-16rename local tcd functions with opj_ prefixMickael Savinaud
2012-08-16remove deprecated v1 style function tcd_decode_tile; rename ↵Mickael Savinaud
tcd_decode_tile_v2 to opj_tcd_decode_tile remove deprecated v1 style function tcd_free_decode remove deprecated v1 style function tcd_free_decode_tile
2012-08-16remove deprecated v1 style function tcd_destroy; rename tcd_destroy_v2 to ↵Mickael Savinaud
opj_tcd_destroy rename tcd_init_v2 to opj_tcd_init remove deprecated v1 style function tcd_malloc_encode remove deprecated v1 style function tcd_free_encode remove deprecated v1 style function tcd_init_encode remove deprecated v1 style function tcd_malloc_decode remove deprecated v1 style function tcd_malloc_decode_tile remove deprecated v1 style function tcd_makelayer_fixed; rename tcd_makelayer_fixed_v2 to opj_tcd_makelayer_fixed remove deprecated v1 style function tcd_rateallocate_fixed; rename tcd_rateallocate_fixed_v2 to opj_tcd_rateallocate_fixed remove deprecated v1 style function tcd_makelayer; rename tcd_makelayer_v2 to opj_tcd_makelayer remove deprecated v1 style function tcd_rateallocate; rename tcd_rateallocate_v2 to opj_tcd_rateallocate remove deprecated v1 style function tcd_encode_tile; rename tcd_encode_tile_v2 to opj_tcd_encode_tile
2012-08-16remove deprecated v1 style function tcd_create; rename tcd_create_v2 to ↵Mickael Savinaud
opj_tcd_create
2012-08-16rename tcd functions with opj_ prefixMickael Savinaud
2012-08-16optimization of dwt_deinterleave_h, dwt_deinterleave_v from v2 branch; ↵Mickael Savinaud
update type with OPJ_type
2012-08-16correct warnings in j2k.cMickael Savinaud
2012-08-16remove deprecated v1 style function j2k_write_eoc; rename j2k_write_eoc_v2 ↵Mickael Savinaud
to opj_j2k_write_eoc
2012-08-16remove deprecated v1 style function j2k_read_eoc; rename j2k_read_eoc_v2 to ↵Mickael Savinaud
opj_j2k_read_eoc
2012-08-16clean style and remove old v1 style structure in j2k.cMickael Savinaud
2012-08-16remove deprecated v1 style function j2k_add_mhmarker; rename ↵Mickael Savinaud
j2k_add_mhmarker_v2 to opj_j2k_add_mhmarker remove deprecated v1 style function j2k_add_tlmarker; rename j2k_add_tlmarker_v2 to opj_j2k_add_tlmarker
2012-08-16remove deprecated v1 style function j2k_create_compress; rename ↵Mickael Savinaud
opj_j2k_create_compress_v2 to opj_j2k_create_compress
2012-08-16rename j2k functions with opj_ prefixMickael Savinaud
2012-08-16remove deprecated v1 style function j2k_setup_encoder; rename ↵Mickael Savinaud
opj_j2k_setup_encoder_v2 to opj_j2k_setup_encoder
2012-08-16remove deprecated v1 style function j2k_get_num_tp; rename j2k_get_num_tp_v2 ↵Mickael Savinaud
to opj_j2k_get_num_tp
2012-08-16remove deprecated v1 style function j2k_calculate_tp; rename ↵Mickael Savinaud
j2k_calculate_tp_v2 to opj_j2k_calculate_tp
2012-08-16rename local j2k function with opj_ prefixMickael Savinaud
2012-08-16remove deprecated v1 style function j2k_write_rgn; rename j2k_write_rgn_v2 ↵Mickael Savinaud
to opj_j2k_write_rgn
2012-08-16remove deprecated v1 style function j2k_write_sod; rename j2k_write_sod_v2 ↵Mickael Savinaud
to opj_j2k_write_sod
2012-08-16remove deprecated v1 style function j2k_write_sot; rename j2k_write_sot_v2 ↵Mickael Savinaud
to opj_j2k_write_sot
2012-08-16remove deprecated v1 style function j2k_write_tlm; rename j2k_write_tlm_v2 ↵Mickael Savinaud
to opj_j2k_write_tlm
2012-08-16rename local j2k function with opj_ prefixMickael Savinaud
2012-08-16rename local j2k function with opj_ prefixMickael Savinaud
2012-08-16remove deprecated v1 style function j2k_write_poc; rename j2k_write_poc_v2 ↵Mickael Savinaud
to opj_j2k_write_poc rename j2k_write_poc_in_memory to opj_j2k_write_poc_in_memory rename j2k_get_max_poc_size to opj_j2k_get_max_poc_size