openjpeg/doxygen/bench__dwt_8c.html

230 lines
18 KiB
HTML

<!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"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenJPEG: bench_dwt.c 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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenJPEG
&#160;<span id="projectnumber">2.3.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_694e20c96f4fc1be4aed4f026eadce94.html">antonin</a></li><li class="navelem"><a class="el" href="dir_3ca1ad36e65e03f9e8d67ddc2553765b.html">dev</a></li><li class="navelem"><a class="el" href="dir_181a881edfcb8646dab693a228fa6bde.html">opj</a></li><li class="navelem"><a class="el" href="dir_5064bb5511811c3176850b7e47443f14.html">github</a></li><li class="navelem"><a class="el" href="dir_0b20524d8f8835ca75acc430451c8412.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_e3f8a8e294f8271ee71cbcf3c2acacc1.html">src</a></li><li class="navelem"><a class="el" href="dir_da83fe5fdfb6c4554d36abffc03790ad.html">lib</a></li><li class="navelem"><a class="el" href="dir_68013e83e260d17d49dee5e209315608.html">openjp2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">bench_dwt.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="opj__includes_8h_source.html">opj_includes.h</a>&quot;</code><br />
<code>#include &lt;sys/time.h&gt;</code><br />
<code>#include &lt;sys/resource.h&gt;</code><br />
<code>#include &lt;sys/times.h&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a22c68bd4bfb1ec55bcb2257276d2a900"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#a22c68bd4bfb1ec55bcb2257276d2a900">getValue</a> (<a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> i)</td></tr>
<tr class="separator:a22c68bd4bfb1ec55bcb2257276d2a900"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c196f81133ceb1f18310c49b4e8137"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#af9c196f81133ceb1f18310c49b4e8137">init_tilec</a> (<a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> *l_tilec, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> x0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> y0, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> x1, <a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> y1, <a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> numresolutions)</td></tr>
<tr class="separator:af9c196f81133ceb1f18310c49b4e8137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0988bd373c25899399a35bf51502ecba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#a0988bd373c25899399a35bf51502ecba">free_tilec</a> (<a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> *l_tilec)</td></tr>
<tr class="separator:a0988bd373c25899399a35bf51502ecba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8605e2b78cd4a81b6c6b5c30cb7366a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#ae8605e2b78cd4a81b6c6b5c30cb7366a">usage</a> (void)</td></tr>
<tr class="separator:ae8605e2b78cd4a81b6c6b5c30cb7366a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf53ced13a225d45380052173563421bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_s_c.html#gaf53ced13a225d45380052173563421bf">opj_clock</a> (void)</td></tr>
<tr class="memdesc:gaf53ced13a225d45380052173563421bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Difference in successive <a class="el" href="group___m_i_s_c.html#gaf53ced13a225d45380052173563421bf" title="Difference in successive opj_clock() calls tells you the elapsed time. ">opj_clock()</a> calls tells you the elapsed time. <a href="group___m_i_s_c.html#gaf53ced13a225d45380052173563421bf">More...</a><br /></td></tr>
<tr class="separator:gaf53ced13a225d45380052173563421bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a0988bd373c25899399a35bf51502ecba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0988bd373c25899399a35bf51502ecba">&#9670;&nbsp;</a></span>free_tilec()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void free_tilec </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> *&#160;</td>
<td class="paramname"><em>l_tilec</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</a>, <a class="el" href="group___m_i_s_c.html#ga2bd00e2482ae36197631bde0665cfdfe">opj_free()</a>, and <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>.</p>
<p class="reference">Referenced by <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
</div>
</div>
<a id="a22c68bd4bfb1ec55bcb2257276d2a900"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22c68bd4bfb1ec55bcb2257276d2a900">&#9670;&nbsp;</a></span>getValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> getValue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="bench__dwt_8c.html#af9c196f81133ceb1f18310c49b4e8137">init_tilec()</a>, and <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
</div>
</div>
<a id="af9c196f81133ceb1f18310c49b4e8137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9c196f81133ceb1f18310c49b4e8137">&#9670;&nbsp;</a></span>init_tilec()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void init_tilec </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> *&#160;</td>
<td class="paramname"><em>l_tilec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td>
<td class="paramname"><em>x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td>
<td class="paramname"><em>y0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a>&#160;</td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a>&#160;</td>
<td class="paramname"><em>numresolutions</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</a>, <a class="el" href="bench__dwt_8c.html#a22c68bd4bfb1ec55bcb2257276d2a900">getValue()</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___m_i_s_c.html#ga7fe6dfcb0a623dbec30daf0f48624bf7">opj_calloc()</a>, <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="group___m_i_s_c.html#ga49c70931cbed786f6eef5f095bcb2917">opj_malloc()</a>, <a class="el" href="structopj__tcd__tilecomp.html#a98466597d37dad1b049ffae6b9722885">opj_tcd_tilecomp::resolutions</a>, <a class="el" href="structopj__tcd__resolution.html#ac65adbcc5c51d8aaf0e5e9315243d6a1">opj_tcd_resolution::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__resolution.html#a4544bfa885feb38635dd2770a9114ecf">opj_tcd_resolution::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__resolution.html#ae4fb93aaa054fc66cc93021badc18cec">opj_tcd_resolution::y0</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, <a class="el" href="structopj__tcd__resolution.html#a4b68d3bd5fbaccd293e6a773be9d1a7f">opj_tcd_resolution::y1</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>.</p>
<p class="reference">Referenced by <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
</div>
</div>
<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">&#9670;&nbsp;</a></span>main()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int main </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>argv</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">References <a class="el" href="structopj__tcd__tile.html#adfe3ec848812611d8c5bc6b675e3b897">opj_tcd_tile::comps</a>, <a class="el" href="structopj__image.html#a6b52b100c934697a29446af5c3e0fa00">opj_image::comps</a>, <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</a>, <a class="el" href="structopj__image__comp.html#a0805d2f69bb770ff022c164aeda22685">opj_image_comp::dx</a>, <a class="el" href="structopj__image__comp.html#af9d6fd62a2b8bdd9fd162ce403eb0f10">opj_image_comp::dy</a>, <a class="el" href="bench__dwt_8c.html#a0988bd373c25899399a35bf51502ecba">free_tilec()</a>, <a class="el" href="bench__dwt_8c.html#a22c68bd4bfb1ec55bcb2257276d2a900">getValue()</a>, <a class="el" href="structopj__tcd.html#a5162cbbb1e49d1379aa7635f8892c283">opj_tcd::image</a>, <a class="el" href="bench__dwt_8c.html#af9c196f81133ceb1f18310c49b4e8137">init_tilec()</a>, <a class="el" href="structopj__tcd__tile.html#a02a13a3c111c99e55a96bbb917be7d35">opj_tcd_tile::numcomps</a>, <a class="el" href="structopj__image.html#ac63093741ed0c70b9c0a8ee3070cbce6">opj_image::numcomps</a>, <a class="el" href="structopj__tcd__tilecomp.html#a87fdaafd21fd5909fac88e866ba66ac6">opj_tcd_tilecomp::numresolutions</a>, <a class="el" href="group___m_i_s_c.html#gaf53ced13a225d45380052173563421bf">opj_clock()</a>, <a class="el" href="group___d_w_t.html#ga67d22fad344dd6d7b1b3b3a237bea8d6">opj_dwt_decode()</a>, <a class="el" href="group___d_w_t.html#ga791590b5a5c6637fc4809fe4dd793ce0">opj_dwt_encode()</a>, <a class="el" href="openjpeg_8h.html#ac672bfd7db39c609e828acb07a321964">OPJ_FALSE</a>, <a class="el" href="group___t_h_r_e_a_d.html#ga24a3a1b343df1168a3beb57babfa0916">opj_thread_pool_create()</a>, <a class="el" href="group___t_h_r_e_a_d.html#gae44e8b9258d0baa19e3671a382faa33e">opj_thread_pool_destroy()</a>, <a class="el" href="openjpeg_8h.html#a04830036d767cba56cbf5ae5bdc481d3">OPJ_TRUE</a>, <a class="el" href="structopj__tcd.html#a57a0a72c3eeb7b383a62182bd02f6db2">opj_tcd::tcd_image</a>, <a class="el" href="structopj__tcd.html#ad59ef39d08151a05bc6b0bb693607370">opj_tcd::thread_pool</a>, <a class="el" href="structopj__tcd__image.html#a7a60606149c03f1afd68412c40cc941c">opj_tcd_image::tiles</a>, <a class="el" href="bench__dwt_8c.html#ae8605e2b78cd4a81b6c6b5c30cb7366a">usage()</a>, <a class="el" href="structopj__tcd.html#a48dce2050b28e97e44fbe918e4f93f9c">opj_tcd::whole_tile_decoding</a>, <a class="el" href="structopj__tcd.html#a0ae43e0bcaae1095138b6ab8752e7ed2">opj_tcd::win_x0</a>, <a class="el" href="structopj__tcd.html#ab9c072849da0bb04ea0ee6f3080535ac">opj_tcd::win_x1</a>, <a class="el" href="structopj__tcd.html#a47e83dea84697eb8b8b143c088d0dacd">opj_tcd::win_y0</a>, <a class="el" href="structopj__tcd.html#a411ee1807ee430fc8db3e3c041ccf9cc">opj_tcd::win_y1</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__tile.html#a317352102ab033a283aa2a10f29b5adc">opj_tcd_tile::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__tile.html#ae8a77017680c4fea1ee124c9925250e4">opj_tcd_tile::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, <a class="el" href="structopj__tcd__tile.html#a4d9827a5f549b06dbf6c05c721485121">opj_tcd_tile::y0</a>, <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>, and <a class="el" href="structopj__tcd__tile.html#a91fab4e8a0f7cdc1d3977389321dae51">opj_tcd_tile::y1</a>.</p>
</div>
</div>
<a id="ae8605e2b78cd4a81b6c6b5c30cb7366a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8605e2b78cd4a81b6c6b5c30cb7366a">&#9670;&nbsp;</a></span>usage()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void usage </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="reference">Referenced by <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
</div>
</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"/>
</a> 1.8.13
</small></address>
</body>
</html>