openjpeg/doxygen/tgt_8h_source.html

82 lines
27 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"/>
2019-04-02 16:25:55 +02:00
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
2015-07-10 18:06:19 +02:00
<title>OpenJPEG: tgt.h Source File</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
2019-04-02 16:25:55 +02:00
&#160;<span id="projectnumber">2.3.1</span>
2015-07-10 18:06:19 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2019-04-02 16:25:55 +02:00
<!-- 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>
2015-07-10 18:06:19 +02:00
<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="headertitle">
<div class="title">tgt.h</div> </div>
</div><!--header-->
<div class="contents">
2019-04-02 16:25:55 +02:00
<a href="tgt_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * The copyright in this software is being made available under the 2-clauses</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * BSD License, included below. This software may be subject to other third</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * party and contributor rights, including patent rights, and no such rights</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * are granted under this license.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Copyright (c) 2001-2003, David Janssens</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * Copyright (c) 2002-2003, Yannick Verschueren</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Copyright (c) 2003-2007, Francois-Olivier Devaux</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * Copyright (c) 2003-2014, Antonin Descampe</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * Copyright (c) 2005, Herve Drolon, FreeImage Team</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * Copyright (c) 2008, Jerome Fimes, Communications &amp; Systemes &lt;jerome.fimes@c-s.fr&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * Copyright (c) 2011-2012, Centre National d&#39;Etudes Spatiales (CNES), France</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * Copyright (c) 2012, CS Systemes d&#39;Information, France</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * are met:</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00025"></a><span class="lineno
2016-09-29 22:38:29 +02:00
<div class="ttc" id="structopj__event__mgr_html"><div class="ttname"><a href="structopj__event__mgr.html">opj_event_mgr</a></div><div class="ttdoc">Message handler object used for. </div><div class="ttdef"><b>Definition:</b> event.h:50</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__tgt__node_html"><div class="ttname"><a href="structopj__tgt__node.html">opj_tgt_node</a></div><div class="ttdoc">Tag node. </div><div class="ttdef"><b>Definition:</b> tgt.h:57</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___t_g_t_html_gad4bf197e6977fd4c4e947a946391e598"><div class="ttname"><a href="group___t_g_t.html#gad4bf197e6977fd4c4e947a946391e598">opj_tgt_reset</a></div><div class="ttdeci">void opj_tgt_reset(opj_tgt_tree_t *tree)</div><div class="ttdoc">Reset a tag-tree (set all leaves to 0) </div><div class="ttdef"><b>Definition:</b> tgt.c:236</div></div>
<div class="ttc" id="group___t_g_t_html_gaa9a20506fefbb59153ad401f9af51fe7"><div class="ttname"><a href="group___t_g_t.html#gaa9a20506fefbb59153ad401f9af51fe7">opj_tgt_destroy</a></div><div class="ttdeci">void opj_tgt_destroy(opj_tgt_tree_t *tree)</div><div class="ttdoc">Destroy a tag-tree, liberating memory. </div><div class="ttdef"><b>Definition:</b> tgt.c:223</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="openjpeg_8h_html_a3cec91ef9e73677f0dbd60d4e42401b9"><div class="ttname"><a href="openjpeg_8h.html#a3cec91ef9e73677f0dbd60d4e42401b9">OPJ_INT32</a></div><div class="ttdeci">int32_t OPJ_INT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:125</div></div>
<div class="ttc" id="structopj__tgt__node_html_a78b571d4eadfae7d38ac7cf561354d77"><div class="ttname"><a href="structopj__tgt__node.html#a78b571d4eadfae7d38ac7cf561354d77">opj_tgt_node::low</a></div><div class="ttdeci">OPJ_INT32 low</div><div class="ttdef"><b>Definition:</b> tgt.h:60</div></div>
<div class="ttc" id="group___t_g_t_html_ga8eddc00e16d716a49948fafc52bcd29d"><div class="ttname"><a href="group___t_g_t.html#ga8eddc00e16d716a49948fafc52bcd29d">opj_tgt_node_t</a></div><div class="ttdeci">struct opj_tgt_node opj_tgt_node_t</div><div class="ttdoc">Tag node. </div></div>
<div class="ttc" id="group___t_g_t_html_gaf06887ec727f9f79a488c8f15661d622"><div class="ttname"><a href="group___t_g_t.html#gaf06887ec727f9f79a488c8f15661d622">opj_tgt_tree_t</a></div><div class="ttdeci">struct opj_tgt_tree opj_tgt_tree_t</div><div class="ttdoc">Tag tree. </div></div>
<div class="ttc" id="structopj__tgt__node_html_a23ce722a1f74e4eaffb63216b2439baa"><div class="ttname"><a href="structopj__tgt__node.html#a23ce722a1f74e4eaffb63216b2439baa">opj_tgt_node::known</a></div><div class="ttdeci">OPJ_UINT32 known</div><div class="ttdef"><b>Definition:</b> tgt.h:61</div></div>
<div class="ttc" id="structopj__bio_html"><div class="ttname"><a href="structopj__bio.html">opj_bio</a></div><div class="ttdoc">Individual bit input-output stream (BIO) </div><div class="ttdef"><b>Definition:</b> bio.h:56</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="structopj__tgt__tree_html_a0981f42ac4d605cddd9a63b2820d6c60"><div class="ttname"><a href="structopj__tgt__tree.html#a0981f42ac4d605cddd9a63b2820d6c60">opj_tgt_tree::nodes</a></div><div class="ttdeci">opj_tgt_node_t * nodes</div><div class="ttdef"><b>Definition:</b> tgt.h:71</div></div>
<div class="ttc" id="structopj__tgt__tree_html_a8bac70f6df83269400a846be083116bd"><div class="ttname"><a href="structopj__tgt__tree.html#a8bac70f6df83269400a846be083116bd">opj_tgt_tree::numleafsh</a></div><div class="ttdeci">OPJ_UINT32 numleafsh</div><div class="ttdef"><b>Definition:</b> tgt.h:68</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__tgt__node_html_ae5a6382a3b692bf7f05c074cd1b025ba"><div class="ttname"><a href="structopj__tgt__node.html#ae5a6382a3b692bf7f05c074cd1b025ba">opj_tgt_node::parent</a></div><div class="ttdeci">struct opj_tgt_node * parent</div><div class="ttdef"><b>Definition:</b> tgt.h:58</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="structopj__tgt__tree_html_acfc60d10adf720f98b4947931ce1bf13"><div class="ttname"><a href="structopj__tgt__tree.html#acfc60d10adf720f98b4947931ce1bf13">opj_tgt_tree::numleafsv</a></div><div class="ttdeci">OPJ_UINT32 numleafsv</div><div class="ttdef"><b>Definition:</b> tgt.h:69</div></div>
<div class="ttc" id="structopj__tgt__tree_html_a62bc3ad727b80f26d7b3b10712c5bb9c"><div class="ttname"><a href="structopj__tgt__tree.html#a62bc3ad727b80f26d7b3b10712c5bb9c">opj_tgt_tree::nodes_size</a></div><div class="ttdeci">OPJ_UINT32 nodes_size</div><div class="ttdef"><b>Definition:</b> tgt.h:72</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__tgt__node_html_a71926a9d9563ff7e5f137a8e189e1635"><div class="ttname"><a href="structopj__tgt__node.html#a71926a9d9563ff7e5f137a8e189e1635">opj_tgt_node::value</a></div><div class="ttdeci">OPJ_INT32 value</div><div class="ttdef"><b>Definition:</b> tgt.h:59</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___t_g_t_html_gab0844dbb6cdf88a7bb4036d718774f69"><div class="ttname"><a href="group___t_g_t.html#gab0844dbb6cdf88a7bb4036d718774f69">opj_tgt_setvalue</a></div><div class="ttdeci">void opj_tgt_setvalue(opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 value)</div><div class="ttdoc">Set the value of a leaf of a tag-tree. </div><div class="ttdef"><b>Definition:</b> tgt.c:254</div></div>
<div class="ttc" id="group___t_g_t_html_gaa34fdf087e24d66a2a661c31ba194c3f"><div class="ttname"><a href="group___t_g_t.html#gaa34fdf087e24d66a2a661c31ba194c3f">opj_tgt_init</a></div><div class="ttdeci">opj_tgt_tree_t * opj_tgt_init(opj_tgt_tree_t *p_tree, OPJ_UINT32 p_num_leafs_h, OPJ_UINT32 p_num_leafs_v, opj_event_mgr_t *p_manager)</div><div class="ttdoc">Reinitialises a tag-tree from an exixting one. </div><div class="ttdef"><b>Definition:</b> tgt.c:136</div></div>
<div class="ttc" id="structopj__tgt__tree_html_a6ca2c6a3ee1611cd897197fb504b3d59"><div class="ttname"><a href="structopj__tgt__tree.html#a6ca2c6a3ee1611cd897197fb504b3d59">opj_tgt_tree::numnodes</a></div><div class="ttdeci">OPJ_UINT32 numnodes</div><div class="ttdef"><b>Definition:</b> tgt.h:70</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="openjpeg_8h_html_a4cb1e6e6b6ef2df499d5c02f7df54cbb"><div class="ttname"><a href="openjpeg_8h.html#a4cb1e6e6b6ef2df499d5c02f7df54cbb">OPJ_UINT32</a></div><div class="ttdeci">uint32_t OPJ_UINT32</div><div class="ttdef"><b>Definition:</b> openjpeg.h:126</div></div>
2017-08-10 06:39:58 +02:00
<div class="ttc" id="group___t_g_t_html_gaaf27107458b5242fe7d848480b4a4690"><div class="ttname"><a href="group___t_g_t.html#gaaf27107458b5242fe7d848480b4a4690">opj_tgt_create</a></div><div class="ttdeci">opj_tgt_tree_t * opj_tgt_create(OPJ_UINT32 numleafsh, OPJ_UINT32 numleafsv, opj_event_mgr_t *p_manager)</div><div class="ttdoc">Create a tag-tree. </div><div class="ttdef"><b>Definition:</b> tgt.c:48</div></div>
<div class="ttc" id="group___t_g_t_html_gafe36abfc042710c566552ed3adfcb2a9"><div class="ttname"><a href="group___t_g_t.html#gafe36abfc042710c566552ed3adfcb2a9">opj_tgt_encode</a></div><div class="ttdeci">void opj_tgt_encode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold)</div><div class="ttdoc">Encode the value of a leaf of the tag-tree up to a given threshold. </div><div class="ttdef"><b>Definition:</b> tgt.c:264</div></div>
2015-07-10 18:06:19 +02:00
<div class="ttc" id="structopj__tgt__tree_html"><div class="ttname"><a href="structopj__tgt__tree.html">opj_tgt_tree</a></div><div class="ttdoc">Tag tree. </div><div class="ttdef"><b>Definition:</b> tgt.h:67</div></div>
</div><!-- fragment --></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"/>
2019-04-02 16:25:55 +02:00
</a> 1.8.13
2015-07-10 18:06:19 +02:00
</small></address>
</body>
</html>