openjpeg/doxygen/opj__intmath_8h.html

135 lines
23 KiB
HTML
Raw Normal View History

2015-07-10 18:06:19 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2020-12-28 22:12:25 +01:00
<meta name="generator" content="Doxygen 1.8.11"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: opj_intmath.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2016-09-29 22:38:29 +02:00
<td id="projectalign" style="padding-left: 0.5em;">
2015-07-10 18:06:19 +02:00
<div id="projectname">OpenJPEG
2020-12-28 22:12:25 +01:00
&#160;<span id="projectnumber">2.4.0</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2020-12-28 22:12:25 +01:00
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
2015-07-10 18:06:19 +02:00
<div id="nav-path" class="navpath">
<ul>
2020-12-28 22:12:25 +01:00
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54e5bc4f0640fea590afaf04f4d9c88d.html">openjp2</a></li> </ul>
2015-07-10 18:06:19 +02:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">opj_intmath.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Implementation of operations on integers (INT)
<a href="#details">More...</a></p>
<p><a href="opj__intmath_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Exported functions (see also openjpeg.h)</div></td></tr>
<tr class="memitem:gaac315c40dca690742df538fcc21d4f91"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaac315c40dca690742df538fcc21d4f91">opj_int_min</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:gaac315c40dca690742df538fcc21d4f91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum of two integers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gaac315c40dca690742df538fcc21d4f91">More...</a><br /></td></tr>
<tr class="separator:gaac315c40dca690742df538fcc21d4f91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06c1c4470f9765a3ed04963b0daa111a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga06c1c4470f9765a3ed04963b0daa111a">opj_uint_min</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:ga06c1c4470f9765a3ed04963b0daa111a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum of two integers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga06c1c4470f9765a3ed04963b0daa111a">More...</a><br /></td></tr>
<tr class="separator:ga06c1c4470f9765a3ed04963b0daa111a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f7d5c3934ee6be38763652b7f80ea6c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga2f7d5c3934ee6be38763652b7f80ea6c">opj_int_max</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:ga2f7d5c3934ee6be38763652b7f80ea6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum of two integers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga2f7d5c3934ee6be38763652b7f80ea6c">More...</a><br /></td></tr>
<tr class="separator:ga2f7d5c3934ee6be38763652b7f80ea6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c3eb35fddab83fef25256485b926fc0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga2c3eb35fddab83fef25256485b926fc0">opj_uint_max</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:ga2c3eb35fddab83fef25256485b926fc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum of two integers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga2c3eb35fddab83fef25256485b926fc0">More...</a><br /></td></tr>
<tr class="separator:ga2c3eb35fddab83fef25256485b926fc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9aad885f5c9bc9e39420003b2b32fe5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gab9aad885f5c9bc9e39420003b2b32fe5">opj_uint_adds</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:gab9aad885f5c9bc9e39420003b2b32fe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the saturated sum of two unsigned integers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gab9aad885f5c9bc9e39420003b2b32fe5">More...</a><br /></td></tr>
<tr class="separator:gab9aad885f5c9bc9e39420003b2b32fe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
2017-10-05 00:57:21 +02:00
<tr class="memitem:gaef70413f6c794150eec1fc019b4de2d4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaef70413f6c794150eec1fc019b4de2d4">opj_uint_subs</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:gaef70413f6c794150eec1fc019b4de2d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the saturated difference of two unsigned integers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gaef70413f6c794150eec1fc019b4de2d4">More...</a><br /></td></tr>
<tr class="separator:gaef70413f6c794150eec1fc019b4de2d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="memitem:gaefb4572107a9aea093be96d966869a0d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaefb4572107a9aea093be96d966869a0d">opj_int_clamp</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> <a class="el" href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min</a>, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> <a class="el" href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max</a>)</td></tr>
<tr class="memdesc:gaefb4572107a9aea093be96d966869a0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clamp an integer inside an interval. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gaefb4572107a9aea093be96d966869a0d">More...</a><br /></td></tr>
<tr class="separator:gaefb4572107a9aea093be96d966869a0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2017-10-05 00:57:21 +02:00
<tr class="memitem:ga20a9a9e2aee9a99897131989b4a9e7e9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga20a9a9e2aee9a99897131989b4a9e7e9">opj_int64_clamp</a> (<a class="el" href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> a, <a class="el" href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> <a class="el" href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min</a>, <a class="el" href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> <a class="el" href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max</a>)</td></tr>
<tr class="memdesc:ga20a9a9e2aee9a99897131989b4a9e7e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clamp an integer inside an interval. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga20a9a9e2aee9a99897131989b4a9e7e9">More...</a><br /></td></tr>
<tr class="separator:ga20a9a9e2aee9a99897131989b4a9e7e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="memitem:gacaef279a9031adbd9319990646328a01"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gacaef279a9031adbd9319990646328a01">opj_int_abs</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a)</td></tr>
<tr class="separator:gacaef279a9031adbd9319990646328a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab00a7c3619b5af7595961047baff120e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gab00a7c3619b5af7595961047baff120e">opj_int_ceildiv</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:gab00a7c3619b5af7595961047baff120e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide an integer and round upwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gab00a7c3619b5af7595961047baff120e">More...</a><br /></td></tr>
<tr class="separator:gab00a7c3619b5af7595961047baff120e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4b2e5a7c8b8f09faacc4a895f866ea1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:gae4b2e5a7c8b8f09faacc4a895f866ea1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide an integer and round upwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gae4b2e5a7c8b8f09faacc4a895f866ea1">More...</a><br /></td></tr>
<tr class="separator:gae4b2e5a7c8b8f09faacc4a895f866ea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa1e441dec325d33ccd86aa7ca8ccfdc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaaa1e441dec325d33ccd86aa7ca8ccfdc">opj_int_ceildivpow2</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:gaaa1e441dec325d33ccd86aa7ca8ccfdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide an integer by a power of 2 and round upwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gaaa1e441dec325d33ccd86aa7ca8ccfdc">More...</a><br /></td></tr>
<tr class="separator:gaaa1e441dec325d33ccd86aa7ca8ccfdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
2016-09-29 22:38:29 +02:00
<tr class="memitem:ga6881e82a881556059d14d265a8d0aa25"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga6881e82a881556059d14d265a8d0aa25">opj_int64_ceildivpow2</a> (<a class="el" href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:ga6881e82a881556059d14d265a8d0aa25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide a 64bits integer by a power of 2 and round upwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga6881e82a881556059d14d265a8d0aa25">More...</a><br /></td></tr>
<tr class="separator:ga6881e82a881556059d14d265a8d0aa25"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="memitem:gae592eb75f221decddec51834b6c4177d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:gae592eb75f221decddec51834b6c4177d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide an integer by a power of 2 and round upwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gae592eb75f221decddec51834b6c4177d">More...</a><br /></td></tr>
<tr class="separator:gae592eb75f221decddec51834b6c4177d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdf6c78f5b60afd230901e5e0c57f491"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gabdf6c78f5b60afd230901e5e0c57f491">opj_int_floordivpow2</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:gabdf6c78f5b60afd230901e5e0c57f491"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide an integer by a power of 2 and round downwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gabdf6c78f5b60afd230901e5e0c57f491">More...</a><br /></td></tr>
<tr class="separator:gabdf6c78f5b60afd230901e5e0c57f491"><td class="memSeparator" colspan="2">&#160;</td></tr>
2020-12-28 22:12:25 +01:00
<tr class="memitem:ga6972ea9bd03fb83a3421e2578fa486f1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga6972ea9bd03fb83a3421e2578fa486f1">opj_uint_floordivpow2</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<tr class="memdesc:ga6972ea9bd03fb83a3421e2578fa486f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide an integer by a power of 2 and round downwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga6972ea9bd03fb83a3421e2578fa486f1">More...</a><br /></td></tr>
<tr class="separator:ga6972ea9bd03fb83a3421e2578fa486f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-07-10 18:06:19 +02:00
<tr class="memitem:gaa6a55d57af96308459f6de414227ae40"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaa6a55d57af96308459f6de414227ae40">opj_int_floorlog2</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a)</td></tr>
<tr class="memdesc:gaa6a55d57af96308459f6de414227ae40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get logarithm of an integer and round downwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gaa6a55d57af96308459f6de414227ae40">More...</a><br /></td></tr>
<tr class="separator:gaa6a55d57af96308459f6de414227ae40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91ef25eaa56320684de5d1e3a4097823"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga91ef25eaa56320684de5d1e3a4097823">opj_uint_floorlog2</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a)</td></tr>
<tr class="memdesc:ga91ef25eaa56320684de5d1e3a4097823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get logarithm of an integer and round downwards. <a href="group___o_p_j___i_n_t_m_a_t_h.html#ga91ef25eaa56320684de5d1e3a4097823">More...</a><br /></td></tr>
<tr class="separator:ga91ef25eaa56320684de5d1e3a4097823"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2130d6482126a20e6680f82b254857b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#gaa2130d6482126a20e6680f82b254857b">opj_int_fix_mul</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="memdesc:gaa2130d6482126a20e6680f82b254857b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiply two fixed-precision rational numbers. <a href="group___o_p_j___i_n_t_m_a_t_h.html#gaa2130d6482126a20e6680f82b254857b">More...</a><br /></td></tr>
<tr class="separator:gaa2130d6482126a20e6680f82b254857b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ce489e764483d741e8953475341ba14"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___o_p_j___i_n_t_m_a_t_h.html#ga5ce489e764483d741e8953475341ba14">opj_int_fix_mul_t1</a> (<a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<tr class="separator:ga5ce489e764483d741e8953475341ba14"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of operations on integers (INT) </p>
2020-12-28 22:12:25 +01:00
<p>The functions in OPJ_INTMATH.H have for goal to realize operations on integers. </p>
2015-07-10 18:06:19 +02:00
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2020-12-28 22:12:25 +01:00
</a> 1.8.11
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>