diff --git a/ChangeLog b/ChangeLog index 1d743034..bf2e7e7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ What's New for OpenJPEG ! : changed + : added +April 25, 2007 ++ [FOD] Modification of the openjpeg.h file to avoid and ABI break with v1.1, removed the dangerous #IFDEF JPWL and added tcp_mct in cparameters. + April 23, 2007 + [GB] Enable/disable image decoding in OPJViewer diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index 1bc0d7f8..d866cc6d 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/openjpeg.h @@ -97,7 +97,6 @@ braindamage below. #define J2K_MAXBANDS (3*J2K_MAXRLVLS-2) /**< Number of maximum sub-band linked to number of resolution level */ /* UniPG>> */ -#ifdef USE_JPWL #define JPWL_MAX_NO_TILESPECS 16 /**< Maximum number of tile parts expected by JPWL: increase at your will */ #define JPWL_MAX_NO_PACKSPECS 16 /**< Maximum number of packet parts expected by JPWL: increase at your will */ #define JPWL_MAX_NO_MARKERS 512 /**< Maximum number of JPWL markers: increase at your will */ @@ -105,7 +104,6 @@ braindamage below. #define JPWL_EXPECTED_COMPONENTS 3 /**< Expect this number of components, so you'll find better the first EPB */ #define JPWL_MAXIMUM_TILES 8192 /**< Expect this maximum number of tiles, to avoid some crashes */ #define JPWL_MAXIMUM_HAMMING 2 /**< Expect this maximum number of bit errors in marker id's */ -#endif /* USE_JPWL */ /* <> */ -#ifdef USE_JPWL /**@name JPWL encoding parameters */ /*@{*/ /** enables writing of EPC in MH, thus activating JPWL */ @@ -362,9 +350,20 @@ typedef struct opj_cparameters { /** sensitivity methods for TPHs (-1=no,0-7) */ int jpwl_sens_TPH[JPWL_MAX_NO_TILESPECS]; /*@}*/ -#endif /* USE_JPWL */ /* <> */ -#ifdef USE_JPWL /**@name JPWL decoding parameters */ /*@{*/ /** activates the JPWL correction capabilities */ @@ -418,8 +408,16 @@ typedef struct opj_dparameters { /** maximum number of tiles */ int jpwl_max_tiles; /*@}*/ -#endif /* USE_JPWL */ /* <