ABI
Tracker

(OpenJPEG)




Headers diff: 2.3.0 vs current



 openjpeg.h (2.3.0)   openjpeg.h (current) 
skipping to change at line 549 skipping to change at line 549
OPJ_UINT32 DA_x0; OPJ_UINT32 DA_x0;
/** Decoding area right boundary */ /** Decoding area right boundary */
OPJ_UINT32 DA_x1; OPJ_UINT32 DA_x1;
/** Decoding area up boundary */ /** Decoding area up boundary */
OPJ_UINT32 DA_y0; OPJ_UINT32 DA_y0;
/** Decoding area bottom boundary */ /** Decoding area bottom boundary */
OPJ_UINT32 DA_y1; OPJ_UINT32 DA_y1;
/** Verbose mode */ /** Verbose mode */
OPJ_BOOL m_verbose; OPJ_BOOL m_verbose;
/** tile number ot the decoded tile*/ /** tile number of the decoded tile */
OPJ_UINT32 tile_index; OPJ_UINT32 tile_index;
/** Nb of tile to decode */ /** Nb of tile to decode */
OPJ_UINT32 nb_tile_to_decode; OPJ_UINT32 nb_tile_to_decode;
/*@}*/ /*@}*/
/* UniPG>> */ /* NOT YET USED IN THE V2 VERSION OF OPENJPEG */ /* UniPG>> */ /* NOT YET USED IN THE V2 VERSION OF OPENJPEG */
/**@name JPWL decoding parameters */ /**@name JPWL decoding parameters */
/*@{*/ /*@{*/
/** activates the JPWL correction capabilities */ /** activates the JPWL correction capabilities */
skipping to change at line 1172 skipping to change at line 1172
/** /**
* Sets the given function to be used as a skip function. * Sets the given function to be used as a skip function.
* @param p_stream the stream to modify * @param p_stream the stream to modify
* @param p_function the function to use a skip function. * @param p_function the function to use a skip function.
*/ */
OPJ_API void OPJ_CALLCONV opj_stream_set_skip_function(opj_stream_t* p_stre am, OPJ_API void OPJ_CALLCONV opj_stream_set_skip_function(opj_stream_t* p_stre am,
opj_stream_skip_fn p_function); opj_stream_skip_fn p_function);
/** /**
* Sets the given function to be used as a seek function, the stream is the * Sets the given function to be used as a seek function, the stream is the
n seekable. n seekable,
* using SEEK_SET behavior.
* @param p_stream the stream to modify * @param p_stream the stream to modify
* @param p_function the function to use a skip function. * @param p_function the function to use a skip function.
*/ */
OPJ_API void OPJ_CALLCONV opj_stream_set_seek_function(opj_stream_t* p_stre am, OPJ_API void OPJ_CALLCONV opj_stream_set_seek_function(opj_stream_t* p_stre am,
opj_stream_seek_fn p_function); opj_stream_seek_fn p_function);
/** /**
* Sets the given data to be used as a user data for the stream. * Sets the given data to be used as a user data for the stream.
* @param p_stream the stream to modify * @param p_stream the stream to modify
* @param p_data the data to set. * @param p_data the data to set.
skipping to change at line 1306 skipping to change at line 1307
/** /**
* Allocates worker threads for the compressor/decompressor. * Allocates worker threads for the compressor/decompressor.
* *
* By default, only the main thread is used. If this function is not used, * By default, only the main thread is used. If this function is not used,
* but the OPJ_NUM_THREADS environment variable is set, its value will be * but the OPJ_NUM_THREADS environment variable is set, its value will be
* used to initialize the number of threads. The value can be either an int eger * used to initialize the number of threads. The value can be either an int eger
* number, or "ALL_CPUS". If OPJ_NUM_THREADS is set and this function is ca lled, * number, or "ALL_CPUS". If OPJ_NUM_THREADS is set and this function is ca lled,
* this function will override the behaviour of the environment variable. * this function will override the behaviour of the environment variable.
* *
* Currently this function must be called after opj_setup_decoder() and
* before opj_read_header().
*
* Note: currently only has effect on the decompressor. * Note: currently only has effect on the decompressor.
* *
* @param p_codec decompressor handler * @param p_codec decompressor handler
* @param num_threads number of threads. * @param num_threads number of threads.
* *
* @return OPJ_TRUE if the decoder is correctly set * @return OPJ_TRUE if the decoder is correctly set
*/ */
OPJ_API OPJ_BOOL OPJ_CALLCONV opj_codec_set_threads(opj_codec_t *p_codec, OPJ_API OPJ_BOOL OPJ_CALLCONV opj_codec_set_threads(opj_codec_t *p_codec,
int num_threads); int num_threads);
skipping to change at line 1373 skipping to change at line 1377
* that is to say at the highest resolution level, even if requesting the i mage at lower * that is to say at the highest resolution level, even if requesting the i mage at lower
* resolution levels. * resolution levels.
* *
* Generally opj_set_decode_area() should be followed by opj_decode(), and the * Generally opj_set_decode_area() should be followed by opj_decode(), and the
* codec cannot be re-used. * codec cannot be re-used.
* In the particular case of an image made of a single tile, several sequen ces of * In the particular case of an image made of a single tile, several sequen ces of
* calls to opoj_set_decode_area() and opj_decode() are allowed, and will b ring * calls to opoj_set_decode_area() and opj_decode() are allowed, and will b ring
* performance improvements when reading an image by chunks. * performance improvements when reading an image by chunks.
* *
* @param p_codec the jpeg2000 codec. * @param p_codec the jpeg2000 codec.
* @param p_image the decoded image previously setted by opj_read _header * @param p_image the decoded image previously set by opj_read_he ader
* @param p_start_x the left position of the rectangle to decode (i n image coordinates). * @param p_start_x the left position of the rectangle to decode (i n image coordinates).
* @param p_end_x the right position of the rectangle to decode ( in image coordinates). * @param p_end_x the right position of the rectangle to decode ( in image coordinates).
* @param p_start_y the up position of the rectangle to decode (in image coordinates). * @param p_start_y the up position of the rectangle to decode (in image coordinates).
* @param p_end_y the bottom position of the rectangle to decode (in image coordinates). * @param p_end_y the bottom position of the rectangle to decode (in image coordinates).
* *
* @return true if the area could be set. * @return true if the area could be set.
*/ */
OPJ_API OPJ_BOOL OPJ_CALLCONV opj_set_decode_area(opj_codec_t *p_codec, OPJ_API OPJ_BOOL OPJ_CALLCONV opj_set_decode_area(opj_codec_t *p_codec,
opj_image_t* p_image, opj_image_t* p_image,
OPJ_INT32 p_start_x, OPJ_INT32 p_start_y, OPJ_INT32 p_start_x, OPJ_INT32 p_start_y,
 End of changes. 4 change blocks. 
4 lines changed or deleted 8 lines changed or added


 opj_config.h (2.3.0)   opj_config.h (current) 
/* create opj_config.h for CMake */ /* create opj_config.h for CMake */
#define OPJ_HAVE_STDINT_H 1 #define OPJ_HAVE_STDINT_H 1
/*------------------------------------------------------------------------- -*/ /*------------------------------------------------------------------------- -*/
/* OpenJPEG Versioning */ /* OpenJPEG Versioning */
/* Version number. */ /* Version number. */
#define OPJ_VERSION_MAJOR 2 #define OPJ_VERSION_MAJOR 2
#define OPJ_VERSION_MINOR 3 #define OPJ_VERSION_MINOR 3
#define OPJ_VERSION_BUILD 0 #define OPJ_VERSION_BUILD 1
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41.The latest version is available from http://tools.ietf.org/tools/rfcdiff/