<ahref="tgt_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * The copyright in this software is being made available under the 2-clauses</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> * BSD License, included below. This software may be subject to other third</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * party and contributor rights, including patent rights, and no such rights</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * are granted under this license.</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> * Copyright (c) 2002-2014, Professor Benoit Macq</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * Copyright (c) 2001-2003, David Janssens</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * Copyright (c) 2002-2003, Yannick Verschueren</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * Copyright (c) 2003-2007, Francois-Olivier Devaux</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * Copyright (c) 2003-2014, Antonin Descampe</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * Copyright (c) 2005, Herve Drolon, FreeImage Team</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * Copyright (c) 2008, Jerome Fimes, Communications & Systemes <jerome.fimes@c-s.fr></span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * Copyright (c) 2012, CS Systemes d'Information, France</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * All rights reserved.</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * modification, are permitted provided that the following conditions</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * are met:</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="comment"> * notice, this list of conditions and the following disclaimer.</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno
<divclass="ttc"id="group___t_g_t_html_gad4bf197e6977fd4c4e947a946391e598"><divclass="ttname"><ahref="group___t_g_t.html#gad4bf197e6977fd4c4e947a946391e598">opj_tgt_reset</a></div><divclass="ttdeci">void opj_tgt_reset(opj_tgt_tree_t *tree)</div><divclass="ttdoc">Reset a tag-tree (set all leaves to 0) </div><divclass="ttdef"><b>Definition:</b> tgt.c:236</div></div>
<divclass="ttc"id="group___t_g_t_html_gaa9a20506fefbb59153ad401f9af51fe7"><divclass="ttname"><ahref="group___t_g_t.html#gaa9a20506fefbb59153ad401f9af51fe7">opj_tgt_destroy</a></div><divclass="ttdeci">void opj_tgt_destroy(opj_tgt_tree_t *tree)</div><divclass="ttdoc">Destroy a tag-tree, liberating memory. </div><divclass="ttdef"><b>Definition:</b> tgt.c:223</div></div>
<divclass="ttc"id="group___t_g_t_html_gab0844dbb6cdf88a7bb4036d718774f69"><divclass="ttname"><ahref="group___t_g_t.html#gab0844dbb6cdf88a7bb4036d718774f69">opj_tgt_setvalue</a></div><divclass="ttdeci">void opj_tgt_setvalue(opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 value)</div><divclass="ttdoc">Set the value of a leaf of a tag-tree. </div><divclass="ttdef"><b>Definition:</b> tgt.c:254</div></div>
<divclass="ttc"id="group___t_g_t_html_gaa34fdf087e24d66a2a661c31ba194c3f"><divclass="ttname"><ahref="group___t_g_t.html#gaa34fdf087e24d66a2a661c31ba194c3f">opj_tgt_init</a></div><divclass="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><divclass="ttdoc">Reinitialises a tag-tree from an exixting one. </div><divclass="ttdef"><b>Definition:</b> tgt.c:136</div></div>
<divclass="ttc"id="group___t_g_t_html_gafe36abfc042710c566552ed3adfcb2a9"><divclass="ttname"><ahref="group___t_g_t.html#gafe36abfc042710c566552ed3adfcb2a9">opj_tgt_encode</a></div><divclass="ttdeci">void opj_tgt_encode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold)</div><divclass="ttdoc">Encode the value of a leaf of the tag-tree up to a given threshold. </div><divclass="ttdef"><b>Definition:</b> tgt.c:264</div></div>