<trclass="memitem:aac315c40dca690742df538fcc21d4f91"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#aac315c40dca690742df538fcc21d4f91">opj_int_min</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:aac315c40dca690742df538fcc21d4f91"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the minimum of two integers. <ahref="opj__intmath_8h.html#aac315c40dca690742df538fcc21d4f91">More...</a><br/></td></tr>
<trclass="memitem:a06c1c4470f9765a3ed04963b0daa111a"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a06c1c4470f9765a3ed04963b0daa111a">opj_uint_min</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:a06c1c4470f9765a3ed04963b0daa111a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the minimum of two integers. <ahref="opj__intmath_8h.html#a06c1c4470f9765a3ed04963b0daa111a">More...</a><br/></td></tr>
<trclass="memitem:a2f7d5c3934ee6be38763652b7f80ea6c"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a2f7d5c3934ee6be38763652b7f80ea6c">opj_int_max</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:a2f7d5c3934ee6be38763652b7f80ea6c"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the maximum of two integers. <ahref="opj__intmath_8h.html#a2f7d5c3934ee6be38763652b7f80ea6c">More...</a><br/></td></tr>
<trclass="memitem:a2c3eb35fddab83fef25256485b926fc0"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0">opj_uint_max</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:a2c3eb35fddab83fef25256485b926fc0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the maximum of two integers. <ahref="opj__intmath_8h.html#a2c3eb35fddab83fef25256485b926fc0">More...</a><br/></td></tr>
<trclass="memitem:ab9aad885f5c9bc9e39420003b2b32fe5"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#ab9aad885f5c9bc9e39420003b2b32fe5">opj_uint_adds</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:ab9aad885f5c9bc9e39420003b2b32fe5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the saturated sum of two unsigned integers. <ahref="opj__intmath_8h.html#ab9aad885f5c9bc9e39420003b2b32fe5">More...</a><br/></td></tr>
<trclass="memitem:aef70413f6c794150eec1fc019b4de2d4"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#aef70413f6c794150eec1fc019b4de2d4">opj_uint_subs</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:aef70413f6c794150eec1fc019b4de2d4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the saturated difference of two unsigned integers. <ahref="opj__intmath_8h.html#aef70413f6c794150eec1fc019b4de2d4">More...</a><br/></td></tr>
<trclass="memitem:aefb4572107a9aea093be96d966869a0d"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#aefb4572107a9aea093be96d966869a0d">opj_int_clamp</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a><aclass="el"href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min</a>, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a><aclass="el"href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max</a>)</td></tr>
<trclass="memdesc:aefb4572107a9aea093be96d966869a0d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Clamp an integer inside an interval. <ahref="opj__intmath_8h.html#aefb4572107a9aea093be96d966869a0d">More...</a><br/></td></tr>
<trclass="memitem:a20a9a9e2aee9a99897131989b4a9e7e9"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a20a9a9e2aee9a99897131989b4a9e7e9">opj_int64_clamp</a> (<aclass="el"href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> a, <aclass="el"href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a><aclass="el"href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min</a>, <aclass="el"href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a><aclass="el"href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max</a>)</td></tr>
<trclass="memdesc:a20a9a9e2aee9a99897131989b4a9e7e9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Clamp an integer inside an interval. <ahref="opj__intmath_8h.html#a20a9a9e2aee9a99897131989b4a9e7e9">More...</a><br/></td></tr>
<trclass="memitem:ab00a7c3619b5af7595961047baff120e"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#ab00a7c3619b5af7595961047baff120e">opj_int_ceildiv</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:ab00a7c3619b5af7595961047baff120e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide an integer and round upwards. <ahref="opj__intmath_8h.html#ab00a7c3619b5af7595961047baff120e">More...</a><br/></td></tr>
<trclass="memitem:ae4b2e5a7c8b8f09faacc4a895f866ea1"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#ae4b2e5a7c8b8f09faacc4a895f866ea1">opj_uint_ceildiv</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:ae4b2e5a7c8b8f09faacc4a895f866ea1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide an integer and round upwards. <ahref="opj__intmath_8h.html#ae4b2e5a7c8b8f09faacc4a895f866ea1">More...</a><br/></td></tr>
<trclass="memitem:aaa1e441dec325d33ccd86aa7ca8ccfdc"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#aaa1e441dec325d33ccd86aa7ca8ccfdc">opj_int_ceildivpow2</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:aaa1e441dec325d33ccd86aa7ca8ccfdc"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide an integer by a power of 2 and round upwards. <ahref="opj__intmath_8h.html#aaa1e441dec325d33ccd86aa7ca8ccfdc">More...</a><br/></td></tr>
<trclass="memitem:a6881e82a881556059d14d265a8d0aa25"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a6881e82a881556059d14d265a8d0aa25">opj_int64_ceildivpow2</a> (<aclass="el"href="openjpeg_8h.html#a871a81193cb4972db35948edd67360bd">OPJ_INT64</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:a6881e82a881556059d14d265a8d0aa25"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide a 64bits integer by a power of 2 and round upwards. <ahref="opj__intmath_8h.html#a6881e82a881556059d14d265a8d0aa25">More...</a><br/></td></tr>
<trclass="memitem:ae592eb75f221decddec51834b6c4177d"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#ae592eb75f221decddec51834b6c4177d">opj_uint_ceildivpow2</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:ae592eb75f221decddec51834b6c4177d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide an integer by a power of 2 and round upwards. <ahref="opj__intmath_8h.html#ae592eb75f221decddec51834b6c4177d">More...</a><br/></td></tr>
<trclass="memitem:abdf6c78f5b60afd230901e5e0c57f491"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#abdf6c78f5b60afd230901e5e0c57f491">opj_int_floordivpow2</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:abdf6c78f5b60afd230901e5e0c57f491"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide an integer by a power of 2 and round downwards. <ahref="opj__intmath_8h.html#abdf6c78f5b60afd230901e5e0c57f491">More...</a><br/></td></tr>
<trclass="memitem:a6972ea9bd03fb83a3421e2578fa486f1"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a6972ea9bd03fb83a3421e2578fa486f1">opj_uint_floordivpow2</a> (<aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> a, <aclass="el"href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> b)</td></tr>
<trclass="memdesc:a6972ea9bd03fb83a3421e2578fa486f1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Divide an integer by a power of 2 and round downwards. <ahref="opj__intmath_8h.html#a6972ea9bd03fb83a3421e2578fa486f1">More...</a><br/></td></tr>
<trclass="memdesc:aa6a55d57af96308459f6de414227ae40"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get logarithm of an integer and round downwards. <ahref="opj__intmath_8h.html#aa6a55d57af96308459f6de414227ae40">More...</a><br/></td></tr>
<trclass="memdesc:a91ef25eaa56320684de5d1e3a4097823"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get logarithm of an integer and round downwards. <ahref="opj__intmath_8h.html#a91ef25eaa56320684de5d1e3a4097823">More...</a><br/></td></tr>
<trclass="memitem:a384853368e8aae9b2b5130746bed0566"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a384853368e8aae9b2b5130746bed0566">opj_int_add_no_overflow</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:a384853368e8aae9b2b5130746bed0566"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Addition two signed integers with a wrap-around behaviour. <ahref="opj__intmath_8h.html#a384853368e8aae9b2b5130746bed0566">More...</a><br/></td></tr>
<trclass="memitem:a4f7a6ab779e13fa2116b4b820173190d"><tdclass="memItemLeft"align="right"valign="top">static <aclass="el"href="openjpeg_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a><aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="opj__intmath_8h.html#a4f7a6ab779e13fa2116b4b820173190d">opj_int_sub_no_overflow</a> (<aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> a, <aclass="el"href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> b)</td></tr>
<trclass="memdesc:a4f7a6ab779e13fa2116b4b820173190d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Subtract two signed integers with a wrap-around behaviour. <ahref="opj__intmath_8h.html#a4f7a6ab779e13fa2116b4b820173190d">More...</a><br/></td></tr>
<p>The functions in <aclass="el"href="opj__intmath_8h.html"title="Implementation of operations on integers (INT)">OPJ_INTMATH.H</a> have for goal to realize operations on integers. </p>
<pclass="reference">References <aclass="el"href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max()</a>, and <aclass="el"href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min()</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="tcd_8c.html#a9dc572b0982c7d7db4f3c53d8ccfdce6">opj_tcd_dc_level_shift_decode()</a>.</p>
<p>Addition two signed integers with a wrap-around behaviour. </p>
<p>Assumes complement-to-two signed integers. </p><dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">a</td><td></td></tr>
<tr><tdclass="paramname">b</td><td></td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>Returns a + b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="dwt_8c.html#a6a4d5e05c76cd5c053c352a279efe3fe">opj_dwt_decode_partial_1()</a>, <aclass="el"href="dwt_8c.html#a8b5d49615ec89ef1726ca79aa44fecec">opj_dwt_decode_partial_1_parallel()</a>, <aclass="el"href="dwt_8c.html#af9334a52e412121d2c84f8a70425bd79">opj_idwt3_v_cas0()</a>, <aclass="el"href="dwt_8c.html#aa1e1d65844d59fd0182bc2c5355144f5">opj_idwt53_h_cas0()</a>, and <aclass="el"href="dwt_8c.html#aa1a47075793852c4d73935ab6c4305d1">opj_idwt53_h_cas1()</a>.</p>
<dlclass="section return"><dt>Returns</dt><dd>Returns a divided by b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="j2k_8c.html#a137ed861d6b253613d162498afe49159">opj_get_tile_dimensions()</a>, <aclass="el"href="j2k_8h.html#a60371d3609364bf033e8c244599abf6f">opj_j2k_get_tile()</a>, <aclass="el"href="j2k_8c.html#aa91c21b73fc17028a77ba44d3987f17a">opj_j2k_read_siz()</a>, <aclass="el"href="j2k_8h.html#ab4cb6916a495309faab2dd7cb587ccb8">opj_j2k_set_decode_area()</a>, <aclass="el"href="j2k_8h.html#a4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>, <aclass="el"href="j2k_8c.html#a2759cc4cb3d0819cfa0625ffc698493a">opj_j2k_update_image_dimensions()</a>, and <aclass="el"href="tcd_8c.html#a0e4d491f4d95e89b9f113664431faffc">opj_tcd_init_tile()</a>.</p>
<p>Divide an integer by a power of 2 and round upwards. </p>
<dlclass="section return"><dt>Returns</dt><dd>Returns a divided by 2^b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="bench__dwt_8c.html#a08e91e8e4298f498913436a2006496b0">init_tilec()</a>, <aclass="el"href="j2k_8h.html#a60371d3609364bf033e8c244599abf6f">opj_j2k_get_tile()</a>, <aclass="el"href="j2k_8c.html#a2759cc4cb3d0819cfa0625ffc698493a">opj_j2k_update_image_dimensions()</a>, and <aclass="el"href="tcd_8c.html#a0e4d491f4d95e89b9f113664431faffc">opj_tcd_init_tile()</a>.</p>
<pclass="reference">References <aclass="el"href="index__manager_8c.html#aecefdbf80129b12f2ef66ccfbedbb7fe">max()</a>, and <aclass="el"href="index__manager_8c.html#ac1d9c713f42b405f9e353ec99b880755">min()</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="tcd_8c.html#a9dc572b0982c7d7db4f3c53d8ccfdce6">opj_tcd_dc_level_shift_decode()</a>.</p>
<pclass="reference">Referenced by <aclass="el"href="dwt_8c.html#ab25c1a377c367a7246c24179477cd956">opj_dwt_encode_stepsize()</a>, <aclass="el"href="j2k_8h.html#a4a6561d0899d91b38099da38814cbe86">opj_j2k_setup_encoder()</a>, <aclass="el"href="t1_8c.html#a0066492bf8c292bf235c1c754a3272bf">opj_t1_encode_cblk()</a>, and <aclass="el"href="t2_8c.html#af46b03251519f1cba8bb01da5abc2169">opj_t2_encode_packet()</a>.</p>
<dlclass="section return"><dt>Returns</dt><dd>Returns a if a > b else b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="t1__generate__luts_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, <aclass="el"href="j2k_8c.html#ae73d42871d377e6fa71701f85a017bd8">opj_j2k_update_rates()</a>, <aclass="el"href="t1_8c.html#a0066492bf8c292bf235c1c754a3272bf">opj_t1_encode_cblk()</a>, <aclass="el"href="t2_8c.html#af46b03251519f1cba8bb01da5abc2169">opj_t2_encode_packet()</a>, and <aclass="el"href="tcd_8c.html#a0e4d491f4d95e89b9f113664431faffc">opj_tcd_init_tile()</a>.</p>
<p>Subtract two signed integers with a wrap-around behaviour. </p>
<p>Assumes complement-to-two signed integers. </p><dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">a</td><td></td></tr>
<tr><tdclass="paramname">b</td><td></td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>Returns a - b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="dwt_8c.html#a6a4d5e05c76cd5c053c352a279efe3fe">opj_dwt_decode_partial_1()</a>, <aclass="el"href="dwt_8c.html#a8b5d49615ec89ef1726ca79aa44fecec">opj_dwt_decode_partial_1_parallel()</a>, and <aclass="el"href="dwt_8c.html#af9334a52e412121d2c84f8a70425bd79">opj_idwt3_v_cas0()</a>.</p>
<p>Get the saturated sum of two unsigned integers. </p>
<dlclass="section return"><dt>Returns</dt><dd>Returns saturated sum of a+b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="dwt_8c.html#a53029ae915e8e9763da64cb55b31b437">opj_dwt_segment_grow()</a>, <aclass="el"href="pi_8c.html#a0019984757595c6ad4df22b104f95fa6">opj_get_all_encoding_parameters()</a>, <aclass="el"href="pi_8c.html#a938d362cf18f07cd768385f7875a18d9">opj_get_encoding_parameters()</a>, <aclass="el"href="image_8h.html#aa7b8e2985cd630021497528669063b7c">opj_image_comp_header_update()</a>, <aclass="el"href="j2k_8c.html#aa91c21b73fc17028a77ba44d3987f17a">opj_j2k_read_siz()</a>, <aclass="el"href="tcd_8c.html#a0e4d491f4d95e89b9f113664431faffc">opj_tcd_init_tile()</a>, and <aclass="el"href="tcd_8h.html#ad98baebcb0d551980ef28b692803c1a0">opj_tcd_is_subband_area_of_interest()</a>.</p>
<p>Divide an integer by a power of 2 and round upwards. </p>
<dlclass="section return"><dt>Returns</dt><dd>Returns a divided by 2^b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="dwt_8c.html#a80d6e09d9efb0ed5832601fe356ad0f6">opj_dwt_get_band_coordinates()</a>, <aclass="el"href="pi_8c.html#a0019984757595c6ad4df22b104f95fa6">opj_get_all_encoding_parameters()</a>, <aclass="el"href="pi_8c.html#a938d362cf18f07cd768385f7875a18d9">opj_get_encoding_parameters()</a>, <aclass="el"href="image_8h.html#aa7b8e2985cd630021497528669063b7c">opj_image_comp_header_update()</a>, <aclass="el"href="j2k_8c.html#a8e1a7d063d261020d4d8984cb2320971">opj_j2k_update_image_data()</a>, <aclass="el"href="tcd_8h.html#ad5a64bbb748b2c76bd41ea66715fa897">opj_tcd_decode_tile()</a>, and <aclass="el"href="tcd_8h.html#ad98baebcb0d551980ef28b692803c1a0">opj_tcd_is_subband_area_of_interest()</a>.</p>
<p>Divide an integer by a power of 2 and round downwards. </p>
<dlclass="section return"><dt>Returns</dt><dd>Returns a divided by 2^b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="pi_8c.html#a0019984757595c6ad4df22b104f95fa6">opj_get_all_encoding_parameters()</a>, <aclass="el"href="pi_8c.html#a938d362cf18f07cd768385f7875a18d9">opj_get_encoding_parameters()</a>, <aclass="el"href="pi_8c.html#ae9c13dff4b68aeadae3bc08d7d42ac64">opj_pi_next_cprl()</a>, <aclass="el"href="pi_8c.html#a1cd070fd2265de3eac5acbfbea53c6b2">opj_pi_next_pcrl()</a>, and <aclass="el"href="pi_8c.html#a48f92b41cb5fcc614bfcc8d76a9a0890">opj_pi_next_rpcl()</a>.</p>
<p>Get the saturated difference of two unsigned integers. </p>
<dlclass="section return"><dt>Returns</dt><dd>Returns saturated sum of a-b </dd></dl>
<pclass="reference">Referenced by <aclass="el"href="dwt_8c.html#a75cd080404aadce6662457dec7cc9d21">opj_dwt_decode_partial_97()</a>, <aclass="el"href="dwt_8c.html#a74b827f7914de05bf5bfc52894894803">opj_dwt_decode_partial_tile()</a>, and <aclass="el"href="dwt_8c.html#a53029ae915e8e9763da64cb55b31b437">opj_dwt_segment_grow()</a>.</p>