1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.10"/>
7 <title>OpenJPEG: bench_dwt.c File Reference</title>
8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
9 <script type="text/javascript" src="jquery.js"></script>
10 <script type="text/javascript" src="dynsections.js"></script>
11 <link href="doxygen.css" rel="stylesheet" type="text/css" />
14 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
16 <table cellspacing="0" cellpadding="0">
18 <tr style="height: 56px;">
19 <td id="projectalign" style="padding-left: 0.5em;">
20 <div id="projectname">OpenJPEG
21  <span id="projectnumber">2.2.0</span>
28 <!-- end header part -->
29 <!-- Generated by Doxygen 1.8.10 -->
30 <div id="navrow1" class="tabs">
32 <li><a href="index.html"><span>Main Page</span></a></li>
33 <li><a href="pages.html"><span>Related Pages</span></a></li>
34 <li><a href="modules.html"><span>Modules</span></a></li>
35 <li><a href="annotated.html"><span>Data Structures</span></a></li>
36 <li class="current"><a href="files.html"><span>Files</span></a></li>
39 <div id="navrow2" class="tabs2">
41 <li><a href="files.html"><span>File List</span></a></li>
42 <li><a href="globals.html"><span>Globals</span></a></li>
45 <div id="nav-path" class="navpath">
47 <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>
52 <a href="#func-members">Functions</a> </div>
53 <div class="headertitle">
54 <div class="title">bench_dwt.c File Reference</div> </div>
56 <div class="contents">
57 <div class="textblock"><code>#include "<a class="el" href="opj__includes_8h_source.html">opj_includes.h</a>"</code><br />
58 <code>#include <sys/time.h></code><br />
59 <code>#include <sys/resource.h></code><br />
60 <code>#include <sys/times.h></code><br />
61 </div><table class="memberdecls">
62 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
63 Functions</h2></td></tr>
64 <tr class="memitem:a22c68bd4bfb1ec55bcb2257276d2a900"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </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>
65 <tr class="separator:a22c68bd4bfb1ec55bcb2257276d2a900"><td class="memSeparator" colspan="2"> </td></tr>
66 <tr class="memitem:af9c196f81133ceb1f18310c49b4e8137"><td class="memItemLeft" align="right" valign="top">void </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>
67 <tr class="separator:af9c196f81133ceb1f18310c49b4e8137"><td class="memSeparator" colspan="2"> </td></tr>
68 <tr class="memitem:a0988bd373c25899399a35bf51502ecba"><td class="memItemLeft" align="right" valign="top">void </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>
69 <tr class="separator:a0988bd373c25899399a35bf51502ecba"><td class="memSeparator" colspan="2"> </td></tr>
70 <tr class="memitem:ae8605e2b78cd4a81b6c6b5c30cb7366a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#ae8605e2b78cd4a81b6c6b5c30cb7366a">usage</a> (void)</td></tr>
71 <tr class="separator:ae8605e2b78cd4a81b6c6b5c30cb7366a"><td class="memSeparator" colspan="2"> </td></tr>
72 <tr class="memitem:gaf53ced13a225d45380052173563421bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#a2e5e9eaf3c126e11d1f058b78a0bce78">OPJ_FLOAT64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_i_s_c.html#gaf53ced13a225d45380052173563421bf">opj_clock</a> (void)</td></tr>
73 <tr class="memdesc:gaf53ced13a225d45380052173563421bf"><td class="mdescLeft"> </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>
74 <tr class="separator:gaf53ced13a225d45380052173563421bf"><td class="memSeparator" colspan="2"> </td></tr>
75 <tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
76 <tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2"> </td></tr>
78 <h2 class="groupheader">Function Documentation</h2>
79 <a class="anchor" id="a0988bd373c25899399a35bf51502ecba"></a>
81 <div class="memproto">
82 <table class="memname">
84 <td class="memname">void free_tilec </td>
86 <td class="paramtype"><a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> * </td>
87 <td class="paramname"><em>l_tilec</em></td><td>)</td>
91 </div><div class="memdoc">
93 <p>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>
95 <p>Referenced by <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
99 <a class="anchor" id="a22c68bd4bfb1ec55bcb2257276d2a900"></a>
100 <div class="memitem">
101 <div class="memproto">
102 <table class="memname">
104 <td class="memname"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> getValue </td>
106 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
107 <td class="paramname"><em>i</em></td><td>)</td>
111 </div><div class="memdoc">
113 <p>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>
117 <a class="anchor" id="af9c196f81133ceb1f18310c49b4e8137"></a>
118 <div class="memitem">
119 <div class="memproto">
120 <table class="memname">
122 <td class="memname">void init_tilec </td>
124 <td class="paramtype"><a class="el" href="group___t_c_d.html#ga93b81f0bd84473329d4591adbfc94b29">opj_tcd_tilecomp_t</a> * </td>
125 <td class="paramname"><em>l_tilec</em>, </td>
128 <td class="paramkey"></td>
130 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td>
131 <td class="paramname"><em>x0</em>, </td>
134 <td class="paramkey"></td>
136 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td>
137 <td class="paramname"><em>y0</em>, </td>
140 <td class="paramkey"></td>
142 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td>
143 <td class="paramname"><em>x1</em>, </td>
146 <td class="paramkey"></td>
148 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a> </td>
149 <td class="paramname"><em>y1</em>, </td>
152 <td class="paramkey"></td>
154 <td class="paramtype"><a class="el" href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a> </td>
155 <td class="paramname"><em>numresolutions</em> </td>
163 </div><div class="memdoc">
165 <p>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>
167 <p>Referenced by <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
171 <a class="anchor" id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
172 <div class="memitem">
173 <div class="memproto">
174 <table class="memname">
176 <td class="memname">int main </td>
178 <td class="paramtype">int </td>
179 <td class="paramname"><em>argc</em>, </td>
182 <td class="paramkey"></td>
184 <td class="paramtype">char ** </td>
185 <td class="paramname"><em>argv</em> </td>
193 </div><div class="memdoc">
195 <p>References <a class="el" href="structopj__tcd__tilecomp.html#ad5618371884e54026423ef59e57395d8">opj_tcd_tilecomp::data</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="bench__dwt_8c.html#af9c196f81133ceb1f18310c49b4e8137">init_tilec()</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#ga851ac455d3e28b8f39a9e3b0818a8196">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="bench__dwt_8c.html#ae8605e2b78cd4a81b6c6b5c30cb7366a">usage()</a>, <a class="el" href="structopj__tcd__tilecomp.html#a38cdc1ca5c18fa64e2dabfb025dd9784">opj_tcd_tilecomp::x0</a>, <a class="el" href="structopj__tcd__tilecomp.html#a0209cbaa880e6901e3a2aec6c108b982">opj_tcd_tilecomp::x1</a>, <a class="el" href="structopj__tcd__tilecomp.html#aa2d91a59c90ce843a617f1e923d6cb0d">opj_tcd_tilecomp::y0</a>, and <a class="el" href="structopj__tcd__tilecomp.html#abddb012879ff43b18cf1e9643ee52ed7">opj_tcd_tilecomp::y1</a>.</p>
199 <a class="anchor" id="ae8605e2b78cd4a81b6c6b5c30cb7366a"></a>
200 <div class="memitem">
201 <div class="memproto">
202 <table class="memname">
204 <td class="memname">void usage </td>
206 <td class="paramtype">void </td>
207 <td class="paramname"></td><td>)</td>
211 </div><div class="memdoc">
213 <p>Referenced by <a class="el" href="bench__dwt_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>
217 </div><!-- contents -->
218 <!-- start footer part -->
219 <hr class="footer"/><address class="footer"><small>
220 Generated by  <a href="http://www.doxygen.org/index.html">
221 <img class="footer" src="doxygen.png" alt="doxygen"/>