<br/>
<h1>Changelog from Git</h1><br/><br/>
<div class='changelog'>
-<pre class='wrap'>commit 4d5c5e7c4891491d61c7deaf77d9238b3621c32a
+<pre class='wrap'>commit 34dae137a9a8c04feaa9763ae7e09a86ecb10400
+Author: Mathieu Malaterre <mathieu.malaterre@gmail.com>
+Date: 2016-09-26 12:01:31 +0200
+
+ OPENJPEG_NAMESPACE is configurable by user
+
+commit 4d5c5e7c4891491d61c7deaf77d9238b3621c32a
Author: Mathieu Malaterre <mathieu.malaterre@gmail.com>
Date: 2016-09-26 11:26:55 +0200
Update to mm2/Little-CMS@e342f44
commit 94cfb1b008319e8b0b17e741f1e29e0a7b90af38
-Merge: ba0cf12 17a0a8a
Author: julienmalik <julienmalik@users.noreply.github.com>
Date: 2016-05-02 21:57:55 +0200
Use lowercase for cmake commands consistenly
-commit 17a0a8a195a9aad76a6bdb174edc8aa5fb8b7831
-Author: Julien Malik <julien.malik@paraiso.me>
-Date: 2016-05-02 16:03:16 +0200
-
- Use lowercase for cmake commands consistenly
-
- Inspired from https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt
- This needs vim 7.3 and fails with vim 7.4
-
- This also fixes a number of :
- - missing empty line at end of files
- - useless space at end of lines
-
-commit ba0cf122f6820d38a7a5acc65b9d64392dd94e83
-Author: julienmalik <julienmalik@users.noreply.github.com>
-Date: 2016-05-02 14:34:32 +0200
-
- Merge pull request #767 from julienmalik/fix_memset_null_pointer
-
- Fix UBSan gcc warning for first arg to memset non null
-
...</pre></div>
</body>
'2.0.1' => '2014-04-22 07:53',
'2.1' => '2014-04-29 12:58',
'2.1.1' => '2016-07-05 14:54',
- 'current' => '2016-09-26 11:26:55'
+ 'current' => '2016-09-26 12:01:31'
},
'HeadersDiff' => {
'1.1' => {
'Maintainer' => 'OpenJPEG team',
'MaintainerUrl' => 'http://www.openjpeg.org/',
'PackageDiff' => {},
- 'ScmUpdateTime' => '1474882772',
+ 'ScmUpdateTime' => '1474885442',
'Soname' => {
'1.1' => {
'lib/libopenjpeg.so' => 'libopenjpeg.so'
OPJ_API OPJ_BOOL OPJ_CALLCONV opj_setup_decoder(opj_codec_t *p_codec,
opj_dparameters_t *parameters );
+/**
+ * Allocates worker threads for the compressor/decompressor.
+ *
+ * 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
+ * used to initialize the number of threads. The value can be either an integer
+ * number, or "ALL_CPUS". If OPJ_NUM_THREADS is set and this function is called,
+ * this function will override the behaviour of the environment variable.
+ *
+ * Note: currently only has effect on the decompressor.
+ *
+ * @param p_codec decompressor handler
+ * @param num_threads number of threads.
+ *
+ * @return OPJ_TRUE if the decoder is correctly set
+ */
+OPJ_API OPJ_BOOL OPJ_CALLCONV opj_codec_set_threads(opj_codec_t *p_codec,
+ int num_threads);
+
/**
* Decodes an image header.
*
OPJ_INT32 * p_dc_shift,
OPJ_UINT32 pNbComp);
+/*
+==========================================================
+ Thread functions
+==========================================================
+*/
+
+/** Returns if the library is built with thread support.
+ * OPJ_TRUE if mutex, condition, thread, thread pool are available.
+ */
+OPJ_API OPJ_BOOL OPJ_CALLCONV opj_has_thread_support(void);
+
+/** Return the number of virtual CPUs */
+OPJ_API int OPJ_CALLCONV opj_get_num_cpus(void);
#ifdef __cplusplus
# Import target "openjp2" for configuration "Debug"
SET_PROPERTY(TARGET openjp2 APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
SET_TARGET_PROPERTIES(openjp2 PROPERTIES
- IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG "m"
+ IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG "m;-lpthread"
IMPORTED_LOCATION_DEBUG "${_IMPORT_PREFIX}/lib/libopenjp2.so.2.1.1"
IMPORTED_SONAME_DEBUG "libopenjp2.so.7"
)
"HeadersDiff": "On",
"PkgDiff": "Off",
"ABIView": "Off",
- "ABIDiff": "Off",
- "PublicSymbols": "public_symbols/openjpeg/1.4/list",
- "PublicTypes": "public_types/openjpeg/1.4/list"
+ "ABIDiff": "Off"
},
{
"Number": "1.2",
"HeadersDiff": "On",
"PkgDiff": "Off",
"ABIView": "Off",
- "ABIDiff": "Off",
- "PublicSymbols": "public_symbols/openjpeg/1.2/list",
- "PublicTypes": "public_types/openjpeg/1.2/list"
+ "ABIDiff": "Off"
},
{
"Number": "1.1",
<th>Headers<br/>Diff</th>
</tr>
<tr id='current'><td>current</td>
-<td>2016-09-26<br/>11:26</td>
+<td>2016-09-26<br/>12:01</td>
<td>7</td>
<td><a href='../../changelog/openjpeg/current/log.html'>changelog</a></td>
<td class='ok'><a href='../../objects_report/openjpeg/2.1.1/current/report.html'>100%</a></td>
<td>N/A</td>
<td>N/A</td>
</tr>
-</table><br/>Maintained by <a href='http://www.openjpeg.org/'>OpenJPEG team</a>. Last updated on Mon Sep 26 10:14:00 2016.<br/>
+</table><br/>Maintained by <a href='http://www.openjpeg.org/'>OpenJPEG team</a>. Last updated on Mon Sep 26 10:24:30 2016.<br/>
<br/>
<hr/>
<div align='right'><a class='home' title="Andrey Ponomarenko's ABI laboratory" href='http://abi-laboratory.pro/'>abi-laboratory.pro</a></div>